/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

body {
    min-height: 100vh;
    margin: 0;
    background: linear-gradient(135deg, #081C24, #0E5A66);

    display: flex;
    justify-content: center;
    align-items: center;

    overflow-x: hidden;
    overflow-y: auto;

    padding: 30px 0;
}

.container {
    width: 92%;
    max-width: 1200px;

    min-height: 700px;
    height: auto;

    background: rgba(255,255,255,.08);
    backdrop-filter: blur(18px);

    border-radius: 24px;
    overflow: hidden;

    display: grid;
    grid-template-columns: 1fr 1fr;

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

.login-section{
    background:#ffffff;
    padding:60px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.hero-section{
    position:relative;
    background:linear-gradient(160deg,#063843,#0C6B78);
    color:white;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:60px;
}

.hero-content{
    max-width:420px;
}

.logo h2{
    color:#0C6B78;
    font-size:30px;
    margin-bottom:45px;
}

.login-section h1{
    font-size:38px;
    margin-bottom:10px;
    color:#222;
}

.subtitle{
    color:#777;
    margin-bottom:35px;
    line-height:1.6;
}
/* ==========================
   Form
========================== */

.input-box{
    display:flex;
    flex-direction:column;
    margin-bottom:20px;
}

.input-box label{
    font-size:14px;
    font-weight:500;
    color:#333;
    margin-bottom:8px;
}

.input-box input{
    width:100%;
    padding:15px 18px;
    border:1px solid #ddd;
    border-radius:12px;
    outline:none;
    font-size:15px;
    transition:.3s;
}

.input-box input:focus{
    border-color:#0C6B78;
    box-shadow:0 0 10px rgba(12,107,120,.2);
}

.options{
    display:flex;
    justify-content:flex-end;
    margin-bottom:25px;
}

.options a{
    text-decoration:none;
    color:#0C6B78;
    font-size:14px;
    font-weight:500;
}

.login-btn{
    width:100%;
    padding:16px;
    border:none;
    border-radius:14px;
    background:linear-gradient(135deg,#0C6B78,#18C4D8);
    color:white;
    font-size:16px;
    font-weight:600;
    cursor:pointer;
    transition:.3s;
}

.login-btn:hover{
    transform:translateY(-2px);
    box-shadow:0 12px 30px rgba(24,196,216,.35);
}

.divider{
    text-align:center;
    margin:25px 0;
    color:#999;
    position:relative;
}

.divider::before,
.divider::after{
    content:"";
    position:absolute;
    width:40%;
    height:1px;
    background:#ddd;
    top:50%;
}

.divider::before{
    left:0;
}

.divider::after{
    right:0;
}

.google-btn{
    width:100%;
    padding:15px;
    border:1px solid #ddd;
    border-radius:14px;
    background:white;
    cursor:pointer;
    font-weight:600;
    transition:.3s;
}

.google-btn:hover{
    background:#f5f5f5;
}

.signup-text{
    text-align:center;
    margin-top:25px;
    color:#666;
}

.signup-text a{
    color:#0C6B78;
    text-decoration:none;
    font-weight:600;
}
/* ==========================
   Hero Section
========================== */

.hero-content h1{
    font-size:48px;
    line-height:1.2;
    margin-bottom:20px;
    font-weight:700;
}

.hero-content p{
    font-size:17px;
    color:rgba(255,255,255,.85);
    line-height:1.8;
    margin-bottom:30px;
}

.features{
    font-size:18px;
    line-height:2.2;
    color:#ffffff;
    font-weight:500;
}

.hero-content span{
    display:inline-block;
    margin-top:40px;
    color:#AEEAF2;
    font-size:14px;
}

/* Floating Glow */
.hero-section::before{
    content:"";
    position:absolute;
    width:320px;
    height:320px;
    border-radius:50%;
    background:rgba(24,196,216,.15);
    top:-80px;
    right:-80px;
    filter:blur(20px);
}

.hero-section::after{
    content:"";
    position:absolute;
    width:250px;
    height:250px;
    border-radius:50%;
    background:rgba(255,255,255,.08);
    bottom:-60px;
    left:-60px;
}

/* Animation */

.hero-content{
    animation:fadeUp .9s ease;
}

.login-section{
    animation:fadeLeft .8s ease;
}

@keyframes fadeUp{

    from{
        opacity:0;
        transform:translateY(50px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}

@keyframes fadeLeft{

    from{
        opacity:0;
        transform:translateX(-60px);
    }

    to{
        opacity:1;
        transform:translateX(0);
    }

}
@media (max-width: 900px) {

    body {
        display: block;
        min-height: 100vh;
        padding: 20px 0;
        overflow-y: auto;
    }

    .container {
        width: 94%;
        margin: 0 auto;

        display: block;

        min-height: auto;
        height: auto;

        overflow: visible;
    }

    .login-section {
        padding: 35px 25px;
    }

    .hero-section {
        display: none;
    }

    .login-section h1 {
        font-size: 30px;
    }

    .logo h2 {
        font-size: 28px;
        margin-bottom: 25px;
    }
}
.referral-status {
    display: block;
    margin-top: 6px;
    min-height: 14px;
    font-size: 9px;
}

.referral-status.valid {
    color: #4ade80;
}

.referral-status.invalid {
    color: #fb7185;
}

.input-help {
    display: block;
    margin-top: 5px;
    color: rgba(255,255,255,.38);
    font-size: 8px;
}

.input-group label span {
    color: rgba(255,255,255,.35);
    font-size: 8px;
    font-weight: 500;
}