/* ============================================================
 * Custom CSS — Beego Master Project
 * File ini adalah satu-satunya custom CSS yang diizinkan.
 * Untuk page normal (layout _base.html), WAJIB pakai Metronic classes.
 * Custom CSS hanya untuk halaman STANDALONE (login, dll).
 * ============================================================ */

/* ============================================================
 * Auth / Login Page
 * ============================================================ */
.auth-body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #071437;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.login-card {
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 420px;
    padding: 40px 36px;
    margin: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
}
.login-logo {
    text-align: center;
    margin-bottom: 28px;
}
.login-logo .brand {
    font-size: 26px;
    font-weight: 800;
    color: #071437;
    text-decoration: none;
}
.login-logo p {
    font-size: 13px;
    color: #99A1B7;
    margin: 6px 0 0;
}
.login-title {
    text-align: center;
    margin-bottom: 24px;
}
.login-title h1 {
    font-size: 22px;
    font-weight: 700;
    color: #071437;
    margin: 0 0 4px;
}
.login-title p {
    font-size: 13px;
    color: #99A1B7;
    margin: 0;
}
.login-input {
    position: relative;
    margin-bottom: 16px;
}
.login-input i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #B5B5C3;
    font-size: 18px;
}
.login-input input {
    width: 100%;
    padding: 12px 14px 12px 44px;
    border: 1.5px solid #E1E3EA;
    border-radius: 10px;
    font-size: 14px;
    outline: none;
    transition: border .2s;
    background: #FAFAFA;
    box-sizing: border-box;
}
.login-input input:focus {
    border-color: #1B84FF;
    background: #fff;
}
.login-input input::placeholder {
    color: #B5B5C3;
}
.login-btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 10px;
    background: #071437;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
    margin-top: 4px;
}
.login-btn:hover { background: #1B2559; }
.login-btn:active { transform: scale(.99); }
.login-btn.loading { opacity: .7; pointer-events: none; }
.login-error {
    background: #FFF5F8;
    border: 1px solid #F1416C;
    color: #F1416C;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13px;
    margin-bottom: 16px;
    text-align: center;
}
.login-success {
    background: #E8FFF3;
    border: 1px solid #17C653;
    color: #0BB746;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13px;
    margin-bottom: 16px;
    text-align: center;
}
.login-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    color: #99A1B7;
}
.login-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 16px;
    font-size: 12px;
}
.login-links a { color: #B5B5C3; text-decoration: none; }
.login-links a:hover { color: #1B84FF; }
.login-copy {
    text-align: center;
    margin-top: 24px;
    font-size: 11px;
    color: #B5B5C3;
}

/* ============================================================
 * Sidebar Layout (Halaman Standalone dengan sidebar)
 * ============================================================ */
.billing-sidebar { width: 250px; min-height: 100vh; position: fixed; left: 0; top: 0; z-index: 50; }
.billing-main { margin-left: 250px; min-height: 100vh; }
@media (max-width: 991px) {
    .billing-sidebar { display: none !important; }
    .billing-sidebar.show { display: flex !important; }
    .billing-main { margin-left: 0; }
}
