:root {
    --primary-color: #FFD700; /* Yellow */
    --primary-light: #FFF0AA;
    --secondary-color: #003366; /* Blue */
    --secondary-light: #0066AA;
    --text-light: #FFFFFF;
    --text-dark: #333333;
    --background-light: #F9F9F9;
    --background-dark: #EFEFEF;
    --success: #28a745;
    --danger: #dc3545;
    --warning: #ffc107;
    --info: #17a2b8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    background-color: var(--background-light);
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
header {
    background-color: var(--secondary-color);
    color: var(--text-light);
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 1.5rem;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Main Content */
.main-content {
    display: flex;
    min-height: calc(100vh - 120px);
}

/* Sidebar */
.sidebar {
    width: 250px;
    background-color: var(--secondary-color);
    color: var(--text-light);
    padding: 1rem 0;
    transition: all 0.3s;
}

.sidebar-menu {
    list-style: none;
}

.sidebar-menu li {
    padding: 0.5rem 1rem;
}

.sidebar-menu a {
    color: var(--text-light);
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: color 0.3s;
}

.sidebar-menu a i {
    margin-right: 10px;
}

.sidebar-menu a:hover {
    color: var(--primary-color);
}

.sidebar-menu .active {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 4px;
}

.sidebar-menu .active a {
    color: var(--secondary-color);
}

/* Dashboard Widgets */
.dashboard {
    flex: 1;
    padding: 1.5rem;
}

.widget-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.widget {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    transition: transform 0.3s;
}

.widget:hover {
    transform: translateY(-5px);
}

.widget-title {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.widget-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.widget-subtitle {
    color: #777;
    font-size: 0.9rem;
}

/* Forms */
.form-container {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.form-title {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-control:focus {
    border-color: var(--primary-color);
    outline: none;
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.btn-primary:hover {
    background-color: var(--primary-light);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--text-light);
}

.btn-secondary:hover {
    background-color: var(--secondary-light);
}

.btn-success {
    background-color: var(--success);
    color: var(--text-light);
}

.btn-success:hover {
    opacity: 0.9;
}

.btn-danger {
    background-color: var(--danger);
    color: var(--text-light);
}

.btn-danger:hover {
    opacity: 0.9;
}

/* Tables */
.table {
    width: 100%;
    border-collapse: collapse;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: var(--background-light);
}

.table th,
.table td {
    padding: 0.75rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
}

.table thead th {
    vertical-align: bottom;
    border-bottom: 2px solid #dee2e6;
    background-color: var(--secondary-color);
    color: var(--text-light);
}

.table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
}

/* Cards */
.card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.card-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #dee2e6;
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.bg-primary {
    background-color: var(--primary-color) !important;
    color: var(--secondary-color) !important;
}

.bg-secondary {
    background-color: var(--secondary-color) !important;
    color: var(--text-light) !important;
}

.bg-success {
    background-color: var(--success) !important;
    color: var(--text-light) !important;
}

.bg-danger {
    background-color: var(--danger) !important;
    color: var(--text-light) !important;
}

.bg-warning {
    background-color: var(--warning) !important;
    color: var(--text-dark) !important;
}

.bg-info {
    background-color: var(--info) !important;
    color: var(--text-light) !important;
}

/* Alerts */
.alert {
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 4px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
    border-color: #ffeeba;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border-color: #bee5eb;
}

/* Chart Containers */
.chart-container {
    position: relative;
    margin: auto;
    height: 300px;
    width: 100%;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    margin-bottom: 1.5rem;
}

/* Utilities */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-success {
    color: var(--success);
}

.text-danger {
    color: var(--danger);
}

.text-warning {
    color: var(--warning);
}

.text-info {
    color: var(--info);
}

.text-muted {
    color: #6c757d;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col-md-6,
.col-md-4,
.col-md-3 {
    padding-right: 15px;
    padding-left: 15px;
}

.col-md-3 {
    flex: 0 0 25%;
    max-width: 25%;
}

.col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}

.col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

.col-md-12 {
    flex: 0 0 100%;
    max-width: 100%;
}

/* Page Title */
.page-title {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
    display: inline-block;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--text-light);
    text-align: center;
    padding: 1rem 0;
    margin-top: auto;
}