@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
     font-family: "Nunito", sans-serif;
  font-optical-sizing: auto;
  font-weight: weight;
  font-style: normal;
}
* {
   margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}

body {
    min-height: 100vh;
   background: rgb(16, 16, 20);
    color: rgb(255 255 255 / var(--tw-text-opacity, 1));
    display: flex;
    justify-content: center;
    align-items: center;
    
}
/* ==============================
   TRADING ALERT PREMIUM STYLE
============================== */

.alert-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.alert {
    min-width: 280px;
    max-width: 320px;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    color: white;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.35);
    transform: translateX(120%);
    opacity: 0;
    animation: slideIn 0.5s forwards;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* SUCCESS (green trading style) */
.alert.success {
    background: linear-gradient(135deg, #00c853, #009624);
    border-left: 4px solid #00ff88;
}

/* ERROR (red trading style) */
.alert.error {
    background: linear-gradient(135deg, #ff1744, #c4001d);
    border-left: 4px solid #ff4d6d;
}

/* WARNING (orange style) */
.alert.warning {
    background: linear-gradient(135deg, #ff9100, #ff6d00);
    border-left: 4px solid #ffd740;
}

@keyframes slideIn {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}
/* HEADER */
.main-header {
    width: 100%;
    background: #111827; /* Couleur sombre moderne */
    padding: 15px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* LOGO */
.logo {
    width: 120px;   /* Taille du logo */
    height: auto;
    object-fit: contain;
}
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000e0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    transition: opacity 0.3s ease;
}
.logo-container {
    display: flex;
    justify-content: center;
}
.spinner {
    width: 60px;
    height: 60px;
    border: 5px solid #ffffff50;
    border-top-color: #00ffbb;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* CARD */
.auth-container {
    width: 360px;
    padding: 36px 26px;
    border-radius: 28px;
    background: rgb(16, 16, 20);
    color: rgb(255 255 255 / var(--tw-text-opacity, 1));

    position: relative;
}

/* 🔐 LOCK ICON */
.auth-container::before {
   
    display: block;
    font-size: 42px;
    margin-bottom: 8px;
}

/* TITLE */
.auth-container h1 {
    
    font-size: 26px;
    color: rgb(62 206 198 / var(--tw-bg-opacity, 1));
    text-align: center;
    margin-bottom: 8px;
}

/* SUBTITLE */
/* .auth-container h1::after {
    content: "Sign in to your copytrading account to continue trading";
    display: block;
    font-size: 14px;
    font-weight: 400;
    color: #9ca3af;
    margin-top: 6px;
} */

/* design lign*/
.auth-container::after {
    content: "";
    display: block;
    height: 1px;
    margin: 26px 0 18px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.15),
        transparent
    );
}


/* ALERT */
.alert {
    margin-bottom: 14px;
    padding: 5px;
    /* border-radius: 10px;
    font-size: 14px;
    text-align: center; */
}
.alert.success { }
.alert.error { background: #7f1d1d; color: #fecaca; }

/* INPUTS */
.input-group {
    position: relative;
    margin-top: 22px;
}

.input-group input {
    width: 100%;
        padding: 12px 42px; /* ← moins extrême */
    height: 48px;        /* ← obligatoire sur mobile */

    border-radius: 50px;
    border: none;
    color: black;
    /* border: 1px solid rgba(255,255,255,0.15); */
    
    
}

.input-group input::placeholder {
    color: #9ca3af;
}

.input-group input:focus {
    outline: none;
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249,115,22,0.25);
}

/* 📧 EMAIL ICON */
.input-group:first-of-type::before {
    content: "✉️";
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
}

/* 🔒 PASSWORD ICON */
.password-wrapper::before {
    content: "🔒";
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
}

/* 👁️ EYE */
.password-wrapper span {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

/* BUTTON */
.primary-btn {
    margin-top: 26px;
    width: 100%;
    padding: 14px;
    border-radius: 999px;
    border: none;
   background: rgb(62 206 198 / var(--tw-bg-opacity, 1));
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.primary-btn:hover {
    box-shadow: 0 12px 35px rgba(249,115,22,0.45);
}

/* LINKS */
.footer-links {
    margin-top: 22px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links a {
   color: #e5e7eb;
    font-weight: 600;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.auth-container p::after {
    content: "";
    display: block;
    height: 1px;
    margin: 22px 0 26px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.15),
        transparent
    );
}
.para{
   
    
    color: #9ca3af;
    margin-top: 6px;
    
}
input, select, textarea {
    font-size: 16px !important;
    -webkit-text-size-adjust: 100%;
    height: 48px; /* ← Fix la hauteur pour éviter le zoom */
}
/* Conteneur flottant */
.icon {
    position: fixed;        /* reste fixé à l’écran */
    top: 20px;              /* distance du haut */
    right: 20px;            /* distance de la droite */
    display: flex;
    flex-direction: column; /* empile verticalement si besoin */
    gap: 10px;              /* espace entre plusieurs icônes */
    z-index: 1000;          /* au-dessus de tout le reste */
}

/* Style du lien icône */
.icon a.client {
    font-size: 22px;           /* taille de l’icône */
    color: white;
    text-decoration: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;        /* cercle */
    transition: transform 0.2s;
}

/* Effet au survol */
.icon a.client:hover {
    transform: scale(1.1);
}