/* ============================= */
/* GLOBAL BACKGROUND */
/* ============================= */

.logo {
    line-height: 1;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.logo-main {
    color: #FFFFFF;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 2px;
}

.logo-sub {
    display: block;
    color: #BFD7FF;
    font-size: 12px;
    letter-spacing: 4px;
    font-weight: 600;
}

/* ===================================================== */
/* GLOBAL */
/* ===================================================== */

body {
    background-color: #f4f6f9;
    margin: 0;
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    color: #374151;
}

/* ===================================================== */
/* HEADER */
/* ===================================================== */

header {
    background: #6b7280;
    color: #ffffff;
    padding: 12px 25px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

/* ===================================================== */
/* SIDEBAR */
/* ===================================================== */

.sidebar {
    min-height: 100vh;
    background-color: #f4f6f9;   /* same as body */
    border-right: 1px solid #e5e7eb;
    padding-top: 15px;
}

/* Sidebar links */
.sidebar a {
    color: #374151;
    text-decoration: none;
    display: block;
    padding: 8px 18px;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.2s ease;
}

.sidebar a:hover {
    background-color: #e5e7eb;
    color: #111827;
}

.sidebar a.active {
    background-color: #e5e7eb;
    font-weight: 600;
}

/* Main menu title */
.sidebar .menu-title > a {
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.6px;
    font-weight: 600;
    color: #111827;
    padding: 6px 18px;
    position: relative;
}

/* Collapse arrow */
.sidebar .menu-title > a::after {
    content: "▾";
    position: absolute;
    right: 18px;
    font-size: 12px;
    transition: transform 0.2s ease;
    color: #6b7280;
}

.sidebar .menu-title > a.collapsed::after {
    transform: rotate(-90deg);
}

.sidebar .collapse,
.sidebar .collapsing {
    padding-left: 12px;
}

.sidebar .collapse a,
.sidebar .collapsing a {
    padding: 6px 18px;
    font-size: 13px;
}



/* ===================================================== */
/* CONTENT AREA */
/* ===================================================== */

.content-area {
    padding: 30px;
    background-color: #f4f6f9;
}

.content-wrapper {
    background: #f4f6f9;
    padding: 25px;
    min-height: 80vh;
}

/* ===================================================== */
/* BUTTONS - NEUTRAL STYLE */
/* ===================================================== */

.btn {
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s ease;
}

/* All solid buttons unified */
.btn-primary,
.btn-success,
.btn-danger,
.btn-warning,
.btn-info {
    background-color: #6b7280 !important;
    border-color: #6b7280 !important;
    color: #ffffff !important;
}

/* Outline buttons */
.btn-outline-primary,
.btn-outline-success,
.btn-outline-danger,
.btn-outline-warning,
.btn-outline-secondary {
    border-color: #6b7280 !important;
    color: #374151 !important;
}

/* Hover effect */
.btn:hover,
.btn-outline-primary:hover,
.btn-outline-success:hover,
.btn-outline-danger:hover,
.btn-outline-warning:hover,
.btn-outline-secondary:hover {
    background-color: #e5e7eb !important;
    border-color: #d1d5db !important;
    color: #111827 !important;
}

/* Focus effect */
.btn:focus {
    box-shadow: 0 0 0 0.15rem rgba(156,163,175,0.3) !important;
}

/* ===================================================== */
/* TABLE */
/* ===================================================== */

.table {
    background-color: #ffffff;
    border-radius: 6px;
}

.table tbody tr {
    transition: background-color 0.2s ease;
}

.table tbody tr:hover {
    background-color: #e5e7eb;
}

/* ===================================================== */
/* LIST GROUP */
/* ===================================================== */

.list-group-item {
    border: none;
    transition: background-color 0.2s ease;
}

.list-group-item:hover {
    background-color: #e5e7eb;
}

.list-group-item.active {
    background-color: #e5e7eb;
    font-weight: 600;
    color: #111827;
}

/* ===================================================== */
/* FORMS */
/* ===================================================== */

.form-control,
.form-select {
    border-radius: 6px;
}

.form-control:focus,
.form-select:focus {
    border-color: #9ca3af;
    box-shadow: 0 0 0 0.15rem rgba(156,163,175,0.25);
}

/* ===================================================== */
/* SCROLL PANELS */
/* ===================================================== */

.scroll-panel {
    max-height: 60vh;
    overflow-y: auto;
}

/* Chrome scroll */
.scroll-panel::-webkit-scrollbar {
    width: 8px;
}

.scroll-panel::-webkit-scrollbar-track {
    background: #f4f6f9;
}

.scroll-panel::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 4px;
}

.scroll-panel::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

/* Firefox */
.scroll-panel {
    scrollbar-width: thin;
    scrollbar-color: #d1d5db #f4f6f9;
}

/* ===================================================== */
/* GLOBAL MESSAGE */
/* ===================================================== */

.global-message-container {
    position: fixed;
    top: 70px;
    right: 30px;
    z-index: 1055;
    width: 400px;
    display: none;
}

.global-message-container .alert {
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* ===================================================== */
/* FOOTER */
/* ===================================================== */

footer {
    background: #f4f6f9;
    padding: 10px 20px;
    border-top: 1px solid #e5e7eb;
    font-size: 13px;
    text-align: center;
    color: #6b7280;
}

/* ===================================================== */
/* RESPONSIVE */
/* ===================================================== */

@media (max-width: 768px) {

    .sidebar {
        min-height: auto;
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
    }

    .content-area {
        padding: 20px;
    }
	
	

}

/* DASHBOARD CSS */

.card-box {
    border-radius: 12px;
    padding: 20px;
    color: #fff;
}

.bg-blue { background:#0d6efd; }
.bg-green { background:#198754; }
.bg-orange { background:#fd7e14; }
.bg-red { background:#dc3545; }

.kpi-card {
    border-radius: 12px;
    transition: 0.2s ease;
}

.kpi-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.kpi-card small {
    color: #777;
}

.kpi-card h3 {
    margin: 0;
    font-weight: 600;
}

.user-card {
    border-radius: 12px;
    transition: 0.2s ease;
}

.user-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.disabled-div {
    pointer-events: none;
    opacity: 0.5; /* optional for visual effect */
}