/*
|--------------------------------------------------------------------------
| JAMANA STREAMING AUTH UI
|--------------------------------------------------------------------------
| STYLE PREMIUM NETFLIX / DISNEY+ / PRIME VIDEO
|--------------------------------------------------------------------------
*/

/*
|--------------------------------------------------------------------------
| GOOGLE FONT
|--------------------------------------------------------------------------
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/*
|--------------------------------------------------------------------------
| RESET
|--------------------------------------------------------------------------
*/

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

/*
|--------------------------------------------------------------------------
| ROOT COLORS
|--------------------------------------------------------------------------
*/

:root{

    --bg:#020617;

    --card:#0f172a;

    --card-2:#111827;

    --primary:#e50914;

    --primary-hover:#ff1f2d;

    --text:#ffffff;

    --text-light:#94a3b8;

    --border:rgba(255,255,255,0.08);

    --input:#1e293b;

    --success:#16a34a;

    --danger:#dc2626;

    --shadow:0 10px 40px rgba(0,0,0,0.5);
}

/*
|--------------------------------------------------------------------------
| BODY
|--------------------------------------------------------------------------
*/

body{

    font-family:'Inter', sans-serif;

    background:linear-gradient(
        rgba(2,6,23,0.95),
        rgba(2,6,23,0.95)
    ),
    url('../img/auth-bg.jpg');

    background-size:cover;

    background-position:center;

    background-attachment:fixed;

    color:var(--text);

    min-height:100vh;

    overflow-x:hidden;
}

/*
|--------------------------------------------------------------------------
| AUTH WRAPPER
|--------------------------------------------------------------------------
*/

.auth-wrapper{

    width:100%;

    min-height:100vh;

    display:flex;

    align-items:center;

    justify-content:center;

    padding:50px 20px;

    position:relative;
}

/*
|--------------------------------------------------------------------------
| AUTH CARD
|--------------------------------------------------------------------------
*/

.auth-card{

    width:100%;

    max-width:480px;

    background:rgba(15,23,42,0.88);

    backdrop-filter:blur(20px);

    border:1px solid var(--border);

    border-radius:28px;

    padding:45px;

    box-shadow:var(--shadow);

    position:relative;

    overflow:hidden;
}

/*
|--------------------------------------------------------------------------
| GLOW EFFECT
|--------------------------------------------------------------------------
*/

.auth-card::before{

    content:"";

    position:absolute;

    top:-100px;

    right:-100px;

    width:220px;

    height:220px;

    background:rgba(229,9,20,0.15);

    border-radius:50%;

    filter:blur(80px);
}

.auth-card::after{

    content:"";

    position:absolute;

    bottom:-100px;

    left:-100px;

    width:220px;

    height:220px;

    background:rgba(56,189,248,0.12);

    border-radius:50%;

    filter:blur(80px);
}

/*
|--------------------------------------------------------------------------
| LOGO
|--------------------------------------------------------------------------
*/

.auth-logo{

    text-align:center;

    margin-bottom:35px;

    position:relative;

    z-index:2;
}

.auth-logo h1{

    font-size:38px;

    font-weight:900;

    letter-spacing:1px;

    color:white;
}

.auth-logo span{

    color:var(--primary);
}

.auth-logo p{

    color:var(--text-light);

    margin-top:12px;

    font-size:15px;

    line-height:1.6;
}

/*
|--------------------------------------------------------------------------
| TITLE
|--------------------------------------------------------------------------
*/

.auth-title{

    margin-bottom:30px;

    text-align:center;

    position:relative;

    z-index:2;
}

.auth-title h2{

    font-size:32px;

    font-weight:800;

    margin-bottom:10px;
}

.auth-title p{

    color:var(--text-light);

    font-size:15px;
}

/*
|--------------------------------------------------------------------------
| FORM
|--------------------------------------------------------------------------
*/

.auth-form{

    position:relative;

    z-index:2;
}

/*
|--------------------------------------------------------------------------
| FORM GROUP
|--------------------------------------------------------------------------
*/

.form-group{

    margin-bottom:22px;
}

.form-group label{

    display:block;

    margin-bottom:10px;

    font-size:14px;

    font-weight:600;

    color:#e2e8f0;
}

/*
|--------------------------------------------------------------------------
| INPUT WRAPPER
|--------------------------------------------------------------------------
*/

.input-group{

    position:relative;
}

/*
|--------------------------------------------------------------------------
| INPUT ICON
|--------------------------------------------------------------------------
*/

.input-group i{

    position:absolute;

    top:50%;

    left:18px;

    transform:translateY(-50%);

    color:#64748b;

    font-size:16px;
}

/*
|--------------------------------------------------------------------------
| INPUT
|--------------------------------------------------------------------------
*/

.form-control{

    width:100%;

    height:58px;

    border:none;

    outline:none;

    border-radius:16px;

    background:rgba(30,41,59,0.9);

    border:1px solid transparent;

    padding:0 18px 0 52px;

    color:white;

    font-size:15px;

    transition:0.3s ease;
}

.form-control:focus{

    border-color:var(--primary);

    background:#1e293b;

    box-shadow:0 0 0 4px rgba(229,9,20,0.15);
}

.form-control::placeholder{

    color:#64748b;
}

/*
|--------------------------------------------------------------------------
| PASSWORD TOGGLE
|--------------------------------------------------------------------------
*/

.password-toggle{

    position:absolute;

    top:50%;

    right:18px;

    transform:translateY(-50%);

    color:#94a3b8;

    cursor:pointer;

    font-size:15px;
}

/*
|--------------------------------------------------------------------------
| OPTIONS
|--------------------------------------------------------------------------
*/

.auth-options{

    display:flex;

    align-items:center;

    justify-content:space-between;

    margin-bottom:25px;

    gap:15px;
}

.remember{

    display:flex;

    align-items:center;

    gap:10px;

    font-size:14px;

    color:var(--text-light);
}

.remember input{

    accent-color:var(--primary);
}

.forgot-link{

    color:#38bdf8;

    text-decoration:none;

    font-size:14px;

    transition:0.3s;
}

.forgot-link:hover{

    color:white;
}

/*
|--------------------------------------------------------------------------
| BUTTON
|--------------------------------------------------------------------------
*/

.auth-btn{

    width:100%;

    height:58px;

    border:none;

    border-radius:16px;

    background:linear-gradient(
        135deg,
        var(--primary),
        #ff4d4d
    );

    color:white;

    font-size:16px;

    font-weight:700;

    cursor:pointer;

    transition:0.3s ease;

    box-shadow:
    0 10px 25px rgba(229,9,20,0.35);
}

.auth-btn:hover{

    transform:translateY(-2px);

    background:linear-gradient(
        135deg,
        var(--primary-hover),
        #ff5c5c
    );

    box-shadow:
    0 15px 35px rgba(229,9,20,0.45);
}

/*
|--------------------------------------------------------------------------
| DIVIDER
|--------------------------------------------------------------------------
*/

.auth-divider{

    display:flex;

    align-items:center;

    margin:30px 0;

    color:#64748b;

    font-size:14px;
}

.auth-divider::before,
.auth-divider::after{

    content:"";

    flex:1;

    height:1px;

    background:var(--border);
}

.auth-divider span{

    margin:0 15px;
}

/*
|--------------------------------------------------------------------------
| SOCIAL LOGIN
|--------------------------------------------------------------------------
*/

.social-auth{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:15px;
}

.social-btn{

    height:55px;

    border-radius:16px;

    border:1px solid var(--border);

    background:rgba(255,255,255,0.03);

    display:flex;

    align-items:center;

    justify-content:center;

    gap:10px;

    color:white;

    text-decoration:none;

    transition:0.3s;
}

.social-btn:hover{

    background:rgba(255,255,255,0.08);

    transform:translateY(-2px);
}

/*
|--------------------------------------------------------------------------
| FOOTER LINKS
|--------------------------------------------------------------------------
*/

.auth-footer{

    text-align:center;

    margin-top:30px;

    color:var(--text-light);

    font-size:14px;
}

.auth-footer a{

    color:#38bdf8;

    text-decoration:none;

    font-weight:600;
}

.auth-footer a:hover{

    color:white;
}

/*
|--------------------------------------------------------------------------
| ALERTS
|--------------------------------------------------------------------------
*/

.alert{

    padding:16px 18px;

    border-radius:16px;

    margin-bottom:25px;

    font-size:14px;

    font-weight:500;

    border:1px solid transparent;
}

.alert-success{

    background:rgba(22,163,74,0.12);

    color:#bbf7d0;

    border-color:rgba(22,163,74,0.25);
}

.alert-error{

    background:rgba(220,38,38,0.12);

    color:#fecaca;

    border-color:rgba(220,38,38,0.25);
}

/*
|--------------------------------------------------------------------------
| AUTH HERO SIDE
|--------------------------------------------------------------------------
*/

.auth-hero{

    display:none;
}

/*
|--------------------------------------------------------------------------
| RESPONSIVE
|--------------------------------------------------------------------------
*/

@media(max-width:768px){

    .auth-card{

        padding:35px 25px;

        border-radius:24px;
    }

    .auth-title h2{

        font-size:28px;
    }

    .auth-logo h1{

        font-size:30px;
    }

    .social-auth{

        grid-template-columns:1fr;
    }
}

/*
|--------------------------------------------------------------------------
| SMALL MOBILE
|--------------------------------------------------------------------------
*/

@media(max-width:480px){

    .auth-wrapper{

        padding:20px;
    }

    .auth-card{

        padding:28px 20px;
    }

    .form-control{

        height:54px;
    }

    .auth-btn{

        height:54px;
    }
}

/*
|--------------------------------------------------------------------------
| ANIMATION
|--------------------------------------------------------------------------
*/

.auth-card{

    animation:fadeUp 0.7s ease;
}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(40px);
    }

    to{

        opacity:1;

        transform:translateY(0);
    }
}

    padding-left:70px;
    border-radius:18px;
}

/* ICON */

.input-box span{
    left:25px;
    font-size:22px;
}

/* BUTTON */

.auth-btn{
    width:100%;
    height:75px;
    font-size:20px;
    border-radius:18px;
}

/* MOBILE */

@media(max-width:768px){

    .auth-card{
        padding:30px 20px;
    }

    .input-box input{
        height:65px;
        font-size:17px;
    }

    .auth-btn{
        height:65px;
        font-size:17px;
    }

}