/* Layout global — dashboard, login, navigation */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

/* Hauteur reelle de la barre : safe area + padding + ligne (burger + liens desktop) */
:root {
    --site-header-inner-h: 68px;
    --site-header-height: calc(env(safe-area-inset-top, 0px) + var(--site-header-inner-h));
}

body {
    margin: 0;
    min-height: 100dvh;
    min-height: 100vh;
    padding-top: var(--site-header-height);
    padding-bottom: env(safe-area-inset-bottom, 0);
    -webkit-font-smoothing: antialiased;
    background: #fff8fb;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1002;
    padding-top: env(safe-area-inset-top, 0);
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #ffd7e6;
    box-shadow: 0 2px 14px rgba(109, 28, 63, 0.07);
}

.site-header__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8px 12px 8px max(12px, env(safe-area-inset-left, 12px));
    padding-right: max(12px, env(safe-area-inset-right, 12px));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 52px;
}

.site-header__brand {
    font: 700 1.05rem/1.2 system-ui, sans-serif;
    color: #7f264b;
    text-decoration: none;
    white-space: nowrap;
}

.site-header__brand:hover {
    color: #b83f71;
}

.site-nav__toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: #fff5f8;
    cursor: pointer;
    flex-shrink: 0;
}

.site-nav__toggle:focus-visible {
    outline: 2px solid #b83f71;
    outline-offset: 2px;
}

.site-nav__toggle-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 22px;
}

.site-nav__toggle-box span {
    display: block;
    height: 2px;
    background: #6d1c3f;
    border-radius: 1px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

body.site-nav--open .site-nav__toggle-box span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

body.site-nav--open .site-nav__toggle-box span:nth-child(2) {
    opacity: 0;
}

body.site-nav--open .site-nav__toggle-box span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
}

.site-nav__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 8px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.95);
    color: #6d1c3f;
    text-decoration: none;
    font: 600 0.875rem/1.2 system-ui, sans-serif;
    border: 1px solid transparent;
}

.site-nav__link:hover {
    background: #fff0f5;
    color: #b83f71;
}

.site-nav__link--accent {
    font-weight: 700;
    color: #b83f71;
    border-color: #f4c1d3;
    background: #fffafc;
}

.site-nav__scrim {
    display: none;
    position: fixed;
    inset: 0;
    top: var(--site-header-height);
    background: rgba(30, 10, 20, 0.4);
    z-index: 1000;
}

body.site-nav--open .site-nav__scrim {
    display: block;
}

.site-flash {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 14px;
    font: 600 0.9rem/1.4 system-ui, sans-serif;
    border-bottom: 1px solid rgba(109, 28, 63, 0.08);
}

.site-flash--success {
    background: #ecfdf5;
    color: #14532d;
}

.site-flash--danger {
    background: #fef2f2;
    color: #991b1b;
}

.site-flash--warning {
    background: #fffbeb;
    color: #92400e;
}

@media (max-width: 768px) {
    .site-nav__toggle {
        display: flex;
    }

    .site-nav {
        display: none;
        position: fixed;
        top: var(--site-header-height);
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1001;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        justify-content: flex-start;
        gap: 4px;
        padding: 16px max(12px, env(safe-area-inset-right)) max(28px, env(safe-area-inset-bottom))
            max(12px, env(safe-area-inset-left));
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        background: linear-gradient(180deg, #fff 0%, #fffafc 100%);
        box-shadow: -4px 0 24px rgba(109, 28, 63, 0.12);
    }

    body.site-nav--open .site-nav {
        display: flex;
    }

    .site-nav__link {
        justify-content: flex-start;
        width: 100%;
        min-height: 48px;
        padding: 12px 16px;
        font-size: 1rem;
    }
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Pages dashboard (liste, historique, etc.) */
.dashboard-page {
    min-height: calc(100dvh - var(--site-header-height));
    padding: 16px max(14px, env(safe-area-inset-right)) 28px max(14px, env(safe-area-inset-left));
    font-family: system-ui, sans-serif;
}

.dashboard-page__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    max-width: 860px;
    margin: 0 auto 16px;
}

.dashboard-page__title {
    color: #7f264b;
    font-size: clamp(1.1rem, 4vw, 1.35rem);
    margin: 0;
    line-height: 1.3;
}

.dashboard-page__toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.dashboard-page__tool {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 8px 14px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #f4c1d3;
    color: #b83f71;
    font: 600 0.85rem/1.2 system-ui, sans-serif;
    text-decoration: none;
}

.dashboard-page__tool:hover {
    background: #fffafc;
    color: #7f264b;
}

.dashboard-page__tool--primary {
    background: linear-gradient(135deg, #c94b7a, #b83f71);
    border-color: transparent;
    color: #fff;
}

.dashboard-page__tool--primary:hover {
    color: #fff;
    filter: brightness(1.05);
}

.invitation-toolbar-select-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid #f4c1d3;
    background: #fff;
    font: 600 0.85rem/1.2 system-ui, sans-serif;
    color: #6d1c3f;
    cursor: pointer;
    user-select: none;
}

.invitation-toolbar-select-all input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #b83f71;
}

/* Connexion */
.login-page {
    min-height: calc(100dvh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
    display: grid;
    place-items: center;
    padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
    background: linear-gradient(160deg, #fff8fb 0%, #fff 45%, #fff2f7 100%);
}

.login-card {
    width: min(100%, 400px);
    background: #fff;
    border: 1px solid #ffd3e2;
    border-radius: 16px;
    padding: clamp(20px, 5vw, 28px);
    box-shadow: 0 12px 30px rgba(109, 28, 63, 0.1);
}

.login-card h1 {
    margin: 0 0 20px;
    color: #7f264b;
    font: 700 clamp(1.15rem, 4vw, 1.35rem) / 1.2 system-ui, sans-serif;
}

.login-card label {
    display: block;
    margin-bottom: 6px;
    color: #7f264b;
    font-weight: 600;
    font-size: 0.9rem;
}

.login-card input {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1px solid #f1aac3;
    border-radius: 10px;
    margin-bottom: 14px;
    font-size: 16px;
}

.login-card button[type='submit'] {
    width: 100%;
    padding: 14px;
    border: 0;
    border-radius: 10px;
    background: #b83f71;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 8px;
    min-height: 48px;
}

.login-error {
    background: #ffe4e8;
    color: #a43464;
    padding: 10px 12px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Liste invitations */
.invitation-list {
    max-width: 860px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #ffd7e6;
    border-radius: 14px;
    overflow: hidden;
}

.invitation-item {
    padding: 14px 16px;
    border-bottom: 1px solid #ffe6ef;
    gap: 12px 14px;
    align-items: center;
}

.invitation-item:not(.invitation-item--empty) {
    display: grid;
    grid-template-columns: auto 1fr auto;
}

.invitation-item--empty {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.invitation-item:last-child {
    border-bottom: none;
}

.invitation-item__check {
    display: flex;
    align-items: flex-start;
    padding-top: 2px;
}

.invitation-item__checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #b83f71;
}

.invitation-item__meta {
    min-width: 0;
    font-size: 0.95rem;
    line-height: 1.45;
    word-break: break-word;
}

.invitation-item__table {
    font-weight: 700;
    color: #5a1a3d;
}

.invitation-item__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    flex-shrink: 0;
}

.invitation-item__actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 8px 12px;
    border-radius: 10px;
    color: #a43464;
    font-weight: 700;
    text-decoration: none;
    background: #fff5f8;
    border: 1px solid #f4c1d3;
    font-size: 0.85rem;
}

.invitation-item__actions a:hover {
    background: #ffeef4;
}

@media (max-width: 520px) {
    .invitation-item:not(.invitation-item--empty) {
        grid-template-columns: auto 1fr;
    }

    .invitation-item__actions {
        grid-column: 1 / -1;
        width: 100%;
    }

    .invitation-item__actions a {
        flex: 1;
        min-width: calc(50% - 4px);
    }
}

/* Historique : tableau scrollable sur petit ecran */
.history-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -4px;
    padding: 0 4px;
}

.history-table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.history-table th,
.history-table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid #f0e6ea;
    font-size: 0.875rem;
}

.history-table th {
    background: #fff8fb;
    color: #7f264b;
    font-weight: 600;
    white-space: nowrap;
}

@media (max-width: 640px) {
    .history-table {
        font-size: 0.8rem;
    }

    .history-table th,
    .history-table td {
        padding: 8px 10px;
    }
}

.badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
}

.badge--ok {
    background: #d4f0dd;
    color: #1a5c36;
}

.badge--ko {
    background: #fde8ec;
    color: #a43464;
}

/* Formulaire guest */
.guest-form-page {
    min-height: calc(100dvh - var(--site-header-height));
    display: grid;
    place-items: center;
    padding: 16px max(14px, env(safe-area-inset-right)) 32px max(14px, env(safe-area-inset-left));
    background: linear-gradient(160deg, #fff8fb 0%, #fff 45%, #fff2f7 100%);
}

.guest-form-card {
    width: min(100%, 520px);
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #ffd3e2;
    border-radius: 16px;
    padding: clamp(18px, 4vw, 22px);
    box-shadow: 0 12px 30px rgba(109, 28, 63, 0.1);
}

.guest-form-card h1 {
    margin: 0 0 16px;
    color: #7f264b;
    font: 700 clamp(1.1rem, 3.5vw, 1.25rem) / 1.2 system-ui, sans-serif;
}

.guest-form-card form > div {
    margin-bottom: 12px;
}

.guest-form-card label {
    display: inline-block;
    margin-bottom: 6px;
    color: #7f264b;
    font: 600 0.95rem/1.2 system-ui, sans-serif;
}

.guest-form-card input,
.guest-form-card select {
    width: 100%;
    border: 1px solid #f1aac3;
    border-radius: 10px;
    padding: 12px 14px;
    font: 500 1rem/1.2 system-ui, sans-serif;
    box-sizing: border-box;
}

.guest-form-card button[type='submit'] {
    width: 100%;
    border: 0;
    border-radius: 10px;
    padding: 14px;
    background: #b83f71;
    color: #fff;
    font: 700 1rem/1 system-ui, sans-serif;
    cursor: pointer;
    min-height: 48px;
    margin-top: 8px;
}

.switch-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 14px;
    border: 1px solid #f4c1d3;
    border-radius: 12px;
    background: #fff7fa;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.switch-row label {
    margin: 0;
    font-weight: 700;
}

@media (max-width: 400px) {
    .switch-row {
        flex-direction: column;
        align-items: stretch;
    }
}

.switch {
    position: relative;
    width: 54px;
    height: 30px;
    display: inline-block;
    flex-shrink: 0;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch-slider {
    position: absolute;
    inset: 0;
    border-radius: 99px;
    background: #d7b8c5;
    transition: 0.25s ease;
    cursor: pointer;
}

.switch-slider::before {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    left: 3px;
    top: 3px;
    border-radius: 50%;
    background: #fff;
    transition: 0.25s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.18);
}

.switch input:checked + .switch-slider {
    background: #b83f71;
}

.switch input:checked + .switch-slider::before {
    transform: translateX(24px);
}

.field-is-man {
    transition: opacity 0.2s ease;
}

.field-is-man.is-hidden {
    opacity: 0;
    pointer-events: none;
    height: 0;
    margin: 0;
    overflow: hidden;
}

/* Page scan camera */
.scan-page {
    min-height: calc(100dvh - var(--site-header-height));
    padding: 16px max(14px, env(safe-area-inset-right)) 28px max(14px, env(safe-area-inset-left));
    max-width: 520px;
    margin: 0 auto;
    font-family: system-ui, sans-serif;
}

.scan-page h1 {
    color: #7f264b;
    font-size: clamp(1.1rem, 4vw, 1.25rem);
    margin: 0 0 8px;
}

.scan-page .hint {
    color: #6d4c5a;
    font-size: 0.9rem;
    margin: 0 0 16px;
    line-height: 1.45;
}

#qr-reader {
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #f4c1d3;
    background: #1a1a1a;
    min-height: 200px;
}

#scan-status {
    margin-top: 12px;
    font-size: 0.9rem;
    color: #a43464;
    min-height: 1.4em;
}

.scan-actions {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.scan-actions a,
.scan-actions button {
    flex: 1 1 auto;
    min-height: 48px;
    padding: 10px 14px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: none;
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.scan-actions a {
    background: #fff;
    color: #b83f71;
    border: 1px solid #f4c1d3;
}

#btn-stop-camera {
    background: #eee;
    color: #444;
}

/* Resultat scan (apres lecture QR) */
.scan-result-page {
    min-height: calc(100dvh - var(--site-header-height));
    display: grid;
    place-items: center;
    align-content: center;
    padding: 16px max(16px, env(safe-area-inset-right)) max(32px, env(safe-area-inset-bottom))
        max(16px, env(safe-area-inset-left));
    font-family: system-ui, sans-serif;
    background:
        radial-gradient(ellipse 120% 80% at 50% -20%, rgba(255, 182, 210, 0.25), transparent 50%),
        #fff8fb;
}

.scan-result-card {
    max-width: 440px;
    width: 100%;
    border-radius: 20px;
    padding: clamp(22px, 5vw, 32px);
    text-align: center;
    box-shadow: 0 16px 48px rgba(109, 28, 63, 0.1);
}

.scan-result-card--ok {
    background: linear-gradient(165deg, #f0fdf4 0%, #e8f8ef 40%, #dff5e8 100%);
    border: 1px solid rgba(45, 157, 92, 0.45);
    color: #14532d;
}

.scan-result-card--ko {
    background: linear-gradient(165deg, #fff5f7 0%, #fde8ec 45%, #fad4dc 100%);
    border: 1px solid rgba(196, 61, 90, 0.5);
    color: #7a1a2e;
}

.scan-result-card__status-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 14px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.75rem;
    line-height: 1;
}

.scan-result-card--ok .scan-result-card__status-icon {
    background: rgba(45, 157, 92, 0.2);
}

.scan-result-card--ko .scan-result-card__status-icon {
    background: rgba(196, 61, 90, 0.2);
}

.scan-result-card h1 {
    margin: 0 0 6px;
    font-size: clamp(1.15rem, 4vw, 1.45rem);
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.scan-result-card__subtitle {
    margin: 0 0 18px;
    font-size: 0.88rem;
    opacity: 0.85;
    line-height: 1.4;
}

.scan-result-card .guest-name {
    font-size: clamp(1.2rem, 4vw, 1.45rem);
    font-weight: 800;
    margin: 0 0 16px;
    word-break: break-word;
    line-height: 1.3;
    color: inherit;
}

.scan-result-details {
    text-align: left;
    background: rgba(255, 255, 255, 0.55);
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.scan-result-details__row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px 16px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(109, 28, 63, 0.08);
    font-size: 0.9rem;
}

.scan-result-details__row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.scan-result-details__label {
    color: #6d4c5a;
    font-weight: 600;
    flex: 0 0 auto;
}

.scan-result-details__value {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
    align-items: center;
    font-weight: 700;
    color: #4a1530;
    text-align: right;
    flex: 1 1 120px;
    min-width: 0;
}

.scan-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.scan-badge--couple {
    background: linear-gradient(135deg, #fce7f3, #fbcfe8);
    color: #9d174d;
}

.scan-badge--solo {
    background: #f3f4f6;
    color: #4b5563;
}

.scan-badge--celibataire {
    background: linear-gradient(135deg, #eef2ff, #e0e7ff);
    color: #3730a3;
}

.scan-badge--homme {
    background: #dbeafe;
    color: #1e40af;
}

.scan-badge--femme {
    background: #fce7f3;
    color: #9d174d;
}

.scan-result-card__meta {
    font-size: 0.8rem;
    opacity: 0.75;
    margin-bottom: 12px;
}

.scan-result-card p.scan-result-card__message {
    margin: 0;
    line-height: 1.5;
    font-size: 0.92rem;
    text-align: center;
}

.scan-result-card__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}

.scan-result-card a.scan-result-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 12px 20px;
    border-radius: 12px;
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    background: linear-gradient(135deg, #c94b7a, #b83f71);
    border: 0;
    box-shadow: 0 4px 14px rgba(184, 63, 113, 0.35);
}

.scan-result-card a.scan-result-card__btn--ghost {
    background: #fff;
    color: #b83f71;
    border: 1px solid #f4c1d3;
    box-shadow: none;
    font-weight: 600;
}

.scan-result-card--enhanced {
    position: relative;
    overflow: hidden;
    border-width: 1px;
}

.scan-result-card__halo {
    position: absolute;
    inset: -40% -20% auto;
    height: 55%;
    background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(45, 157, 92, 0.22), transparent 72%);
    pointer-events: none;
}

.scan-result-card__halo--ko {
    background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(196, 61, 90, 0.2), transparent 72%);
}

.scan-result-card--enhanced .scan-result-card__status-icon {
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 14px rgba(45, 157, 92, 0.2);
}

.scan-result-card--ko.scan-result-card--enhanced .scan-result-card__status-icon {
    box-shadow: 0 4px 14px rgba(196, 61, 90, 0.22);
}

.scan-result-details__value--badges {
    justify-content: flex-end;
}

.scan-table-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    background: linear-gradient(135deg, #fff7ed, #ffedd5);
    color: #9a3412;
    border: 1px solid rgba(234, 88, 12, 0.35);
}

/* Import Excel */
.import-page {
    min-height: calc(100dvh - var(--site-header-height));
    display: grid;
    place-items: center;
    padding: 20px max(16px, env(safe-area-inset-right)) 32px max(16px, env(safe-area-inset-left));
    font-family: system-ui, sans-serif;
}

.import-card {
    width: min(100%, 520px);
    background: #fff;
    border: 1px solid #ffd7e6;
    border-radius: 18px;
    padding: clamp(22px, 5vw, 32px);
    box-shadow: 0 14px 40px rgba(109, 28, 63, 0.09);
}

.import-card__title {
    margin: 0 0 12px;
    color: #7f264b;
    font-size: clamp(1.15rem, 4vw, 1.4rem);
    font-weight: 800;
}

.import-card__intro {
    margin: 0 0 16px;
    color: #5c3d4a;
    font-size: 0.95rem;
    line-height: 1.55;
}

.import-card__steps {
    margin: 0 0 20px;
    padding-left: 1.25rem;
    color: #4a1530;
    line-height: 1.6;
    font-size: 0.92rem;
}

.import-card__link {
    color: #b83f71;
    font-weight: 700;
}

.import-card__form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.import-file {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.import-file__label {
    font-weight: 700;
    font-size: 0.88rem;
    color: #7f264b;
}

.import-file input[type='file'] {
    font-size: 0.9rem;
    max-width: 100%;
}

.import-card__submit {
    min-height: 48px;
    padding: 12px 20px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #c94b7a, #b83f71);
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
}

.import-card__hint {
    margin: 18px 0 0;
    font-size: 0.85rem;
    color: #7a5f6a;
    line-height: 1.45;
}

