/* ==========================================
   SOCIALELITE SIGNUP PAGE
   signup.css
========================================== */

/* RESET */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Inter',sans-serif;
    background:#0b1220;
    color:#fff;
    min-height:100vh;
}

/* LINKS */

a{
    text-decoration:none;
}

/* PAGE */

.page{
    width:100%;
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:40px 20px;
}

/* CARD */

.signup-card{

    width:100%;
    max-width:520px;

    background:#121b2b;

    border:1px solid rgba(255,255,255,.08);

    border-radius:22px;

    padding:40px 35px;

    box-shadow:
    0 20px 45px rgba(0,0,0,.35);

}

/* LOGO */

.logo-area{

    text-align:center;

    margin-bottom:35px;

}

.logo{

    width:72px;
    height:72px;

    object-fit:contain;

    margin-bottom:18px;

}

.logo-area h1{

    font-size:32px;

    font-weight:800;

    margin-bottom:12px;

    color:#fff;

}

.logo-area p{

    color:#a8b3c5;

    line-height:1.7;

    font-size:15px;

}

/* FORM */

form{

    width:100%;

}

/* INPUT GROUP */

.input-group{

    display:flex;

    flex-direction:column;

    margin-bottom:22px;

}

.input-group label{

    font-size:14px;

    font-weight:600;

    margin-bottom:10px;

    color:#d7ddea;

}

.input-group label span{

    color:#8d98aa;

    font-weight:500;

}

/* INPUT */

.input-group input{

    width:100%;

    height:56px;

    border-radius:14px;

    border:1px solid rgba(255,255,255,.12);

    background:#1b2738;

    color:#fff;

    font-size:15px;

    padding:0 18px;

    outline:none;

    transition:.25s;

}

.input-group input::placeholder{

    color:#75849a;

}

.input-group input:focus{

    border-color:#2563eb;

    box-shadow:
    0 0 0 3px rgba(37,99,235,.18);

}

/* PASSWORD BOX */

.password-box{

    position:relative;

    display:flex;

    align-items:center;

}

.password-box input{

    padding-right:58px;

}

/* SHOW PASSWORD BUTTON */

.toggle-password{

    position:absolute;

    right:15px;

    top:50%;

    transform:translateY(-50%);

    background:none;

    border:none;

    cursor:pointer;

    color:#9fb0c7;

    font-size:17px;

    transition:.25s;

}

.toggle-password:hover{

    color:#fff;

}
/* ==========================================
   PASSWORD STRENGTH
========================================== */

.password-strength{

    margin-top:10px;

    font-size:13px;

    font-weight:600;

    min-height:18px;

}

.password-strength.weak{

    color:#ef4444;

}

.password-strength.medium{

    color:#f59e0b;

}

.password-strength.strong{

    color:#22c55e;

}

/* ==========================================
   SIGNUP BUTTON
========================================== */

.signup-btn{

    width:100%;

    height:56px;

    border:none;

    border-radius:14px;

    background:#2563eb;

    color:#fff;

    font-size:16px;

    font-weight:700;

    cursor:pointer;

    transition:.25s;

}

.signup-btn:hover{

    background:#1d4ed8;

    transform:translateY(-2px);

    box-shadow:0 10px 25px rgba(37,99,235,.35);

}

.signup-btn:active{

    transform:scale(.98);

}

.signup-btn:disabled{

    opacity:.6;

    cursor:not-allowed;

}

/* ==========================================
   DIVIDER
========================================== */

.divider{

    text-align:center;

    margin:28px 0 18px;

}

.divider span{

    color:#8fa0b8;

    font-size:14px;

}

/* ==========================================
   LOGIN LINK
========================================== */

.login-link{

    display:block;

    text-align:center;

    color:#3b82f6;

    font-weight:700;

    transition:.25s;

}

.login-link:hover{

    color:#60a5fa;

}

/* ==========================================
   LOADING OVERLAY
========================================== */

.loading-overlay{

    position:fixed;

    inset:0;

    background:rgba(7,10,17,.82);

    display:none;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    z-index:9999;

}

.loading-overlay.active{

    display:flex;

}

.loading-overlay p{

    margin-top:20px;

    color:#fff;

    font-size:15px;

}

/* ==========================================
   LOADER
========================================== */

.loader{

    width:60px;

    height:60px;

    border:5px solid rgba(255,255,255,.18);

    border-top:5px solid #2563eb;

    border-radius:50%;

    animation:spin .9s linear infinite;

}

/* ==========================================
   TOAST
========================================== */

.toast{

    position:fixed;

    right:20px;

    bottom:25px;

    min-width:260px;

    max-width:340px;

    background:#111827;

    color:#fff;

    padding:16px 18px;

    border-radius:12px;

    border-left:5px solid #2563eb;

    box-shadow:0 18px 35px rgba(0,0,0,.35);

    opacity:0;

    visibility:hidden;

    transform:translateY(20px);

    transition:.3s;

    z-index:99999;

}

.toast.show{

    opacity:1;

    visibility:visible;

    transform:translateY(0);

}

.toast.success{

    border-left-color:#22c55e;

}

.toast.error{

    border-left-color:#ef4444;

}

/* ==========================================
   ANIMATIONS
========================================== */

@keyframes spin{

    from{

        transform:rotate(0deg);

    }

    to{

        transform:rotate(360deg);

    }

}

/* ==========================================
   RESPONSIVE
========================================== */

@media(max-width:768px){

    .page{

        padding:25px 16px;

    }

    .signup-card{

        padding:30px 22px;

        border-radius:18px;

    }

    .logo{

        width:60px;

        height:60px;

    }

    .logo-area h1{

        font-size:28px;

    }

    .logo-area p{

        font-size:14px;

    }

    .input-group input{

        height:54px;

        font-size:14px;

    }

    .signup-btn{

        height:54px;

        font-size:15px;

    }

}

@media(max-width:480px){

    .signup-card{

        padding:24px 18px;

    }

    .logo-area h1{

        font-size:24px;

    }

    .logo{

        width:54px;

        height:54px;

    }

    .toast{

        left:15px;

        right:15px;

        min-width:auto;

        max-width:none;

    }

                     }
