*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins', sans-serif;
}

body{
    min-height: 100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    background: radial-gradient(circle at top left, rgba(34,211,238,0.16), transparent 47%),
        radial-gradient(circle at bottom right, rgba(255,0,128,0.16), transparent 50%),
        linear-gradient(135deg, #ffffff, #f1f5f9, #fdf2f8);
}

/* MAIN CONTAINER */
.main-container{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap: 5vw;
    max-width: 90%;
}

/* LEFT SIDE */
.left-section{
    flex:1;
    color:white;
}

.logo{
    width:200px;
    margin-bottom: 24px;
}

.logo img{
    width:100%;
    display:block;
}

/* HEADING */
.left-section h1{
    font-size:36px;
    line-height:1.1;
    font-weight:800;
    color: #240046;
    margin-bottom:18px;
}

/* SUB HEADING */
.left-section h2{
    font-size:20px;
    font-weight:500;
    color: #ff4da6;
    margin-bottom:25px;
}

/* DESCRIPTION */
.left-section p{
    max-width:560px;
    font-size:16px;
    line-height:1.8;
    color: #240046;
}

/* FEATURES */
.features{
    margin-top:24px;
}

.features div{
    margin-bottom:16px;
    font-size:16px;
    display:flex;
    align-items:center;
    gap:12px;
    color: #240046;
}

.features span{
    width:12px;
    height:12px;
    border-radius:50%;
    background:#ff4da6;
    box-shadow:
        0 0 10px rgba(255,77,166,0.8);
}

/* LOGIN CARD */
.login-container{
    width:420px;
    background: radial-gradient(circle at top left, rgba(124,58,237,0.25), transparent 25%),        
        radial-gradient(circle at bottom right, rgba(255,77,166,0.22), transparent 28%),        
        linear-gradient(135deg, #240046, #3c096c, #7b2cbf);
    border-radius:30px;
    backdrop-filter:blur(18px);
    border:1px solid rgba(255,255,255,0.15);
    box-shadow:
        0 20px 50px rgba(0,0,0,0.25);
}

/* LOGIN HEADER */
.login-header{
    padding: 24px;
    text-align:center;
    background:linear-gradient(135deg, rgba(124,58,237,0.25), rgba(255,77,166,0.12));
    border-bottom:1px solid rgba(255,255,255,0.1);
    border-radius: 30px 30px 0 0;
}

.login-header h2{
    color:white;
    font-size:30px;
    font-weight:800;
    margin-bottom:10px;
}

.login-header p{
    color:rgba(255,255,255,0.75);
    font-size:15px;
}

/* FORM */
.login-form{
    padding:24px;
}

/* INPUT GROUP */
.input-group{
    margin-bottom:24px;
}

.input-group label{
    display:block;
    margin-bottom:10px;
    color:white;
    font-size:15px;
    font-weight:600;
}

/* INPUTS */
.input-group input{
    width:100%;
    padding:18px 20px;
    border:none;
    outline:none;
    border-radius:18px;
    background:white;
    color:#1e293b;
    font-size:15px;
    transition:0.3s ease;
}

.input-group input::placeholder{
    color:#94a3b8;
}

/* INPUT FOCUS */
.input-group input:focus{
    box-shadow:
        0 0 0 5px rgba(255,77,166,0.25);
}

/* BUTTON */
.login-btn{
    width:100%;
    padding:18px;
    border:none;
    border-radius:18px;
    background:linear-gradient(90deg, #ff4da6, #ff66c4);
    color:white;
    font-size:20px;
    font-weight:700;
    cursor:pointer;
    transition:0.3s ease;
    box-shadow:
        0 10px 25px rgba(255,77,166,0.35);
}

.login-btn:hover{
    transform:translateY(-3px);
    box-shadow:
        0 15px 30px rgba(255,77,166,0.45);
}

/* ERROR */
.error-message{
    display:none;
    text-align:center;
    color:#ffd4e8;
    margin-top:18px;
    font-size:14px;
}

/* FOOTER */
.footer{
    padding:22px;
    text-align:center;
    color:rgba(255,255,255,0.7);
    border-top:1px solid rgba(255,255,255,0.08);
    font-size:14px;
}

/* RESPONSIVE */
@media(max-width:950px){

    body{
        height:auto;
        padding:40px 20px;
    }

    .main-container{
        flex-direction:column;
        gap:50px;
    }

    .left-section{
        text-align:center;
    }

    .left-section p{
        margin:auto;
    }

    .logo{
        margin:auto auto 30px;
    }

    .features div{
        justify-content:center;
    }
}

@media(max-width:500px){
    .login-container{
        width: 99%;
    }
}