/* ========================================================================
   BNB Couriers — App overrides on top of AdminLTE 3
   ======================================================================== */

:root {
    --bnb-red: #e2192f;
    --bnb-red-dark: #b71426;
}

body {
    font-family: 'Source Sans Pro', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* Brand link */
.brand-link {
    background-color: #fff !important;
}
.brand-link .brand-text {
    color: #2b2b2b !important;
    font-size: 1.4rem;
    letter-spacing: 0.5px;
}

.main-sidebar {
    background-color: #1f2937 !important;
}
.nav-sidebar .nav-link.active {
    background-color: var(--bnb-red) !important;
}

/* Cards */
.card {
    border: 1px solid #e3e6f0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    border-radius: 10px;
}
.card-header {
    background: #f8f9fc;
    border-bottom: 1px solid #e3e6f0;
    font-weight: 600;
}

/* Stat tiles for dashboard */
.stat-tile {
    border-radius: 14px;
    background: linear-gradient(135deg, #c6d8e7 0%, #b1c8df 100%);
    color: #1f2a44;
    padding: 18px 20px;
    text-align: center;
    height: 110px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 18px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    transition: transform 0.18s ease;
}
.stat-tile:hover { transform: translateY(-2px); }
.stat-tile .stat-label { font-size: 0.85rem; line-height: 1.15; }
.stat-tile .stat-value { font-size: 1.5rem; font-weight: 700; margin-top: 4px; }

.section-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 18px 0 12px;
    color: #2b2b2b;
}

/* Buttons — keep BNB red as primary accent */
.btn-bnb {
    background-color: var(--bnb-red);
    border-color: var(--bnb-red);
    color: #fff;
}
.btn-bnb:hover {
    background-color: var(--bnb-red-dark);
    border-color: var(--bnb-red-dark);
    color: #fff;
}

/* Datatable polish */
table.dataTable thead th {
    background: #f8f9fc;
    border-bottom: 2px solid #e3e6f0;
    font-weight: 600;
}
.dataTables_wrapper .dataTables_filter input {
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 4px 8px;
}

/* Login page */
.login-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4ecf3 100%);
    padding: 20px;
}
.login-card {
    width: 100%;
    max-width: 460px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.10);
    overflow: hidden;
}
.login-card .login-header {
    background: #f5f7fa;
    padding: 18px 24px;
    font-weight: 700;
    border-bottom: 1px solid #e3e6f0;
}
.login-card .login-body {
    padding: 32px 24px;
}
.login-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 22px;
}
.login-logo img { max-height: 90px; }

/* Email tag pill (Tagify default tweaks) */
.tagify {
    --tag-bg: #e9ecef;
    --tag-hover: #dee2e6;
    border-radius: 6px;
}

/* Small helpers */
.text-bnb { color: var(--bnb-red) !important; }
.bg-bnb { background-color: var(--bnb-red) !important; color: #fff; }
