.login {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    flex-wrap: wrap;

    background:
        radial-gradient(at 20% 30%, rgba(0, 180, 255, 0.25), transparent 50%),
        radial-gradient(at 80% 70%, rgba(0, 104, 209, 0.25), transparent 50%),
        #050b18;
}

.login .logo {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
}

.login .logo img {
    width: 200px;
    background: #ffffff;
    border-radius: 10px;

}

/* GLOW BACKGROUND */
.bg-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 180, 255, 0.3), transparent);
    filter: blur(120px);
    top: -100px;
    right: -100px;
}

/* CONTAINER */
.login-container {
    display: flex;
    max-width: 1000px;
    width: 100%;
    gap: 40px;
    z-index: 1;
    align-items: center;
}

/* LEFT */
.login-left {
    flex: 1;
    color: #fff;
}

.login-left h1 {
    font-size: 42px;
    margin-bottom: 10px;
}

.login-left p {
    color: #d6c2b9;
}

/* CARD */
.login-card {
    flex: 1;
    padding: 30px;
    border-radius: 20px;

    background: rgba(0, 180, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 180, 255, 0.2);

    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.login-card h2 {
    margin-bottom: 20px;
    color: #fff;
    text-align: center;
}

/* INPUT */
.input-group input {
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    border: 1px solid rgba(0, 180, 255, 0.2);
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    outline: none;
    transition: 0.3s;
}

/* Focus effect */
.input-group input:focus {
    border-color: #00B4FF;
    box-shadow: 0 0 0 2px rgba(0, 180, 255, 0.2);
}

/* Label */
.input-group label {
    background: #050b18;
    color: #94a3b8;
}

.input-group input:focus+label,
.input-group input:valid+label {
    color: #00B4FF;
}

/* OPTIONS */
.login-options {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 13px;
    /* text-align: center; */
}

.login-options a {
    color: #00B4FF;
    text-decoration: none;
}

/* ERROR */
.error {
    font-size: 12px;
    color: #ff6b6b;
}

/* BUTTON */
.btn-login {
    width: 100%;
    padding: 14px;
    border-radius: 999px;
    border: none;
    cursor: pointer;

    background: linear-gradient(135deg, #00B4FF, #0068D1);
    color: #fff;
    font-weight: 600;

    position: relative;
    transition: 0.3s;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 180, 255, 0.5);
}

/* LOADER */
.loader {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid #241711;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;

    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* SUCCESS */
#successMsg {
    margin-top: 10px;
    color: #4ade80;
}

/* SIGNUP */
.signup-text {
    margin-top: 15px;
    font-size: 14px;
    color: #ccc;
    text-align: center;
}

.signup-text a {
    color: #00B4FF;
    text-decoration: none;
}

.login-options a:hover,
.signup-text a:hover {
    text-decoration: underline;
}

/* MOBILE */
@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
        padding: 20px;
    }

    .login-left {
        text-align: center;
    }
}