:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --background-color: #f8f9fa;
    --text-color: #2c3e50;
}

html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    margin-bottom: 60px;
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* Navbar styling */
.navbar {
    background-color: var(--primary-color) !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 600;
    color: white !important;
}

.nav-link {
    font-weight: 500;
    transition: color 0.2s ease;
    color: rgba(255, 255, 255, 0.9) !important;
}

.nav-link:hover {
    color: white !important;
}

/* Container and content styling */
.container {
    padding: 2rem 1rem;
}

/* Card styling */
.card {
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Table styling */
.table {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.table thead th {
    background-color: var(--primary-color);
    color: white;
    border-bottom: none;
    padding: 1rem;
}

.table td {
    padding: 1rem;
    vertical-align: middle;
}

/* Button styling */
.btn {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-primary:hover {
    background-color: #2980b9;
    border-color: #2980b9;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

/* Form styling */
.form-control {
    border-radius: 6px;
    border: 1px solid #dee2e6;
    padding: 0.75rem;
    transition: border-color 0.2s ease;
}

.form-control:focus {
    border-color: var(--secondary-color);
}

/* Footer styling */
.footer {
    background-color: var(--primary-color);
    padding: 1.5rem 0;
    box-shadow: 0 -2px 4px rgba(0,0,0,0.2);
    color: rgba(255, 255, 255, 0.9);
}

.footer a {
    color: white;
    text-decoration: none;
}

.footer a:hover {
    color: var(--secondary-color);
}

/* Utility classes */
.box-shadow {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}

.text-muted {
    color: #6c757d !important;
}