/* ================================
   GLOBAL
================================ */
body {
    font-size: 14px;
    background-color: #f8f9fa;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    color: #212529;
}

/* Smooth UI */
* {
    transition: all 0.2s ease-in-out;
}

/* ================================
   NAVBAR / HEADER
================================ */
.navbar {
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.navbar img {
    border-radius: 6px;
}

/* ================================
   SIDEBAR
================================ */
.sidebar {
    background: #ffffff;
    border-right: 1px solid #e5e7eb;
    min-height: 100vh;
    padding-top: 10px;
}

/* Section headings */
.sidebar .text-muted {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #6c757d !important;
}

/* Nav links */
.nav-link {
    color: #495057;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 8px;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
}

/* Hover */
.nav-link:hover {
    background-color: #eef2ff;
    color: #0d6efd;
}

/* Active */
.nav-link.active {
    background-color: #0d6efd !important;
    color: #ffffff !important;
    font-weight: 600;
}

/* Icons spacing */
.nav-link i {
    font-size: 16px;
}

/* ================================
   CONTENT AREA
================================ */
.content {
    padding: 20px;
}

/* ================================
   CARDS
================================ */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.card h5 {
    font-weight: 600;
}

/* Dashboard cards */
.card.bg-primary,
.card.bg-success,
.card.bg-warning,
.card.bg-danger {
    border-radius: 12px;
    box-shadow: 0 6px 14px rgba(0,0,0,0.1);
}

/* ================================
   TABLES
================================ */
.table {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
}

.table thead {
    background: #f1f3f5;
}

.table th {
    font-weight: 600;
    font-size: 13px;
}

.table td {
    vertical-align: middle;
}

/* Hover effect */
.table-hover tbody tr:hover {
    background-color: #f8f9fa;
}

/* ================================
   FORMS
================================ */
.form-control,
.form-select {
    border-radius: 8px;
    border: 1px solid #ced4da;
    font-size: 14px;
}

.form-control:focus,
.form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.1rem rgba(13, 110, 253, 0.2);
}

/* Labels */
.form-label {
    font-weight: 500;
}

/* ================================
   BUTTONS
================================ */
.btn {
    border-radius: 8px;
    font-weight: 500;
}

.btn-primary {
    background-color: #0d6efd;
    border: none;
}

.btn-primary:hover {
    background-color: #0b5ed7;
}

/* ================================
   BADGES
================================ */
.badge {
    border-radius: 6px;
    padding: 5px 8px;
    font-size: 11px;
}

/* ================================
   ALERTS
================================ */
.alert {
    border-radius: 8px;
    font-size: 13px;
}

/* ================================
   FOOTER
================================ */
.footer {
    text-align: center;
    padding: 10px;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    font-size: 13px;
}

/* ================================
   SCROLLBAR (Nice touch 😎)
================================ */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-thumb {
    background: #ced4da;
    border-radius: 10px;
}

/* ================================
   UTILITIES
================================ */
.shadow-soft {
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.rounded-soft {
    border-radius: 10px;
}