/* ======================================================
   SEVABHARATHI ADMIN THEME
   ====================================================== */

/* ---------- Brand Logo Area ---------- */

.brand-link {
    background: #ffffff !important;
    border-bottom: 3px solid #F57C00;
    height: 85px !important;
    padding: 5px !important;
    text-align: center;
}

.brand-link .brand-image {
    float: none !important;
    margin: 0 auto !important;
    max-height: 70px !important;
    width: auto !important;
    opacity: 1 !important;
}

.brand-link .brand-text {
    display: none !important;
}

/* ---------- Sidebar ---------- */

.main-sidebar {
    background-color: #1E40AF !important;
}

.sidebar-dark-primary .nav-sidebar > .nav-item > .nav-link {
    color: #ffffff !important;
    border-radius: 6px;
    margin: 2px 8px;
}

.sidebar-dark-primary .nav-sidebar > .nav-item > .nav-link.active {
    background-color: #F57C00 !important;
    color: #ffffff !important;
}

.sidebar-dark-primary .nav-sidebar > .nav-item > .nav-link:hover {
    background-color: #42A5F5 !important;
    color: #ffffff !important;
}

.sidebar-dark-primary .nav-treeview > .nav-item > .nav-link {
    color: #dbeafe !important;
}

.sidebar-dark-primary .nav-treeview > .nav-item > .nav-link.active {
    background-color: #F57C00 !important;
}

/* ---------- Navbar ---------- */

.main-header.navbar {
    background-color: #F57C00 !important;
    border-bottom: none !important;
}

.main-header .nav-link {
    color: #ffffff !important;
}

.main-header .nav-link:hover {
    color: #ffffff !important;
}

/* ---------- Content ---------- */

.content-wrapper {
    background: #f4f6f9 !important;
}

/* ---------- Cards ---------- */

.card {
    border-radius: 10px;
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,.075);
}

.card-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    font-weight: 600;
}

/* ---------- Dashboard Widgets ---------- */

.small-box {
    border-radius: 12px;
}

.small-box .icon {
    opacity: .25;
}

/* ---------- Buttons ---------- */

.btn-primary {
    background-color: #1E40AF !important;
    border-color: #1E40AF !important;
}

.btn-primary:hover {
    background-color: #18368d !important;
    border-color: #18368d !important;
}

.btn-warning {
    background-color: #F57C00 !important;
    border-color: #F57C00 !important;
    color: #fff !important;
}

.btn-warning:hover {
    background-color: #e56f00 !important;
    border-color: #e56f00 !important;
}

.btn-success {
    background-color: #2E7D32 !important;
    border-color: #2E7D32 !important;
}

.btn-danger {
    background-color: #d32f2f !important;
    border-color: #d32f2f !important;
}

/* ---------- Tables ---------- */

.table thead th {
    background: #f8fafc;
    color: #1A237E;
    font-weight: 600;
}

.table-bordered th,
.table-bordered td {
    border-color: #dee2e6;
}

/* ---------- Forms ---------- */

.form-control:focus {
    border-color: #F57C00;
    box-shadow: 0 0 0 .2rem rgba(245,124,0,.15);
}

.select2-container--default .select2-selection--single {
    border-radius: 4px;
    border: 1px solid #ced4da;
}

.select2-container--default.select2-container--focus
.select2-selection--single {
    border-color: #F57C00 !important;
}

/* ---------- Login Page ---------- */

.login-page,
.register-page {
    background: linear-gradient(
        135deg,
        #1E40AF 0%,
        #42A5F5 100%
    );
}

.login-box,
.register-box {
    width: 420px;
}

.login-logo {
    margin-bottom: 20px;
}

.login-logo img {
    max-width: 320px;
    height: auto;
}

.login-card-body,
.register-card-body {
    border-radius: 12px;
}

/* ---------- Footer ---------- */

.main-footer {
    background: #ffffff;
    border-top: 1px solid #dee2e6;
    color: #6b7280;
}

/* ---------- Report Pages ---------- */

.report-summary-card {
    border-left: 4px solid #F57C00;
}

/* ---------- Scrollbar ---------- */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #1E40AF;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #18368d;
}

.main-footer {
    background: #ffffff;
    border-top: 1px solid #dee2e6;
    color: #6c757d;
    font-size: 13px;
}

.main-footer strong {
    color: #1E40AF;
}

/* Parent Menu */
.nav-sidebar > .nav-item > .nav-link {
    font-weight: 600;
    border-radius: 6px;
}

/* Submenu Container */
.nav-treeview {
    border-left: 2px solid rgba(255,255,255,.20);
    margin-left: 18px;
    padding-left: 10px;
}

/* Submenu Items */
.nav-treeview .nav-link {
    font-size: 14px;
    font-weight: 400;
}