/* Bateau.click — Zone compte utilisateur
   ────────────────────────────────────
    Styles cohérents avec /assets/styles.css */

@import url('/assets/styles.css');

/* ── LAYOUT ── */
.account-wrap { min-height: 100vh; display: flex; flex-direction: column; }

/* ── SOUS-NAV COMPTE ── */
.account-subnav {
    background: white;
    border-bottom: 1px solid var(--gray-100);
    display: flex; align-items: center; gap: 4px;
    padding: 0 32px; height: 46px;
}
.account-subnav a {
    padding: 7px 14px; font-size: 13px; font-weight: 500;
    color: var(--text-sec); text-decoration: none;
    border-radius: 8px; transition: all 0.2s var(--ease-out);
    white-space: nowrap;
}
.account-subnav a:hover { color: var(--text-main); background: var(--bg-warm); }
.account-subnav a.active { color: var(--coral); background: var(--coral-soft); font-weight: 600; }

/* Bouton déconnexion dans le header (fond navy) */
.acct-email { font-size: 13px; color: rgba(255,255,255,0.65); font-weight: 500; }
.btn-logout-sm {
    padding: 7px 14px; background: rgba(255,255,255,0.10);
    color: white; border: 1px solid rgba(255,255,255,0.18);
    border-radius: 999px; font-size: 12px; font-weight: 600;
    font-family: 'Plus Jakarta Sans', sans-serif;
    cursor: pointer; transition: all 0.2s; text-decoration: none;
}
.btn-logout-sm:hover { background: rgba(232,98,58,0.22); border-color: var(--coral); color: var(--coral); }

/* ── CONTENU ── */
.account-body { flex: 1; max-width: 1100px; margin: 0 auto; padding: 44px 32px; width: 100%; }

/* ── CARTES ANNONCES ── */
.annonces-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; flex-wrap: wrap; gap: 12px; }
.annonces-header h1 { font-family: 'Bricolage Grotesque', sans-serif; font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.btn-deposer {
    padding: 11px 22px; background: var(--coral); color: white;
    border: none; border-radius: 999px; font-size: 14px; font-weight: 700;
    font-family: 'Plus Jakarta Sans', sans-serif; cursor: pointer;
    text-decoration: none; transition: all 0.2s var(--ease-out);
    box-shadow: var(--shadow-coral); display: inline-flex; align-items: center; gap: 7px;
}
.btn-deposer:hover { background: var(--coral-hover); transform: translateY(-1px); box-shadow: 0 10px 28px rgba(232,98,58,0.35); }

.acct-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.acct-card {
    background: white; border-radius: var(--r-lg); border: 1px solid var(--gray-100);
    overflow: hidden; transition: all 0.3s var(--ease-out);
    display: flex; flex-direction: column; text-decoration: none; color: inherit;
}
.acct-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--coral-mid); }
.acct-card-img { width: 100%; aspect-ratio: 16/10; background: var(--bg-warm); overflow: hidden; position: relative; flex-shrink: 0; }
.acct-card-img img { width: 100%; height: 100%; object-fit: cover; }
.acct-card-img .no-img { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 48px; }
.acct-card-body { padding: 18px 20px; flex: 1; display: flex; flex-direction: column; }
.acct-card-title { font-family: 'Bricolage Grotesque', sans-serif; font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--text-main); line-height: 1.3; }
.acct-card-meta { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.acct-card-row { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--gray-100); gap: 8px; }

/* ── BADGES STATUT ── */
.status-badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 12px; border-radius: 999px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.4px; flex-shrink: 0; }
.status-pending { background: #FFF3CD; color: #856404; }
.status-published { background: var(--success-bg); color: var(--success); }
.status-rejected { background: var(--error-bg); color: var(--error); }
.status-draft { background: var(--gray-100); color: var(--text-muted); }

/* ── BOUTONS ACTION ── */
.acct-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.btn-edit, .btn-del, .btn-view {
    padding: 6px 12px; font-size: 12px; font-weight: 600;
    border-radius: 999px; font-family: 'Plus Jakarta Sans', sans-serif;
    cursor: pointer; text-decoration: none; transition: all 0.2s; border: none;
    white-space: nowrap;
}
.btn-edit { background: var(--navy-soft); color: var(--navy); }
.btn-edit:hover { background: rgba(14,42,78,0.12); }
.btn-del { background: var(--error-bg); color: var(--error); }
.btn-del:hover { background: var(--error); color: white; }
.btn-view { background: var(--coral-soft); color: var(--coral-hover); }
.btn-view:hover { background: var(--coral); color: white; }

/* ── DEPOSIT HERO ── */
.deposit-hero {
    display: flex; align-items: center; gap: 18px;
    margin-bottom: 28px;
}
.deposit-hero-icon {
    width: 56px; height: 56px; flex-shrink: 0;
    background: var(--coral-soft); color: var(--coral);
    border-radius: 16px; display: flex; align-items: center; justify-content: center;
}
.deposit-hero-title {
    font-family: 'Bricolage Grotesque', sans-serif; font-size: 28px; font-weight: 800;
    letter-spacing: -0.02em; margin-bottom: 2px; color: var(--text-main);
}
.deposit-hero-sub {
    font-size: 14px; font-weight: 500; color: var(--text-muted);
}

/* ── DEPOSIT NOTICE ── */
.deposit-notice {
    background: linear-gradient(135deg, #fffaf7 0%, #f4faf8 100%);
    border: 1px solid #dbe9e5;
    border-radius: 18px;
    padding: 20px 22px 17px;
    margin-bottom: 28px;
}
.deposit-notice-head {
    display: flex;
    align-items: center;
    gap: 12px;
}
.deposit-notice-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: white;
    background: linear-gradient(135deg, var(--coral), #f07a52);
    box-shadow: 0 7px 18px rgba(232,98,58,.2);
}
.deposit-notice-icon svg {
    width: 18px;
    height: 18px;
}
.deposit-notice-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.3;
    margin: 0;
}
.deposit-notice strong {
    color: var(--navy);
    font-weight: 800;
}
.deposit-notice-subtitle {
    margin: 2px 0 0;
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.4;
}
.deposit-rules-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    list-style: none;
    margin: 18px 0 15px;
    padding: 0;
}
.deposit-rules-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
    color: var(--text-sec);
    font-size: 12px;
    line-height: 1.4;
}
.deposit-rule-number {
    width: 25px;
    height: 25px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: rgba(26,158,142,.11);
    color: var(--teal);
    font-size: 11px;
    font-weight: 900;
}
.deposit-rules-list li strong,
.deposit-rules-list li small { display: block; }
.deposit-rules-list li strong { margin-bottom: 2px; font-size: 13px; line-height: 1.35; }
.deposit-rules-list li small { color: var(--text-muted); font-size: 11px; font-weight: 550; }
.deposit-notice-warning {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    padding-top: 12px;
    border-top: 1px solid rgba(14,42,78,.08);
    color: var(--text-sec);
    font-size: 12px;
    line-height: 1.4;
    font-weight: 600;
}
.deposit-notice-warning span { color: var(--teal); font-weight: 900; }
@media (max-width: 700px) {
    .deposit-notice { padding: 17px 16px 15px; }
    .deposit-rules-list { grid-template-columns: 1fr; gap: 12px; margin: 16px 0 14px; }
}

/* ── DROIT DE PUBLICATION ── */
.deposit-quota-card {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: center;
    gap: 15px;
    margin: -12px 0 24px;
    padding: 17px 18px;
    border: 1px solid #cfe4df;
    border-radius: 14px;
    background: #f4fbf9;
}
.deposit-quota-card.is-paid { border-color: #f0c9bb; background: #fff8f5; }
.deposit-quota-card.is-professional { border-color: #bfd5ec; background: #f3f8fd; }
.deposit-quota-card.is-ready { border-color: #a8ddd3; background: #effaf7; }
.deposit-quota-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--teal);
    color: #fff;
    font-weight: 900;
    font-size: 18px;
}
.deposit-quota-card.is-paid .deposit-quota-icon { background: var(--coral); }
.deposit-quota-card.is-professional .deposit-quota-icon { background: var(--navy); }
.deposit-quota-content { display: grid; gap: 3px; }
.deposit-quota-content strong { color: var(--navy); font-size: 15px; line-height: 1.35; }
.deposit-quota-content span { color: var(--text-sec); font-size: 13px; line-height: 1.45; font-weight: 550; }
.deposit-quota-button {
    min-height: 46px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    background: var(--coral);
    color: #fff;
    font: 800 13px/1.2 'Plus Jakarta Sans', sans-serif;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: var(--shadow-coral);
}
.deposit-quota-button:hover { background: var(--coral-hover); transform: translateY(-1px); }
.account-form.is-publication-locked .form-submit {
    opacity: .62;
    cursor: not-allowed;
    box-shadow: none;
}

@media (max-width: 720px) {
    .deposit-quota-card { grid-template-columns: 38px minmax(0, 1fr); margin-top: -8px; }
    .deposit-quota-icon { width: 38px; height: 38px; }
    .deposit-quota-button { grid-column: 1 / -1; width: 100%; }
}

/* ── FORMES ── */
.account-form {
    max-width: 640px;
    --text-sec: #334155;
    --text-muted: #64748B;
}
.form-card {
    background: white; border: 1px solid var(--gray-100); border-radius: var(--r-xl);
    padding: 36px; box-shadow: var(--shadow-md); margin-bottom: 24px;
    position: relative;
}
.form-card h2 { font-family: 'Bricolage Grotesque', sans-serif; font-size: 20px; font-weight: 800; margin-bottom: 2px; letter-spacing: -0.02em; }
.form-card .card-sub {
    display: flex; align-items: center; gap: 7px; flex-wrap: wrap;
    font-size: 14px; line-height: 1.45; font-weight: 550; color: var(--text-muted); margin-bottom: 0;
}
.form-card .card-sub strong {
    padding: 2px 7px;
    border-radius: 999px;
    background: var(--navy-soft);
    color: var(--navy);
    font-size: 12px;
    line-height: 1.45;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
.form-card-header {
    display: flex; align-items: center; gap: 16px; margin-bottom: 28px;
}
.form-card-step {
    width: 36px; height: 36px; flex-shrink: 0;
    background: var(--navy); color: white;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-family: 'Bricolage Grotesque', sans-serif; font-size: 15px; font-weight: 800;
}
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-hint { font-size: 13px; color: var(--text-muted); margin-top: -4px; line-height: 1.5; }
.photo-guidance {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
    border-top: 1px solid var(--gray-100);
}
.photo-guidance li {
    display: grid;
    grid-template-columns: 145px minmax(0, 1fr);
    gap: 14px;
    padding: 12px 2px;
    border-bottom: 1px solid var(--gray-100);
}
.photo-guidance strong {
    font-size: 13px;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.5;
}
.photo-guidance span {
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-muted);
    font-weight: 600;
}
.form-card .form-group { margin-bottom: 18px; }
.form-card .form-group label { display: block; font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 7px; }
.form-card .form-group input, .form-card .form-group select, .form-card .form-group textarea {
    width: 100%; padding: 11px 15px;
    border: 1.5px solid var(--gray-100); border-radius: 11px;
    font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; font-weight: 500;
    color: var(--text-main); background: var(--bg-card);
    transition: all 0.2s var(--ease-out);
}
.form-card .form-group input:focus, .form-card .form-group select:focus, .form-card .form-group textarea:focus {
    outline: none; border-color: var(--coral); box-shadow: 0 0 0 4px rgba(232,98,58,0.10); background: white;
}
.form-card .form-group input::placeholder,
.form-card .form-group textarea::placeholder { color: #64748B; opacity: 1; }
.form-card .form-group textarea { resize: vertical; min-height: 120px; line-height: 1.65; }
.form-card .required-mark { color: var(--coral); }

.char-counter {
    display: block; margin-top: 5px;
    font-size: 12px; line-height: 1.4; font-weight: 650; color: var(--text-muted);
    text-align: right; transition: color 0.2s;
}
.field-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 5px;
}
.field-meta .char-counter { margin-top: 0; }
.field-requirement {
    font-size: 13px;
    line-height: 1.4;
    font-weight: 700;
    color: var(--text-sec);
}
.description-guidance {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
}
.description-guidance li {
    padding: 5px 9px;
    border: 1px solid #d8e3ec;
    border-radius: 999px;
    background: #f8fafc;
    color: var(--text-sec);
    font-size: 12px;
    font-weight: 650;
}
.description-guidance li::before { content: "✓ "; color: #168777; font-weight: 800; }
.char-counter--warn { color: #d97706; }
.char-counter--max  { color: var(--coral); }
.description-duplicate-status {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin: 9px 0 0;
    padding: 11px 13px;
    border: 1px solid #d8e3ec;
    border-radius: 10px;
    background: #f8fafc;
    color: var(--text-sec);
    font-size: 13px;
    font-weight: 550;
    line-height: 1.5;
}
.description-duplicate-status strong { color: var(--text-sec); white-space: nowrap; }
.description-duplicate-status--checking { background: #fff7ed; color: #9a5a13; }
.description-duplicate-status--unique { background: #ecfdf5; color: #047857; }
.description-duplicate-status--unique strong { color: #047857; }
.description-duplicate-status--duplicate { background: #fff1f2; color: #be123c; }
.description-duplicate-status--duplicate strong { color: #be123c; }

@media (max-width: 640px) {
    .description-duplicate-status { flex-direction: column; gap: 2px; }
}

/* ── PHOTO DROP ZONE ── */
.photo-drop {
    border: 2px dashed var(--gray-200); border-radius: 14px;
    padding: 32px 20px; text-align: center; cursor: pointer;
    transition: all 0.2s var(--ease-out); background: var(--bg-card);
    display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.photo-drop:hover, .photo-drop:focus-visible {
    border-color: var(--coral); background: rgba(232,98,58,0.03);
}
.photo-drop-icon { color: var(--coral); opacity: 0.6; }
.photo-drop:hover .photo-drop-icon { opacity: 1; }
.photo-drop-label { font-size: 14px; font-weight: 600; color: var(--text-sec); }
.photo-drop-hint { font-size: 14px; line-height: 1.45; color: var(--text-sec); font-weight: 650; }
.photo-required-note {
    display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
    margin: 0 0 10px; padding: 12px 14px; border: 1px solid #efc5aa; border-radius: 11px;
    background: #fff8f2; color: #795039; font-size: 13px; font-weight: 550; line-height: 1.5;
}
.photo-required-note strong { color: var(--coral-hover); font-weight: 800; white-space: nowrap; }
.photo-required-note span { color: var(--text-sec); }
.photo-required-note.is-complete { border-color: #99d7c7; background: #f0faf7; }
.photo-required-note.is-complete strong { color: #176b5e; }
.photo-upload-status { min-height: 20px; margin: 8px 2px 0; font-size: 13px; font-weight: 700; color: var(--text-muted); }
.photo-upload-status.is-working { color: #9a5a13; }
.photo-upload-status.is-ready { color: #047857; }
.photo-upload-status.is-error { color: var(--error); }
.field-inline-error { display: block; margin-top: 6px; color: var(--error); font-size: 12px; line-height: 1.45; font-weight: 750; }
.form-card .form-group [aria-invalid="true"] { border-color: var(--error); background: #fff8f8; }
.draft-status { margin: -8px 0 18px; color: var(--text-muted); font-size: 13px; font-weight: 650; }
.draft-status.is-saved { color: #047857; }
.draft-status.is-restored { color: #245a8d; }
.deposit-summary { margin: 4px 0 22px; padding: 18px; border: 1px solid #d8e3ec; border-radius: 14px; background: #f8fafc; }
.deposit-summary > div { display: grid; gap: 3px; margin-bottom: 14px; }
.deposit-summary > div strong { color: var(--navy); font-size: 16px; }
.deposit-summary > div span { color: var(--text-muted); font-size: 13px; }
.deposit-summary dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; }
.deposit-summary dl div { padding: 10px 12px; border-radius: 10px; background: white; border: 1px solid var(--gray-100); }
.deposit-summary dt { margin-bottom: 3px; color: var(--text-muted); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.deposit-summary dd { margin: 0; color: var(--text-main); font-size: 13px; line-height: 1.4; font-weight: 750; overflow-wrap: anywhere; }

/* ── DEPOSIT SUBMIT AREA ── */
.deposit-submit-area { text-align: center; padding: 12px 0 24px; }
.deposit-submit-area .form-submit {
    width: 100%; max-width: 400px; padding: 16px 28px;
    background: var(--coral); color: white; border: none; border-radius: 999px;
    font-family: 'Plus Jakarta Sans', sans-serif; font-size: 16px; font-weight: 700;
    cursor: pointer; transition: all 0.2s var(--ease-out);
    box-shadow: var(--shadow-coral);
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
}
.deposit-submit-area .form-submit:hover {
    background: var(--coral-hover); transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(232,98,58,0.35);
}
.deposit-reassurance {
    display: flex; justify-content: center; gap: 10px; flex-wrap: wrap;
    margin-top: 20px;
}
.deposit-reassurance-item {
    display: flex; align-items: center; gap: 7px;
    padding: 8px 11px;
    border: 1px solid #dbe6e3;
    border-radius: 999px;
    background: #f7fbfa;
    font-size: 14px; line-height: 1.35; font-weight: 650; color: var(--text-sec);
}
.deposit-reassurance-item svg { width: 18px; height: 18px; color: var(--teal); flex-shrink: 0; }

/* ── LOGIN / INSCRIPTION ── */
.login-body-wrap {
    min-height: calc(100vh - 64px);
    display: flex; align-items: center; justify-content: center;
    padding: 60px 20px 100px;
    background: linear-gradient(160deg, #0d2f55 0%, #1a4580 50%, #1e4f8a 100%);
    position: relative; overflow: hidden;
}

/* Orbes lumineux flottants */
.login-orb {
    position: absolute; border-radius: 50%; pointer-events: none;
}
.login-orb-coral {
    width: 700px; height: 700px; top: -220px; right: -180px;
    background: radial-gradient(circle, rgba(232,98,58,0.18) 0%, transparent 65%);
    animation: loginOrbFloat 16s ease-in-out infinite;
}
.login-orb-teal {
    width: 600px; height: 600px; bottom: -120px; left: -160px;
    background: radial-gradient(circle, rgba(26,158,142,0.15) 0%, transparent 65%);
    animation: loginOrbFloat 20s ease-in-out infinite reverse;
}
@keyframes loginOrbFloat {
    0%, 100% { transform: translate(0, 0); }
    33%       { transform: translate(-18px, 22px); }
    66%       { transform: translate(14px, -16px); }
}

/* Vagues SVG animées */
.login-waves-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.login-wave {
    position: absolute; bottom: 0; left: 0; width: 200%;
    will-change: transform;
}
.login-wave-back  { animation: waveScroll 30s linear infinite; }
.login-wave-mid   { animation: waveScroll 20s linear infinite reverse; }
.login-wave-front { animation: waveScroll 13s linear infinite; }
@keyframes waveScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Card flotte au-dessus */
.login-card-xl {
    background: white; border-radius: var(--r-xl); padding: 48px 44px;
    box-shadow: 0 32px 80px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.07);
    max-width: 460px; width: 100%;
    position: relative; overflow: hidden; z-index: 1;
}
.login-card-xl::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--coral) 0%, #e87a4a 50%, var(--teal) 100%); }
.login-choice-grid {
    position: relative; z-index: 1; width: min(1080px, calc(100% - 40px));
    margin: 0 auto; display: grid; grid-template-columns: minmax(360px, 480px) minmax(300px, 390px);
    align-items: start; justify-content: center; gap: 22px;
}
.login-choice-grid .login-card-xl { max-width: none; width: auto; }
.login-kicker,
.login-pro-kicker {
    display: inline-flex; align-items: center; min-height: 34px; padding: 0 15px; border-radius: 999px;
    font-size: 12px; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase;
    box-shadow: 0 10px 24px rgba(14,42,78,0.08);
}
.login-kicker {
    color: #b83f18;
    background: #fff0e9;
    border: 1px solid rgba(207,78,35,0.20);
    margin-bottom: 18px;
}
.login-logo { font-family: 'Bricolage Grotesque', sans-serif; font-size: 28px; font-weight: 800; margin-bottom: 6px; color: var(--text-main); letter-spacing: -0.03em; }
.login-logo em { color: var(--coral); font-style: normal; }
.login-title { font-family: 'Bricolage Grotesque', sans-serif; font-size: 26px; font-weight: 800; color: var(--text-main); letter-spacing: -0.02em; margin-bottom: 6px; }
.login-sub { font-size: 14px; font-weight: 500; color: var(--text-muted); margin-bottom: 32px; }
.login-pro-panel {
    position: relative; top: auto; overflow: hidden; border-radius: var(--r-xl); padding: 38px 34px 34px;
    color: var(--text-main); background:
        linear-gradient(145deg, rgba(26,158,142,0.10), rgba(255,255,255,0) 48%),
        linear-gradient(180deg, #f8fbfd 0%, #eef7f6 100%);
    border: 1px solid rgba(26,158,142,0.18);
    box-shadow: 0 24px 58px rgba(14,42,78,0.20);
}
.login-pro-panel::after {
    content: ''; position: absolute; right: -56px; bottom: -70px; width: 190px; height: 190px;
    border: 1px solid rgba(26,158,142,0.18); border-radius: 999px;
}
.login-pro-kicker {
    color: #075f57;
    background: #e7f7f4;
    border: 1px solid rgba(26,158,142,0.22);
    margin-bottom: 20px;
}
.login-pro-panel h2 {
    position: relative; z-index: 1; font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 28px; line-height: 1.05; font-weight: 800; margin: 0 0 12px; color: var(--navy);
}
.login-pro-panel p {
    position: relative; z-index: 1; margin: 0; color: var(--text-sec);
    font-size: 14px; line-height: 1.7; font-weight: 500;
}
.login-pro-actions { position: relative; z-index: 1; display: grid; gap: 10px; margin: 24px 0 26px; }
.login-pro-primary,
.login-pro-secondary {
    min-height: 48px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
    padding: 0 18px; font-size: 14px; font-weight: 800; text-decoration: none; transition: all 0.2s var(--ease-out);
}
.login-pro-primary { color: white; background: var(--coral); box-shadow: 0 18px 34px rgba(207,78,35,0.28); }
.login-pro-primary:hover { background: var(--coral-hover); transform: translateY(-1px); }
.login-pro-secondary { color: var(--navy); background: white; border: 1px solid #d8e7ee; }
.login-pro-secondary:hover { background: #f3f8fa; border-color: rgba(26,158,142,0.35); }
.login-pro-list {
    position: relative; z-index: 1; list-style: none; padding: 18px 0 0; margin: 0;
    border-top: 1px solid #d8e7ee; display: grid; gap: 13px;
}
.login-pro-list li {
    display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start;
    color: var(--text-sec); font-size: 13px; line-height: 1.45; font-weight: 600;
}
.login-pro-list svg {
    width: 18px; height: 18px; margin-top: 1px; color: #8ce5d8; fill: none;
    stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
}
.login-msg { display: none; padding: 13px 16px; border-radius: 11px; margin-bottom: 20px; font-size: 13px; font-weight: 500; }
.login-msg.error { display: block; background: var(--error-bg); color: var(--error); border: 1px solid #f1aeb5; }
.login-msg.success { display: block; background: var(--success-bg); color: var(--success); border: 1px solid #a3cfbb; }

.login-tabs { display: flex; gap: 6px; margin-bottom: 28px; background: var(--bg-warm); border-radius: 14px; padding: 5px; }
.login-tab { flex: 1; padding: 10px 12px; text-align: center; font-size: 14px; font-weight: 600; color: var(--text-muted); border-radius: 10px; cursor: pointer; transition: all 0.2s var(--ease-out); border: none; background: none; font-family: 'Plus Jakarta Sans', sans-serif; }
.login-tab.active { background: white; color: var(--navy); box-shadow: var(--shadow-sm); }
.login-tab:hover:not(.active) { color: var(--text-sec); }

.login-actions { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 24px; font-size: 16px; }
.login-actions a { color: var(--coral); text-decoration: none; font-weight: 600; transition: color 0.2s; }
.login-actions a:hover { color: var(--coral-hover); }
.login-sep { color: var(--gray-200); }

/* ── ÉTATS ── */
.msg-box { display: none; padding: 14px 18px; border-radius: 12px; font-size: 14px; font-weight: 500; margin-bottom: 20px; }
.msg-box.visible { display: block; }
.msg-box.error { background: var(--error-bg); color: var(--error); border: 1px solid #f1aeb5; }
.msg-box.success { background: var(--success-bg); color: var(--success); border: 1px solid #a3cfbb; }

.state-empty { text-align: center; padding: 80px 20px; }
.state-empty .state-icon { font-size: 64px; margin-bottom: 20px; animation: floatY 2.5s ease-in-out infinite; }
.state-empty h3 { font-family: 'Bricolage Grotesque', sans-serif; font-size: 24px; font-weight: 800; margin-bottom: 8px; letter-spacing: -0.02em; }
.state-empty p { font-size: 15px; color: var(--text-muted); margin-bottom: 24px; }
@keyframes floatY { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }

/* ── COMPTE ── */
.account-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-bottom: 36px; }
.account-stat {
    background: white; padding: 24px; border-radius: var(--r-lg);
    border: 1px solid var(--gray-100); transition: all 0.2s;
}
.account-stat:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.account-stat-num { font-family: 'Bricolage Grotesque', sans-serif; font-size: 36px; font-weight: 800; color: var(--coral); line-height: 1; letter-spacing: -0.02em; }
.account-stat-label { font-size: 13px; color: var(--text-muted); margin-top: 6px; font-weight: 500; }
.account-actions-main { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.account-actions-main a { padding: 15px 28px; border-radius: 999px; font-size: 15px; font-weight: 700; text-decoration: none; transition: all 0.2s var(--ease-out); display: inline-flex; align-items: center; gap: 8px; font-family: 'Plus Jakarta Sans', sans-serif; }
.account-cta { background: var(--coral); color: white; box-shadow: var(--shadow-coral); }
.account-cta:hover { background: var(--coral-hover); transform: translateY(-2px); }
.account-ghost { background: white; color: var(--text-main); border: 1.5px solid var(--gray-100); }
.account-ghost:hover { background: var(--bg-warm); border-color: var(--coral-mid); }
.professional-dashboard {
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
    margin: 0 0 30px; padding: 24px 26px; border-radius: var(--r-lg);
    background: linear-gradient(135deg, #0B2545, #174c78); color: white;
    box-shadow: var(--shadow-md);
}
.professional-dashboard[hidden] { display: none; }
.professional-dashboard-kicker {
    display: block; margin-bottom: 6px; color: #ff936f; font-size: 11px;
    font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.professional-dashboard h2 { color: white; font-family: 'Bricolage Grotesque', sans-serif; font-size: 21px; margin: 0 0 5px; }
.professional-dashboard p { color: rgba(255,255,255,.78); font-size: 13px; line-height: 1.55; margin: 0; max-width: 680px; }
.professional-dashboard-actions { flex-shrink: 0; }
.professional-dashboard .account-ghost { display: inline-flex; padding: 11px 17px; border-radius: 999px; font-size: 13px; font-weight: 750; text-decoration: none; }
.account-flow-note {
    display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start;
    margin: 0 0 22px; padding: 14px 16px; border-radius: 14px;
    background: linear-gradient(180deg, #f8fbfd 0%, #f2f7f8 100%);
    border: 1px solid #dfeaf0; color: var(--text-sec);
    font-size: 13px; line-height: 1.55; font-weight: 600;
}
.account-flow-note svg {
    width: 20px; height: 20px; margin-top: 1px; color: var(--teal);
    fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.account-flow-note strong { color: var(--navy); font-weight: 800; }
.contact-phone-option { margin-top: 4px; }
.form-card .contact-phone-choice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0;
    padding: 14px 15px;
    border: 1.5px solid var(--gray-100);
    border-radius: 13px;
    background: var(--bg-card);
    color: var(--text-sec);
    cursor: pointer;
    transition: border-color .2s, background .2s, box-shadow .2s;
}
.form-card .contact-phone-choice:hover { border-color: rgba(26,158,142,.45); background: #fbfefd; }
.form-card .contact-phone-choice:has(input:checked) {
    border-color: rgba(26,158,142,.55);
    background: rgba(26,158,142,.055);
    box-shadow: 0 0 0 3px rgba(26,158,142,.07);
}
.form-card .contact-phone-choice input[type="checkbox"] {
    width: 19px;
    height: 19px;
    flex: 0 0 auto;
    margin: 1px 0 0;
    padding: 0;
    accent-color: var(--teal);
}
.contact-phone-choice span,
.contact-phone-choice strong,
.contact-phone-choice small { display: block; }
.contact-phone-choice strong { margin-bottom: 3px; color: var(--navy); font-size: 14px; line-height: 1.4; }
.contact-phone-choice small { color: var(--text-muted); font-size: 12px; font-weight: 550; line-height: 1.45; }
.form-card .phone-number-field { margin: 14px 0 0; padding: 0 2px; }
.phone-number-field[hidden] { display: none !important; }
.phone-number-field .form-hint { display: block; margin: 7px 0 0; }

/* ── DELETE MODAL / CONFIRM ── */
.confirm-delete { position: fixed; inset: 0; background: rgba(14,42,78,0.45); backdrop-filter: blur(4px); z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.confirm-box { background: white; border-radius: var(--r-xl); padding: 32px; max-width: 400px; width: 100%; box-shadow: var(--shadow-xl); }
.confirm-box h3 { font-family: 'Bricolage Grotesque', sans-serif; font-size: 20px; font-weight: 800; margin-bottom: 10px; }
.confirm-box p { font-size: 14px; color: var(--text-sec); margin-bottom: 24px; line-height: 1.6; }
.confirm-row { display: flex; gap: 10px; justify-content: flex-end; }
.confirm-ok { padding: 10px 22px; background: var(--error); color: white; border: none; border-radius: 999px; font-size: 14px; font-weight: 700; cursor: pointer; transition: all 0.2s; font-family: 'Plus Jakarta Sans', sans-serif; }
.confirm-ok:hover { background: #a3281f; }
.confirm-cancel { padding: 10px 22px; background: var(--gray-100); color: var(--text-main); border: none; border-radius: 999px; font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.2s; font-family: 'Plus Jakarta Sans', sans-serif; }
.confirm-cancel:hover { background: var(--gray-200); }

/* ── PHOTO UPLOAD ── */
.photo-upload-area {
    border: 2px dashed var(--border);
    border-radius: 12px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    overflow: hidden;
    background: var(--bg-card);
    text-align: center;
}
.photo-upload-area:hover {
    border-color: var(--coral);
    background: rgba(255,107,74,0.04);
}

/* ── DEPOSIT LAYOUT 2 COLONNES ── */
.deposit-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 28px;
    align-items: start;
}
.deposit-layout .account-form { max-width: none; }

.deposit-sidebar {
    position: sticky;
    top: 80px;
}
.deposit-preview-label {
    display: flex; align-items: center; gap: 6px;
    font-size: 13px; font-weight: 750; letter-spacing: 0.06em;
    text-transform: uppercase; color: var(--text-muted);
    margin-bottom: 10px;
}
.deposit-preview-shell {
    padding: 10px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,251,253,0.96));
    border: 1px solid rgba(14,42,78,0.08);
    box-shadow: 0 22px 58px rgba(14,42,78,0.12);
    cursor: help;
    transition: border-color .2s, box-shadow .2s;
}
.deposit-preview-shell:focus-visible,
.deposit-preview-shell.is-explaining { outline: none; border-color: var(--coral); box-shadow: 0 22px 58px rgba(14,42,78,0.12), 0 0 0 4px rgba(232,98,58,.12); }
.deposit-preview-notice {
    display: none;
    margin: 0 0 10px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #fff4ed;
    border: 1px solid #f0c4ae;
    color: #9a3f20;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 800;
    text-align: center;
}
.deposit-preview-notice.is-visible { display: block; animation: previewNoticeIn .2s ease-out; }
@keyframes previewNoticeIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
.deposit-preview-card {
    pointer-events: none; user-select: none;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: none;
    border: 1px solid rgba(14,42,78,0.08);
    background: white;
}
.deposit-preview-card .card-image {
    height: 190px;
    aspect-ratio: auto;
    background: #eef5f7;
}
.deposit-preview-card #pvImgWrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
    isolation: isolate;
}
.deposit-preview-card #pvImgWrap::before {
    content: '';
    position: absolute;
    inset: -18px;
    background-image: var(--preview-photo, none);
    background-position: center;
    background-size: cover;
    filter: blur(18px) saturate(0.78);
    opacity: 0;
    transform: scale(1.08);
}
.deposit-preview-card #pvImgWrap.is-portrait::before { opacity: 0.42; }
.deposit-preview-card #pvImgWrap > img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    image-orientation: from-image;
}
.deposit-preview-card #pvImgWrap.is-portrait > img {
    object-fit: contain;
    padding: 7px;
}
.deposit-preview-card .card-image::after {
    background: linear-gradient(to top, rgba(14,42,78,0.50) 0%, rgba(14,42,78,0.08) 44%, transparent 72%);
}
.deposit-preview-empty {
    width: 100%; height: 100%;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
    color: rgba(14,42,78,0.76);
    background:
        radial-gradient(circle at 30% 20%, rgba(255,255,255,0.95), rgba(255,255,255,0) 36%),
        linear-gradient(140deg, rgba(26,158,142,0.10), rgba(232,98,58,0.08)),
        #eef5f7;
}
.deposit-preview-empty svg { filter: drop-shadow(0 12px 22px rgba(14,42,78,0.14)); }
.deposit-preview-empty span {
    width: 160px;
    text-align: center;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 700;
    color: var(--text-sec);
}
.deposit-preview-card .card-badge {
    top: 12px; left: 12px;
    padding: 6px 11px;
    max-width: calc(100% - 24px);
    overflow: hidden;
    text-overflow: ellipsis;
}
.deposit-preview-photo-count {
    position: absolute; right: 12px; bottom: 12px; z-index: 2;
    min-height: 26px; padding: 0 10px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 999px;
    background: rgba(14,42,78,0.78);
    color: white;
    font-size: 12px;
    font-weight: 800;
    backdrop-filter: blur(12px);
}
.deposit-preview-card .card-body { padding: 16px 17px 15px; }
.deposit-preview-status {
    display: inline-flex;
    width: max-content;
    margin-bottom: 10px;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(26,158,142,0.10);
    color: #0d6f65;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.deposit-preview-card .card-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    margin-bottom: 10px;
}
.deposit-preview-card .card-titre {
    font-size: 16px;
    line-height: 1.18;
    -webkit-line-clamp: 2;
}
.deposit-preview-card .card-prix {
    font-size: 24px;
    line-height: 1.05;
}
.deposit-preview-card .card-meta { margin-bottom: 8px; gap: 6px; }
.deposit-preview-card .card-meta-item {
    font-size: 12px;
    padding: 5px 8px;
    background: rgba(14,42,78,0.045);
}
.deposit-preview-card .card-loc { font-size: 12px; margin-bottom: 8px; }
.deposit-preview-card .card-desc {
    font-size: 13px;
    line-height: 1.55;
    -webkit-line-clamp: 2;
    margin-bottom: 12px;
}
.deposit-preview-card .card-footer { padding-top: 10px; }
.deposit-preview-card .card-contact {
    font-size: 12px;
    padding: 7px 11px;
    color: white;
    background: var(--coral);
    border-radius: 999px;
    font-weight: 800;
}
.deposit-preview-hint {
    font-size: 12px; font-weight: 550; color: var(--text-muted);
    text-align: center; margin: 10px 4px 0; line-height: 1.5;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .deposit-layout { grid-template-columns: 1fr; }
    .deposit-sidebar { display: none; }
}
@media (max-width: 900px) {
    .account-subnav { padding: 0 16px; overflow-x: auto; }
    .account-body { padding: 28px 20px; }
    .acct-grid { grid-template-columns: 1fr; }
    .account-actions-main { flex-direction: column; }
    .account-actions-main a { text-align: center; justify-content: center; }
    .professional-dashboard { align-items: flex-start; flex-direction: column; }
    .form-card { padding: 24px; }
    .login-choice-grid { grid-template-columns: 1fr; width: min(520px, calc(100% - 28px)); gap: 16px; }
    .login-card-xl { padding: 32px 24px; }
    .login-pro-panel { position: relative; top: auto; padding: 30px 24px; }
    .login-pro-panel h2 { font-size: 24px; }
    .deposit-reassurance { gap: 16px; }
}
@media (max-width: 640px) {
    .acct-card-row { flex-direction: column; align-items: flex-start; }
    .form-grid-2 { grid-template-columns: 1fr; }
    .photo-guidance li { grid-template-columns: 1fr; gap: 3px; }
    .deposit-hero-title { font-size: 24px; }
    .deposit-hero-icon { width: 46px; height: 46px; border-radius: 12px; }
    .deposit-hero-icon svg { width: 26px; height: 26px; }
    .deposit-reassurance { flex-direction: column; align-items: center; gap: 10px; }
    .photo-required-note { flex-direction: column; gap: 4px; }
    .deposit-rules-list { grid-template-columns: 1fr; }
    .deposit-summary dl { grid-template-columns: 1fr; }
}
.title-advice {
    margin-top: 9px;
    padding: 11px 12px;
    border: 1px solid #d8e3ec;
    border-radius: 10px;
    background: #f7fafc;
    color: #36536f;
    font-size: 14px;
    line-height: 1.5;
}
.title-advice strong,
.title-advice span { display: block; }
.title-advice--good { border-color: #99d7c7; background: #f0faf7; color: #176b5e; }
.title-advice--error { border-color: #efb3ad; background: #fff6f5; color: #9b3028; }
.title-suggestion-button {
    margin-top: 9px;
    padding: 8px 11px;
    border: 1px solid currentColor;
    border-radius: 8px;
    background: #fff;
    color: #0b5e75;
    font: inherit;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
}
.title-suggestion-button:hover { background: #eef8fb; }
