html, body {
    margin: 0;
    padding: 0;
    font-family: Segoe UI, sans-serif;
}

.login-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    background: #f4efe5;
}

.login-left {
    background: linear-gradient(135deg,#16542c,#21743f);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.brand-box {
    text-align: center;
    max-width: 600px;
}

.hostel-sketch {
    width: 100%;
    max-width: 500px;
    border-radius: 24px;
    margin-bottom: 25px;
}

.brand-box h1 {
    font-size: 56px;
    margin: 0;
}

.brand-lockup {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 28px;
}

.brand-mark {
    width: 66px;
    height: 66px;
    filter: drop-shadow(0 8px 18px rgba(0,0,0,.28));
}

.brand-word {
    font-size: 46px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -1px;
}

.brand-box h2 {
    color: #e8d9b7;
    margin-top: 10px;
}

.login-right {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.login-card {
    width: 100%;
    max-width: 450px;
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0,0,0,.15);
}

.form-group {
    margin-bottom: 20px;
}

    .form-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: 600;
    }

    .form-group input {
        width: 100%;
        height: 50px;
        border: 1px solid #ccc;
        border-radius: 12px;
        padding: 0 15px;
        box-sizing: border-box;
    }

.login-button {
    width: 100%;
    height: 54px;
    border: none;
    border-radius: 12px;
    background: #21743f;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.rfid-button {
    width: 100%;
    height: 50px;
    margin-top: 15px;
    border-radius: 12px;
    border: 1px dashed #21743f;
    background: white;
}

.bio-button {
    width: 100%;
    height: 58px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #16542c, #21743f);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

    .bio-button svg {
        width: 26px;
        height: 26px;
    }

.link-btn {
    width: 100%;
    background: none;
    border: none;
    color: #21743f;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    padding: 12px;
    margin-top: 8px;
}

    .link-btn:hover {
        text-decoration: underline;
    }

.message {
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 10px;
}
.login-input {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 14px;
}
    .message.error {
        background: #ffe5e5;
        color: darkred;
    }

.version {
    text-align: center;
    margin-top: 20px;
    color: gray;
}

@media (max-width: 900px) {
    .login-page {
        grid-template-columns: 1fr;
    }
}
