/* Modern Professional Styles for Automotive Service Center Management System */

/* Modern Professional Color Scheme - Inspired by Top SaaS Platforms */
:root {
    /* Primary Professional Colors - Modern Blue Palette */
    --primary-color: #6366f1;
    --primary-light: #818cf8;
    --primary-dark: #4f46e5;
    --primary-gradient: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    --primary-soft: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);

    /* Neutral Professional Colors - Modern Grays */
    --secondary-color: #6b7280;
    --secondary-light: #9ca3af;
    --secondary-dark: #374151;

    /* Status Colors - Modern and Accessible */
    --success-color: #10b981;
    --success-light: #34d399;
    --success-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);

    --info-color: #3b82f6;
    --info-light: #60a5fa;
    --info-gradient: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);

    --warning-color: #f59e0b;
    --warning-light: #fbbf24;
    --warning-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);

    --danger-color: #ef4444;
    --danger-light: #f87171;
    --danger-gradient: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);

    /* Background Colors - Modern Neutrals */
    --light-color: #f9fafb;
    --light-gray: #f3f4f6;
    --medium-gray: #e5e7eb;
    --dark-color: #111827;
    --darker-color: #0f172a;

    /* Typography */
    --font-family-sans-serif: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-family-heading: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;

    /* Spacing & Effects */
    --border-radius: 0.75rem;
    --border-radius-sm: 0.5rem;
    --border-radius-lg: 1rem;
    --box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    --box-shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
    --box-shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
    --box-shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.25);
}

/* Global Styles */
body {
    font-family: var(--font-family-sans-serif);
    background: linear-gradient(135deg, var(--light-color) 0%, var(--light-gray) 100%);
    background-attachment: fixed;
    min-height: 100vh;
    color: var(--dark-color);
    line-height: 1.6;
    font-size: 0.875rem;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Modern Navigation Styles */
.navbar {
    background: var(--primary-gradient) !important;
    backdrop-filter: blur(10px);
    box-shadow: var(--box-shadow-lg);
    border: none;
}

.navbar-brand {
    font-family: var(--font-family-heading);
    font-weight: 700;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-size: 1.2rem;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.brand-icon:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.navbar-brand::before {
    content: '🚗';
    font-size: 1.8rem;
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.75rem 1.25rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: var(--border-radius-sm);
    margin: 0 0.125rem;
}

.navbar-nav .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.navbar-nav .nav-link.active {
    background-color: rgba(255, 255, 255, 0.2);
    color: white !important;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-bottom: 1px solid #dee2e6;
}

.page-header h1 {
    color: var(--dark-color);
    font-weight: 600;
}

.page-header .breadcrumb {
    background-color: transparent;
    padding: 0;
}

.page-header .breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.page-header .breadcrumb-item.active {
    color: var(--secondary-color);
}

/* User Stats Bar */
.user-stats {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-bottom: 1px solid #dee2e6;
}

.stat-item {
    padding: 0.5rem;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Modern Card Enhancements */
.card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(99, 102, 241, 0.1);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.card:hover::before {
    opacity: 1;
}

.card-header {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-weight: 600;
    color: var(--dark-color);
    border-radius: var(--border-radius) var(--border-radius) 0 0 !important;
}

/* Modern Dashboard Cards */
.dashboard-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(249, 250, 251, 0.95) 100%);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(99, 102, 241, 0.1);
    position: relative;
    overflow: hidden;
}

.dashboard-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.dashboard-card:hover::before {
    opacity: 1;
}

/* Modern Button Enhancements */
.btn {
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    position: relative;
    overflow: hidden;
    text-transform: none;
    letter-spacing: 0.025em;
    font-size: 0.875rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
}

.btn-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.btn-info {
    background: linear-gradient(135deg, #17a2b8 0%, #20c997 100%);
}

.btn-warning {
    background: linear-gradient(135deg, #ffc107 0%, #fd7e14 100%);
}

.btn-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
}

/* Modern Form Enhancements */
.form-control {
    border-radius: var(--border-radius-sm);
    border: 2px solid #e1e8ed;
    padding: 0.75rem 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    background: white;
    transform: scale(1.02);
}

/* Form Enhancements */
.form-control {
    border-radius: var(--border-radius);
    border: 1px solid #ced4da;
    padding: 0.5rem 0.75rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Table Enhancements */
.table {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.table thead th {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
    color: white;
    border: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.875rem;
}

.table tbody tr {
    transition: background-color 0.2s ease;
}

.table tbody tr:hover {
    background-color: #f8f9fa;
}

/* Dashboard Cards */
.dashboard-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

.dashboard-card h3 {
    color: var(--dark-color);
    font-weight: 700;
    margin-bottom: 1rem;
}

.dashboard-card .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.dashboard-card .stat-label {
    color: var(--secondary-color);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Status Badges */
.badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
}

/* Alerts */
.alert {
    border-radius: var(--border-radius);
    border: none;
    box-shadow: var(--box-shadow);
}

/* Footer */
footer {
    margin-top: auto;
    background: linear-gradient(135deg, var(--dark-color) 0%, #1d2124 100%) !important;
}

footer h5, footer h6 {
    color: white;
    font-weight: 600;
}

footer a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: white;
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 768px) {
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        text-align: center;
    }

    .navbar-brand {
        font-size: 1.25rem;
    }

    .page-header {
        text-align: center;
        padding: 1rem 0;
    }

    .page-header .row > div {
        text-align: center !important;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .dashboard-card {
        margin-bottom: 1.5rem;
        padding: 1.5rem;
    }

    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
    }

    .card {
        margin-bottom: 1rem;
    }

    /* Mobile navigation improvements */
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        border-radius: var(--border-radius);
        margin-top: 1rem;
        box-shadow: var(--box-shadow-lg);
    }

    .navbar-nav .nav-link {
        color: var(--dark-color) !important;
        margin: 0.25rem 0;
    }

    .navbar-nav .nav-link.active {
        background: var(--primary-gradient) !important;
        color: white !important;
    }
}

/* Modern 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 pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 123, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
    }
}

/* Animation Classes */
.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

/* Stats Icon Positioning */
.stats-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 1;
}

/* Modern Table Enhancements */
.table-responsive {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.table {
    margin-bottom: 0;
}

.table th {
    background: var(--primary-gradient);
    color: white;
    border: none;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.025em;
    font-size: 0.875rem;
    padding: 1rem 1.5rem;
    position: sticky;
    top: 0;
    z-index: 10;
}

.table td {
    padding: 1rem 1.5rem;
    vertical-align: middle;
    border-color: rgba(99, 102, 241, 0.1);
    transition: background-color 0.2s ease;
}

.table tbody tr {
    transition: all 0.2s ease;
}

.table tbody tr:hover {
    background-color: rgba(99, 102, 241, 0.05);
    transform: scale(1.01);
}

/* Enhanced Mobile Stats */
@media (max-width: 576px) {
    .stat-number {
        font-size: 2rem !important;
    }

    .stats-icon .fas {
        font-size: 2rem !important;
    }

    .dashboard-card {
        padding: 1.25rem !important;
    }
}

/* Modern Badge Styles */
.badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    letter-spacing: 0.5px;
}

/* Enhanced Card Headers */
.card-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
    border-bottom: 2px solid var(--primary-color);
    font-weight: 600;
}

/* Modern Form Labels */
.form-label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

/* Loading States */
.loading-spinner {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid #f3f3f3;
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Modern Focus States */
.btn:focus,
.form-control:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Enhanced Alert Styles */
.alert {
    border-radius: var(--border-radius-sm);
    border: none;
    box-shadow: var(--box-shadow);
    font-weight: 500;
}

/* Modern Switch/Toggle Styles */
.form-switch .form-check-input {
    width: 3rem;
    height: 1.5rem;
    border-radius: 0.75rem;
    background-color: #ced4da;
    border: none;
    transition: all 0.3s ease;
}

.form-switch .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Enhanced Progress Bars */
.progress {
    height: 0.75rem;
    border-radius: 0.375rem;
    background-color: #e9ecef;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.progress-bar {
    border-radius: 0.375rem;
    transition: width 0.6s ease;
}

/* Dark Mode Styles */
[data-theme="dark"] {
    --primary-color: #818cf8;
    --primary-gradient: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    --light-color: #0f172a;
    --light-gray: #1e293b;
    --medium-gray: #334155;
    --dark-color: #f1f5f9;
    --darker-color: #f8fafc;
}

[data-theme="dark"] body {
    background: linear-gradient(135deg, var(--light-color) 0%, var(--light-gray) 100%);
    color: var(--dark-color);
}

[data-theme="dark"] .card {
    background: rgba(30, 41, 59, 0.95);
    border-color: rgba(59, 130, 246, 0.2);
    color: var(--dark-color);
}

[data-theme="dark"] .card-header {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%) !important;
    color: var(--dark-color);
    border-bottom-color: rgba(59, 130, 246, 0.2);
}

[data-theme="dark"] .navbar {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%) !important;
}

[data-theme="dark"] .navbar-nav .nav-link {
    color: var(--dark-color) !important;
}

[data-theme="dark"] .navbar-nav .nav-link:hover {
    background-color: rgba(59, 130, 246, 0.2);
}

[data-theme="dark"] .table {
    background-color: rgba(30, 41, 59, 0.9);
    color: var(--dark-color);
}

[data-theme="dark"] .table th {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

[data-theme="dark"] .form-control {
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(59, 130, 246, 0.3);
    color: var(--dark-color);
}

[data-theme="dark"] .form-control:focus {
    background: rgba(30, 41, 59, 1);
    border-color: var(--primary-color);
    color: var(--dark-color);
}

[data-theme="dark"] .login-container {
    background: rgba(30, 41, 59, 0.95);
    border-color: rgba(59, 130, 246, 0.2);
}

[data-theme="dark"] .login-header {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

[data-theme="dark"] .login-footer {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: var(--dark-color);
}

/* Dark Mode Toggle Animation */
.theme-toggle {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-toggle:hover {
    transform: scale(1.1);
}

/* Modern Tooltip */
.tooltip-modern {
    position: relative;
    display: inline-block;
}

.tooltip-modern .tooltip-text {
    visibility: hidden;
    width: 120px;
    background-color: var(--dark-color);
    color: var(--light-color);
    text-align: center;
    border-radius: 6px;
    padding: 5px 10px;
    position: absolute;
    z-index: 1000;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.75rem;
}

.tooltip-modern .tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: var(--dark-color) transparent transparent transparent;
}

.tooltip-modern:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(99, 102, 241, 0.1);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-gradient);
    border-radius: 5px;
    border: 2px solid transparent;
    background-clip: content-box;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%);
    background-clip: content-box;
}

/* Print Styles */
@media print {
    .navbar, .btn, footer {
        display: none !important;
    }

    .card {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
}
/* Enhanced Dark Mode Contrast */
[data-theme="dark"] .dropdown-menu {
    background-color: #334155;
    color: #f1f5f9;
    border: 1px solid #475569;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .dropdown-item {
    color: #f1f5f9;
    transition: background-color 0.3s ease;
}

[data-theme="dark"] .dropdown-item:hover,
[data-theme="dark"] .dropdown-item:focus {
    background-color: #475569;
    color: #f1f5f9;
}

[data-theme="dark"] .dropdown-header {
    color: #cbd5e1;
    border-bottom: 1px solid #475569;
}

[data-theme="dark"] .dropdown-item-text {
    color: #94a3b8 !important;
}

[data-theme="dark"] .text-danger {
    color: #f87171 !important;
}

[data-theme="dark"] .navbar-nav .nav-link.active {
    background-color: rgba(99, 102, 241, 0.2) !important;
    color: #f1f5f9 !important;
}

[data-theme="dark"] .page-header {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: #f1f5f9;
}

[data-theme="dark"] .page-header .breadcrumb-item a {
    color: #818cf8;
}

[data-theme="dark"] .page-header .breadcrumb-item.active {
    color: #cbd5e1;
}
/* Tile-Based UI Styles */
.tile {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(249, 250, 251, 0.95) 100%);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(99, 102, 241, 0.1);
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tile:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.tile:hover::before {
    opacity: 1;
}

.tile-link {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    height: 100%;
}

.tile-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    transition: transform 0.3s ease;
}

.tile:hover .tile-icon {
    transform: scale(1.2);
}

.tile-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin: 0;
    line-height: 1.2;
}

/* Tile Variants */
.tile-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

.tile-primary .tile-title {
    color: white;
}

.tile-secondary {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    color: white;
}

.tile-secondary .tile-title {
    color: white;
}

.tile-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.tile-success .tile-title {
    color: white;
}

.tile-info {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    color: white;
}

.tile-info .tile-title {
    color: white;
}

.tile-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.tile-warning .tile-title {
    color: white;
}

/* Mobile Responsiveness for Tiles */
@media (max-width: 768px) {
    .tile {
        aspect-ratio: 1.2;
        padding: 1rem;
    }

    .tile-icon {
        font-size: 2rem;
    }

    .tile-title {
        font-size: 0.875rem;
    }
}

@media (max-width: 576px) {
    .tile {
        aspect-ratio: 1.5;
        padding: 0.75rem;
    }

    .tile-icon {
        font-size: 1.5rem;
    }

    .tile-title {
        font-size: 0.75rem;
    }
}