/* dashboard.css - styles spécifiques au dashboard utilisateur */

.dashboard-container {
    background: rgba(17, 17, 17, 0.98);
    padding: 48px 36px 36px 36px;
    border-radius: 22px;
    box-shadow:  0 0 0 2px #37ff14ad;
    width: 100%;
    margin: 48px auto 32px auto;
    border: 1.5px solid #23272A;
    position: relative;
    overflow: hidden;
    max-width: 80%;
}

.cards-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: space-between;
    margin-bottom: 32px;
}

.card {
    background: #181a20;
    box-shadow: 0 4px 18px 0 #23272a44;
    padding: 32px 24px 24px 24px;
    border-radius: 18px;
    flex: 1 1 320px;
    min-width: 320px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: box-shadow 0.2s, border 0.2s;
    border: 1.5px solid #23272A;
    color: #fff;
}

.card h2 {
    color: #fff;
    margin-bottom: 18px;
    font-size: 1.3rem;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.balance {
    font-size: 2.2rem;
    font-weight: bold;
    color: #fff;
    letter-spacing: 1px;
    margin-top: 8px;
}

.stats-card {
    background: #181a20;
    border-radius: 12px;
    padding: 18px 22px;
    min-width: 120px;
    text-align: center;
    box-shadow: 0 2px 8px #23272a33;
    border: 1.5px solid #23272A;
}

.stats-card.stats-unpaid {
    border-color: #fbc02d;
    color: #fff;
}

.stats-card.stats-paid {
    border-color: #4caf50;
    color: #fff;
}

.stats-card.stats-balance {
    border-color: #8da1fa;
    color: #fff;
}

.stats-card.stats-total {
    border-color: #fff;
    color: #fff;
}

.stats-value {
    font-size: 2.1rem;
    font-weight: bold;
    line-height: 1;
}

.stats-label {
    font-size: 1.05rem;
    color: #bfc8e6;
    margin-top: 4px;
}

.stats-unpaid .stats-value {
    color: #43e6ff;
}

.stats-unpaid-label {
    color: #fbc02d;
}

.stats-paid .stats-value {
    color: #4caf50;
}

.stats-paid-label {
    color: #4caf50;
}

.stats-total .stats-value {
    color: #8da1fa;
}

.stats-total-label {
    color: #8da1fa;
}

.stats-avg .stats-value,
.stats-avg-value {
    font-size: 1.7rem;
    color: #43e6ff;
}

.stats-balance .stats-value,
.stats-balance-value {
    font-size: 1.7rem;
    color: #8da1fa;
}

.stats-note {
    color: #bfc8e6;
    font-size: 0.98rem;
    margin: 0;
}

.stats-price {
    color: #8da1fa;
    font-weight: 600;
}

.user-profile-block {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 32px;
    background: #23272A;
    border-radius: 18px;
    padding: 36px 32px 32px 32px;
    box-shadow: 0 4px 10px #23272a33;
    margin-bottom: 0;
}

.user-profile-avatar {
    flex: 0 0 110px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-lg {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    background: #181a20;
    box-shadow: 0 0 16px #39FF1444;
}

.avatar-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #181a20;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #8da1fa;
    box-shadow: 0 0 16px #39FF1444;
}

.user-profile-info {
    flex: 1 1 320px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.user-profile-username {
    font-size: 2.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}

.user-profile-wallet,
.user-profile-socials {
    font-size: 1.13rem;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    min-height: 44px;
}

.wallet-label,
.social-label {
    color: #bfc8e6;
    font-weight: 600;
    margin-right: 8px;
}

.wallet-badge-lg {
    background: #181a20;
    color: #fff;
    border-radius: 8px;
    padding: 12px 18px;
    font-size: 1.13rem;
    font-family: monospace;
    margin-left: 4px;
    box-shadow: 0 0 8px #39FF1444;
    text-decoration: underline #181a20;
}

.wallet-badge-lg.wallet-empty {
    color: #bfc8e6;
    border-style: dashed;
}

.social-badges-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}

.social-badge-lg {
    display: flex;
    align-items: center;
    background: #181a20;
    border-radius: 8px;
    border: 1.5px solid #23272A;
    padding: 7px 16px 7px 10px;
    gap: 8px;
    color: #e3e9f7;
    font-size: 1.09rem;
    box-shadow: 0 0 8px #39FF1444;
}

.social-badge-lg .social-icon-lg {
    height: 1.5em;
    width: 1.5em;
    margin-right: 2px;
}

.social-badge-lg .social-url-lg {
    color: #fff;
    text-decoration: none;
    font-size: 1.01em;
}

.social-badge-lg.social-empty {
    color: #bfc8e6;
    border-style: dashed;
}

.user-profile-edit {
    flex: 0 0 180px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    height: 100%;
}

.settings-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.settings-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.settings-field label span {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #fff;
    font-size: 0.95rem;
}

.settings-field input[type="text"],
input {
    width: 95%;
    padding: 15px 20px;
    border: 2px solid #8da1fa;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(24, 26, 32, 0.9);
    color: #fff;
    outline: none;
    position: relative;
}

.settings-field input[type="text"]:focus,
input:focus {
    outline: none;
    border-color: #39FF14;
    box-shadow: 0 0 0 3px rgba(57, 255, 20, 0.3);
    transform: translateY(-2px);
}

.settings-field input[type="text"]:focus::placeholder,
input:focus::placeholder {
    color: #fff;
}

.settings-field input[type="text"]::placeholder,
input::placeholder {
    color: #a0a0a0;
}

.settings-field input[type="text"]:disabled {
    background: rgba(24, 26, 32, 0.45);
    color: #bfc8e6;
    border-style: dashed;
    cursor: not-allowed;
}

/* Icône à gauche dans l'input (optionnel, nécessite <span class="input-icon"> dans le HTML) */
.settings-field {
    position: relative;
}

.settings-field .input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #39FF14;
    font-size: 1.25em;
    pointer-events: none;
    opacity: 0.88;
    filter: drop-shadow(0 0 4px #39FF14);
}

/* For inputs without icon, reduce left padding */
input.no-icon {
    padding-left: 16px;
}

/* Animation légère on focus */
@keyframes input-glow {
    0% {
        box-shadow: 0 0 0 0 #FF174400;
    }

    60% {
        box-shadow: 0 0 0 6px #FF174444;
    }

    100% {
        box-shadow: 0 0 0 3px #FF174488;
    }
}

.settings-field input[type="text"]:focus {
    animation: input-glow 0.25s;
}

/* Pour les inputs désactivés */
.settings-field input[type="text"]:disabled {
    background: #23272A;
    color: #8da1fa99;
    border: 1.5px dashed #39FF1422;
    cursor: not-allowed;
    opacity: 0.7;
}

.settings-btn {
    background: linear-gradient(90deg, #39FF14 0%, #181a20 100%);
    color: #fff;
    font-weight: 600;
    font-size: 1.08rem;
    padding: 10px 0;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 8px;
    width: 100%;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(88, 101, 242, 0.18);
    letter-spacing: 0.5px;
}

.settings-btn:hover {
    background: linear-gradient(90deg, #181a20 0%, #ff4747 100%);
    color: #111;
    box-shadow: 0 4px 16px #ff474788;
}

.settings-success {
    color: #39FF14;
}

.settings-btn-delete,
.btn-danger {
    background: #FF2D55;
    color: #fff;
    border: none;
    border-radius: 8px;
    transition: background 0.2s;
    font-size: 1.1em;
    padding: 7px 12px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.settings-btn-delete:hover,
.btn-danger:hover {
    background: #FF1744;
}

.modal-overlay {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    justify-content: center;
    align-items: center;
    transition: background 0.3s;
}

.modal-overlay[style*="display: flex"] {
    display: flex !important;
}

.modal-content-modern {
    background: rgba(20, 22, 30, 0.98);
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 0 2px #39FF14;
    padding: 40px 36px;
    width: 100%;
    max-width: 520px;
    color: #fff;
    position: relative;
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    transition: all 0.6s cubic-bezier(.4, 1.4, .6, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1.5px solid #23272A;
    overflow: hidden;
}

.modal-content-modern.modal-in {
    opacity: 1;
    transform: none;
    animation: fadeInUp 0.6s ease-out;
}

.modal-close-btn {
    position: absolute;
    top: 16px;
    right: 18px;
    background: none;
    border: none;
    color: #bfc8e6;
    font-size: 2.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.15s;
    z-index: 10;
}

.modal-close-btn:hover {
    color: #fff;
}

.modal-title {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    color: #fff;
}

.settings-field select,
select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #8da1fa;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(24, 26, 32, 0.9);
    color: #fff;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    cursor: pointer;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%238da1fa' height='18' viewBox='0 0 24 24' width='18' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px 18px;
}

.settings-field select:focus,
select:focus {
    outline: none;
    border-color: #39FF14;
    box-shadow: 0 0 0 3px rgba(57, 255, 20, 0.3);
    transform: translateY(-2px);
    background-image: url("data:image/svg+xml;utf8,<svg fill='%2339FF14' height='18' viewBox='0 0 24 24' width='18' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px 18px;
}

.settings-field select:disabled,
select:disabled {
    background: rgba(24, 26, 32, 0.45);
    color: #bfc8e6;
    border-style: dashed;
    cursor: not-allowed;
    opacity: 0.7;
    background-image: none;
}

.add-social-btn {
    background: linear-gradient(135deg, #8da1fa, #4752C4);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 12px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(141, 161, 250, 0.3);
}

.add-social-btn:hover {
    background: linear-gradient(135deg, #4752C4, #8da1fa);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(141, 161, 250, 0.5);
}

.settings-btn-save {
    background: linear-gradient(135deg, #8da1fa, #39FF14);
    color: #000;
    border: none;
    border-radius: 12px;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
    margin-top: 18px;
    box-shadow: 0 4px 15px rgba(141, 161, 250, 0.3);
}

.settings-btn-save:hover {
    background: linear-gradient(135deg, #39FF14, #8da1fa);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(57, 255, 20, 0.4);
}

.settings-btn-edit-lg {
    background: linear-gradient(90deg, #181a20 0%, #39FF1450 100%);
    color: #fff;
    font-weight: 700;
    font-size: 1.09rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    padding: 10px 22px;
    margin-top: 8px;
    margin-bottom: 0;
    box-shadow: 0 2px 8px #39FF1444;
    letter-spacing: 0.5px;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.settings-btn-edit-lg:hover {
    background: linear-gradient(90deg, #ff474750 0%, #181a20 100%);
    color: #fff;
    box-shadow: 0 4px 16px #ff474744;
}

/* Conteneur avec scroll pour les liens sociaux */
.socials-container {
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid rgba(141, 161, 250, 0.3);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    background: rgba(24, 26, 32, 0.5);
}

/* Style pour quand il n'y a pas de liens sociaux */
.socials-container:empty::before {
    content: "No social links yet. Click 'Add a social link' to get started.";
    color: #bfc8e6;
    font-style: italic;
    font-size: 0.9em;
    display: block;
    text-align: center;
    padding: 20px 0;
}

.socials-list:empty + .add-social-btn {
    margin-top: 10px;
}

/* Custom scrollbar pour la liste des liens sociaux */
.socials-container::-webkit-scrollbar {
    width: 8px;
}

.socials-container::-webkit-scrollbar-track {
    background: rgba(35, 39, 42, 0.5);
    border-radius: 10px;
}

.socials-container::-webkit-scrollbar-thumb {
    background: #8da1fa;
    border-radius: 10px;
    transition: background 0.3s ease;
}

.socials-container::-webkit-scrollbar-thumb:hover {
    background: #a8b8ff;
}

/* Styles pour les liens sociaux dans la modal */
.socials-list {
    margin-bottom: 0;
}

.social-row {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    align-items: center;
}

.social-row select {
    flex: 1;
    margin-bottom: 0;
}

.social-row input {
    flex: 2;
    margin-bottom: 0;
}

.social-row button {
    background: linear-gradient(135deg, #FF1744, #FF0040);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 15px 12px;
    font-size: 1.2em;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 45px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-row button:hover {
    background: linear-gradient(135deg, #FF0040, #FF1744);
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 23, 68, 0.5);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Styles spécifiques pour le champ wallet Solana */
.settings-field label span {
    vertical-align: middle;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

#crypto_wallet {
    position: relative;
    background: linear-gradient(135deg, #1a1d23 0%, #23272a 100%);
    border: 2px solid #2c3e50;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#crypto_wallet:focus {
    border-color: #37ff14;
    box-shadow: 0 0 12px rgba(55, 255, 20, 0.2);
}

#crypto_wallet.valid {
    border-color: #27ae60;
    background: linear-gradient(135deg, #1a1d23 0%, #1e2f1e 100%);
}

#crypto_wallet.invalid {
    border-color: #e74c3c;
    background: linear-gradient(135deg, #1a1d23 0%, #2f1e1e 100%);
}

#wallet-warning {
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Amélioration responsive pour mobile */
@media (max-width: 768px) {
    .settings-field label span {
        font-size: 0.95rem;
        gap: 6px;
    }
    
    .settings-field label span span {
        width: 18px;
        height: 18px;
        font-size: 9px;
    }
    
    #wallet-warning {
        font-size: 0.85rem;
        padding: 8px;
    }
}

@media (max-width: 900px) {
    .dashboard-container {
        padding: 12px 2px;
    }

    .cards-flex {
        flex-direction: column;
        gap: 0;
    }

    .card {
        min-width: 0;
        margin-bottom: 24px;
    }
}

@media (max-width: 600px) {
    .dashboard-container {
        padding: 4px 0;
    }

    .avatar-lg {
        width: 60px;
        height: 60px;
    }

    .card {
        padding: 14px 6px;
    }

    .modal-content-modern {
        max-width: 98vw;
        padding: 18px 6vw 18px 6vw;
    }

    input {
        font-size: 1.01rem;
        padding: 10px 10px 10px 38px;
    }

    .input-icon {
        left: 8px;
        font-size: 1.1em;
    }

    .settings-field select,
    select {
        font-size: 1.01rem;
        padding: 8px 30px 8px 8px;
        background-position: right 8px center;
    }

    .add-social-btn {
        font-size: 0.98rem;
        padding: 7px 10px;
    }

    .settings-btn-save {
        font-size: 1.01rem;
        padding: 9px 0;
    }
}

/* Payment History Styles - Modern Card Design */
.payment-stats {
    background: rgba(141, 161, 250, 0.1);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    color: #8da1fa;
    border: 1px solid rgba(141, 161, 250, 0.2);
}

.payment-count {
    font-weight: 600;
}

.payment-history-container {
    background: #1a1d23;
    border-radius: 12px;
    border: 1px solid #2a2d35;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.payment-history-scroll {
    max-height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Custom Scrollbar */
.payment-history-scroll::-webkit-scrollbar {
    width: 8px;
}

.payment-history-scroll::-webkit-scrollbar-track {
    background: #23272A;
    border-radius: 6px;
}

.payment-history-scroll::-webkit-scrollbar-thumb {
    background: #8da1fa;
    border-radius: 6px;
    transition: background 0.3s ease;
}

.payment-history-scroll::-webkit-scrollbar-thumb:hover {
    background: #7289da;
}

.payment-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #2a2d35;
    transition: all 0.3s ease;
    position: relative;
}

.payment-item:hover {
    background: rgba(141, 161, 250, 0.05);
    transform: translateX(4px);
}

.payment-item:last-child {
    border-bottom: none;
}

.payment-item-latest {
    background: rgba(55, 255, 20, 0.08);
    border-left: 4px solid #37ff14;
}

.payment-item-latest::before {
    content: "Latest";
    position: absolute;
    top: 8px;
    right: 24px;
    background: #37ff14;
    color: #000;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.7em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.payment-item-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.payment-icon {
    width: 48px;
    height: 48px;
    background: rgba(141, 161, 250, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4em;
    border: 2px solid rgba(141, 161, 250, 0.3);
}

.payment-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.payment-amount-big {
    font-size: 1.4em;
    font-weight: 700;
    color: #37ff14;
    text-shadow: 0 0 10px rgba(55, 255, 20, 0.3);
}

.payment-type-badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: fit-content;
}

.payment-type-manual {
    background: rgba(141, 161, 250, 0.2);
    color: #8da1fa;
    border: 1px solid rgba(141, 161, 250, 0.4);
}

.payment-type-automatic {
    background: rgba(55, 255, 20, 0.2);
    color: #37ff14;
    border: 1px solid rgba(55, 255, 20, 0.4);
}

.payment-type-payment {
    background: rgba(156, 163, 175, 0.2);
    color: #9ca3af;
    border: 1px solid rgba(156, 163, 175, 0.4);
}

.payment-type-bonus {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.4);
}

.payment-item-right {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-end;
}

.payment-date-big {
    font-size: 1.1em;
    font-weight: 600;
    color: #b0b8c9;
}

.payment-time {
    font-size: 0.85em;
    color: #8da1fa;
    opacity: 0.8;
}

.payment-reason-text {
    font-size: 0.9em;
    color: #8da1fa;
    opacity: 0.9;
    max-width: 200px;
    word-wrap: break-word;
    text-align: right;
    margin-top: 4px;
    font-style: italic;
}

.no-payments {
    text-align: center;
    padding: 60px 20px;
    color: #8da1fa;
}

.no-payments-icon {
    font-size: 4em;
    margin-bottom: 20px;
    opacity: 0.6;
}

.no-payments p {
    font-size: 1.2em;
    margin-bottom: 12px;
    color: #b0b8c9;
    font-weight: 500;
}

.no-payments small {
    color: #8da1fa;
    opacity: 0.8;
    font-size: 1em;
    line-height: 1.4;
}

/* Enhanced Statistics Cards */
.stats-card-featured {
    min-width: 200px;
    padding: 28px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, #1a1d23 0%, #23272A 100%);
    border: 2px solid rgba(141, 161, 250, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stats-card-featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #8da1fa, #37ff14);
}


.stats-icon {
    font-size: 2.5em;
    opacity: 0.8;
    filter: drop-shadow(0 0 10px rgba(141, 161, 250, 0.3));
}

.stats-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stats-card-featured .stats-value {
    font-size: 2em;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.stats-card-featured .stats-label {
    font-size: 0.95em;
    color: #8da1fa;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stats-balance .stats-value {
    color: #37ff14 !important;
    text-shadow: 0 0 15px rgba(55, 255, 20, 0.4) !important;
}

/* Total Paid Badge in Payment History */
.total-paid-badge {
    background: linear-gradient(135deg, rgba(55, 255, 20, 0.15), rgba(55, 255, 20, 0.05));
    border: 2px solid rgba(55, 255, 20, 0.3);
    border-radius: 25px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(55, 255, 20, 0.1);
}

.total-paid-label {
    color: #b0b8c9;
    font-size: 0.9em;
    font-weight: 500;
}

.total-paid-amount {
    color: #37ff14;
    font-size: 1.3em;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(55, 255, 20, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .stats-card-featured {
        min-width: 100%;
        padding: 20px;
        gap: 16px;
    }
    
    .stats-icon {
        font-size: 2em;
    }
    
    .stats-card-featured .stats-value {
        font-size: 1.6em;
    }
    
    .total-paid-badge {
        padding: 8px 16px;
        gap: 8px;
    }
    
    .total-paid-amount {
        font-size: 1.1em;
    }
    
    .socials-container {
        max-height: 250px;
        padding: 12px;
    }
}

/* Styles pour la validation du wallet */
.settings-field input.valid {
    border-color: #39FF14;
    box-shadow: 0 0 0 3px rgba(57, 255, 20, 0.2);
}

.settings-field input.invalid {
    border-color: #ff4444;
    box-shadow: 0 0 0 3px rgba(255, 68, 68, 0.2);
}

/* Amélioration du backdrop blur pour le modal */
.modal-overlay {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}