/* ABA Portal — SANDBOX Green & Orange Theme */

/* Sidebar */
.main-sidebar, .main-sidebar .sidebar {
    background: #1f4d2b !important;
}
.main-sidebar .brand-link {
    background: #173d21 !important;
    border-bottom: 1px solid #2e6b3c !important;
    color: #fff !important;
}
.main-sidebar .brand-text {
    color: #fff !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em !important;
}
.nav-sidebar .nav-link {
    color: #b5dcbf !important;
    border-radius: 0 !important;
}
.nav-sidebar .nav-link:hover {
    color: #fff !important;
    background: #2e6b3c !important;
}
.nav-sidebar .nav-link.active {
    color: #fff !important;
    background: #2e6b3c !important;
    border-left: 3px solid #f59e0b !important;
}
.nav-sidebar .nav-link i {
    color: #b5dcbf !important;
}
.nav-sidebar .nav-link.active i,
.nav-sidebar .nav-link:hover i {
    color: #fff !important;
}

/* Top navbar */
.main-header.navbar {
    background: #fff !important;
    border-bottom: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06) !important;
}
.main-header .nav-link {
    color: #1f4d2b !important;
}

/* Content area */
.content-wrapper {
    background: #f1f8ef !important;
}

/* Cards */
.card {
    border: 1.5px solid #1e293b !important;
    border-radius: 10px !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06) !important;
}
.card-header {
    background: #fff !important;
    border-bottom: 1px solid #e2e8f0 !important;
    border-radius: 10px 10px 0 0 !important;
}
.card-title {
    color: #1f4d2b !important;
}

/* Buttons */
.btn-primary {
    background: #1f4d2b !important;
    border-color: #1f4d2b !important;
}
.btn-primary:hover {
    background: #2e6b3c !important;
    border-color: #2e6b3c !important;
}
.btn-info {
    background: #e07b1a !important;
    border-color: #e07b1a !important;
}

/* Tables */
.table thead th {
    background: #fff4e6 !important;
    color: #1f4d2b !important;
    border-bottom: 2px solid #e2e8f0 !important;
    font-size: 11px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
}
.table-hover tbody tr:hover {
    background: #fff1de !important;
}
.table-secondary {
    background: #e6f2e3 !important;
}

/* Footer */
.main-footer {
    background: #fff !important;
    border-top: 1px solid #e2e8f0 !important;
    color: #64748b !important;
}

/* Section cards in edit forms */
.section-card {
    border-radius: 10px !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05) !important;
}

/* Alerts */
.alert-success {
    background: #f0fdf4 !important;
    border-color: #86efac !important;
    color: #166534 !important;
}

/* Typography — Inter */
body, .nav-sidebar, .card, .table, input, select, textarea, button {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
}
body {
    font-size: 13.5px !important;
    color: #1e293b !important;
    -webkit-font-smoothing: antialiased !important;
}
h1, h2, h3, h4, h5 {
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
    color: #0f172a !important;
}
.card-title {
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0.01em !important;
}
.table {
    font-size: 13px !important;
}
.table thead th {
    font-size: 10.5px !important;
    font-weight: 600 !important;
}
.btn {
    font-family: 'Inter', sans-serif !important;
    font-weight: 500 !important;
    font-size: 12.5px !important;
    border-radius: 7px !important;
}
.nav-sidebar .nav-link {
    font-size: 13px !important;
    font-weight: 400 !important;
}
.brand-text {
    font-size: 13px !important;
    letter-spacing: 0.08em !important;
    font-weight: 700 !important;
}
.main-header {
    font-family: 'Inter', sans-serif !important;
}

/* Sandbox accents */
.main-header.navbar {
    border-bottom: 3px solid #f59e0b !important;
}
.btn-info:hover {
    background: #c96a10 !important;
    border-color: #c96a10 !important;
}
.btn-warning {
    background: #f59e0b !important;
    border-color: #f59e0b !important;
    color: #fff !important;
}
.table thead th a.text-dark {
    color: #1f4d2b !important;
}
.login-page {
    background: linear-gradient(160deg, #e3f1df 0%, #fff1de 100%) !important;
}
.login-page .login-logo a {
    color: #1f4d2b !important;
}
.login-page .btn-primary {
    background: #1f4d2b !important;
    border-color: #1f4d2b !important;
}
