/* ========================================
   MOLDPARK - MODERN UI DESIGN SYSTEM v4.0
   Enhanced User Experience & Accessibility
   ======================================== */

:root {
    /* Modern Color System */
    --primary-50: #f0f9ff;
    --primary-100: #e0f2fe;
    --primary-200: #bae6fd;
    --primary-300: #7dd3fc;
    --primary-400: #38bdf8;
    --primary-500: #0ea5e9;
    --primary-600: #0284c7;
    --primary-700: #0369a1;
    --primary-800: #075985;
    --primary-900: #0c4a6e;
    
    /* Semantic Colors */
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --info: #3b82f6;
    
    /* Neutral Palette */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Typography Scale */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    
    /* Spacing System */
    --space-0: 0;
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    
    /* Border Radius */
    --radius-none: 0;
    --radius-sm: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-2xl: 1rem;
    --radius-3xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    
    /* Z-Index Scale */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
    
    /* Animation Duration */
    --duration-75: 75ms;
    --duration-100: 100ms;
    --duration-150: 150ms;
    --duration-200: 200ms;
    --duration-300: 300ms;
    --duration-500: 500ms;
    --duration-700: 700ms;
    --duration-1000: 1000ms;
    
    /* Animation Easing */
    --ease-linear: linear;
    --ease-in: cubic-bezier(0.4, 0, 1, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-back: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ========================================
   TEXT & TYPOGRAPHY IMPROVEMENTS
   ======================================== */

/* Enhanced Text Colors for Better Readability */
.text-muted {
    color: var(--gray-600) !important;
}

.text-light {
    color: var(--gray-500) !important;
}

.text-dark {
    color: var(--gray-800) !important;
}

/* Footer Specific Improvements */
footer {
    background: #FFD15C !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

footer .text-muted {
    color: var(--gray-600) !important;
}

footer h6 {
    color: var(--gray-800) !important;
    font-weight: 600;
}

footer a.text-muted {
    color: var(--gray-600) !important;
    transition: color var(--duration-200) var(--ease-out);
}

footer a.text-muted:hover {
    color: var(--primary-600) !important;
}

footer .hover-primary:hover {
    color: var(--primary-600) !important;
}

footer small.text-muted {
    color: var(--gray-600) !important;
}

/* Improved contrast for small text */
small.text-muted {
    color: var(--gray-600) !important;
    font-size: var(--text-sm);
}

/* Better visibility for secondary text */
.text-secondary {
    color: var(--gray-600) !important;
}

/* Enhanced dropdown text */
.dropdown-item {
    color: var(--gray-700) !important;
}

.dropdown-item:hover {
    color: var(--gray-900) !important;
}

/* Improved notification text */
.notification-item .text-muted {
    color: var(--gray-600) !important;
}

/* Better form label visibility */
.form-label {
    color: var(--gray-700) !important;
    font-weight: 500;
}

/* Enhanced table text */
.table td {
    color: var(--gray-700) !important;
}

.table th {
    color: var(--gray-800) !important;
}

/* ========================================
   BASE STYLES & RESET
   ======================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #FFD15C !important;
    color: var(--gray-700);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Improved Focus States */
*:focus-visible {
    outline: 2px solid var(--primary-500);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

/* Selection Styles */
::selection {
    background: var(--primary-100);
    color: var(--primary-900);
}

/* ========================================
   MODERN NAVBAR DESIGN
   ======================================== */

.navbar {
    background: rgba(248, 250, 252, 0.98) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    padding: var(--space-4) 0;
    transition: all var(--duration-300) var(--ease-out);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    position: sticky !important;
    top: 0;
    z-index: var(--z-sticky);
}

.navbar-modern {
    min-height: 70px;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    border-bottom: 1px solid var(--gray-300);
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    font-weight: 700;
    font-size: var(--text-xl);
    color: var(--gray-900) !important;
    transition: all var(--duration-200) var(--ease-out);
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.navbar-brand:hover {
    transform: scale(1.02);
    color: var(--primary-600) !important;
}

.navbar-brand img {
    border-radius: var(--radius-md);
    transition: all var(--duration-200) var(--ease-out);
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--gray-600) !important;
    padding: var(--space-3) var(--space-4) !important;
    border-radius: var(--radius-xl);
    transition: all var(--duration-200) var(--ease-out);
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin: 0 var(--space-1);
}

.navbar-nav .nav-link:hover {
    color: var(--primary-700) !important;
    background: rgba(59, 130, 246, 0.08);
    transform: translateY(-1px);
}

.navbar-nav .nav-link.active {
    background: rgba(59, 130, 246, 0.12);
    color: var(--primary-700) !important;
}

/* Modern Button Styles for Navbar */
.btn-outline-light {
    background: transparent;
    color: var(--gray-600) !important;
    border: 2px solid rgba(148, 163, 184, 0.3);
    font-weight: 500;
    padding: var(--space-2) var(--space-5);
    border-radius: var(--radius-xl);
    transition: all var(--duration-200) var(--ease-out);
}

.btn-outline-light:hover {
    background: rgba(148, 163, 184, 0.1);
    color: var(--gray-700) !important;
    border-color: rgba(148, 163, 184, 0.5);
    transform: translateY(-1px);
}

/* Enhanced Primary Button */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    color: white !important;
    border: none;
    font-weight: 600;
    padding: var(--space-2) var(--space-5);
    border-radius: var(--radius-xl);
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.2);
    transition: all var(--duration-200) var(--ease-out);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    color: white !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3);
}

/* Modern Dropdown */
.navbar .dropdown-menu {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    padding: var(--space-2);
    margin-top: var(--space-2);
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.95);
}

.navbar .dropdown-item {
    border-radius: var(--radius-lg);
    padding: var(--space-3);
    transition: all var(--duration-150) var(--ease-out);
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.navbar .dropdown-item:hover {
    background: var(--primary-50);
    color: var(--primary-700);
    transform: translateX(4px);
}

/* ========================================
   MODERN BUTTON SYSTEM
   ======================================== */

.btn {
    font-weight: 500;
    border-radius: var(--radius-lg);
    padding: var(--space-3) var(--space-6);
    border: none;
    transition: all var(--duration-200) var(--ease-out);
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left var(--duration-500) var(--ease-out);
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn:active {
    transform: translateY(0);
}

/* Button Variants */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    color: white;
}

.btn-secondary {
    background: linear-gradient(135deg, var(--gray-500), var(--gray-600));
    color: white;
}

.btn-success {
    background: linear-gradient(135deg, var(--success), #059669);
    color: white;
}

.btn-warning {
    background: linear-gradient(135deg, var(--warning), #d97706);
    color: white;
}

.btn-danger {
    background: linear-gradient(135deg, var(--error), #dc2626);
    color: white;
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary-600);
    border: 2px solid var(--primary-200);
}

.btn-outline-primary:hover {
    background: var(--primary-500);
    color: white;
    border-color: var(--primary-500);
}

/* Button Sizes */
.btn-sm {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-lg);
}

.btn-xl {
    padding: var(--space-5) var(--space-10);
    font-size: var(--text-xl);
}

/* ========================================
   ENHANCED CARD SYSTEM
   ======================================== */

.card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition: all var(--duration-300) var(--ease-out);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-200);
}

.card-header {
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
    padding: var(--space-4) var(--space-6);
    font-weight: 600;
}

.card-body {
    padding: var(--space-6);
}

.card-footer {
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
    padding: var(--space-4) var(--space-6);
}

/* Glassmorphism Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-xl);
    border-radius: var(--radius-2xl);
}

/* Feature Cards */
.feature-card {
    position: relative;
    padding: var(--space-8);
    text-align: center;
    border-radius: var(--radius-2xl);
    transition: all var(--duration-300) var(--ease-out);
    background: white;
    border: 1px solid var(--gray-200);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-50), var(--primary-100));
    opacity: 0;
    transition: opacity var(--duration-300) var(--ease-out);
    border-radius: var(--radius-2xl);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary-300);
}

.feature-card * {
    position: relative;
    z-index: 1;
}

/* ========================================
   IMPROVED FORM STYLES
   ======================================== */

.form-control {
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: var(--space-3) var(--space-4);
    transition: all var(--duration-200) var(--ease-out);
    background: white;
    font-size: var(--text-base);
}

.form-control:focus {
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    background: var(--primary-50);
    outline: none;
}

.form-label {
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: var(--space-2);
    display: block;
}

.form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
}

/* ========================================
   MODERN TABLE DESIGN
   ======================================== */

.table {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.table thead th {
    background: var(--gray-50);
    border-bottom: 2px solid var(--gray-200);
    font-weight: 600;
    color: var(--gray-700);
    padding: var(--space-4);
    text-transform: uppercase;
    font-size: var(--text-xs);
    letter-spacing: 0.05em;
}

.table tbody tr {
    border-bottom: 1px solid var(--gray-100);
    transition: all var(--duration-150) var(--ease-out);
}

.table tbody tr:hover {
    background: var(--primary-50);
    transform: scale(1.01);
}

.table td {
    padding: var(--space-4);
    vertical-align: middle;
}

/* ========================================
   ENHANCED BADGES & ALERTS
   ======================================== */

.badge {
    font-weight: 500;
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
}

.alert {
    border: none;
    border-radius: var(--radius-xl);
    padding: var(--space-4) var(--space-6);
    border-left: 4px solid;
}

.alert-primary {
    background: var(--primary-50);
    color: var(--primary-800);
    border-left-color: var(--primary-500);
}

.alert-success {
    background: #ecfdf5;
    color: #065f46;
    border-left-color: var(--success);
}

.alert-warning {
    background: #fffbeb;
    color: #92400e;
    border-left-color: var(--warning);
}

.alert-danger {
    background: #fef2f2;
    color: #991b1b;
    border-left-color: var(--error);
}

/* ========================================
   MODERN PROGRESS BARS
   ======================================== */

.progress {
    height: 8px;
    background: var(--gray-200);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.progress-bar {
    background: linear-gradient(90deg, var(--primary-500), var(--primary-400));
    transition: width var(--duration-500) var(--ease-out);
    border-radius: var(--radius-full);
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

/* Hover Effects */
.hover-lift {
    transition: transform var(--duration-200) var(--ease-out);
}

.hover-lift:hover {
    transform: translateY(-4px);
}

.hover-scale {
    transition: transform var(--duration-200) var(--ease-out);
}

.hover-scale:hover {
    transform: scale(1.05);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-fade-in-up {
    animation: fadeInUp var(--duration-500) var(--ease-out);
}

.animate-slide-in-right {
    animation: slideInRight var(--duration-500) var(--ease-out);
}

.animate-bounce-in {
    animation: bounceIn var(--duration-700) var(--ease-back);
}

/* Loading States */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--gray-200);
    border-radius: 50%;
    border-top-color: var(--primary-500);
    animation: spin var(--duration-1000) linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Skeleton Loading */
.skeleton {
    background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-100) 50%, var(--gray-200) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Mobile First Approach */
@media (max-width: 640px) {
    .container {
        padding-left: var(--space-4);
        padding-right: var(--space-4);
    }
    
    .navbar-brand {
        font-size: var(--text-lg);
    }
    
    .navbar-brand img {
        width: 80px !important;
        height: 30px !important;
    }
    
    .btn {
        padding: var(--space-2) var(--space-4);
        font-size: var(--text-sm);
    }
    
    .card-body {
        padding: var(--space-4);
    }
    
    .feature-card {
        padding: var(--space-6);
    }
    
    .display-4 {
        font-size: 2rem !important;
    }
    
    .display-1 {
        font-size: 2.5rem !important;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem !important;
    }
    
    .hero-content p {
        font-size: 1.1rem !important;
    }
    
    .hero-cta {
        flex-direction: column !important;
        gap: var(--space-3) !important;
    }
    
    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }
    
    .brand-logo {
        width: 110px !important;
        height: 36px !important;
    }
}

/* Large Screens */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* ========================================
   ACCESSIBILITY IMPROVEMENTS
   ======================================== */

/* Skip Navigation Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    z-index: 9999;
    color: white !important;
    text-decoration: none;
    padding: 8px 16px;
    background: var(--primary-600);
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: top var(--duration-150) var(--ease-out);
}

.skip-link:focus {
    top: 6px;
    color: white !important;
    text-decoration: none;
    outline: 2px solid white;
    outline-offset: 2px;
}

/* Enhanced Focus Indicators */
.btn:focus-visible,
.form-control:focus-visible,
.form-select:focus-visible {
    outline: 2px solid var(--primary-500);
    outline-offset: 2px;
    box-shadow: 0 0 0 2px var(--primary-100);
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .skip-link {
        background: black;
        border: 2px solid white;
    }
    
    .btn:focus-visible,
    .form-control:focus-visible,
    .form-select:focus-visible {
        outline: 3px solid;
        outline-color: Highlight;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .skip-link {
        transition: none;
    }
}

/* Screen Reader Only Content */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Focus Management */
.content:focus {
    outline: none;
}

/* ========================================
   BUTTON ACCESSIBILITY ENHANCEMENTS
   ======================================== */

/* Ensure all buttons have discernible text */
.btn-close:not([aria-label]):not([title]) {
    position: relative;
}

.btn-close:not([aria-label]):not([title])::before {
    content: "Kapat";
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

/* Add default aria-labels for close buttons */
.btn-close {
    position: relative;
}

.btn-close:not([aria-label]) {
    --bs-btn-close-aria-label: "Kapat";
}

/* Dropdown toggles without text should have labels */
.dropdown-toggle:not([aria-label]):not([title]):not(:has(.visually-hidden)):not(:has(.sr-only)) {
    position: relative;
}

.dropdown-toggle:not([aria-label]):not([title]):not(:has(.visually-hidden)):not(:has(.sr-only))::after {
    content: attr(data-bs-original-title, "Menü seçenekleri");
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

/* Icon-only buttons need labels */
.btn:not([aria-label]):not([title]):not(:has(span)):not(:has(div)):has(i:only-child) {
    position: relative;
}

.btn:not([aria-label]):not([title]):not(:has(span)):not(:has(div)):has(i:only-child)::before {
    content: "Buton";
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

/* Notification Improvements */
.notification-popup {
    position: fixed;
    top: 90px;
    right: 20px;
    z-index: var(--z-tooltip);
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    border: 1px solid var(--gray-200);
    padding: 1rem;
    min-width: 300px;
    transform: translateX(400px);
    transition: transform var(--duration-300) var(--ease-out);
}

.notification-popup.show {
    transform: translateX(0);
}

.notification-popup.success {
    border-left: 4px solid var(--success);
}

.notification-popup.error {
    border-left: 4px solid var(--error);
}

.notification-popup.warning {
    border-left: 4px solid var(--warning);
}

.notification-popup.info {
    border-left: 4px solid var(--info);
}

/* Loading States */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    z-index: var(--z-modal);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--duration-300) var(--ease-out);
}

.loading-overlay.show {
    opacity: 1;
    visibility: visible;
}

.loading-spinner-enhanced {
    width: 60px;
    height: 60px;
    border: 4px solid var(--gray-200);
    border-top: 4px solid var(--primary-600);
    border-radius: 50%;
    animation: spin var(--duration-1000) linear infinite;
}

/* Progressive Enhancement */
@media (prefers-reduced-motion: reduce) {
    .dashboard-card {
        transition: none;
    }
    
    .dashboard-card:hover {
        transform: none;
    }
    
    .loading-spinner-enhanced {
        animation: none;
        border-top-color: var(--primary-600);
    }
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .dashboard-card {
        padding: 1rem;
    }
    
    .dashboard-card-number {
        font-size: 2rem;
    }
    
    .quick-action-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .notification-popup {
        right: 10px;
        left: 10px;
        min-width: auto;
    }
}

/* Navbar Sadeleştirme Stilleri */
.navbar-nav .nav-link {
    padding: 0.5rem 0.75rem !important;
    font-weight: 500;
    transition: all 0.2s ease;
}

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

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

/* Bildirim Badge Düzenlemesi */
.notification-badge {
    font-size: 0.6rem !important;
    padding: 0.2rem 0.4rem;
    min-width: 1.2rem;
    height: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dropdown Menü Stilleri */
.dropdown-menu {
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    border-radius: 0.5rem;
    padding: 0.5rem 0;
}

.dropdown-item {
    padding: 0.5rem 1rem;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: var(--primary-50, #f8f9ff);
    color: var(--primary-700, #F5B427);
}

.dropdown-header {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* Mobile Navbar */
@media (max-width: 991.98px) {
    .navbar-nav {
        padding-top: 1rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 0 !important;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }
} 

/* Vendor Prefixes */
.navbar, footer {
    background: rgba(255, 255, 255, 0.95) !important;
    -webkit-backdrop-filter: blur(20px);
    -moz-backdrop-filter: blur(20px);
    -o-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
}

.card {
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.btn {
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
} 