:root {
    --primary-color: #4a90e2;
    --secondary-color: #2c3e50;
    --accent-color: #e74c3c;
    --text-color: #333;
    --light-gray: #f8f9fa;
    --border-color: #dee2e6;
}

html {
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    color: var(--text-color);
    background-color: var(--light-gray);
    font-family: 'Poppins', sans-serif;
}

/* Navbar Styles */
.navbar {
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: 600;
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
}

/* Card Styles */
.card {
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-2px);
}

.card-body {
    padding: 2rem;
}

/* Button Styles */
.btn {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-radius: 0.5rem;
}

.btn-primary {
    background-color: #258cfb;
    border-color: #258cfb;
}

.btn-primary:hover {
    background-color: #1a7ee6;
    border-color: #1a7ee6;
}

.btn-outline-danger {
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.btn-outline-danger:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

/* Form Styles */
.form-control {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid #dee2e6;
}

.form-control:focus {
    border-color: #258cfb;
    box-shadow: 0 0 0 0.2rem rgba(37,140,251,0.25);
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Footer Styles */
.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px;
    background-color: #f8f9fa;
}

/* Dashboard Styles */
.dashboard-card {
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.dashboard-card .card-title {
    font-weight: 600;
    margin-bottom: 1rem;
}

.dashboard-card .card-value {
    font-size: 2rem;
    font-weight: 700;
    color: #258cfb;
}

/* Table styling */
.table {
    border-radius: 0.5rem;
    overflow: hidden;
}

.table thead th {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
}

/* Alert styling */
.alert {
    border-radius: 0.5rem;
    border: none;
    padding: 1rem 1.5rem;
}

/* Dropdown styling */
.dropdown-menu {
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-radius: 0.5rem;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
}

/* Custom spacing */
.mt-6 {
    margin-top: 4rem;
}

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

.py-6 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

/* Responsive Design */
@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

/* Custom Animations */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}