/* ============================================================
 * 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 (WIDYRA brand: navy #07172E, gold #C5A05A)
 * ============================================================ */
.auth-body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #07172E;
    font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.login-shell {
    width: 100%;
    max-width: 440px;
    padding: 24px 16px;
    box-sizing: border-box;
}
.login-card {
    background: #FAF7F0;
    border-radius: 16px;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 36px 32px 28px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
    box-sizing: border-box;
    overflow: hidden;
}
.login-logo {
    text-align: center;
    margin-bottom: 28px;
}
.login-logo .brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #07172E;
}
.login-mark {
    display: block;
    width: 64px;
    height: 64px;
    object-fit: contain;
}
.login-wordmark {
    display: block;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.28em;
    color: #07172E;
    line-height: 1.2;
    padding-left: 0.28em; /* optical balance for letter-spacing */
}
.login-slogan {
    font-size: 13px;
    color: #687385;
    margin: 10px 0 0;
    line-height: 1.4;
}
.login-title {
    text-align: center;
    margin-bottom: 22px;
}
.login-title h1 {
    font-size: 20px;
    font-weight: 700;
    color: #07172E;
    margin: 0 0 6px;
}
.login-title p {
    font-size: 13px;
    color: #687385;
    margin: 0;
    line-height: 1.45;
}
.login-field {
    margin-bottom: 14px;
}
.login-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #07172E;
    margin-bottom: 6px;
}
.login-input {
    position: relative;
}
.login-input > i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #99A1B7;
    font-size: 18px;
    pointer-events: none;
}
.login-input input {
    width: 100%;
    padding: 12px 44px 12px 44px;
    border: 1.5px solid #E5DED1;
    border-radius: 10px;
    font-size: 14px;
    outline: none;
    transition: border-color .2s, background .2s;
    background: #FFFFFF;
    color: #07172E;
    box-sizing: border-box;
}
.login-input input:focus {
    border-color: #C5A05A;
    background: #fff;
}
.login-input input::placeholder {
    color: #B5B5C3;
}
.login-eye {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    padding: 6px;
    cursor: pointer;
    color: #99A1B7;
    line-height: 1;
}
.login-eye:hover {
    color: #07172E;
}
.login-btn {
    width: 100%;
    padding: 13px 16px;
    border: none;
    border-radius: 10px;
    background: #07172E;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s, transform .1s;
    margin-top: 8px;
}
.login-btn:hover {
    background: #102A4D;
}
.login-btn:active {
    transform: scale(0.99);
}
.login-btn.loading {
    opacity: 0.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: 14px;
    text-align: center;
}
.login-success {
    background: #E8FFF3;
    border: 1px solid #17C653;
    color: #0BB746;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13px;
    margin-bottom: 14px;
    text-align: center;
}
.login-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    color: #687385;
    line-height: 1.4;
}
.login-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    font-size: 12px;
    flex-wrap: wrap;
}
.login-links a {
    color: #C5A05A;
    text-decoration: none;
    font-weight: 600;
}
.login-links a:hover {
    color: #07172E;
    text-decoration: underline;
}
.login-dot {
    color: #B5B5C3;
}
.login-copy {
    text-align: center;
    margin-top: 20px;
    font-size: 11px;
    color: #99A1B7;
}

/* ============================================================
 * 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; }
}

/* ============================================================
 * Widyra Brand Guide (halaman Informasi Pengelola)
 * Palette resmi Brand Guideline v1.0 / 2026
 * ============================================================ */
.widyra-brand-hero {
    background: #07172E;
    border-radius: 0.75rem;
    padding: 2.5rem 2rem;
}
.widyra-brand-hero-title {
    color: #ffffff;
    font-weight: 800;
    letter-spacing: 0.12em;
    font-size: 2rem;
    line-height: 1.2;
    margin: 0 0 0.75rem;
}
.widyra-brand-hero-sub {
    color: #C5A05A;
    font-size: 1.05rem;
    font-weight: 500;
    margin: 0;
}
.widyra-brand-hero-meta {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.8rem;
    margin-top: 1.25rem;
}
.widyra-swatch {
    height: 88px;
    border-radius: 0.5rem;
    border: 1px solid rgba(7, 23, 46, 0.08);
}
.widyra-swatch-navy { background: #07172E; }
.widyra-swatch-gold { background: #C5A05A; }
.widyra-swatch-ivory { background: #FAF7F0; border-color: #E6E0D4; }
.widyra-swatch-white { background: #FFFFFF; border-color: #E1E3EA; }
.widyra-tone-bar {
    width: 4px;
    min-height: 100%;
    border-radius: 2px;
    background: #C5A05A;
    flex-shrink: 0;
}
.widyra-logo-preview {
    background: #FAF7F0;
    border: 1px solid #E6E0D4;
    border-radius: 0.75rem;
    padding: 2rem 1.5rem;
    text-align: center;
}
.widyra-logo-preview img {
    max-height: 56px;
    width: auto;
    max-width: 100%;
}
.widyra-do-list li,
.widyra-dont-list li {
    margin-bottom: 0.65rem;
}
.widyra-section-label {
    color: #C5A05A;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
