/*
 * KFL LoanOS — Login Page
 * Sober, warm, clean — no clutter
 */

.login-body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Calibri, Arial, sans-serif;
    background: #eee9e0;
    min-height: 100vh;
}

.login-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ===== HEADER ===== */
.login-header {
    background: #fff;
    padding: 10px 30px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #d5cfc6;
}

.login-header .header-logo { height: 38px; margin-right: 14px; }
.login-header .header-brand { display: flex; flex-direction: column; }
.login-header .header-brand .product-name { font-size: 20px; font-weight: 700; color: #3d3530; letter-spacing: 1px; }
.login-header .header-brand .product-name .accent { color: #9b6a3c; }
.login-header .header-brand .company-name { font-size: 10px; color: #8a7e72; letter-spacing: 2px; text-transform: uppercase; }

/* ===== MAIN ===== */
.login-content {
    flex: 1;
    display: flex;
    align-items: stretch;
    background: linear-gradient(135deg, #e8e2d8 0%, #ddd6ca 100%);
}

/* ===== LEFT PANEL ===== */
.login-left {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.left-content {
    text-align: center;
    padding: 40px;
}

.left-content .left-logo {
    height: 80px;
    margin-bottom: 16px;
    opacity: 0.8;
}

.left-content .left-title {
    font-size: 36px;
    font-weight: 300;
    color: #4a4038;
    margin: 0;
    letter-spacing: 3px;
}

.left-content .left-title span {
    color: #9b7a4a;
    font-weight: 600;
}

.left-content .left-tagline {
    font-size: 11px;
    color: #8a7e72;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin: 6px 0 0 0;
}

.left-divider {
    width: 50px;
    height: 1px;
    background: #b8a890;
    margin: 24px auto;
}

.left-content .left-desc {
    font-size: 13px;
    color: #8a7e72;
    letter-spacing: 0.5px;
    margin: 0;
}

.product-description {
    margin-top: 20px;
    font-size: 13px;
    line-height: 1.7;
    color: #7a7068;
    max-width: 450px;
}

.product-description p { margin: 0 0 10px 0; }
.product-description p:last-child { margin-bottom: 0; }

/* ===== RIGHT PANEL ===== */
.login-right {
    width: 380px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: rgba(255,255,255,0.35);
    border-left: 1px solid #d5cfc6;
}

.login-form-container {
    width: 320px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    overflow: hidden;
    border: 1px solid #d5cfc6;
}

.form-header {
    background: linear-gradient(135deg, #c4a06a 0%, #b8935a 100%);
    padding: 20px 25px;
    text-align: center;
}

.form-header .form-icon { height: 40px; margin-bottom: 6px; }
.form-header h2 { margin: 0; color: #fff; font-size: 15px; font-weight: 500; letter-spacing: 0.5px; }

form#loginForm { padding: 24px; }

/* ===== FIELDS ===== */
.login-form-row { margin-bottom: 16px; }
.login-form-row label { display: block; font-size: 12px; font-weight: 600; color: #6a6058; margin-bottom: 5px; }

.login-form-row input[type="text"],
.login-form-row input[type="password"] {
    width: 100%; height: 38px; padding: 0 12px;
    background: #faf8f5; border: 1px solid #d5cfc6; border-radius: 4px;
    font-size: 14px; color: #3d3530; box-sizing: border-box;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.login-form-row input::placeholder { color: #b0a898; }
.login-form-row input:focus { border-color: #b8935a; outline: none; box-shadow: 0 0 0 2px rgba(184,147,90,0.12); }

/* ===== BUTTON ===== */
.login-btn {
    width: 100%; height: 40px;
    background: linear-gradient(135deg, #b8935a 0%, #a07840 100%);
    color: #fff; border: none; border-radius: 4px;
    font-size: 14px; font-weight: 600; cursor: pointer;
}

.login-btn:hover { background: linear-gradient(135deg, #c4a06a 0%, #b08850 100%); }

/* ===== LINKS ===== */
.login-links {
    display: flex; justify-content: space-between;
    margin-top: 14px; padding-top: 14px; border-top: 1px solid #e8e2d8;
}

.login-links a { font-size: 11px; color: #9b8060; text-decoration: none; }
.login-links a:hover { color: #7a6040; text-decoration: underline; }

/* ===== ERROR ===== */
.login-error {
    color: #a05040; font-size: 12px; margin-top: 10px;
    padding: 8px 12px; background: #faf0ee; border-radius: 4px; border-left: 3px solid #c07060;
}

/* ===== FOOTER ===== */
.login-footer {
    background: #fff; color: #8a7e72; text-align: center;
    padding: 10px; font-size: 11px; border-top: 1px solid #d5cfc6;
}

.login-footer a { color: #8a7e72; text-decoration: none; }

/* ===== HIDE LEGACY ===== */
.contentPart, .contentTopImgPart, .contentBottomImgPart,
.clientLoginTopCurvePart, .fll, .flr, .mainRightBottom,
.login-btn-img, .login-links .ppolicy, .login-links .fpword,
.login-links .sepimg { display: none; }

@media (max-width: 768px) {
    .login-content { flex-direction: column; }
    .login-right { width: 100%; border-left: none; border-top: 1px solid #d5cfc6; }
}
