/* Fichier: /dabafinance/assets/css/style.css */

/* --- Style de base --- */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --success-color: #2ecc71;
    --error-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #1a1a1a;
    --background-color: #f4f7f6;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    background-color: var(--background-color);
    color: var(--primary-color);
    line-height: 1.6;
}

#page-container {
    position: relative;
    min-height: 100vh;
}

#content-wrap {
    padding-bottom: 5rem; /* Hauteur du footer */
}

#footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 4rem; /* Hauteur du footer */
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding-top: 1rem;
}

/* --- Loader d'animation --- */
#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.5s ease;
}

#loader-wrapper.hidden {
    opacity: 0;
    pointer-events: none; /* Empêche les clics sur le loader une fois caché */
}

.loader-logo img {
    width: 100px; /* Ajustez la taille de votre logo */
    height: 100px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* --- Formulaires d'authentification --- */
.auth-container {
    width: 90%;
    max-width: 400px;
    margin: 3rem auto;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.auth-container h1 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* Important pour que le padding n'augmente pas la largeur */
}

.btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 4px;
    background-color: var(--secondary-color);
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #2980b9;
}

.auth-link {
    text-align: center;
    margin-top: 1rem;
}

.auth-link a {
    color: var(--secondary-color);
    text-decoration: none;
}

/* --- Messages d'erreur et de succès --- */
.message {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 4px;
    text-align: center;
}
.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* --- Header Principal --- */
.main-header {
    background: #fff;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    height: 70px;
}
.main-header .logo {
    display: flex;
    align-items: center;
}
.main-header .logo img {
    height: 40px;
    margin-right: 10px;
}
.main-header .logo span {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
}
.main-header a {
    text-decoration: none;
}
.logout-link {
    background-color: var(--error-color);
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background-color 0.3s;
}
.logout-link:hover {
    background-color: #c0392b;
}

/* --- Conteneur du Dashboard --- */
.dashboard-main {
    padding: 20px;
}
.welcome-banner {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* --- Grille de Cartes --- */
.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 20px;
}
@media (min-width: 768px) {
    .card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.card.full-width {
    grid-column: 1 / -1;
}
.card h3 {
    margin-top: 0;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}
.card .big-number {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
    margin: 10px 0;
}
.card .plan-name {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--success-color);
}
.btn-card {
    display: block;
    text-align: center;
    margin-top: 15px;
    padding: 10px;
    background: var(--light-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}
.btn-card:hover {
    background-color: #bdc3c7;
}
.task-status.success { color: var(--success-color); font-weight: 600; }
.task-status.error { color: var(--error-color); font-weight: 600; }

/* --- Parrainage --- */
.referral-link-container {
    display: flex;
    margin-top: 10px;
}
.referral-link-container input {
    flex-grow: 1;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 4px 0 0 4px;
    background: #f9f9f9;
}
.referral-link-container button {
    border-radius: 0 4px 4px 0;
    width: auto;
    flex-shrink: 0;
}

/* --- Grille des Plans VIP --- */
.plans-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}
@media (min-width: 600px) {
    .plans-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 992px) {
    .plans-grid { grid-template-columns: repeat(4, 1fr); }
}
.plan-card {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
}
.plan-card:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}
.plan-card.active-plan {
    border: 2px solid var(--success-color);
    background-color: #f0fff4;
}
.plan-card h4 {
    margin-top: 0;
    color: var(--secondary-color);
}
.plan-card .plan-amount {
    font-size: 1.5rem;
    font-weight: 600;
}
.plan-card .plan-total {
    font-weight: bold;
    color: var(--primary-color);
}
.plan-card .btn {
    margin-top: 10px;
}

/* --- Tableau d'historique --- */
.table-container {
    overflow-x: auto; /* Pour la responsivité sur mobile */
}
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}
th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}
th {
    background-color: #f8f8f8;
}
.text-success { color: var(--success-color); }
.text-danger { color: var(--error-color); }

.status-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8em;
    color: white;
}
.status-approved, .status-succes { background-color: var(--success-color); }
.status-pending { background-color: #f39c12; }
.status-rejected { background-color: var(--error-color); }

/* --- Page de Tâche Journalière --- */
.task-box {
    text-align: center;
    padding: 2rem;
    background: #fdfdfd;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
}

.task-box h4 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.task-box p {
    font-size: 1.1rem;
    color: #555;
    max-width: 600px;
    margin: 1rem auto;
}

.task-action {
    background: #f4f7f6;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 8px;
}

.btn-success {
    background-color: var(--success-color);
    font-size: 1.1rem;
    padding: 15px;
}

.btn-success:hover {
    background-color: #27ae60;
}

/* --- Petite animation pour simuler une action --- */
.spinner {
    margin: 1rem auto;
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: var(--secondary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* --- Page de Dépôt --- */
.back-link {
    display: inline-block;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
}
.back-link:hover {
    text-decoration: underline;
}

.deposit-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media (min-width: 768px) {
    .deposit-grid {
        grid-template-columns: 1fr 1.5fr;
    }
}

.plan-summary {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}
.plan-summary h4 {
    margin-top: 0;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}
.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}
.summary-item:last-child {
    border-bottom: none;
}
.summary-item .big-amount {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.payment-instructions h4 {
    margin-top: 0;
}
.payment-instructions ol {
    padding-left: 20px;
}
.payment-instructions li {
    margin-bottom: 1.5rem;
}
.payment-number {
    background: var(--dark-color);
    color: white;
    padding: 1rem;
    text-align: center;
    font-size: 1.5rem;
    letter-spacing: 2px;
    border-radius: 5px;
    margin: 0.5rem 0;
}

/* --- Styles spécifiques à l'Admin Panel --- */
.admin-header {
    background-color: var(--primary-color);
}
.admin-header .logo span {
    color: white;
}
.admin-header .nav-link {
    color: #ecf0f1;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background-color 0.3s;
}
.admin-header .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
}
.admin-header .logout-link {
    background-color: var(--secondary-color);
}
.admin-header .logout-link:hover {
    background-color: #2980b9;
}

/* --- Boutons d'action dans le tableau --- */
.action-buttons {
    white-space: nowrap; /* Empêche les boutons de passer à la ligne */
}
.btn-action {
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9em;
}
.btn-action.approve {
    background-color: var(--success-color);
}
.btn-action.approve:hover {
    background-color: #27ae60;
}
.btn-action.reject {
    background-color: var(--error-color);
}
.btn-action.reject:hover {
    background-color: #c0392b;
}

/* --- Page de Retrait Client --- */
.form-container {
    max-width: 500px;
    margin: 1rem auto;
}

.info-box {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.info-box p {
    margin: 0.5rem 0;
}

/* --- Formulaire de création d'utilisateur admin --- */
.user-creation-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .user-creation-form {
        grid-template-columns: repeat(3, 1fr);
        align-items: flex-end; /* Aligner les éléments en bas */
    }
    .user-creation-form button {
        grid-column: 3 / 4; /* Placer le bouton dans la dernière colonne */
    }
}

.user-creation-form .form-group {
    margin-bottom: 0;
}
.user-creation-form select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    background-color: white;
}

/* --- Styles spécifiques à l'Agent Panel --- */
.agent-header {
    background-color: #16a085; /* Une couleur verte pour différencier */
}
.agent-header .logo span {
    color: white;
}
.agent-header .nav-link {
    color: #ecf0f1;
}
.agent-header .logout-link {
    background-color: var(--error-color);
}
.agent-header .logout-link:hover {
    background-color: #c0392b;
}

/* --- Section Roulette de la Chance --- */
.roulette-card {
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    color: white;
}
.roulette-card h3 {
    border-bottom: 1px solid rgba(255,255,255,0.3);
}
.roulette-container {
    text-align: center;
    padding: 1rem 0;
}
#spin-button {
    background-color: #fdcb6e;
    color: var(--dark-color);
    font-weight: bold;
    font-size: 1.2rem;
    padding: 15px 30px;
    border: none;
    box-shadow: 0 5px 0 #e17055;
    transition: all 0.1s ease-in-out;
}
#spin-button:hover {
    background-color: #ffeaa7;
}
#spin-button:active {
    transform: translateY(3px);
    box-shadow: 0 2px 0 #e17055;
}
#spin-button:disabled {
    background-color: #b2bec3;
    color: #636e72;
    cursor: not-allowed;
    box-shadow: 0 5px 0 #636e72;
    transform: none;
}
.spin-result-message {
    margin-top: 1.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 1rem;
    border-radius: 5px;
    min-height: 20px;
}
.spin-result-message.info {
    background-color: rgba(255, 255, 255, 0.2);
}
.spin-result-message.error {
    background-color: rgba(231, 76, 60, 0.5);
}

/* --- Boutons Flottants --- */
.floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    text-decoration: none;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    transition: transform 0.2s ease;
}
.float-btn:hover {
    transform: scale(1.1);
}
.float-btn.whatsapp {
    background-color: #25D366;
}
.float-btn.telegram {
    background-color: #0088cc;
}

/* --- Pages de Contenu Statique (Politique, Termes, etc.) --- */
.static-page-container {
    width: 90%;
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    line-height: 1.8;
}

.static-page-container h1 {
    text-align: center;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 1rem;
}

.static-page-container h2 {
    margin-top: 2rem;
    color: var(--primary-color);
}

.static-page-container ul {
    padding-left: 20px;
}

.static-page-container li {
    margin-bottom: 0.5rem;
}

/* --- Liens du Footer --- */
.footer-links {
    margin-bottom: 0.5rem;
}
.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 0.9em;
    margin: 0 10px;
}
.footer-links a:hover {
    color: white;
    text-decoration: underline;
}

/* --- Boîte du Compte à Rebours --- */
.timer-box {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
}

.timer-box h4 {
    margin-top: 0;
    font-size: 1.2rem;
    color: var(--primary-color);
}

#countdown-timer {
    font-size: 3rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin: 1rem 0;
    font-family: 'monospace';
}

.timer-box p {
    color: #6c757d;
}

/* --- Compte à Rebours sur le Dashboard --- */
.timer-box-dashboard {
    text-align: center;
}

.timer-box-dashboard p {
    margin: 0 0 5px 0;
    font-size: 0.9em;
    color: #6c757d;
}

.timer-box-dashboard #countdown-timer {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--secondary-color);
    font-family: 'monospace';
}

/* --- Info sur la condition de retrait capital (Obsolète mais gardé pour compatibilité) --- */
.condition-info {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
    padding: 10px;
    margin-top: 10px;
    font-size: 0.9em;
    text-align: center;
}

/* --- NOUVEAU SYSTÈME DE NOTIFICATIONS ANIMÉES ("TOASTS") --- */
#immersive-popup-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    pointer-events: none;
    overflow: hidden;
}

.flying-toast {
    position: absolute;
    min-width: 300px;
    max-width: 360px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: #333;
    border-radius: 10px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.2), 0 3px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    padding: 16px;
    pointer-events: all;
    border-left: 6px solid #3498db;
    animation-duration: 5s;
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
}

.flying-toast .popup-icon {
    font-size: 28px;
    margin-right: 15px;
}

.flying-toast .popup-content {
    flex-grow: 1;
    font-size: 0.95rem;
}
.flying-toast .popup-content strong { color: #000; }

.flying-toast .popup-close {
    position: absolute;
    top: 8px;
    right: 10px;
    background: none;
    border: none;
    font-size: 20px;
    color: #aaa;
    cursor: pointer;
    transition: color 0.2s;
}
.flying-toast .popup-close:hover { color: #333; }

.toast-theme-deposit { border-left-color: #2ecc71; }
.toast-theme-deposit .popup-icon { color: #2ecc71; }

.toast-theme-withdrawal { border-left-color: #3498db; }
.toast-theme-withdrawal .popup-icon { color: #3498db; }

.toast-theme-register { border-left-color: #9b59b6; }
.toast-theme-register .popup-icon { color: #9b59b6; }

.toast-theme-incentive { border-left-color: #e67e22; }
.toast-theme-incentive .popup-icon { color: #e67e22; }

.toast-theme-success { border-left-color: #1abc9c; }
.toast-theme-success .popup-icon { color: #1abc9c; }

.toast-theme-error { border-left-color: #e74c3c; }
.toast-theme-error .popup-icon { color: #e74c3c; }

@keyframes fly-in-out-left-right {
    0% { transform: translateX(-110%); opacity: 0; }
    15% { transform: translateX(0); opacity: 1; }
    85% { transform: translateX(0); opacity: 1; }
    100% { transform: translateX(110%); opacity: 0; }
}
.animate-fly-left-right { animation-name: fly-in-out-left-right; left: 20px; }

@keyframes fly-in-out-right-left {
    0% { transform: translateX(110%); opacity: 0; }
    15% { transform: translateX(0); opacity: 1; }
    85% { transform: translateX(0); opacity: 1; }
    100% { transform: translateX(-110%); opacity: 0; }
}
.animate-fly-right-left { animation-name: fly-in-out-right-left; right: 20px; }

@keyframes fade-in-out-bottom {
    0% { transform: translateY(100px); opacity: 0; }
    15% { transform: translateY(0); opacity: 1; }
    85% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(100px); opacity: 0; }
}
.animate-fade-bottom { animation-name: fade-in-out-bottom; left: 50%; transform: translateX(-50%); }

/* Fichier: /dabafinance/assets/css/style.css (AJOUTER À LA FIN) */

/* --- Image Slider --- */
.image-slider-container {
    width: 100%;
    max-height: 250px; /* Ajustez la hauteur max */
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
    position: relative;
    background-color: #000;
}
.image-slider {
    display: flex;
    height: 100%;
}
.slider-image {
    width: 100%;
    min-width: 100%;
    object-fit: cover;
    display: none; /* Cachées par défaut */
}
.slider-image.active {
    display: block; /* Seule l'image active est visible */
}

/* Animations pour le slider */
.slider-image.fade-in { animation: fadeIn 1s forwards; }
.slider-image.slide-in-right { animation: slideInRight 1s forwards; }
.slider-image.zoom-in { animation: zoomIn 1s forwards; }

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideInRight {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}
@keyframes zoomIn {
    from { transform: scale(0.5); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* --- Modal (Pop-up) de Dépôt --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.modal-content {
    background: white;
    padding: 25px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
}
.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #888;
}

/* --- Notifications Pop-up Centrées --- */
#popup-notification-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    pointer-events: none; /* Permet de cliquer à travers */
    display: flex;
    justify-content: center;
    align-items: center;
}

.popup-notification-box {
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 15px 25px;
    border-radius: 50px; /* Forme de pilule */
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-in-out;
    pointer-events: all; /* La notification elle-même est cliquable */
}

.popup-notification-box.show {
    opacity: 1;
    transform: translateY(0);
}

/* Fichier: /dabafinance/assets/css/style.css (AJOUTER À LA FIN) */

/* --- Décompte du Plan --- */
#countdown-timer {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
    margin-top: 10px;
}
#countdown-timer.expired {
    color: var(--error-color);
}

/* --- Bouton de génération de gains désactivé --- */
.btn-card:disabled {
    background-color: #bdc3c7;
    cursor: not-allowed;
    color: #7f8c8d;
}

/* --- Modal d'Animation des Gains --- */
.text-center {
    text-align: center;
}
.profit-animation-logo img {
    width: 120px;
    height: 120px;
    margin: 20px auto;
    animation: spin 2s linear infinite; /* Réutilisation de l'animation de spin */
}
.profit-counter-display {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--success-color);
    margin: 10px 0 20px 0;
}

/* --- Icône pour Afficher/Cacher le mot de passe --- */
.password-group {
    position: relative;
}

.password-group input {
    /* Ajoute de l'espace à droite pour que le texte ne passe pas sous l'icône */
    padding-right: 40px !important;
}

.password-toggle-icon {
    position: absolute;
    top: 50%;
    right: 15px;
    /* Centre l'icône verticalement par rapport au champ */
    transform: translateY(-50%);
    cursor: pointer;
    width: 20px;
    height: 20px;
    opacity: 0.6;
    background-repeat: no-repeat;
    background-size: contain;
    /* Icône par défaut (oeil ouvert) - SVG encodé pour éviter les fichiers externes */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'%3E%3C/path%3E%3Ccircle cx='12' cy='12' r='3'%3E%3C/circle%3E%3C/svg%3E");
}

.password-toggle-icon.visible {
    /* Icône quand le mot de passe est visible (oeil barré) */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24'%3E%3C/path%3E%3Cline x1='1' y1='1' x2='23' y2='23'%3E%3C/line%3E%3C/svg%3E");
}

/* --- Styles pour les modals de paiement --- */
.text-highlight {
    color: var(--success-color);
    font-size: 1.4rem;
    font-weight: 600;
}

.text-center {
    text-align: center;
}

.payment-info {
    margin-bottom: 1.5rem;
}

.copy-container {
    display: flex;
    width: 100%;
}

.copy-container input[readonly] {
    flex-grow: 1;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 4px 0 0 4px;
    background: #f9f9f9;
    font-size: 1rem;
    color: #333;
}

.copy-container .btn-copy {
    border: 1px solid var(--secondary-color);
    background: var(--secondary-color);
    color: white;
    padding: 0 15px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    flex-shrink: 0;
}

.btn-secondary {
    background-color: #7f8c8d;
    margin-top: 10px;
    display: block;
    text-align: center;
    text-decoration: none;
    color: white;
    padding: 12px;
}
.btn-secondary:hover {
    background-color: #95a5a6;
}