/* ==============================
   PAGE CONNEXION
============================== */

.auth-container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 15px;
    background: #f4f7fb;
}

.auth-card {
    width: 100%;
    max-width: 430px;
    background: #ffffff;
    padding: 40px;
    border-radius: 18px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.10);
}

.auth-logo {
    text-align: center;
    margin-bottom: 30px;
}

.logo-icon {
    width: 65px;
    height: 65px;
    margin: 0 auto 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: #1f2937;
    color: #ffffff;
    font-size: 30px;
    font-weight: bold;
}

.auth-logo h1 {
    margin-bottom: 5px;
    color: #1f2937;
    font-size: 28px;
}

.auth-logo p {
    color: #6b7280;
    font-size: 14px;
}

.error-message {
    padding: 12px 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    background: #fee2e2;
    color: #b91c1c;
    font-size: 14px;
}

.auth-form {
    width: 100%;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1f2937;
}

.form-group input {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid #d1d5db;
    border-radius: 9px;
    outline: none;
    font-size: 15px;
    background: #ffffff;
    color: #222222;

}

.form-group input::placeholder {
    color: #666666;
    opacity: 1;
}

.form-group input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.10);
}

.password-box {
    position: relative;
    display: flex;
    align-items: center;
}

.password-box input {
    padding-right: 50px;
}

.password-toggle {
    position: absolute;
    right: 8px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 18px;
}

.login-button {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 9px;
    background: #1f2937;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.login-button:hover {
    background: #111827;
    transform: translateY(-1px);
}

.auth-footer {
    text-align: center;
    margin-top: 25px;
}

.auth-footer p {
    color: #6b7280;
    font-size: 14px;
}

.auth-footer a {
    color: #2563eb;
    font-weight: 600;
}

@media (max-width: 500px) {

    .auth-card {
        padding: 30px 20px;
    }

    .auth-logo h1 {
        font-size: 24px;
    }

}

/* =====================================
   PAGE INSCRIPTION
===================================== */

.auth-container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 15px;
}

.auth-card {
    width: 100%;
    max-width: 520px;
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.auth-logo {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #172033;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    font-weight: bold;
}

.auth-card h1 {
    text-align: center;
    margin-bottom: 8px;
}

.auth-subtitle {
    text-align: center;
    color: #777;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #d9dee7;
    border-radius: 10px;
    font-size: 16px;
    color: #222222;
    background-color: #ffffff;
    outline: none;
    box-sizing: border-box;
}

.form-group input::placeholder {
    color: #777777;
    opacity: 1;
}

.form-group input:focus {
    color: #222222;
    background-color: #dacfcf;
    border-color: #4267a8;
    box-shadow: 0 0 0 3px rgba(66, 103, 168, 0.12);
}

.password-wrapper {
    position: relative;
}

.password-wrapper input {
    padding-right: 50px;
}

.password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 18px;
}

.optional {
    color: #888;
    font-size: 13px;
    font-weight: normal;
}

.auth-button {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 10px;
    background: #4267a8;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.auth-button:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.auth-footer {
    text-align: center;
    margin-top: 25px;
    color: #777;
}

.auth-footer a {
    color: #4267a8;
    font-weight: 600;
}

.error-message {
    background: #ffe5e5;
    color: #c62828;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.success-message {
    background: #e5f7e9;
    color: #218838;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Mobile */
@media (max-width: 600px) {

    .auth-card {
        padding: 25px 20px;
    }

    .auth-container {
        padding: 15px;
    }
}

/* =========================================
   DASHBOARD
========================================= */

.dashboard {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
}

/* HEADER */

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.dashboard-header h1 {
    margin: 0 0 8px;
    font-size: 32px;
}

.dashboard-header p {
    margin: 0;
    color: #6b7280;
}

.logout-btn {
    background: #1f2937;
    color: white !important;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
}

/* SOLDE */

.balance-card {
    display: flex;
    justify-content: space-between;
    align-items: center;

    background: #1f2937;
    color: white;

    padding: 30px;
    border-radius: 18px;
    margin-bottom: 25px;
}

.balance-card p {
    margin: 0 0 8px;
    color: #d1d5db;
}

.balance-card h2 {
    margin: 0;
    font-size: 38px;
}

.balance-icon {
    width: 65px;
    height: 65px;

    display: flex;
    justify-content: center;
    align-items: center;

    background: #f59e0b;
    border-radius: 50%;

    font-size: 30px;
}

/* STATISTIQUES */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 35px;
}

.stat-card {
    background: white;
    padding: 25px;
    border-radius: 14px;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.stat-card p {
    margin: 0 0 10px;
    color: #6b7280;
}

.stat-card h3 {
    margin: 0;
    font-size: 25px;
}

/* ACTIONS */

.actions {
    margin-bottom: 35px;
}

.actions h2,
.account-card h2 {
    margin-bottom: 20px;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.action-card {
    background: white;
    padding: 25px;
    border-radius: 14px;

    text-decoration: none !important;
    color: #1f2937 !important;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);

    transition: 0.2s;
}

.action-card:hover {
    transform: translateY(-4px);
}

.action-card span {
    display: block;
    font-size: 30px;
    margin-bottom: 12px;
}

.action-card strong {
    display: block;
    font-size: 18px;
    margin-bottom: 5px;
}

.action-card small {
    color: #6b7280;
}

/* INFORMATIONS */

.account-card {
    background: white;
    padding: 30px;
    border-radius: 14px;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.account-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.account-info span {
    display: block;
    color: #6b7280;
    margin-bottom: 5px;
}

.account-info strong {
    font-size: 16px;
}

/* MOBILE */

@media (max-width: 700px) {

    .dashboard {
        width: 92%;
        padding: 25px 0;
    }

    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .actions-grid {
        grid-template-columns: 1fr;
    }

    .account-info {
        grid-template-columns: 1fr;
    }

    .balance-card {
        padding: 25px;
    }

    .balance-card h2 {
        font-size: 30px;
    }
}

/* =========================
   MON EQUIPE
========================= */

.team-card {
    background: #ffffff;
    padding: 25px;
    margin: 25px 0;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.team-header h2 {
    margin: 0 0 8px;
    font-size: 24px;
}

.team-header p {
    margin: 0 0 20px;
    color: #777;
}

.team-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.team-stat {
    background: #f4f7fb;
    padding: 20px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.team-stat span {
    font-size: 28px;
}

.team-stat p {
    margin: 0 0 5px;
    color: #777;
}

.team-stat h3 {
    margin: 0;
    font-size: 22px;
}

.referral-box {
    margin-top: 20px;
    padding: 18px;
    background: #f4f7fb;
    border-radius: 14px;
}

.referral-box p {
    margin: 0 0 10px;
    color: #777;
}

.referral-code {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.referral-code strong {
    font-size: 18px;
}

.referral-code button {
    border: none;
    background: #1f2937;
    color: white;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
}

.team-card {
    background: #ffffff;
    padding: 30px;
    margin: 30px 0;
    border-radius: 20px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.team-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.team-stat {
    background: #f4f7fb;
    padding: 20px;
    border-radius: 15px;
}

.referral-box {
    background: #f4f7fb;
    padding: 20px;
    margin-top: 20px;
    border-radius: 15px;
}

.referral-code {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.referral-code button {
    background: #1f2937;
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
}

/* =========================================================
   CRYPTO INVEST - NOUVEAU DASHBOARD
   ========================================================= */

.crypto-app {
    min-height: 100vh;
    display: flex;
    background: #050b16;
    color: #ffffff;
    font-family: Arial, sans-serif;
}


/* =========================================================
   SIDEBAR
   ========================================================= */

.crypto-sidebar {
    width: 245px;
    min-height: 100vh;
    background: #060d19;
    border-right: 1px solid #17233a;
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 100;
}


/* LOGO */

.crypto-logo {
    height: 85px;
    padding: 0 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #17233a;
}

.crypto-logo-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #1463ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 23px;
    font-weight: bold;
}

.crypto-logo strong {
    display: block;
    font-size: 17px;
    letter-spacing: 1px;
}

.crypto-logo span {
    display: block;
    color: #377cff;
    font-size: 13px;
    letter-spacing: 2px;
    margin-top: 2px;
}


/* MENU */

.crypto-menu {
    padding: 20px 12px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.crypto-menu-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 14px;
    border-radius: 8px;
    color: #a8b2c5;
    text-decoration: none;
    transition: 0.25s;
    font-size: 14px;
}

.crypto-menu-item span {
    width: 25px;
    text-align: center;
    font-size: 19px;
}

.crypto-menu-item:hover {
    background: #101d31;
    color: #ffffff;
}

.crypto-menu-item.active {
    background: #0d4edb;
    color: #ffffff;
    box-shadow: 0 5px 20px rgba(13, 78, 219, 0.25);
}


/* DECONNEXION */

.crypto-sidebar-bottom {
    margin-top: auto;
    padding: 18px 12px;
    border-top: 1px solid #17233a;
}

.crypto-logout {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 14px;
    color: #ff5555;
    text-decoration: none;
    border-radius: 8px;
    transition: 0.25s;
}

.crypto-logout:hover {
    background: rgba(255, 70, 70, 0.08);
}

.crypto-logout span {
    font-size: 20px;
}


/* =========================================================
   CONTENU PRINCIPAL
   ========================================================= */

.crypto-main {
    width: calc(100% - 245px);
    margin-left: 245px;
    padding: 28px 25px;
    min-height: 100vh;
}


/* =========================================================
   HEADER
   ========================================================= */

.crypto-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.crypto-header h1 {
    margin: 0;
    font-size: 28px;
    color: #ffffff;
}

.crypto-header p {
    margin: 8px 0 0;
    color: #8d9ab0;
    font-size: 14px;
}


/* PROFIL */

.crypto-profile {
    display: flex;
    align-items: center;
    gap: 10px;
}

.crypto-notification {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    color: #ffffff;
    font-size: 18px;
}

.crypto-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #263b62;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: bold;
}


/* =========================================================
   CARTES STATISTIQUES
   ========================================================= */

.crypto-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 16px;
}

.crypto-stat-card {
    background: #0b1423;
    border: 1px solid #1a2a43;
    border-radius: 9px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    min-height: 85px;
}

.crypto-stat-card span {
    color: #9ba7ba;
    font-size: 13px;
}

.crypto-stat-card h2 {
    margin: 8px 0 3px;
    font-size: 23px;
    color: #ffffff;
}

.crypto-stat-card small {
    color: #68768b;
    font-size: 11px;
}


/* ICONES */

.crypto-stat-icon {
    width: 43px;
    height: 43px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.crypto-stat-icon.purple {
    background: rgba(145, 65, 255, 0.18);
    color: #a65cff;
}

.crypto-stat-icon.blue {
    background: rgba(30, 100, 255, 0.18);
    color: #3782ff;
}

.crypto-stat-icon.green {
    background: rgba(0, 210, 130, 0.16);
    color: #00d88a;
}

.crypto-stat-icon.orange {
    background: rgba(255, 174, 0, 0.17);
    color: #ffb900;
}


/* =========================================================
   BANNIÈRE IA
   ========================================================= */

.crypto-ai-banner {
    min-height: 245px;
    background: linear-gradient(110deg,
            #071b42,
            #061329 65%,
            #071a3d);
    border: 1px solid #173f82;
    border-radius: 10px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
    margin-bottom: 16px;
}

.crypto-ai-content {
    max-width: 53%;
    position: relative;
    z-index: 2;
}

.crypto-ai-badge {
    color: #42a5ff;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.crypto-ai-content h2 {
    font-size: 29px;
    line-height: 1.2;
    margin: 0 0 12px;
}

.crypto-ai-content p {
    color: #aab7ca;
    font-size: 14px;
    line-height: 1.6;
    max-width: 510px;
    margin-bottom: 20px;
}

.crypto-primary-button {
    display: inline-block;
    padding: 12px 19px;
    background: #1662e8;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: bold;
    transition: 0.25s;
}

.crypto-primary-button:hover {
    background: #2875ff;
    transform: translateY(-2px);
}


/* VISUEL IA */

.crypto-ai-visual {
    width: 350px;
    height: 210px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-circle {
    width: 125px;
    height: 125px;
    border-radius: 50%;
    background: radial-gradient(circle,
            #1e78ff,
            #091c42);
    border: 2px solid #2c83ff;
    box-shadow:
        0 0 25px rgba(34, 122, 255, 0.6),
        0 0 70px rgba(34, 122, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 55px;
    position: relative;
    z-index: 3;
}

.ai-line {
    position: absolute;
    height: 2px;
    background: #1683ff;
    opacity: 0.6;
}

.line-one {
    width: 120px;
    transform: rotate(25deg);
    left: 35px;
    top: 65px;
}

.line-two {
    width: 125px;
    transform: rotate(-25deg);
    right: 30px;
    top: 65px;
}

.line-three {
    width: 100px;
    transform: rotate(90deg);
    top: 15px;
    left: 125px;
}

.ai-node {
    position: absolute;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #0b1d3b;
    border: 1px solid #1e73e8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #44a3ff;
    z-index: 4;
}

.node-one {
    left: 20px;
    top: 30px;
}

.node-two {
    right: 15px;
    top: 30px;
}

.node-three {
    bottom: 18px;
    left: 145px;
    color: #00d88a;
}


/* =========================================================
   DEUX COLONNES
   ========================================================= */

.crypto-two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}


/* =========================================================
   PANELS
   ========================================================= */

.crypto-panel {
    background: #0b1423;
    border: 1px solid #1a2a43;
    border-radius: 9px;
    padding: 20px;
    margin-bottom: 16px;
}

.crypto-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid #1a2a43;
    margin-bottom: 12px;
}

.crypto-panel-header h3 {
    margin: 0;
    color: #ffffff;
    font-size: 16px;
}

.crypto-panel-header a {
    color: #3887ff;
    text-decoration: none;
    font-size: 12px;
}

.crypto-panel>p {
    color: #8d9ab0;
    font-size: 13px;
    line-height: 1.5;
}


/* =========================================================
   INFORMATIONS
   ========================================================= */

.crypto-info-row {
    display: grid;
    grid-template-columns: 28px 1fr auto;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    border-bottom: 1px solid #152238;
}

.crypto-info-row:last-child {
    border-bottom: none;
}

.crypto-info-row>span {
    color: #8ea1bd;
}

.crypto-info-row p {
    margin: 0;
    color: #aab6c8;
    font-size: 13px;
}

.crypto-info-row strong {
    color: #ffffff;
    font-size: 12px;
}

.crypto-info-row .verified {
    color: #00d88a;
    background: rgba(0, 216, 138, 0.1);
    padding: 5px 9px;
    border-radius: 5px;
}


/* =========================================================
   PARRAINAGE
   ========================================================= */

.crypto-referral {
    display: flex;
    margin-top: 16px;
}

.crypto-referral input {
    flex: 1;
    min-width: 0;
    background: #07101d;
    border: 1px solid #1c2c45;
    color: #8e9db2;
    padding: 11px;
    border-radius: 6px 0 0 6px;
    outline: none;
    font-size: 12px;
}

.crypto-referral button {
    border: none;
    background: #1462e8;
    color: #ffffff;
    padding: 0 18px;
    border-radius: 0 6px 6px 0;
    cursor: pointer;
}

.crypto-share {
    margin-top: 18px;
}

.crypto-share>span {
    display: block;
    color: #8d9ab0;
    font-size: 12px;
    margin-bottom: 9px;
}

.crypto-share>div {
    display: flex;
    gap: 8px;
}

.crypto-share button {
    border: none;
    background: #17263d;
    color: #c9d4e4;
    border-radius: 5px;
    padding: 8px 10px;
    cursor: pointer;
    font-size: 11px;
}


/* =========================================================
   MON ÉQUIPE
   ========================================================= */

.crypto-team {
    margin-bottom: 16px;
}

.crypto-team .crypto-panel-header {
    display: flex;
    align-items: center;
}

.crypto-team .crypto-panel-header span {
    color: #75849b;
    font-size: 12px;
}

.crypto-team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.crypto-team-card {
    background: #07111f;
    border: 1px solid #182941;
    border-radius: 7px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.team-icon {
    font-size: 25px;
}

.crypto-team-card small {
    display: block;
    color: #8290a5;
    font-size: 11px;
    margin-bottom: 6px;
}

.crypto-team-card strong {
    color: #ffffff;
    font-size: 17px;
}


/* =========================================================
   TABLEAUX
   ========================================================= */

.crypto-table {
    width: 100%;
}

.crypto-table-header {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    padding: 13px 5px;
    border-bottom: 1px solid #1a2a43;
    color: #8492a7;
    font-size: 11px;
}

.crypto-empty {
    min-height: 210px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.crypto-empty>div {
    font-size: 38px;
    margin-bottom: 10px;
    opacity: 0.6;
}

.crypto-empty strong {
    color: #d7deea;
    font-size: 14px;
}

.crypto-empty p {
    color: #748298;
    font-size: 12px;
    margin: 8px 0 16px;
}


/* =========================================================
   FOOTER
   ========================================================= */

.crypto-footer {
    border-top: 1px solid #17233a;
    padding: 20px 5px 5px;
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    color: #68758a;
    font-size: 11px;
}

.crypto-footer div {
    display: flex;
    gap: 18px;
}

.crypto-footer a {
    color: #74839a;
    text-decoration: none;
}

.crypto-footer a:hover {
    color: #ffffff;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 800px) {

    .crypto-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .crypto-two-columns {
        grid-template-columns: 1fr;
    }

    .crypto-ai-visual {
        width: 280px;
    }

}


@media (max-width: 800px) {

    .crypto-sidebar {
        width: 70px;
    }

    .crypto-logo {
        padding: 0;
        justify-content: center;
    }

    .crypto-logo>div:last-child {
        display: none;
    }

    .crypto-menu-item {
        justify-content: center;
        padding: 13px 5px;
    }

    .crypto-menu-item strong {
        display: none;
    }

    .crypto-sidebar-bottom {
        padding: 10px 5px;
    }

    .crypto-logout {
        justify-content: center;
    }

    .crypto-logout {
        font-size: 0;
    }

    .crypto-logout span {
        font-size: 20px;
    }

    .crypto-main {
        width: calc(100% - 70px);
        margin-left: 70px;
    }

    .crypto-ai-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .crypto-ai-content {
        max-width: 100%;
    }

    .crypto-ai-visual {
        width: 100%;
        margin-top: 20px;
    }

    .crypto-team-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 550px) {

    .crypto-main {
        padding: 18px 12px;
    }

    .crypto-header {
        align-items: flex-start;
    }

    .crypto-profile strong,
    .crypto-profile>span {
        display: none;
    }

    .crypto-stats {
        grid-template-columns: 1fr;
    }

    .crypto-header h1 {
        font-size: 22px;
    }

    .crypto-ai-content h2 {
        font-size: 24px;
    }

    .crypto-table {
        overflow-x: auto;
    }

    .crypto-table-header {
        min-width: 600px;
    }

    .crypto-footer {
        flex-direction: column;
        gap: 12px;
    }

}

/* =========================================
   PARAMÈTRES
========================================= */

.settings-container {
    display: grid;
    gap: 20px;
    margin-top: 25px;
}

.settings-card {
    background: #0b1423;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.settings-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.settings-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(55, 92, 255, 0.15);
    border-radius: 12px;
    font-size: 23px;
}

.settings-card h2 {
    margin: 0;
    font-size: 20px;
    color: #ffffff;
}

.settings-card-header p {
    margin: 5px 0 0;
    color: #9aa8bd;
    font-size: 14px;
}

.settings-content {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
}

.settings-content label {
    display: block;
    color: #dce3ef;
    font-weight: 600;
    margin-bottom: 10px;
}

.settings-content select {
    width: 100%;
    max-width: 500px;
    padding: 13px 15px;
    background: #111d30;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    outline: none;
    font-size: 15px;
}

.settings-content select:focus {
    border-color: #3d6cff;
}

.settings-button {
    margin-top: 15px;
    padding: 12px 20px;
    border: none;
    border-radius: 9px;
    background: #3567ff;
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s ease;
}

.settings-button:hover {
    background: #2855df;
    transform: translateY(-1px);
}

.security-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.security-status strong {
    color: #ffffff;
    font-size: 16px;
}

.security-status p {
    margin: 6px 0 0;
    color: #9aa8bd;
    font-size: 14px;
}

.status-disabled {
    padding: 7px 12px;
    border-radius: 20px;
    background: rgba(255, 80, 80, 0.12);
    color: #ff7777;
    font-size: 13px;
    font-weight: 600;
}

.crypto-footer {
    margin-top: 30px;
    padding: 20px 0;
    color: #77859a;
    text-align: center;
    font-size: 13px;
}


/* =========================================
   RESPONSIVE PARAMÈTRES
========================================= */

@media (max-width: 800px) {

    .settings-card {
        padding: 18px;
    }

    .settings-card-header {
        align-items: flex-start;
    }

    .security-status {
        flex-direction: column;
        align-items: flex-start;
    }

    .settings-content select {
        max-width: 100%;
    }
}





.container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 35px;
    background: #050b16;
    border-radius: 18px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

h1,
h2 {
    color: #ffffff;
}

p,
label {
    color: #d1d5db;
}

input {
    background: #14263a;
    color: #ffffff;
    border: 1px solid #334b66;
    border-radius: 8px;
    padding: 12px;
}

input::placeholder {
    color: #94a3b8;
}

button {
    background: #3155ff;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    cursor: pointer;
}

.withdrawal-history {
    margin-top: 40px;
    padding: 25px;
    background: #101f31;
    border-radius: 15px;
}

.withdrawal-history table {
    width: 100%;
    border-collapse: collapse;
}

.withdrawal-history th,
.withdrawal-history td {
    padding: 14px;
    border-bottom: 1px solid #263b52;
    text-align: left;
}

.withdrawal-history th {
    color: #8fb4ff;
}

.withdrawal-history td {
    color: #e5e7eb;
}

a {
    color: #8fb4ff;
}

/* Correction définitive de la visibilité des textes des champs */

.form-group input {
    color: #111111 !important;
    -webkit-text-fill-color: #111111 !important;
    background-color: #ffffff !important;
    caret-color: #111111 !important;
}

.form-group input::placeholder {
    color: #666666 !important;
    -webkit-text-fill-color: #666666 !important;
    opacity: 1 !important;
}

/* Mot de passe */
.password-wrapper input {
    color: #111111 !important;
    -webkit-text-fill-color: #111111 !important;
    caret-color: #111111 !important;
}