* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Jost', sans-serif;
}
body {
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f0f4f8;
    overflow: hidden;
    position: fixed;
}

/* Abstract Background Elements */
.blob {
    position: absolute;
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: animateBlob 20s infinite alternate;
}

.blob1 {
    width: 450px;
    height: 450px;
    top: -100px;
    left: -150px;
}

.blob2 {
    width: 350px;
    height: 350px;
    bottom: -50px;
    right: -100px;
    background: linear-gradient(135deg, #fbc2eb, #a6c1ee);
    animation-delay: -5s;
}

@keyframes animateBlob {
    0% { transform: scale(1) translate(0, 0); }
    50% { transform: scale(1.1) translate(50px, 50px); }
    100% { transform: scale(0.9) translate(-50px, -50px); }
}

.login-wrapper {
    display: flex;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
    overflow: hidden;
    width: 900px;
    max-width: 100vw;
    height: 500px;
    z-index: 10;
    animation: slideUp 1s ease forwards;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(100px); }
    to { opacity: 1; transform: translateY(0); }
}

.login-info {
    flex: 1;
    background: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.login-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 800;
    position: relative;
    z-index: 2;
}

.login-info p {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

.login-form {
    flex: 1;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: white;
}

.login-form h3 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 30px;
}

.form-control {
    margin-bottom: 25px;
    position: relative;
}

.form-control input {
    width: 100%;
    padding: 15px 20px;
    background: #f4f7f6;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 1rem;
    color: #333;
    outline: none;
    transition: all 0.3s ease;
}

.form-control input:focus {
    background: white;
    border: 1px solid #0072ff;
    box-shadow: 0 5px 15px rgba(0, 114, 255, 0.1);
    transform: translateY(-2px);
}

.btn-login {
    width: 100%;
    padding: 15px;
    background: #0072ff;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 114, 255, 0.2);
}

.btn-login:hover {
    background: #0056e0;
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(0, 114, 255, 0.3);
}

.links {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    font-size: 0.95rem;
}

.links a {
    color: #666;
    text-decoration: none;
    transition: 0.3s;
}

.links a:hover {
    color: #0072ff;
}

@media (max-width: 768px) {
    body {
        padding: 0;
        height: 100vh;
        width: 100vw;
        display: flex;
        justify-content: center;
        align-items: center;
        position: fixed;
        overflow: hidden;
    }
    .login-wrapper {
        flex-direction: column;
        height: 95vh;
        width: 95vw;
        border-radius: 20px;
        margin: auto;
    }
    .login-info {
        padding: 20px 15px;
        text-align: center;
        flex: 0.4;
    }
    .login-info h2 {
        font-size: 1.6rem;
        margin-bottom: 10px;
    }
    .login-info p {
        font-size: 0.95rem;
    }
    .login-form {
        padding: 25px 20px;
        flex: 0.6;
        justify-content: center;
    }
    .login-form h3 {
        font-size: 1.4rem;
        margin-bottom: 15px;
        text-align: center;
    }
    .form-control {
        margin-bottom: 15px;
    }
    .form-control input {
        padding: 10px 15px;
        font-size: 16px; /* Prevents auto-zoom on iOS */
    }
    .btn-login {
        padding: 12px;
        font-size: 1rem;
    }
    .blob1 { width: 200px; height: 200px; top: -50px; left: -50px; }
    .blob2 { width: 150px; height: 150px; bottom: -20px; right: -20px; }
}
