/* Main Styles */

:root {
    --primary-color: #1a5490;
    --secondary-color: #17a2b8;
    --danger-color: #dc3545;
    --success-color: #28a745;
    --warning-color: #ffc107;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background-color: #ffffff !important;
    border-bottom: 2px solid #f0f0f0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color) !important;
}

.navbar-dark .navbar-brand {
    color: var(--primary-color) !important;
}

.navbar .nav-link {
    color: #333 !important;
    font-weight: 500;
    transition: color 0.3s ease;
    margin: 0 10px;
}

.navbar .nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar .nav-link.active {
    color: var(--primary-color) !important;
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 5px;
}

.navbar-toggler {
    border-color: var(--primary-color) !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%231a5490' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1a5490 0%, #17a2b8 100%);
    padding: 60px 0;
    margin-bottom: 40px;
}

.hero-section h1 {
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-section .lead {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* Cards */
.card {
    border: none;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.card-header {
    border-radius: 8px 8px 0 0;
    border: none;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #0d3a66;
    border-color: #0d3a66;
}

/* Forms */
.form-control, .form-select {
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(26, 84, 144, 0.25);
}

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

/* Alerts */
.alert {
    border: none;
    border-radius: 8px;
}

/* Footer */
footer {
    margin-top: auto;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Utility Classes */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, #1a5490 0%, #17a2b8 100%) !important;
}

.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.shadow {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* Features Grid */
.feature-card {
    text-align: center;
    padding: 30px;
}

.feature-card i {
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Status Badges */
.badge {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Tables */
table {
    font-size: 0.95rem;
}

table thead {
    background-color: #f8f9fa;
    font-weight: 600;
}

table tbody tr {
    border-bottom: 1px solid #e0e0e0;
}

table tbody tr:hover {
    background-color: #f8f9fa;
}

/* Spacing */
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
