* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #f0f2f5;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Background Decoration */
.background-circles {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.circle-1 {
    width: 400px;
    height: 400px;
    background: #0d6efd24;
    top: -100px;
    left: -100px;
}

.circle-2 {
    width: 300px;
    height: 300px;
    background: #6610f224;
    bottom: -50px;
    right: -50px;
}

.login-wrapper {
    width: 100%;
    max-width: 1000px;
    padding: 20px;
}

.container {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    display: flex;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    min-height: 550px;
}

/* Branding Side */
.branding-content {
    flex: 1;
    background: linear-gradient(135deg, #0d6efd 0%, #6610f2 100%);
    padding: 60px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.text-sci h2 {
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.text-sci p {
    font-weight: 300;
    opacity: 0.9;
}

/* Form Side */
.form-section {
    flex: 1;
    padding: 60px;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-box h2 {
    font-size: 28px;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.subtitle {
    color: #6c757d;
    margin-bottom: 30px;
    font-size: 14px;
}

.input-box {
    position: relative;
    width: 100%;
    height: 50px;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 30px;
    transition: 0.3s;
}

.input-box:focus-within {
    border-bottom-color: #0d6efd;
}

.input-box input {
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    outline: none;
    font-size: 16px;
    color: #333;
    padding: 0 35px 0 5px;
}

.input-box label {
    position: absolute;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    color: #999;
    pointer-events: none;
    transition: 0.3s;
}

.input-box input:focus ~ label,
.input-box input:valid ~ label {
    top: -5px;
    font-size: 12px;
    color: #0d6efd;
}

.input-box i {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 20px;
}

.forgot-pass {
    text-align: right;
    margin-bottom: 25px;
}

.forgot-pass a {
    color: #0d6efd;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
}

.login-btn {
    width: 100%;
    height: 50px;
    background: #0d6efd;
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 10px 15px -3px rgba(13, 110, 253, 0.3);
}

.login-btn:hover {
    background: #0b5ed7;
    transform: translateY(-2px);
}

.error-msg {
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
    color: #dc3545;
}

/* RESPONSIVE DESIGN */
@media (max-width: 850px) {
    .container {
        flex-direction: column;
    }
    .branding-content {
        padding: 40px;
        text-align: center;
    }
    .logo { justify-content: center; }
    .form-section {
        padding: 40px 30px;
    }
}