/* file: assets/style.css */

/* ============================================================
   BASE
   ============================================================ */
body {
    background-color: #f4f6f9;
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 0.95rem;
}

a { text-decoration: none; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar { background-color: #1F4E79 !important; }
.navbar-brand { font-weight: 700; font-size: 1.15rem; letter-spacing: 0.3px; }
.navbar-brand i { font-size: 1.3rem; }

/* ============================================================
   CARDS
   ============================================================ */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}

.card-header {
    background-color: #1F4E79;
    color: #ffffff;
    font-weight: 600;
    border-radius: 10px 10px 0 0 !important;
    padding: 0.75rem 1.25rem;
}

.card-header a, .card-header .btn-light {
    color: #1F4E79;
}

/* ============================================================
   STAT / KPI TILES
   ============================================================ */
.stat-card {
    border-left: 5px solid #1F4E79;
    border-radius: 10px;
}

.stat-card .stat-value {
    font-size: 2.1rem;
    font-weight: 700;
    color: #1F4E79;
    line-height: 1.1;
}

.stat-card .stat-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #6c757d;
    margin-bottom: 4px;
}

/* ============================================================
   TABLES
   ============================================================ */
.table thead th {
    background-color: #f1f5fb;
    border-bottom: 2px solid #1F4E79;
    font-size: 0.83rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #1F4E79;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
    background-color: #1F4E79;
    border-color: #1F4E79;
}
.btn-primary:hover,
.btn-primary:focus {
    background-color: #174069;
    border-color: #174069;
}

/* ============================================================
   PERSONNEL PHOTO
   ============================================================ */
.personnel-photo {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #1F4E79;
}

/* ============================================================
   LOGIN PAGE
   ============================================================ */
.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1F4E79 0%, #2e75b6 100%);
}

.login-box {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border-radius: 14px;
    padding: 2.5rem 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}

.login-box .login-logo {
    text-align: center;
    margin-bottom: 1.5rem;
}

.login-box .login-logo i {
    font-size: 3rem;
    color: #1F4E79;
}

.login-box .login-logo h4 {
    color: #1F4E79;
    font-weight: 700;
    margin-top: 0.4rem;
    margin-bottom: 0.1rem;
}

/* ============================================================
   TABS
   ============================================================ */
.nav-tabs .nav-link.active {
    color: #1F4E79;
    font-weight: 600;
    border-bottom-color: #1F4E79;
}

.tab-content {
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-top: none;
    border-radius: 0 0 8px 8px;
    padding: 1.25rem;
}

/* ============================================================
   MAIN CONTENT AREA
   ============================================================ */
main.container-fluid { padding: 1.5rem; }

/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {
    .navbar,
    footer,
    .btn,
    .no-print,
    .alert { display: none !important; }

    body { background: #ffffff; font-size: 12px; }
    .card { box-shadow: none; border: 1px solid #ccc !important; }
}