/** Hash Configs **/
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200;300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Handlee&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300..700&family=Poppins:wght@100;300&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');


body {
    margin: 0;
    padding: 0;
    font-family: "Montserrat", sans-serif;
    background: linear-gradient(135deg, #a78bfa 0%, #7c3aed 50%, #6d28d9 100%);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Two-column card */
.login_page {
    display: flex;
    width: 100%;
    max-width: 1000px;
    margin: 20px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
}

/* Left visual panel */
.auth-visual {
    flex: 0.9;
    background: linear-gradient(135deg, #a78bfa 0%, #7c3aed 50%, #6d28d9 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 50px;
    color: white;
    text-align: center;
}

.auth-visual h2 {
    font-size: 36px;
    margin: 16px 0 0;
    color: white;
}

.auth-visual p {
    font-size: 1.6rem;
    opacity: 0.9;
    max-width: 260px;
    line-height: 1.5;
    margin-top: 8px;
}

/* Logo image */
.logo img {
    width: 200px;
}

/* Right form panel */
.auth-right {
    flex: 1.1;
    background: white;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-right h2 {
    font-size: 34px;
    color: #222;
    font-weight: 700;
    margin: 0 0 10px;
}

/* Inputs */
.user_field {
    gap: 14px;
}

.input_field label {
    font-size: 14px;
    font-weight: 500;
    color: #444;
    margin-top: 10px;
}

.user_field input[type="text"],
.user_field input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    border-radius: 10px;
    border: 1px solid transparent;
    background: #f3f5ff;
    font-size: 15px;
    outline: none;
    box-sizing: border-box;
    transition: 0.2s ease;
    font-family: "Montserrat", sans-serif;
}

.user_field input:focus {
    border-color: #7c3aed;
    background: white;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.08);
}

/* Error label */
#error {
    background: #ffebee;
    color: #d32f2f;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    margin-top: 6px;
}

/* Submit button */
.sign_btn button {
    width: 100%;
    padding: 14px;
    background: #7B4DFF;
    color: white;
    font-size: 17px;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    margin-top: 28px;
    transition: background 0.2s;
    font-family: "Montserrat", sans-serif;
}

.sign_btn button:hover {
    background: #693AE5;
}

/* Sign up link */
.auth-link {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #555;
}

.auth-link a {
    color: #6F3FD9;
    font-weight: 600;
    text-decoration: none;
}

/* Hide old divider */
.inner.line {
    display: none;
}

/* Responsive */
@media (max-width: 600px) {
    body {
        height: auto;
        min-height: 100vh;
        overflow: auto;
    }

    .login_page {
        flex-direction: column;
        margin: 10px;
    }

    .auth-visual {
        padding: 30px 20px;
    }

    .auth-visual h2 {
        font-size: 24px;
    }

    .auth-visual p {
        font-size: 13px;
    }

    .logo img {
        width: 110px;
    }

    .auth-right {
        padding: 30px 20px;
    }

    .auth-right h2 {
        font-size: 24px;
    }

    .sign_btn button {
        font-size: 15px;
        padding: 12px;
    }

    .auth-link {
        font-size: 13px;
    }
}