/* ===========================================
   GLOBAL
=========================================== */
body {
    background-color: #eef2f7;
    font-family: "Segoe UI", Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* ===========================================
   SIDEBAR
=========================================== */
.sidebar {
    width: 260px;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    background: linear-gradient(180deg, #2c3e50, #1b2838);
    color: #fff;
    padding-top: 20px;
    box-shadow: 3px 0 10px rgba(0,0,0,0.2);
    z-index: 1000;
}

.sidebar-logo img {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.sidebar-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.sidebar-menu li a {
    color: #f0f0f0;
    display: block;
    padding: 12px 20px;
    font-size: 15px;
    border-radius: 6px;
    transition: 0.25s ease;
}

.sidebar-menu li a:hover {
    background-color: #8B0000;
    transform: scale(1.03);
}

.sidebar-menu li a.logout {
    color: #ff6b6b;
}

/* ===========================================
   MAIN CONTENT
=========================================== */
.main-content {
    margin-left: 260px;
    padding: 40px 30px;
    width: calc(100% - 260px);
}

/* ===========================================
   CENTERED WRAPPER
=========================================== */
.center-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding-bottom: 40px;
}

/* ===========================================
   SECTION CARDS (light Bootstrap themes)
=========================================== */
.section-card {
    border-radius: 12px;
    padding: 25px 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.bg-success-light {
    background: #e9f7ef;
    border-left: 6px solid #28a745;
}

.bg-warning-light {
    background: #fff8e6;
    border-left: 6px solid #ffb300;
}

.bg-secondary-light {
    background: #f1f3f4;
    border-left: 6px solid #6c757d;
}

.bg-info-light {
    background: #e8f6ff;
    border-left: 6px solid #17a2b8;
}

.bg-light-white {
    background: #ffffff;
    border-left: 6px solid #cfcfcf;
}

/* Titling inside sections */
.section-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

/* ===========================================
   TABLES / FORMS
=========================================== */
.table {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
}

.table th {
    background: #007bff;
    color: #fff;
}

.form-control,
.form-select {
    border-radius: 8px;
    padding: 12px;
    border: 1px solid #ccc;
}

/* ===========================================
   BUTTONS
=========================================== */
.btn {
    padding: 10px 18px;
    border-radius: 6px;
}

/* ===========================================
   RESPONSIVE
=========================================== */
@media (max-width: 991px) {
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }
    .main-content {
        margin-left: 0;
        width: 100%;
    }
}
