/* Google Font Roboto Import */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

body {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 400;
    background-color: #f4f6f9;
    color: #333333;
    overflow-x: hidden;
}

/* Typography Rules */
h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
}

/* Sidebar Styling */
.sidebar {
    min-width: 240px;
    max-width: 240px;
    background-color: #ffffff;
    min-height: 100vh;
    box-shadow: 2px 0 5px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.sidebar .nav-link {
    color: #555555;
    padding: 10px 20px;
    font-size: 13px;
    border-radius: 4px;
    margin: 4px 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar .nav-link:hover, .sidebar .nav-link.active {
    background-color: #f0f4f8;
    color: #0d6efd;
    font-weight: 500;
}

/* Premium Component Cards */
.card {
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    border-radius: 6px;
    background-color: #ffffff;
}

.card-title {
    font-size: 13px;
    text-transform: uppercase;
    color: #777777;
    letter-spacing: 0.5px;
}

/* Table Style CSS */
.table {
    font-size: 13px;
}
.table th {
    font-weight: 500;
    background-color: #f8f9fa;
    color: #555555;
}

/* Responsive Auto-Adjustment for Mobile Screen */
@media (max-width: 768px) {
    body {
        font-size: 12px;
    }
    .table {
        font-size: 12px;
    }
    .sidebar {
        margin-left: -240px;
        position: fixed;
        z-index: 1050;
    }
    .sidebar.active {
        margin-left: 0;
    }
}

/* Utilities */
.btn-sm {
    font-size: 12px;
    padding: 4px 8px;
}