/**
 * Recruiting Funnel - Eurobaustoff Style Design
 */

/* ===== CSS Variables ===== */
:root {
    --primary: #8B1A1A;
    --primary-hover: #6d1515;
    --secondary: #f5f5f5;
    --accent: #00a86b;
    --text: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --background: #ffffff;
    --card-bg: #f8f8f8;
    --border: #e0e0e0;
    --input-bg: #f5f5f5;
    --radius: 8px;
    --radius-lg: 12px;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.12);
    --font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --transition: all 0.2s ease;
    --logo-height: 50px;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body.funnel-page {
    font-family: var(--font);
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
    font-size: 16px;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    touch-action: manipulation;
}

/* ===== Funnel Container ===== */
.funnel-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

.funnel-container {
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* ===== Header ===== */
.funnel-header {
    text-align: center;
    padding: 16px 0 24px;
}

.funnel-logo {
    max-height: var(--logo-height);
    max-width: 180px;
    height: auto;
}

.funnel-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    color: var(--text);
}

/* Hide step title on info steps (content has its own title) */
.funnel-step[data-type="info"] .step-header {
    display: none;
}

/* ===== Progress Bar (Horizontal Segments) ===== */
.funnel-progress {
    display: flex;
    gap: 6px;
    margin-bottom: 28px;
    padding: 0 4px;
}

.funnel-progress-segment {
    flex: 1;
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    transition: var(--transition);
}

.funnel-progress-segment.active,
.funnel-progress-segment.completed {
    background: var(--primary);
}

/* ===== Steps ===== */
.funnel-steps {
    flex: 1;
}

.funnel-step {
    display: none;
    animation: fadeIn 0.3s ease;
}

.funnel-step.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== Step Header ===== */
.step-header {
    text-align: center;
    margin-bottom: 24px;
}

.step-emoji {
    font-size: 2.5rem;
    margin-bottom: 12px;
    display: block;
}

.step-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 12px;
    color: var(--text);
    line-height: 1.3;
}

.step-description {
    font-size: 1rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
}

/* ===== Step Content ===== */
.step-content {
    margin-bottom: 20px;
}

.step-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text);
    margin: 24px 0 12px;
    line-height: 1.4;
}

.step-content h3:first-child {
    margin-top: 0;
}

.step-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 12px;
}

.step-content img {
    max-width: 100%;
    border-radius: var(--radius);
    margin: 12px 0;
}

/* ===== Info Step - Rich Content Styles ===== */

/* Job Header */
.job-header {
    text-align: center;
    margin-bottom: 24px;
}

.job-header .job-subtitle {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.job-header .job-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 16px;
    line-height: 1.25;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 16px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.job-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.job-highlight {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-top: 8px;
}

/* CTA Button (inline in content) */
.cta-button {
    display: block;
    width: 100%;
    padding: 16px 24px;
    background: var(--primary);
    color: #fff !important;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius);
    margin: 20px 0;
    transition: var(--transition);
}

.cta-button:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

/* Section Headers */
.section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    text-align: center;
    margin: 32px 0 16px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    position: relative;
}

/* Info Box (gray background) */
.info-box {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin: 16px 0;
    text-align: center;
}

.info-box p {
    margin: 0 0 8px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.info-box p:last-child {
    margin-bottom: 0;
}

.info-box strong {
    font-weight: 600;
    color: var(--text);
}

.info-box em {
    font-style: italic;
    color: var(--primary);
}

.info-box .text-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.info-box .text-list li {
    padding: 6px 0;
    padding-left: 24px;
    position: relative;
    font-size: 0.95rem;
    line-height: 1.5;
}

.info-box .text-list li::before {
    content: "•";
    position: absolute;
    left: 8px;
    color: var(--primary);
    font-weight: bold;
}

/* Feature Cards (2x2 grid with icons) */
.feature-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 16px 0;
}

.feature-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 16px;
    text-align: center;
}

.feature-card .icon,
.feature-card .feature-icon {
    font-size: 1.8rem;
    margin-bottom: 8px;
    display: block;
}

.feature-card .text,
.feature-card .feature-text {
    font-size: 0.85rem;
    color: var(--text);
    line-height: 1.4;
}

.feature-card .feature-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

/* Info List (vertical list with emojis) */
.info-list {
    list-style: none;
    padding: 0;
    margin: 16px 0;
}

.info-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
}

.info-list li:last-child {
    border-bottom: none;
}

.info-list .emoji,
.info-list .list-emoji {
    font-size: 1.4rem;
    flex-shrink: 0;
}

.info-list .list-text {
    flex: 1;
}

/* Benefits Grid (2 columns) */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 16px 0;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text);
}

.benefit-item .emoji,
.benefit-item .benefit-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.benefit-item .benefit-text {
    flex: 1;
}

/* Highlight text */
.highlight-text {
    text-align: center;
    font-size: 0.95rem;
    color: var(--text);
    margin: 16px 0;
}

.highlight-text .emoji {
    font-size: 1.1rem;
}

/* Divider */
.content-divider {
    height: 1px;
    background: var(--border);
    margin: 24px 0;
}

/* Centered paragraph */
.step-content p.centered {
    text-align: center;
}

/* Bold/highlight in text */
.step-content strong {
    color: var(--text);
    font-weight: 600;
}

.step-content em {
    color: var(--primary);
    font-style: normal;
}

/* ===== Choice Options - Card Grid (2 Columns) ===== */
.choice-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* Single column for long text options */
.choice-grid.single-column {
    grid-template-columns: 1fr;
}

.choice-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    background: var(--card-bg);
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    min-height: 120px;
}

.choice-btn:hover {
    background: #fff;
    border-color: var(--border);
    box-shadow: var(--shadow);
}

.choice-btn.selected {
    background: #fff;
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.choice-emoji {
    font-size: 2.5rem;
    margin-bottom: 12px;
    display: block;
}

.choice-label {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
    line-height: 1.3;
}

.choice-check {
    display: none;
}

/* Hide numbers in new design */
.choice-number {
    display: none;
}

/* List Layout Option (emoji left, text right) */
.choice-grid.list-layout {
    grid-template-columns: 1fr;
    gap: 10px;
}

.choice-grid.list-layout .choice-btn {
    flex-direction: row;
    justify-content: flex-start;
    padding: 16px 20px;
    min-height: auto;
    gap: 14px;
}

.choice-grid.list-layout .choice-emoji {
    font-size: 1.75rem;
    margin-bottom: 0;
}

.choice-grid.list-layout .choice-label {
    text-align: left;
}

/* Multi-Choice Hint */
.choice-hint {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 16px;
}

/* ===== Form Fields ===== */
.form-field {
    margin-bottom: 16px;
}

.form-field label {
    display: block;
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 6px;
    color: var(--text);
}

.form-field label .required {
    color: var(--primary);
}

/* Input with Icon */
.input-with-icon {
    position: relative;
}

.input-with-icon .input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.1rem;
    pointer-events: none;
}

.input-with-icon .form-input {
    padding-left: 44px;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    border: none;
    border-radius: var(--radius);
    background: var(--input-bg);
    color: var(--text);
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    background: #fff;
    box-shadow: 0 0 0 2px var(--primary);
}

.form-input::placeholder {
    color: var(--text-muted);
}

textarea.form-input {
    min-height: 100px;
    resize: vertical;
}

.form-input.is-invalid {
    box-shadow: 0 0 0 2px #ef4444;
}

/* Horizontal Name Fields */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* Phone Input */
.phone-group {
    display: flex;
    gap: 8px;
}

.phone-prefix {
    width: 110px;
    flex-shrink: 0;
}

/* Select styling */
select.form-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23666' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 20px;
    padding-right: 40px;
}

/* Checkbox */
.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.4;
}

.form-checkbox input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--primary);
    cursor: pointer;
    flex-shrink: 0;
}

.form-checkbox a {
    color: var(--primary);
    text-decoration: underline;
}

/* ===== Buttons ===== */
.step-actions {
    margin-top: 28px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

/* Primary Button (Main CTA) */
.btn-next {
    background: var(--primary);
    color: #fff;
    flex: 1;
}

.btn-next:hover {
    background: var(--primary-hover);
}

/* Success/Submit Button */
.btn-submit {
    background: var(--primary);
    color: #fff;
    flex: 1;
}

.btn-success:hover,
.btn-submit:hover {
    background: var(--primary-hover);
}

/* Back Button (Gray Square with Arrow) */
.btn-back {
    width: 48px;
    height: 48px;
    min-width: 48px;
    padding: 0;
    background: var(--secondary);
    color: var(--text-light);
    border-radius: var(--radius);
    flex-shrink: 0;
}

.btn-back:hover {
    background: var(--border);
}

.btn-back .btn-text {
    display: none;
}

.btn-back::before {
    content: '←';
    font-size: 1.25rem;
}

/* Button States */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn .spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== Success Screen ===== */
.success-screen {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    animation: scaleIn 0.4s ease-out;
}

.success-icon svg {
    width: 40px;
    height: 40px;
    color: #fff;
}

@keyframes scaleIn {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

.success-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 12px;
}

.success-message {
    font-size: 1rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

/* ===== Footer ===== */
.funnel-footer {
    text-align: center;
    padding: 20px 0;
    margin-top: auto;
}

.funnel-footer a {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-decoration: none;
}

.funnel-footer a:hover {
    color: var(--primary);
}

/* ===== Error Messages ===== */
.error-message {
    color: #dc2626;
    font-size: 0.85rem;
    margin-top: 12px;
    text-align: center;
    display: none;
}

.error-message.show {
    display: block;
}

/* ===== Privacy Modal ===== */
.privacy-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 1000;
}

.privacy-modal.show {
    display: flex;
}

.privacy-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.privacy-modal-content {
    position: relative;
    background: #fff;
    border-radius: var(--radius-lg);
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.privacy-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.privacy-modal-close:hover {
    background: var(--secondary);
}

/* ===== Responsive ===== */
@media (max-width: 540px) {
    body.funnel-page {
        font-size: 17px;
    }

    .funnel-container {
        padding: 16px;
    }

    .step-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .step-content h3 {
        font-size: 1.2rem;
    }

    .step-description {
        font-size: 1.05rem;
        line-height: 1.6;
    }

    .choice-grid {
        gap: 10px;
    }

    .choice-btn {
        padding: 20px 12px;
        min-height: 100px;
    }

    .choice-label {
        font-size: 1.05rem;
    }

    .choice-emoji {
        font-size: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-label {
        font-size: 1rem;
    }

    .form-input,
    .form-select,
    .form-textarea {
        font-size: 16px; /* Prevents iOS zoom on focus */
        padding: 14px 16px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .btn {
        padding: 14px 24px;
        font-size: 1.05rem;
    }

    .btn-back {
        width: 48px;
        height: 48px;
        min-width: 48px;
    }

    /* Info page responsive */
    .job-header .job-title {
        font-size: 1.75rem;
    }

    .feature-cards {
        grid-template-columns: 1fr;
    }

    .feature-card {
        display: flex;
        align-items: center;
        text-align: left;
        gap: 12px;
        padding: 14px;
    }

    .feature-card .icon {
        margin-bottom: 0;
        font-size: 1.5rem;
    }

    .feature-card .title {
        font-size: 1.05rem;
    }

    .section-title {
        font-size: 1.15rem;
    }

    .info-list li {
        font-size: 1rem;
        padding: 12px 0;
    }

    .info-list .emoji {
        font-size: 1.3rem;
    }

    .text-content p {
        font-size: 1.05rem;
        line-height: 1.7;
    }

    /* Contact form mobile */
    .contact-intro {
        font-size: 1.05rem;
    }

    .privacy-checkbox label {
        font-size: 0.95rem;
    }
}

/* ===== CV/Lebenslauf Step ===== */
.cv-mode-toggle {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.cv-mode-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 12px;
    background: var(--card-bg);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}

.cv-mode-btn:hover {
    border-color: var(--primary);
    background: #fff;
}

.cv-mode-btn.active {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(139, 26, 26, 0.1);
}

.cv-mode-icon {
    font-size: 1.5rem;
}

.cv-mode-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
}

.cv-section {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.cv-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.cv-section-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 16px;
}

.cv-entries {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cv-entry {
    position: relative;
}

.cv-entry .form-row {
    display: flex;
    gap: 12px;
    align-items: flex-end;
}

.cv-remove-entry {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px;
    line-height: 1;
    transition: var(--transition);
}

.cv-remove-entry:hover {
    color: #dc3545;
}

.cv-add-entry {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding: 8px 16px;
    background: none;
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    color: var(--text-light);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.cv-add-entry:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* CV Upload */
.cv-upload-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 40px 20px;
    border: 2px dashed var(--border);
    border-radius: var(--radius-lg);
    background: var(--card-bg);
    cursor: pointer;
    transition: var(--transition);
}

.cv-upload-area:hover,
.cv-upload-area.dragover {
    border-color: var(--primary);
    background: #fff;
}

.cv-upload-icon {
    font-size: 2.5rem;
}

.cv-upload-text {
    text-align: center;
}

.cv-upload-text strong {
    display: block;
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 4px;
}

.cv-upload-text span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.cv-upload-info {
    text-align: center;
    margin-top: 12px;
    color: var(--text-muted);
}

.cv-file-preview {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--card-bg);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.cv-file-icon {
    font-size: 1.5rem;
}

.cv-file-name {
    flex: 1;
    font-weight: 500;
    color: var(--text);
    word-break: break-all;
}

.cv-file-remove {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 4px 8px;
    transition: var(--transition);
}

.cv-file-remove:hover {
    color: #dc3545;
}

/* ===== Upload Step ===== */
.upload-fields {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.upload-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.upload-field-label {
    font-weight: 600;
    color: var(--text);
    font-size: 0.95rem;
}

.upload-dropzone {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    background: var(--card-bg);
    cursor: pointer;
    transition: var(--transition);
}

.upload-dropzone:hover,
.upload-dropzone.dragover {
    border-color: var(--primary);
    background: #fff;
}

.upload-dropzone.is-invalid {
    border-color: #dc3545;
}

.upload-dropzone-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.upload-dropzone-icon {
    font-size: 1.5rem;
}

.upload-dropzone-text {
    display: flex;
    flex-direction: column;
}

.upload-dropzone-text strong {
    font-size: 0.95rem;
    color: var(--text);
}

.upload-dropzone-text span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.upload-file-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--card-bg);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.upload-file-icon {
    font-size: 1.3rem;
}

.upload-file-name {
    flex: 1;
    font-weight: 500;
    color: var(--text);
    word-break: break-all;
    font-size: 0.9rem;
}

.upload-file-remove {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 4px 8px;
    transition: var(--transition);
}

.upload-file-remove:hover {
    color: #dc3545;
}

.upload-hint {
    color: var(--text-muted);
    font-size: 0.8rem;
}

@media (max-width: 480px) {
    .cv-mode-toggle {
        flex-direction: column;
    }

    .cv-entry .form-row {
        flex-direction: column;
    }

    .cv-entry .form-row .form-field {
        flex: 1 !important;
    }

    .cv-remove-entry {
        position: absolute;
        top: 0;
        right: 0;
    }
}

/* ===== Admin Styles ===== */
.card {
    border: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.card-header {
    background: transparent;
    border-bottom: 1px solid var(--border);
    font-weight: 600;
}
