/* Enhanced Blue Theme - Clean and Stable */

/* Color Variables */
:root {
    --primary-blue: #1e40af;
    --primary-blue-600: #2563eb;
    --primary-blue-700: #1d4ed8;
    --primary-blue-800: #1e3a8a;
    --primary-blue-900: #1e293b;
    --ocean-blue: #0ea5e9;
    --ocean-blue-dark: #0284c7;
    --accent-cyan: #06b6d4;
    --accent-teal: #14b8a6;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --background-light: #f8fafc;
    --border-light: rgba(30, 64, 175, 0.1);
}

/* Subtle Background Pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 25% 25%, rgba(30, 64, 175, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(14, 165, 233, 0.02) 0%, transparent 50%);
    z-index: -1;
}

/* Enhanced Card Styles */
.card {
    border: 1px solid var(--border-light);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.1);
    border-color: rgba(30, 64, 175, 0.2);
}

/* Modern Button Styles */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--ocean-blue));
    border: none;
    border-radius: 12px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.25);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-blue-800), var(--ocean-blue-dark));
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.35);
}

.btn-outline-primary {
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-1px);
}

/* Enhanced Navigation */
.navbar {
    transition: all 0.3s ease;
}

.nav-link {
    color: var(--text-primary);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-blue);
    background: rgba(30, 64, 175, 0.05);
}

/* Form Controls */
.form-control {
    border: 2px solid var(--border-light);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--ocean-blue);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

/* Enhanced Typography */
.display-4, .display-5, .display-6 {
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-blue-900), var(--primary-blue-700));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-primary {
    color: var(--primary-blue) !important;
}

.text-muted {
    color: var(--text-secondary) !important;
}

/* Badge Enhancements */
.badge {
    border-radius: 8px;
    font-weight: 600;
    padding: 0.5rem 1rem;
}

.badge-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--ocean-blue));
}

/* Hero Section */
.bg-gradient {
    position: relative;
    overflow: hidden;
}

/* Search Box */
.input-group-lg .form-control {
    border-radius: 12px 0 0 12px;
    border-right: none;
}

.input-group-lg .btn {
    border-radius: 0 12px 12px 0;
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .card:hover {
        transform: translateY(-2px);
    }
    
    .btn:hover {
        transform: none;
    }
    
    .display-4, .display-5, .display-6 {
        font-size: 2rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus States */
.btn:focus,
.form-control:focus,
.nav-link:focus {
    outline: 3px solid rgba(30, 64, 175, 0.3);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .navbar,
    .btn,
    nav {
        display: none !important;
    }
}