/* ============================================================
   LOGIN.CSS — Login page layout & styles
   ============================================================ */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
}

body, html {
    height: 100%;
    background-color: #f4f7f6;
}

.container {
    display: flex;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.left-side {
    flex: 1.3;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 60px;
    color: #ffffff;
    position: relative;
}

.left-side::before {
    content: "";
    position: absolute;
    top: -20%;
    right: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
}

.brand-title {
    font-size: 38px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.brand-subtitle {
    font-size: 16px;
    color: #e0e0e0;
    font-weight: 400;
    line-height: 1.6;
    max-width: 80%;
}

.right-side {
    flex: 1;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 50px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
}

.login-box {
    width: 100%;
    max-width: 380px;
}

.login-box h2 {
    font-size: 26px;
    font-weight: 600;
    color: #1e3c72;
    margin-bottom: 8px;
}

.login-box p.instruction {
    color: #777777;
    font-size: 14px;
    margin-bottom: 35px;
}

.input-group {
    margin-bottom: 20px;
    position: relative;
}

.input-group input {
    width: 100%;
    padding: 16px 24px;
    border: 2px solid #eef2f5;
    border-radius: 12px;
    background-color: #f8fafc;
    font-size: 15px;
    color: #333333;
    outline: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.input-group input:focus {
    border-color: #2a5298;
    background-color: #ffffff;
    box-shadow: 0 5px 15px rgba(42, 82, 152, 0.1);
}

.btn-submit {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #f1c40f 0%, #f39c12 100%);
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.3);
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(243, 156, 18, 0.4);
}

.btn-submit:active {
    transform: translateY(0);
}

.error-msg {
    background-color: #fce8e6;
    color: #a80000;
    padding: 12px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 20px;
    text-align: center;
    border-left: 4px solid #a80000;
}

@media (max-width: 768px) {
    .container { flex-direction: column; }
    .left-side {
        flex: 0.5;
        padding: 30px;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    .brand-title   { font-size: 24px; }
    .brand-subtitle { font-size: 13px; max-width: 100%; }
    .right-side {
        flex: 2;
        border-radius: 0;
        padding: 30px 20px;
        justify-content: flex-start;
        padding-top: 50px;
    }
}
