.login {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    flex-wrap: wrap;
    background: #241711;
}

.login .logo {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.login .logo img{
    width: 300px;
    
}

/* GLOW BACKGROUND */
.bg-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #C24E2B, 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: 24px;

    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 183, 162, 0.2);

    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.login-card h2 {
    margin-bottom: 20px;
    color: #fff;
    text-align: center;
}

/* INPUT */
.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input-group input {
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 183, 162, 0.3);
    background: transparent;
    color: #fff;
    outline: none;
}

/* FLOAT LABEL */
.input-group label {
    position: absolute;
    left: 12px;
    top: 12px;
    color: #aaa;
    font-size: 14px;
    transition: 0.3s;
    background: #241711;
    padding: 0 5px;
}

.input-group input:focus+label,
.input-group input:valid+label {
    top: -8px;
    font-size: 12px;
    color: #FFB7A2;
}

/* OPTIONS */
.login-options {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 13px;
    /* text-align: center; */
}

.login-options a {
    color: #FFB7A2;
    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, #C24E2B, #FFB7A2);
    color: #241711;
    font-weight: 600;
    position: relative;
}

/* 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: #FFB7A2;
    text-decoration: none;
}

/* MOBILE */
@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
        padding: 20px;
    }

    .login-left {
        text-align: center;
    }
}