@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;
}

body {
    min-height: 100vh;
    background: rgb(16, 16, 20);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #e5e7eb;
}
/* 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;
    text-align: center;
}
.logo-container {
    display: flex;
    justify-content: center;
}
#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;
}

.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 {
    padding: 6px 26px;
    background: rgb(16, 16, 20);
    color: rgb(255 255 255 / var(--tw-text-opacity, 1));
    margin: 30px 10px;

    position: relative;
}

.auth-container {
    position: relative;
}

.auth-container::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 28px; /* même radius que la box */
    padding: 1px;
    background: linear-gradient(
        135deg,
        rgba(255,255,255,0.18),
        rgba(255,255,255,0.03),
        rgba(255,255,255,0.12)
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}

/* TOP ICON */
.auth-container::before {
    content: "";
    display: block;
    text-align: ;
    font-size: 25px;
    margin-top: 8px;
}

/* TITLE */
.auth-container h4 {
    font-size: 22px;
    font-weight: 800;
    color: rgb(62 206 198 / var(--tw-bg-opacity, 1));
    line-height: 1.2;
    text-align: center;
}

/* SUBTITLE */
/* .auth-container h1::after {
    content: "Join the AstuceFX learning community";
    display: block;
    font-size: 14px;
    font-weight: 400;
    color: #9ca3af;
    margin: 6px 0 20px;
} */

/* ALERT */
.alert {
    margin-bottom: 14px;
    padding: 2px;
    border-radius: 10px;
    font-size: 14px;
    text-align: center;
    background-color: rgb(244, 67, 54);
    color: white;
    transition: opacity 0.5s ease; /* pour le fade out */
}
.alert.success { background: #064e3b; color: #a7f3d0; }
.alert.error { background: #7f1d1d; color: #fecaca; }

/* INPUTS */
.input-group {
    position: relative;
    margin-bottom: 16px;
}

.input-group input {
    width: 100%;
    padding: 12px 48px;
    border-radius: 999px;
    background: #2d2d35;
    border: 1px solid rgba(255,255,255,0.15);
    color: #e5e7eb;
    font-size: 14.5px;
}

.input-group input::placeholder {
    color: #9ca3af;
}

.input-group input:focus {
    outline: none;
    border-color: rgb(62 206 198 / var(--tw-bg-opacity, 1));
    box-shadow: 0 0 0 3px rgba(249,115,22,0.25);
}

/* ICONS */
.input-group::before {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    opacity: 0.9;
}

.input-group:nth-of-type(1)::before { content: "👤"; }
.input-group:nth-of-type(2)::before { content: "✉️"; }
.password-wrapper::before { content: "🔒"; }

/* PASSWORD EYE */
.password-wrapper span {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

/* GET CODE */
.contact-group {
    display: flex;
    gap: 10px;
}

.contact-group input {
    padding-right: 18px;
}

.get-code-btn {
    padding: 0 14px;
    border-radius: 50px;
    background: transparent;
    border: 1px solid rgb(62 206 198 / var(--tw-bg-opacity, 1));
    color: rgb(62 206 198 / var(--tw-bg-opacity, 1));

    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
}

.get-code-btn:hover {
    background: rgba(249,115,22,0.15);
}

.loader {
    font-size: 13px;
    color: rgb(62 206 198 / var(--tw-bg-opacity, 1));
    margin-left: 8px;
}

/* CHECKBOX */
.checkbox {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 13px;
    color: #d1d5db;
    margin: 12px 0 18px;
}

.checkbox input {
    accent-color: rgb(62 206 198 / var(--tw-bg-opacity, 1));
}

/* PRIMARY BUTTON */
.primary-btn {
    width: 100%;
    padding: 14px;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg,rgb(62 206 198 / var(--tw-bg-opacity, 1)) );
    font-size: 15.5px;
    font-weight: 700;
    cursor: pointer;
}

.primary-btn:hover {
    box-shadow: 0 12px 35px rgba(249,115,22,0.45);
}

/* SEPARATOR */
.separator {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 22px 0;
    color: #9ca3af;
    font-size: 13px;
}

.separator::before,
.separator::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.15),
        transparent
    );
}

/* GOOGLE */
.social-btn {
    width: 100%;
    padding: 13px;
    border-radius: 999px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.25);
    color: #e5e7eb;
    font-size: 14.5px;
    font-weight: 600;
    cursor: pointer;
}

.social-btn::before {
    content: "G";
    font-weight: 900;
    margin-right: 8px;
}

.social-btn:hover {
    background: rgba(255,255,255,0.06);
}

/* FOOTER */
.footer-links {
    margin-top: 22px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
   color:  white;
    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: 10px;
    
}
input, select, textarea {
    font-size: 16px !important;
}