* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --purple: #6c3df4;
    --purple-dark: #4d22c9;
    --purple-light: #f1edff;
    --text: #171522;
    --muted: #777486;
    --border: #e8e5ef;
    --white: #ffffff;
    --danger: #d94b5b;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
                 Roboto, Helvetica, Arial, sans-serif;

    min-height: 100vh;
    background: #f6f4fb;
    color: var(--text);
}

.page {
    min-height: 100vh;
    position: relative;
    overflow: hidden;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 30px 18px;
}

/* Arrière-plan */

.page::before {
    content: "";
    position: absolute;

    width: 520px;
    height: 520px;

    background: rgba(108, 61, 244, 0.10);

    border-radius: 50%;

    top: -260px;
    right: -180px;

    filter: blur(5px);
}

.page::after {
    content: "";
    position: absolute;

    width: 420px;
    height: 420px;

    background: rgba(122, 82, 245, 0.08);

    border-radius: 50%;

    bottom: -230px;
    left: -180px;
}

.background-shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.shape-one {
    width: 18px;
    height: 18px;

    background: rgba(108, 61, 244, 0.35);

    top: 18%;
    left: 18%;
}

.shape-two {
    width: 10px;
    height: 10px;

    background: rgba(108, 61, 244, 0.30);

    bottom: 22%;
    right: 18%;
}

/* Carte */

.login-card {
    width: 100%;
    max-width: 450px;

    position: relative;
    z-index: 2;

    background: transparent;

    border: none;

    border-radius: 0;

    padding: 38px 34px 28px;

    box-shadow: none;

    animation: cardAppear 0.55s ease-out;
}

@keyframes cardAppear {

    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

/* Logo */

.brand {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 42px;
}

.brand-logo {
    width: 48px;
    height: 48px;

    display: flex;
    justify-content: center;
    align-items: center;

    border-radius: 15px;

    background: linear-gradient(
        145deg,
        #7c52fa,
        #572bd5
    );

    box-shadow:
        0 9px 22px rgba(108, 61, 244, 0.28);
}

.brand-logo span {
    color: white;

    font-size: 25px;
    font-weight: 800;

    font-style: italic;
}

.brand-name {
    display: flex;
    flex-direction: column;

    line-height: 1.05;
}

.brand-name strong {
    font-size: 19px;
    letter-spacing: -0.5px;
}

.brand-name span {
    color: var(--purple);

    font-size: 14px;
    font-weight: 600;

    margin-top: 4px;
}

/* Texte */

.welcome-tag {
    display: inline-block;

    color: var(--purple);

    background: var(--purple-light);

    padding: 7px 11px;

    border-radius: 8px;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.1px;

    margin-bottom: 14px;
}

.welcome h1 {
    font-size: 34px;

    letter-spacing: -1.2px;

    margin-bottom: 9px;
}

.welcome p {
    color: var(--muted);

    font-size: 14px;

    line-height: 1.6;

    max-width: 330px;
}

/* Formulaire */

.login-form {
    margin-top: 32px;
}

.input-group label {
    display: block;

    font-size: 13px;

    font-weight: 700;

    margin-bottom: 9px;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;

    left: 16px;
    top: 50%;

    transform: translateY(-50%);

    color: var(--purple);

    font-size: 17px;

    pointer-events: none;
}

.input-wrapper input {
    width: 100%;

    height: 58px;

    border: 1px solid var(--border);

    border-radius: 15px;

    background: #fbfaff;

    padding: 0 16px 0 47px;

    color: var(--text);

    font-size: 15px;

    font-weight: 600;

    letter-spacing: 0.5px;

    outline: none;

    transition: 0.2s ease;
}

.input-wrapper input::placeholder {
    color: #aaa6b5;

    font-weight: 500;
}

.input-wrapper input:focus {
    border-color: var(--purple);

    background: #fff;

    box-shadow:
        0 0 0 4px rgba(108, 61, 244, 0.09);
}

/* Erreur */

.error-message {
    display: flex;
    align-items: center;
    gap: 9px;

    color: var(--danger);

    background: #fff1f3;

    border: 1px solid #ffd9de;

    border-radius: 12px;

    padding: 11px 13px;

    margin-top: 12px;

    font-size: 12px;

    line-height: 1.4;
}

.error-message span {
    width: 19px;
    height: 19px;

    flex-shrink: 0;

    display: flex;
    justify-content: center;
    align-items: center;

    border-radius: 50%;

    background: var(--danger);

    color: white;

    font-size: 11px;
    font-weight: 800;
}

/* Bouton */

.continue-button {
    width: 100%;

    height: 58px;

    margin-top: 18px;

    border: none;

    border-radius: 15px;

    background: linear-gradient(
        135deg,
        #7650f8,
        #5b31d8
    );

    color: white;

    font-size: 15px;

    font-weight: 700;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    box-shadow:
        0 10px 22px rgba(108, 61, 244, 0.22);

    transition: 0.2s ease;
}

.continue-button:hover {
    transform: translateY(-1px);

    box-shadow:
        0 13px 28px rgba(108, 61, 244, 0.28);
}

.continue-button:active {
    transform: translateY(1px);
}

.arrow {
    font-size: 20px;

    transition: transform 0.2s ease;
}

.continue-button:hover .arrow {
    transform: translateX(4px);
}

/* Sécurité */

.security-note {
    display: flex;
    align-items: center;
    gap: 11px;

    margin-top: 25px;

    padding: 13px;

    border-radius: 14px;

    background: #faf9fd;

    border: 1px solid #eeebf4;
}

.security-icon {
    width: 30px;
    height: 30px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: #eee9ff;

    color: var(--purple);

    font-size: 13px;
    font-weight: 800;
}

.security-note strong {
    display: block;

    font-size: 12px;

    margin-bottom: 2px;
}

.security-note p {
    color: var(--muted);

    font-size: 11px;
}

/* Footer */

.login-footer {
    text-align: center;

    margin-top: 25px;

    color: #aaa6b3;

    font-size: 10px;

    letter-spacing: 0.2px;
}

.login-footer span {
    margin: 0 5px;
}

/* Mobile */

@media (max-width: 480px) {

    .page {
        padding: 18px 14px;
    }

    .login-card {
        padding: 30px 23px 24px;

        border-radius: 24px;
    }

    .brand {
        margin-bottom: 35px;
    }

    .welcome h1 {
        font-size: 30px;
    }

    .welcome p {
        font-size: 13px;
    }

    .login-form {
        margin-top: 27px;
    }

}

@media (max-height: 700px) {

    .page {
        align-items: flex-start;
        padding-top: 25px;
        padding-bottom: 25px;
    }

}




/* ================================
   DASHBOARD AURELIA MONEY
================================ */

.dashboard {
    min-height: 100vh;
    background: #f6f4fb;
    color: var(--text);
    padding-bottom: 95px;
}

/* En-tête */

.dashboard-header {
    width: 100%;
    max-width: 1050px;
    margin: 0 auto;

    padding: 24px 28px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dashboard-brand {
    display: flex;
    align-items: center;
    gap: 11px;
}

.dashboard-logo {
    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 13px;

    background: linear-gradient(
        145deg,
        #7c52fa,
        #572bd5
    );

    color: white;

    font-size: 22px;
    font-weight: 800;
    font-style: italic;

    box-shadow:
        0 8px 20px rgba(108, 61, 244, 0.22);
}

.dashboard-brand strong {
    display: block;

    font-size: 17px;

    line-height: 1;
}

.dashboard-brand span {
    display: block;

    margin-top: 4px;

    color: var(--purple);

    font-size: 12px;
    font-weight: 700;
}

.dashboard-dossier {
    color: var(--muted);

    font-size: 12px;
    font-weight: 600;

    background: white;

    border: 1px solid var(--border);

    padding: 9px 12px;

    border-radius: 10px;
}

/* Contenu */

.dashboard-content {
    width: 100%;
    max-width: 1050px;

    margin: 0 auto;

    padding: 25px 28px;
}

.dashboard-welcome span {
    color: var(--purple);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1px;
}

.dashboard-welcome h1 {
    margin-top: 7px;

    font-size: 31px;

    letter-spacing: -1px;
}

.dashboard-welcome p {
    margin-top: 7px;

    color: var(--muted);

    font-size: 14px;
}

/* Solde */

.balance-card {
    margin-top: 28px;

    padding: 27px;

    border-radius: 23px;

    background: linear-gradient(
        135deg,
        #6f43ef,
        #4d22c9
    );

    color: white;

    box-shadow:
        0 18px 40px rgba(77, 34, 201, 0.20);
}

.balance-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    font-size: 13px;

    opacity: 0.9;
}

.balance-icon {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    background: rgba(255, 255, 255, 0.16);

    font-size: 15px;
    font-weight: 700;
}

.balance-amount {
    margin-top: 17px;

    font-size: 36px;

    font-weight: 800;

    letter-spacing: -1px;
}

.balance-status {
    margin-top: 14px;

    display: flex;
    align-items: center;

    gap: 7px;

    font-size: 11px;

    opacity: 0.9;
}

.balance-status span {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #ffffff;
}

/* Actions */

.dashboard-actions {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 16px;

    margin-top: 18px;
}

.action-card {
    border: 1px solid var(--border);

    background: white;

    border-radius: 19px;

    padding: 21px;

    text-align: left;

    cursor: pointer;

    transition: 0.2s ease;
}

.action-card:hover {
    transform: translateY(-2px);

    box-shadow:
        0 10px 25px rgba(42, 25, 91, 0.08);
}

.action-icon {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: var(--purple-light);

    color: var(--purple);

    font-size: 18px;
    font-weight: 700;
}

.action-card strong {
    display: block;

    margin-top: 14px;

    font-size: 14px;
}

.action-card small {
    display: block;

    margin-top: 4px;

    color: var(--muted);

    font-size: 11px;
}

/* Information */

.info-card {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-top: 18px;

    padding: 17px;

    background: white;

    border: 1px solid var(--border);

    border-radius: 17px;
}

.info-icon {
    width: 34px;
    height: 34px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: var(--purple-light);

    color: var(--purple);

    font-weight: 800;
}

.info-card strong {
    display: block;

    font-size: 12px;
}

.info-card p {
    margin-top: 3px;

    color: var(--muted);

    font-size: 10px;

    line-height: 1.4;
}

/* Navigation */

.bottom-navigation {
    position: fixed;

    z-index: 20;

    left: 50%;

    bottom: 18px;

    transform: translateX(-50%);

    width: calc(100% - 30px);

    max-width: 560px;

    padding: 9px 8px;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    background: rgba(255, 255, 255, 0.96);

    border: 1px solid var(--border);

    border-radius: 20px;

    box-shadow:
        0 15px 40px rgba(42, 25, 91, 0.12);

    backdrop-filter: blur(12px);
}

.nav-item {
    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 4px;

    min-height: 55px;

    color: #9a96a5;

    text-decoration: none;

    border-radius: 14px;

    transition: 0.2s ease;
}

.nav-item span {
    font-size: 19px;

    line-height: 1;
}

.nav-item small {
    font-size: 9px;

    font-weight: 700;
}

.nav-item.active {
    color: var(--purple);

    background: var(--purple-light);
}

.nav-item:hover {
    color: var(--purple);
}

/* Mobile */

@media (max-width: 600px) {

    .dashboard-header {
        padding: 18px 17px;
    }

    .dashboard-content {
        padding: 20px 17px;
    }

    .dashboard-dossier {
        font-size: 10px;

        padding: 8px 9px;
    }

    .dashboard-welcome h1 {
        font-size: 27px;
    }

    .balance-card {
        padding: 23px;

        border-radius: 21px;
    }

    .balance-amount {
        font-size: 32px;
    }

    .dashboard-actions {
        gap: 12px;
    }

    .action-card {
        padding: 17px;
    }

    .bottom-navigation {
        bottom: 12px;

        width: calc(100% - 20px);
    }
}


.retrait a,
.statut-retraits a {
    text-decoration: none !important;
}

.retrait a:hover,
.statut-retraits a:hover,
.retrait a:focus,
.statut-retraits a:focus {
    text-decoration: none !important;
}

/* ================================
   PROFIL
================================ */

.profile-card {
    margin-top: 28px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 21px;
}

.profile-avatar {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 17px;
    background: var(--purple-light);
    font-size: 27px;
}

.profile-main strong {
    display: block;
    font-size: 15px;
}

.profile-main span {
    display: block;
    margin-top: 5px;
    color: var(--purple);
    font-size: 11px;
    font-weight: 700;
}

.profile-info {
    margin-top: 16px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 21px;
    overflow: hidden;
}

.profile-row {
    padding: 19px 21px;
    border-bottom: 1px solid var(--border);
}

.profile-row:last-child {
    border-bottom: none;
}

.profile-row small {
    display: block;
    color: var(--muted);
    font-size: 10px;
    margin-bottom: 6px;
}

.profile-row strong {
    display: block;
    font-size: 13px;
}




/* ================================
   PARAMÈTRES
================================ */

.settings-section {
    margin-top: 28px;
}

.settings-title {
    margin-bottom: 10px;
    padding-left: 4px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.setting-card {
    width: 100%;
    min-height: 70px;
    margin-bottom: 9px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 13px;
    text-decoration: none;
    text-align: left;
    background: white;
    border: 1px solid var(--border);
    border-radius: 17px;
    color: var(--text);
    transition: 0.2s ease;
}

.setting-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(42, 25, 91, 0.07);
}

.setting-icon {
    width: 39px;
    height: 39px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--purple-light);
    font-size: 18px;
}

.setting-content {
    flex: 1;
    min-width: 0;
}

.setting-content strong {
    display: block;
    font-size: 13px;
    line-height: 1.3;
}

.setting-content small {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.35;
}

.setting-arrow {
    color: #aaa6b5;
    font-size: 24px;
    line-height: 1;
}

.setting-select {
    max-width: 115px;
    padding: 8px 27px 8px 9px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #faf9fd;
    color: var(--text);
    font-size: 11px;
    font-weight: 600;
    outline: none;
    cursor: pointer;
}

.setting-select:focus {
    border-color: var(--purple);
}

.setting-danger {
    color: #c93245;
}

.setting-danger .setting-icon {
    background: #fff0f2;
}

.setting-danger .setting-content strong {
    color: #c93245;
}

.setting-danger .setting-arrow {
    color: #d94b5b;
}

.logout-section {
    margin-top: 30px;
}

.logout-button {
    width: 100%;
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid #e8e5ef;
    border-radius: 15px;
    background: white;
    color: var(--text);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: 0.2s ease;
}

.logout-button:hover {
    background: #faf9fd;
    border-color: #dcd8e7;
    transform: translateY(-1px);
}

.settings-footer {
    padding: 25px 0 10px;
    text-align: center;
    color: #aaa6b3;
    font-size: 10px;
}

.settings-footer span {
    margin: 0 5px;
}

@media (max-width: 600px) {

    .settings-section {
        margin-top: 24px;
    }

    .setting-card {
        min-height: 66px;
        padding: 13px;
        gap: 11px;
    }

    .setting-icon {
        width: 37px;
        height: 37px;
        font-size: 17px;
    }

    .setting-content strong {
        font-size: 12px;
    }

    .setting-content small {
        font-size: 9px;
    }

    .setting-select {
        max-width: 105px;
        font-size: 10px;
    }

    .logout-section {
        margin-top: 25px;
    }
}
/* BOUTON DÉCONNEXION */

.logout-button {
    background: #d94b5b;
    border: 1px solid #d94b5b;
    color: white;
    box-shadow: 0 8px 20px rgba(217, 75, 91, 0.16);
}

.logout-button:hover {
    background: #c83d4e;
    border-color: #c83d4e;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(217, 75, 91, 0.22);
}

/* ================================
   SUPPRESSION DU COMPTE
================================ */

.delete-account-card {
    margin-top: 28px;
    padding: 26px 22px;
    background: white;
    border: 1px solid #f0dfe2;
    border-radius: 21px;
    text-align: center;
}

.delete-account-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 17px;
    background: #fff0f2;
    font-size: 26px;
}

.delete-account-card h2 {
    margin: 0;
    color: #c93245;
    font-size: 17px;
}

.delete-account-card p {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.6;
}

.delete-account-card form {
    margin-top: 23px;
    text-align: left;
}

.delete-account-card .input-group {
    margin-bottom: 15px;
}

.delete-account-card label {
    display: block;
    margin-bottom: 7px;
    color: var(--text);
    font-size: 11px;
    font-weight: 700;
}

.delete-account-card input {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 15px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: #faf9fd;
    color: var(--text);
    font-size: 13px;
    outline: none;
}

.delete-account-card input:focus {
    border-color: #d94b5b;
    background: white;
}

.delete-account-button {
    width: 100%;
    min-height: 52px;
    border: none;
    border-radius: 14px;
    background: #d94b5b;
    color: white;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.2s ease;
    box-shadow: 0 8px 20px rgba(217, 75, 91, 0.16);
}

.delete-account-button:hover {
    background: #c83d4e;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(217, 75, 91, 0.22);
}

.back-settings {
    display: block;
    margin-top: 18px;
    text-align: center;
    color: var(--purple);
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
}

.back-settings:hover {
    text-decoration: underline;
}

.delete-account-card .error-message {
    margin-bottom: 14px;
}

/* Mobile */
@media (max-width: 600px) {

    .delete-account-card {
        margin-top: 24px;
        padding: 23px 17px;
    }

    .delete-account-card h2 {
        font-size: 16px;
    }

    .delete-account-card p {
        font-size: 10px;
    }

    .delete-account-button {
        min-height: 50px;
    }
}

/* ================================
    FAQ AURELIA MONEY
 ================================ */

.faq-list {
    margin-top: 28px;
}

.faq-item {
    margin-bottom: 10px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 17px;
    overflow: hidden;
    transition: 0.2s ease;
}

.faq-item[open] {
    border-color: #ddd5f5;
    box-shadow: 0 8px 22px rgba(42, 25, 91, 0.06);
}

.faq-item summary {
    min-height: 62px;
    padding: 15px 17px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    list-style: none;
    cursor: pointer;
    color: var(--text);
    font-size: 12px;
    font-weight: 700;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary b {
    width: 25px;
    height: 25px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--purple-light);
    color: var(--purple);
    font-size: 18px;
    font-weight: 500;
    transition: 0.2s ease;
}

.faq-item[open] summary b {
    transform: rotate(45deg);
    background: var(--purple);
    color: white;
}

.faq-item p {
    margin: 0;
    padding: 0 17px 18px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.65;
}

@media (max-width: 600px) {

    .faq-list {
        margin-top: 24px;
    }

    .faq-item summary {
        min-height: 58px;
        padding: 14px;
        font-size: 11px;
    }

    .faq-item summary b {
        width: 23px;
        height: 23px;
        font-size: 17px;
    }

    .faq-item p {
        padding: 0 14px 16px;
        font-size: 10px;
    }
}


/* ================================
    AIDE & SUPPORT
 ================================ */

.support-card {
    margin-top: 28px;
    padding: 22px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 21px;
}

.support-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: var(--purple-light);
    font-size: 24px;
}

.support-content {
    flex: 1;
}

.support-content h2 {
    margin: 2px 0 7px;
    font-size: 15px;
}

.support-content p {
    margin: 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.6;
}

.support-section {
    margin-top: 25px;
}

.support-contact-card {
    min-height: 70px;
    margin-bottom: 9px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 13px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 17px;
}

.support-contact-icon {
    width: 39px;
    height: 39px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--purple-light);
    font-size: 18px;
}

.support-contact-content {
    flex: 1;
    min-width: 0;
}

.support-contact-content strong {
    display: block;
    font-size: 13px;
    line-height: 1.3;
}

.support-contact-content small {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.45;
}

@media (max-width: 600px) {

    .support-card {
        margin-top: 24px;
        padding: 18px;
        gap: 12px;
    }

    .support-icon {
        width: 47px;
        height: 47px;
        font-size: 21px;
    }

    .support-content h2 {
        font-size: 14px;
    }

    .support-content p {
        font-size: 10px;
    }

    .support-contact-card {
        min-height: 66px;
        padding: 13px;
        gap: 11px;
    }

    .support-contact-icon {
        width: 37px;
        height: 37px;
        font-size: 17px;
    }

    .support-contact-content strong {
        font-size: 12px;
    }

    .support-contact-content small {
        font-size: 9px;
    }
}


/* ================================
   ASSISTANT AURELIA MONEY
================================ */

.assistant-header {
    margin-top: 24px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 18px;
}

.assistant-avatar {
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--purple-light);
    font-size: 21px;
}

.assistant-header strong {
    display: block;
    font-size: 13px;
}

.assistant-header span {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 10px;
}

.assistant-status {
    margin-left: auto;
    color: #36b56f;
    font-size: 11px;
}

.assistant-chat {
    margin-top: 16px;
    min-height: 310px;
    padding: 18px;
    background: #faf9fd;
    border: 1px solid var(--border);
    border-radius: 20px;
}

.assistant-message {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.assistant-message-avatar {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--purple-light);
    font-size: 15px;
}

.assistant-bubble {
    max-width: 82%;
    padding: 13px 15px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 14px 14px 14px 4px;
}

.assistant-bubble strong {
    display: block;
    margin-bottom: 6px;
    color: var(--purple);
    font-size: 10px;
}

.assistant-bubble p {
    margin: 0;
    color: var(--text);
    font-size: 11px;
    line-height: 1.6;
}

.assistant-suggestions {
    margin-top: 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.assistant-suggestions button {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: white;
    color: var(--text);
    text-align: left;
    font-size: 10px;
    cursor: pointer;
    transition: 0.2s ease;
}

.assistant-suggestions button:hover {
    border-color: #d8cff7;
    background: var(--purple-light);
}

.assistant-input {
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.assistant-input input {
    flex: 1;
    min-width: 0;
    height: 50px;
    box-sizing: border-box;
    padding: 0 15px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: white;
    color: var(--text);
    font-size: 11px;
    outline: none;
}

.assistant-input input:focus {
    border-color: var(--purple);
}

.assistant-input button {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    border: none;
    border-radius: 14px;
    background: var(--purple);
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: 0.2s ease;
}

.assistant-input button:hover {
    background: var(--purple-dark);
    transform: translateY(-1px);
}

.assistant-notice {
    margin: 12px 4px 0;
    color: #9995a5;
    text-align: center;
    font-size: 9px;
    line-height: 1.5;
}

@media (max-width: 600px) {

    .assistant-header {
        margin-top: 22px;
        padding: 14px;
    }

    .assistant-avatar {
        width: 42px;
        height: 42px;
    }

    .assistant-chat {
        min-height: 290px;
        padding: 15px;
    }

    .assistant-bubble {
        max-width: 84%;
    }

    .assistant-input input {
        height: 48px;
    }

    .assistant-input button {
        width: 48px;
        height: 48px;
    }
}

/* ================================
    CONDITIONS D'UTILISATION
 ================================ */

.legal-card {
    margin-top: 28px;
    padding: 22px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 21px;
}

.legal-section {
    padding: 0 0 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.legal-section:last-of-type {
    margin-bottom: 0;
}

.legal-section h2 {
    margin: 0 0 8px;
    color: var(--text);
    font-size: 13px;
}

.legal-section p {
    margin: 0;
    color: var(--muted);
    font-size: 10.5px;
    line-height: 1.7;
}

.legal-update {
    margin-top: 20px;
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-radius: 13px;
    background: var(--purple-light);
}

.legal-update strong {
    color: var(--purple);
    font-size: 10px;
}

.legal-update span {
    color: var(--muted);
    font-size: 10px;
}

@media (max-width: 600px) {

    .legal-card {
        margin-top: 24px;
        padding: 18px;
    }

    .legal-section {
        padding-bottom: 17px;
        margin-bottom: 17px;
    }

    .legal-section h2 {
        font-size: 12px;
    }

    .legal-section p {
        font-size: 10px;
        line-height: 1.65;
    }

    .legal-update {
        padding: 12px;
    }

    .legal-update strong,
    .legal-update span {
        font-size: 9px;
    }
}

/* ================================
   POLITIQUE DE CONFIDENTIALITÉ
================================ */

.privacy-card {
    margin-top: 28px;
    padding: 22px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 21px;
}

.privacy-section {
    padding: 0 0 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.privacy-section:last-of-type {
    margin-bottom: 0;
}

.privacy-section h2 {
    margin: 0 0 8px;
    color: var(--text);
    font-size: 13px;
}

.privacy-section p {
    margin: 0;
    color: var(--muted);
    font-size: 10.5px;
    line-height: 1.7;
}

.privacy-update {
    margin-top: 20px;
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-radius: 13px;
    background: var(--purple-light);
}

.privacy-update strong {
    color: var(--purple);
    font-size: 10px;
}

.privacy-update span {
    color: var(--muted);
    font-size: 10px;
}

@media (max-width: 600px) {

    .privacy-card {
        margin-top: 24px;
        padding: 18px;
    }

    .privacy-section {
        padding-bottom: 17px;
        margin-bottom: 17px;
    }

    .privacy-section h2 {
        font-size: 12px;
    }

    .privacy-section p {
        font-size: 10px;
        line-height: 1.65;
    }

    .privacy-update {
        padding: 12px;
    }

    .privacy-update strong,
    .privacy-update span {
        font-size: 9px;
    }
}

/* ================================
   À PROPOS — AURELIA MONEY
================================ */

.about-card {
    margin-top: 28px;
    padding: 28px 22px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 21px;
    text-align: center;
}

.about-logo {
    width: 70px;
    height: 70px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 21px;
    background: var(--purple);
    color: white;
    font-size: 30px;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(108, 61, 244, 0.18);
}

.about-card h2 {
    margin: 0;
    font-size: 18px;
    color: var(--text);
}

.about-version {
    display: inline-block;
    margin-top: 7px;
    padding: 5px 9px;
    border-radius: 8px;
    background: var(--purple-light);
    color: var(--purple);
    font-size: 9px;
    font-weight: 700;
}

.about-card p {
    margin: 17px 0 0;
    color: var(--muted);
    font-size: 10.5px;
    line-height: 1.7;
}

.about-info {
    margin-top: 16px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 19px;
    overflow: hidden;
}

.about-info-row {
    min-height: 54px;
    padding: 0 17px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    border-bottom: 1px solid var(--border);
}

.about-info-row:last-child {
    border-bottom: none;
}

.about-info-row span {
    color: var(--muted);
    font-size: 10px;
}

.about-info-row strong {
    color: var(--text);
    font-size: 11px;
    text-align: right;
}

@media (max-width: 600px) {

    .about-card {
        margin-top: 24px;
        padding: 24px 18px;
    }

    .about-logo {
        width: 64px;
        height: 64px;
        font-size: 27px;
    }

    .about-card h2 {
        font-size: 17px;
    }

    .about-card p {
        font-size: 10px;
    }

    .about-info-row {
        min-height: 51px;
        padding: 0 14px;
    }

    .about-info-row span {
        font-size: 9px;
    }

    .about-info-row strong {
        font-size: 10px;
    }
}

/* ==============================
   PAGE RETRAIT
   ============================== */

.withdrawal-page {
    padding-bottom: 110px;
}

.withdrawal-balance {
    margin-top: 24px;
    padding: 22px;
    background: var(--purple);
    border-radius: 21px;
    color: white;
    box-shadow: 0 10px 26px rgba(108, 61, 244, 0.18);
}

.withdrawal-balance span {
    display: block;
    font-size: 10px;
    opacity: 0.82;
}

.withdrawal-balance strong {
    display: block;
    margin-top: 8px;
    font-size: 25px;
    letter-spacing: -0.5px;
}

.withdrawal-message {
    margin-top: 14px;
    padding: 13px 15px;
    border-radius: 13px;
    font-size: 10px;
    line-height: 1.5;
}

.withdrawal-message.error {
    background: #fff0f2;
    border: 1px solid #f2d2d7;
    color: #c93245;
}

.withdrawal-message.success {
    background: #eefaf3;
    border: 1px solid #d5efdf;
    color: #218653;
}

.withdrawal-section {
    margin-top: 25px;
}

.withdrawal-section-title {
    margin-bottom: 10px;
    padding-left: 4px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.withdrawal-input-card {
    margin-bottom: 9px;
    padding: 16px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 17px;
}

.withdrawal-input-card label {
    display: block;
    margin-bottom: 8px;
    color: var(--text);
    font-size: 11px;
    font-weight: 700;
}

.withdrawal-input-card input,
.withdrawal-input-card select {
    width: 100%;
    min-height: 48px;
    box-sizing: border-box;
    padding: 0 14px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: #faf9fd;
    color: var(--text);
    font-family: inherit;
    font-size: 12px;
    outline: none;
}

.withdrawal-input-card input:focus,
.withdrawal-input-card select:focus {
    border-color: var(--purple);
    background: white;
}

.withdrawal-input-card small {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 9px;
    line-height: 1.5;
}

.amount-input-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.amount-input-wrapper input {
    flex: 1;
}

.amount-input-wrapper span {
    color: var(--purple);
    font-size: 11px;
    font-weight: 800;
}

.phone-input-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.phone-input-wrapper > span {
    min-width: 58px;
    height: 48px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: var(--purple-light);
    color: var(--purple);
    font-size: 11px;
    font-weight: 800;
}

.phone-input-wrapper input {
    flex: 1;
}


/* Moyens Mobile Money */

.mobile-money-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
}

.mobile-money-option {
    position: relative;
    cursor: pointer;
}

.mobile-money-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.mobile-money-content {
    min-height: 76px;
    padding: 12px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 17px;
    transition: 0.2s ease;
}

.mobile-money-option:hover .mobile-money-content {
    border-color: #d8cff7;
    transform: translateY(-1px);
}

.mobile-money-option input:checked + .mobile-money-content {
    border-color: var(--purple);
    background: var(--purple-light);
    box-shadow: 0 7px 18px rgba(108, 61, 244, 0.09);
}

.mobile-money-logo {
    width: 39px;
    height: 39px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #f7f6fa;
    font-size: 19px;
}

.mobile-money-content strong {
    display: block;
    font-size: 11px;
    line-height: 1.3;
}

.mobile-money-content small {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 8px;
}

.mobile-money-empty {
    grid-column: 1 / -1;
    padding: 20px;
    text-align: center;
    background: white;
    border: 1px dashed var(--border);
    border-radius: 15px;
    color: var(--muted);
    font-size: 10px;
}


/* Récapitulatif */

.withdrawal-summary {
    margin-top: 28px;
}

.summary-card {
    padding: 5px 17px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 19px;
}

.summary-row {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    border-bottom: 1px solid var(--border);
}

.summary-row span {
    color: var(--muted);
    font-size: 10px;
}

.summary-row strong {
    max-width: 60%;
    color: var(--text);
    font-size: 10px;
    text-align: right;
    word-break: break-word;
}

.summary-divider {
    height: 8px;
}

.summary-balance {
    border-bottom: none;
}

.summary-balance span {
    color: var(--text);
    font-weight: 700;
}

.summary-balance strong {
    color: var(--purple);
    font-size: 12px;
}


/* Bouton de demande */

.withdrawal-submit {
    width: 100%;
    min-height: 54px;
    margin-top: 18px;
    border: none;
    border-radius: 15px;
    background: var(--purple);
    color: white;
    font-family: inherit;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 9px 22px rgba(108, 61, 244, 0.18);
    transition: 0.2s ease;
}

.withdrawal-submit:hover {
    background: var(--purple-dark);
    transform: translateY(-1px);
    box-shadow: 0 11px 25px rgba(108, 61, 244, 0.23);
}

.back-dashboard {
    display: block;
    margin-top: 18px;
    text-align: center;
    color: var(--purple);
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
}

.back-dashboard:hover {
    text-decoration: underline;
}


/* Mobile */

@media (max-width: 600px) {

    .withdrawal-page {
        padding-bottom: 105px;
    }

    .withdrawal-balance {
        margin-top: 22px;
        padding: 19px;
    }

    .withdrawal-balance strong {
        font-size: 23px;
    }

    .withdrawal-section {
        margin-top: 23px;
    }

    .withdrawal-input-card {
        padding: 14px;
    }

    .mobile-money-content {
        min-height: 70px;
        padding: 10px;
        gap: 8px;
    }

    .mobile-money-logo {
        width: 36px;
        height: 36px;
        font-size: 17px;
    }

    .mobile-money-content strong {
        font-size: 10px;
    }

    .mobile-money-content small {
        font-size: 8px;
    }

    .summary-card {
        padding: 4px 14px;
    }

    .summary-row {
        min-height: 46px;
    }

    .withdrawal-submit {
        min-height: 52px;
    }
}


/* ================================
   STATUT DES RETRAITS
================================ */

.withdrawal-status-list {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.withdrawal-status-card {
    width: 100%;
    box-sizing: border-box;
    padding: 18px;
    background: #ffffff;
    border: 1px solid #e8e5ef;
    border-radius: 18px;
    box-shadow: 0 5px 18px rgba(30, 20, 60, 0.06);
}

/* En-tête de chaque demande */

.withdrawal-status-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
}

.withdrawal-status-label {
    display: block;
    margin-bottom: 7px;
    color: #777486;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.withdrawal-status-card-header strong {
    display: block;
    color: #6c3df4;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.2;
}

/* ================================
   STATUT
================================ */

.withdrawal-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;

    min-width: 90px;
    padding: 8px 11px;

    border-radius: 10px;

    font-size: 9px;
    font-weight: 900;

    white-space: nowrap;
    box-sizing: border-box;
}

/* En attente */

.withdrawal-status-badge.pending {
    background: #fff4d9;
    color: #b87500;
    border: 1px solid #f4dfad;
}

/* Validé */

.withdrawal-status-badge.validated {
    background: #e8f8ef;
    color: #218653;
    border: 1px solid #ccebd9;
}

/* Annulé / refusé */

.withdrawal-status-badge.cancelled {
    background: #fff0f2;
    color: #c93245;
    border: 1px solid #f0cfd5;
}

/* ================================
   INFORMATIONS DE LA DEMANDE
================================ */

.withdrawal-status-details {
    margin-top: 17px;

    padding: 14px;

    background: #faf9fd;
    border: 1px solid #e8e5ef;
    border-radius: 13px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.withdrawal-status-details > div {
    min-width: 0;
}

.withdrawal-status-details span {
    display: block;
    margin-bottom: 5px;

    color: #777486;
    font-size: 8px;
    font-weight: 600;
}

.withdrawal-status-details strong {
    display: block;

    color: #171522;
    font-size: 10px;
    font-weight: 700;

    line-height: 1.4;
    word-break: break-word;
}

/* ================================
   DATE
================================ */

.withdrawal-status-date {
    margin-top: 14px;
    padding-top: 12px;

    border-top: 1px solid #e8e5ef;

    color: #777486;
    font-size: 8px;
    line-height: 1.4;
}

/* ================================
   ÉTAT VIDE
================================ */

.withdrawal-status-empty {
    padding: 25px 18px;

    background: #ffffff;
    border: 1px solid #e8e5ef;
    border-radius: 18px;

    text-align: center;

    color: #777486;
    font-size: 11px;
}

/* ================================
   MOBILE
================================ */

@media (max-width: 600px) {

    .withdrawal-status-list {
        margin-top: 20px;
        gap: 14px;
    }

    .withdrawal-status-card {
        padding: 15px;
        border-radius: 17px;
    }

    .withdrawal-status-card-header {
        gap: 10px;
    }

    .withdrawal-status-label {
        font-size: 8px;
        margin-bottom: 6px;
    }

    .withdrawal-status-card-header strong {
        font-size: 17px;
    }

    .withdrawal-status-badge {
        min-width: 78px;
        padding: 7px 8px;
        font-size: 8px;
    }

    .withdrawal-status-details {
        margin-top: 14px;
        padding: 12px;
        gap: 11px;
    }

    .withdrawal-status-details span {
        font-size: 8px;
    }

    .withdrawal-status-details strong {
        font-size: 9px;
    }

    .withdrawal-status-date {
        margin-top: 12px;
        padding-top: 10px;
        font-size: 8px;
    }
}

/* =========================================================
   AURELIA MONEY — HISTORIQUE
   ========================================================= */

.history-list {
    width: 100%;
    margin-top: 24px;

    display: flex;
    flex-direction: column;
    gap: 13px;
}


/* =========================================================
   CARTE TRANSACTION
   ========================================================= */

.transaction-card {
    width: 100%;
    box-sizing: border-box;

    display: flex;
    align-items: center;

    gap: 13px;
    padding: 16px;

    background: #ffffff;

    border: 1px solid #e8e5ef;
    border-radius: 18px;

    box-shadow: 0 5px 18px rgba(30, 20, 60, 0.055);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.transaction-card:hover {
    transform: translateY(-2px);

    border-color: #ddd5f5;

    box-shadow: 0 8px 24px rgba(30, 20, 60, 0.08);
}

.transaction-card:active {
    transform: scale(0.99);
}


/* =========================================================
   ICÔNE
   ========================================================= */

.transaction-icon {
    width: 46px;
    height: 46px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: #f0ebff;
    color: #6c3df4;

    font-size: 21px;
    font-weight: 900;

    box-shadow: inset 0 0 0 1px rgba(108, 61, 244, 0.08);
}


/* =========================================================
   INFORMATIONS
   ========================================================= */

.transaction-info {
    flex: 1;
    min-width: 0;
}

.transaction-info strong {
    display: block;

    color: #171522;

    font-size: 13px;
    font-weight: 800;

    line-height: 1.35;

    word-break: break-word;
}

.transaction-info small {
    display: block;

    margin-top: 6px;

    color: #85818f;

    font-size: 9px;
    font-weight: 500;

    line-height: 1.4;
}


/* =========================================================
   PARTIE DROITE
   ========================================================= */

.transaction-right {
    flex-shrink: 0;

    min-width: 82px;

    text-align: right;
}

.transaction-right strong {
    display: block;

    color: #171522;

    font-size: 13px;
    font-weight: 900;

    line-height: 1.3;

    white-space: nowrap;
}


/* =========================================================
   STATUT
   ========================================================= */

.transaction-status {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    margin-top: 7px;
    padding: 5px 9px;

    border-radius: 9px;

    background: #edf8f1;
    border: 1px solid #cce8d5;

    color: #25834b;

    font-size: 8px;
    font-weight: 900;

    line-height: 1;

    white-space: nowrap;
}


/* =========================================================
   ÉTAT VIDE
   ========================================================= */

.history-list .info-card {
    width: 100%;
    box-sizing: border-box;

    display: flex;
    align-items: center;

    gap: 14px;

    padding: 20px;

    background: #ffffff;

    border: 1px solid #e8e5ef;
    border-radius: 18px;

    box-shadow: 0 5px 18px rgba(30, 20, 60, 0.05);
}

.history-list .info-icon {
    width: 46px;
    height: 46px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: #f0ebff;
    color: #6c3df4;

    font-size: 21px;
}

.history-list .info-card strong {
    display: block;

    color: #171522;

    font-size: 13px;
    font-weight: 800;
}

.history-list .info-card p {
    margin: 5px 0 0;

    color: #85818f;

    font-size: 10px;
    line-height: 1.45;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .history-list {
        margin-top: 20px;
        gap: 10px;
    }

    .transaction-card {
        gap: 11px;
        padding: 14px;

        border-radius: 16px;
    }

    .transaction-icon {
        width: 42px;
        height: 42px;

        border-radius: 13px;

        font-size: 19px;
    }

    .transaction-info strong {
        font-size: 11px;
    }

    .transaction-info small {
        margin-top: 5px;
        font-size: 8px;
    }

    .transaction-right {
        min-width: 72px;
    }

    .transaction-right strong {
        font-size: 10px;
    }

    .transaction-status {
        margin-top: 5px;

        padding: 5px 7px;

        border-radius: 8px;

        font-size: 7px;
    }

    .history-list .info-card {
        padding: 17px;
        border-radius: 16px;
    }

    .history-list .info-icon {
        width: 42px;
        height: 42px;

        border-radius: 13px;

        font-size: 19px;
    }

    .history-list .info-card strong {
        font-size: 12px;
    }

    .history-list .info-card p {
        font-size: 9px;
    }
}

.reset-pin-link {
    display: block;

    margin-top: 16px;

    text-align: center;

    color: #6c3df4;

    font-size: 11px;
    font-weight: 800;

    text-decoration: none;
}

.reset-pin-link:hover {
    text-decoration: underline;
    
}  
    
 }   
    

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f3f8;
    color: #211735;
}

.reset-page {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px 15px;
}

.reset-card {
    width: 100%;
    max-width: 430px;
    background: #ffffff;
    border-radius: 22px;
    padding: 32px 28px 25px;
    box-shadow: 0 12px 40px rgba(33, 23, 53, 0.10);
}

.reset-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}

.logo-circle {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #211735;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 27px;
    font-weight: 700;
}

.reset-card h1 {
    margin: 0;
    text-align: center;
    color: #211735;
    font-size: 24px;
    font-weight: 700;
}

.reset-description {
    max-width: 350px;
    margin: 10px auto 25px;
    text-align: center;
    color: #77717e;
    font-size: 14px;
    line-height: 1.55;
}

.steps {
    width: 100%;
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #aaa5b0;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.step-number {
    width: 29px;
    height: 29px;
    border-radius: 50%;
    background: #eeeaf2;
    color: #99939f;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.step-item.active {
    color: #211735;
}

.step-item.active .step-number {
    background: #211735;
    color: #ffffff;
}

.step-line {
    flex: 1;
    height: 2px;
    margin: 0 9px;
    background: #e7e3ea;
}

.step-line.active {
    background: #211735;
}

.reset-message {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 13px 14px;
    margin-bottom: 20px;
    border-radius: 11px;
    font-size: 13px;
    line-height: 1.45;
}

.reset-message.error {
    background: #fff1f1;
    border: 1px solid #ffd7d7;
    color: #a82727;
}

.reset-message.success {
    background: #eefaf2;
    border: 1px solid #cdebd7;
    color: #18733c;
}

.message-icon {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
}

.reset-form {
    width: 100%;
}

.reset-form label {
    display: block;
    margin-bottom: 8px;
    color: #352e3d;
    font-size: 13px;
    font-weight: 600;
}

.input-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 18px;
}

.input-wrapper input {
    width: 100%;
    height: 53px;
    padding: 0 15px 0 50px;
    border: 1px solid #d9d4df;
    border-radius: 11px;
    outline: none;
    background: #ffffff;
    color: #211735;
    font-size: 16px;
    letter-spacing: 1px;
    transition: all 0.2s ease;
}

.input-wrapper input:focus {
    border-color: #211735;
    box-shadow: 0 0 0 3px rgba(33, 23, 53, 0.07);
}

.input-wrapper input::placeholder {
    color: #aaa5af;
    letter-spacing: 1px;
}

.input-icon {
    position: absolute;
    left: 17px;
    top: 50%;
    transform: translateY(-50%);
    color: #77717e;
    font-size: 14px;
    font-weight: 700;
    z-index: 1;
}

.format-info {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 11px 13px;
    margin-top: -4px;
    margin-bottom: 21px;
    border-radius: 10px;
    background: #f7f5f9;
    color: #77717e;
}

.info-icon {
    font-size: 15px;
}

.format-info strong {
    display: block;
    margin-bottom: 2px;
    color: #4a4351;
    font-size: 11px;
}

.format-info small {
    display: block;
    color: #8c8791;
    font-size: 11px;
}

.verified-dossier {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px;
    margin-bottom: 23px;
    border: 1px solid #d6ebdc;
    border-radius: 12px;
    background: #f2faf4;
}

.verified-icon {
    width: 35px;
    height: 35px;
    min-width: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #198754;
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
}

.verified-content span {
    display: block;
    margin-bottom: 3px;
    color: #568063;
    font-size: 11px;
}

.verified-content strong {
    display: block;
    color: #1c5030;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.pin-section-title {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 20px;
}

.pin-section-title span {
    flex: 1;
    height: 1px;
    background: #e7e3ea;
}

.pin-section-title strong {
    color: #211735;
    font-size: 12px;
    white-space: nowrap;
}

.pin-hint {
    margin: -10px 0 18px;
    color: #8b8590;
    font-size: 11px;
}

.reset-button {
    width: 100%;
    height: 53px;
    border: none;
    border-radius: 11px;
    background: #211735;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 17px 0 20px;
    transition: background 0.2s ease, transform 0.1s ease;
}

.reset-button:hover {
    background: #302249;
}

.reset-button:active {
    transform: scale(0.99);
}

.button-arrow {
    font-size: 21px;
    font-weight: 400;
}

.change-dossier {
    display: block;
    margin-top: 19px;
    text-align: center;
    color: #211735;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.change-dossier:hover {
    text-decoration: underline;
}

.security-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid #eeeaf1;
    color: #96909b;
    font-size: 11px;
    text-align: center;
}

.security-icon {
    font-size: 12px;
}

.reset-footer {
    margin-top: 17px;
    text-align: center;
    color: #b0abb4;
    font-size: 11px;
    letter-spacing: 0.3px;
}

@media (max-width: 480px) {

    .reset-page {
        padding: 15px 10px;
    }

    .reset-card {
        padding: 27px 20px 22px;
        border-radius: 18px;
    }

    .reset-card h1 {
        font-size: 22px;
    }

    .reset-description {
        font-size: 13px;
    }

    .step-item {
        font-size: 11px;
    }

    .step-number {
        width: 27px;
        height: 27px;
    }

    .input-wrapper input {
        height: 51px;
    }

    .reset-button {
        height: 51px;
        font-size: 13px;
    }
}

.action-card,
.action-card:hover,
.action-card:focus,
.action-card:active,
.action-card:visited {
    text-decoration: none;
    color: inherit;
}
