/* Visa Consultancy System - Custom Styles */

:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --info-color: #0dcaf0;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #212529;
}

/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
}

/* Hero Section */
.hero-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero-image {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Feature Icons */
.feature-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.feature-icon-sm {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

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

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
}

/* Forms */
.form-control {
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    padding: 12px 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.btn {
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

/* Dashboard Styles */
.dashboard-card {
    border-left: 4px solid var(--primary-color);
}

.dashboard-card.success {
    border-left-color: var(--success-color);
}

.dashboard-card.warning {
    border-left-color: var(--warning-color);
}

.dashboard-card.danger {
    border-left-color: var(--danger-color);
}

.dashboard-card.info {
    border-left-color: var(--info-color);
}

/* Sidebar */
.sidebar {
    min-height: 100vh;
    background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%);
    color: #495057;
    border-right: 1px solid #dee2e6;
}

.sidebar .nav-link {
    color: #495057;
    padding: 12px 20px;
    border-radius: 8px;
    margin: 2px 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
    color: var(--primary-color);
    background-color: rgba(13, 110, 253, 0.1);
    transform: translateX(5px);
}

.sidebar .nav-link i {
    width: 20px;
    margin-right: 10px;
}

/* Tables */
.table {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.table thead th {
    background: #f8f9fa;
    color: #495057;
    border: none;
    font-weight: 600;
    border-bottom: 2px solid var(--primary-color);
}

.table tbody tr {
    transition: background-color 0.3s ease;
}

.table tbody tr:hover {
    background-color: rgba(13, 110, 253, 0.05);
}

/* Status Badges */
.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.status-draft { background: #e9ecef; color: #495057; }
.status-submitted { background: #cff4fc; color: #055160; }
.status-under-review { background: #fff3cd; color: #664d03; }
.status-approved { background: #d1e7dd; color: #0f5132; }
.status-rejected { background: #f8d7da; color: #721c24; }
.status-completed { background: #d4edda; color: #155724; }

/* Alert Messages */
.alert {
    border-radius: 8px;
    border: none;
    padding: 16px 20px;
}

.alert-dismissible .btn-close {
    padding: 1rem 1rem;
}

/* Language Selector */
.language-selector .dropdown-item.active {
    background-color: var(--primary-color);
    color: white;
}

/* File Upload */
.file-upload-area {
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    transition: border-color 0.3s ease;
    cursor: pointer;
}

.file-upload-area:hover {
    border-color: var(--primary-color);
}

.file-upload-area.dragover {
    border-color: var(--primary-color);
    background-color: rgba(13, 110, 253, 0.05);
}

/* Progress Bars */
.progress {
    height: 8px;
    border-radius: 4px;
}

.progress-bar {
    border-radius: 4px;
}

/* Modal */
.modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.modal-header {
    border-bottom: 1px solid #e9ecef;
    border-radius: 12px 12px 0 0;
}

.modal-footer {
    border-top: 1px solid #e9ecef;
    border-radius: 0 0 12px 12px;
}

/* Currency Display */
.currency-display {
    font-family: 'Courier New', monospace;
    font-weight: bold;
}

/* Application Timeline */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #dee2e6;
}

.timeline-item {
    position: relative;
    margin-bottom: 20px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -23px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 3px solid white;
    box-shadow: 0 0 0 2px var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: 50vh;
        text-align: center;
    }
    
    .sidebar {
        min-height: auto;
    }
    
    .table-responsive {
        font-size: 0.875rem;
    }
}

/* Loading Spinner */
.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* Print Styles */
@media print {
    .sidebar,
    .navbar,
    .btn,
    .no-print {
        display: none !important;
    }
    
    .main-content {
        margin-left: 0 !important;
    }
}

/* Light Mode Preference */
.card {
    background-color: #ffffff;
    color: #495057;
}

.table {
    background-color: #ffffff;
    color: #495057;
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-in-left {
    animation: slideInLeft 0.5s ease-out;
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0056b3;
}

/* Admin Panel Specific Styles */
.admin-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 250px;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    color: #495057;
    z-index: 1000;
    overflow-y: auto;
    transition: width 0.3s ease;
    box-shadow: 3px 0 10px rgba(0,0,0,0.1);
    border-right: 1px solid #dee2e6;
}

.admin-sidebar.collapsed {
    width: 80px;
}

.admin-sidebar.collapsed .nav-link span {
    display: none;
}

.admin-sidebar.collapsed .text-center .text-white,
.admin-sidebar.collapsed .text-center .text-white-50 {
    display: none;
}

main.admin-main-content {
    margin-left: 250px;
    padding: 20px;
    transition: margin-left 0.3s ease;
}

.admin-body.sidebar-collapsed .admin-main-content {
    margin-left: 80px;
}

.admin-content {
    min-height: 100vh;
    background: #f8f9fa;
}

.admin-header {
    background: white;
    padding: 1rem 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-bottom: 1px solid #e9ecef;
    z-index: 1001;
}

.admin-sidebar .nav-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    color: #495057;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 0.5rem;
    margin: 0.25rem 0.75rem;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    background: rgba(13, 110, 253, 0.1);
    color: var(--primary-color);
    transform: translateX(5px);
}

.admin-nav-link i {
    width: 20px;
    margin-right: 0.75rem;
    text-align: center;
}

.admin-stats-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border-left: 4px solid #007bff;
    transition: transform 0.3s ease;
}

.admin-stats-card:hover {
    transform: translateY(-2px);
}

.admin-stats-card.success {
    border-left-color: #28a745;
}

.admin-stats-card.warning {
    border-left-color: #ffc107;
}

.admin-stats-card.danger {
    border-left-color: #dc3545;
}

.admin-stats-card.info {
    border-left-color: #17a2b8;
}

.admin-table {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.admin-table thead {
    background: #f8f9fa;
}

.admin-table thead th {
    color: #495057;
    font-weight: 600;
    border: none;
    padding: 1rem;
    border-bottom: 2px solid var(--primary-color);
}

.admin-table tbody td {
    padding: 1rem;
    border-bottom: 1px solid #f1f3f4;
    vertical-align: middle;
}

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

.admin-btn-group .btn {
    margin: 0 2px;
    padding: 0.375rem 0.75rem;
}

.admin-modal .modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.admin-modal .modal-header {
    background: #f8f9fa;
    color: #495057;
    border-radius: 15px 15px 0 0;
    border-bottom: 2px solid var(--primary-color);
}

.admin-form-control {
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.admin-form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.admin-badge {
    padding: 0.5rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-search-box {
    position: relative;
    margin-bottom: 1.5rem;
}

.admin-search-box input {
    padding-left: 2.5rem;
    border-radius: 25px;
    border: 1px solid #e1e5e9;
}

.admin-search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
}

/* Responsive Admin Panel */
@media (max-width: 768px) {
    .admin-sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .admin-sidebar.show {
        transform: translateX(0);
    }
    
    .admin-content {
        margin-left: 0;
    }
    
    .admin-header {
        padding: 1rem;
    }
}

/* Calendar Specific Styles */
.calendar-day {
    min-height: 100px;
    border: 1px solid #e9ecef;
    padding: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.calendar-day:hover {
    background: #f8f9fa;
}

.calendar-day.today {
    background: #e3f2fd;
    border-color: #2196f3;
}

.calendar-day.has-appointments {
    background: #fff3cd;
}

.appointment-indicator {
    background: #007bff;
    color: white;
    font-size: 0.7rem;
    padding: 2px 4px;
    border-radius: 3px;
    margin: 1px 0;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.appointment-indicator.confirmed {
    background: #28a745;
}

.appointment-indicator.completed {
    background: #17a2b8;
}

.appointment-indicator.cancelled {
    background: #dc3545;
}

/* Additional Missing Styles */
.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    background: rgba(255,255,255,0.1);
    border-radius: 5px;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
}

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

.dropdown-item:hover {
    background: var(--primary-color);
    color: white;
}

/* Form Enhancements */
.form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
}

.form-select {
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    padding: 12px 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.input-group {
    margin-bottom: 1rem;
}

.input-group-text {
    background: var(--primary-color);
    color: white;
    border: 1px solid var(--primary-color);
    border-radius: 8px 0 0 8px;
}

/* Badge Improvements */
.badge {
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
    border-radius: 20px;
    font-weight: 600;
}

/* Card Enhancements */
.card-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #dee2e6;
    font-weight: 600;
}

.card-footer {
    background: #f8f9fa;
    border-top: 1px solid #dee2e6;
}

/* Button Group Styles */
.btn-group .btn {
    margin: 0;
    border-radius: 0;
}

.btn-group .btn:first-child {
    border-radius: 8px 0 0 8px;
}

.btn-group .btn:last-child {
    border-radius: 0 8px 8px 0;
}

/* Notification Styles */
.notification-item {
    border-left: 4px solid var(--primary-color);
    background: white;
    padding: 1rem;
    margin-bottom: 0.5rem;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.notification-item:hover {
    transform: translateX(5px);
}

.notification-item.unread {
    background: #f8f9ff;
    border-left-color: var(--warning-color);
}

.notification-item.success {
    border-left-color: var(--success-color);
}

.notification-item.error {
    border-left-color: var(--danger-color);
}

/* Loading States */
.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Search Box Enhancements */
.search-box {
    position: relative;
    max-width: 400px;
}

.search-box input {
    padding-left: 2.5rem;
    border-radius: 25px;
}

.search-box .search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    z-index: 5;
}

/* Status Indicators */
.status-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 0.5rem;
}

.status-indicator.active {
    background: var(--success-color);
    box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.3);
}

.status-indicator.inactive {
    background: var(--danger-color);
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.3);
}

.status-indicator.pending {
    background: var(--warning-color);
    box-shadow: 0 0 0 2px rgba(255, 193, 7, 0.3);
}

/* Breadcrumb */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 1rem;
}

.breadcrumb-item {
    font-size: 0.875rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: '/';
    color: #6c757d;
}

.breadcrumb-item.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Tooltip Enhancements */
.tooltip {
    font-size: 0.75rem;
}

.tooltip-inner {
    background: #2c3e50;
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
}

/* Print Styles Enhancement */
@media print {
    .no-print,
    .sidebar,
    .navbar,
    .btn,
    .dropdown,
    .modal {
        display: none !important;
    }
    
    .container-fluid {
        padding: 0;
    }
    
    .card {
        border: 1px solid #000;
        box-shadow: none;
    }
    
    .table {
        border-collapse: collapse;
    }
    
    .table th,
    .table td {
        border: 1px solid #000;
    }
}

/* Accessibility Improvements */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .card {
        border: 2px solid #000;
    }
    
    .btn {
        border: 2px solid currentColor;
    }
    
    .form-control,
    .form-select {
        border: 2px solid #000;
    }
}

/* Phone Input Styling */
.phone-input-container .country-code-select {
    max-width: 120px;
    border-right: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.phone-input-container .country-code-select:focus {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.phone-input-container input[type="tel"] {
    border-left: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.country-dropdown {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1050;
}

.country-item {
    padding: 8px 12px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.country-item:hover {
    background-color: #f8f9fa !important;
}

.country-item:last-child {
    border-bottom: none;
}

/* Appointment Times Section Styling */
.appointment-times-section {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    position: relative;
    overflow: hidden;
}

.appointment-times-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.3;
}

.appointment-time-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 1;
}

.appointment-time-card:hover {
    transform: translateY(-5px);
}

.appointment-time-card .bg-white {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Enhanced Mobile Responsiveness for Phone Input */
@media (max-width: 768px) {
    .phone-input-container .input-group {
        flex-direction: column;
    }
    
    .phone-input-container .country-code-select {
        border-radius: 8px;
        border-right: 1px solid #ced4da;
        margin-bottom: 0.5rem;
        max-width: 100%;
    }
    
    .phone-input-container input[type="tel"] {
        border-radius: 8px;
        border-left: 1px solid #ced4da;
    }
    
    .country-dropdown {
        position: fixed !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        width: 90% !important;
        max-width: 350px !important;
        max-height: 60vh !important;
    }
}

/* User Dashboard Specific Styles */
.user-body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.user-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.user-navbar {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

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

.user-navbar .nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.application-item {
    background: #f8f9fa;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.application-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
    border-color: var(--bs-primary);
}

.application-icon {
    width: 40px;
    height: 40px;
    background: rgba(var(--bs-primary-rgb), 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* User-specific button styles */
.user-card .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 10px;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.user-card .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.user-card .btn-outline-primary {
    border: 2px solid var(--bs-primary);
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.user-card .btn-outline-primary:hover {
    background: var(--bs-primary);
    transform: translateY(-2px);
}

.user-card .btn-outline-secondary {
    border: 2px solid #6c757d;
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.user-card .btn-outline-secondary:hover {
    transform: translateY(-2px);
}

/* Application list styling */
.application-list {
    max-height: 500px;
    overflow-y: auto;
}

.application-list::-webkit-scrollbar {
    width: 6px;
}

.application-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.application-list::-webkit-scrollbar-thumb {
    background: var(--bs-primary);
    border-radius: 10px;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ===== ENHANCED LANDING PAGE STYLES ===== */

/* Hero Section Enhancements */
.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.floating-shapes {
    position: relative;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 60px;
    height: 60px;
    top: 30%;
    right: 30%;
    animation-delay: 4s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 20%;
    animation-delay: 1s;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    background: linear-gradient(45deg, #fff, #e3f2fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

.hero-stats {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
}

.stat-item {
    padding: 0.5rem;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    display: block;
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.8;
    color: #fff;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    z-index: 2;
}

.passport-card {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    position: relative;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.3s ease;
}

.passport-card:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.passport-cover {
    text-align: center;
    color: white;
    margin-bottom: 1rem;
}

.passport-title {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.passport-subtitle {
    font-size: 0.8rem;
    opacity: 0.8;
}

.passport-stamp {
    background: #28a745;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.floating-icon {
    position: absolute;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.6);
    animation: float 3s ease-in-out infinite;
}

.icon-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.icon-2 {
    top: 20%;
    right: 15%;
    animation-delay: 1s;
}

.icon-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 2s;
}

.icon-4 {
    bottom: 10%;
    right: 10%;
    animation-delay: 3s;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-badge {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--info-color));
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.service-icon {
    text-align: center;
    margin-bottom: 1.5rem;
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.service-card:hover .icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.service-description {
    color: #6c757d;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.service-features li {
    padding: 0.25rem 0;
    font-size: 0.9rem;
    color: #495057;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.service-link:hover {
    color: var(--info-color);
    transform: translateX(5px);
}

/* Appointment Time Cards */
.appointment-time-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.appointment-time-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.time-icon-wrapper {
    margin-bottom: 1.5rem;
}

.time-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.time-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.time-range {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.time-days {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 1rem;
}

.time-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #28a745;
    box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.3);
}

.status-text {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Features Section */
.features-content {
    padding-right: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1rem;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(13, 110, 253, 0.05);
    transform: translateX(10px);
}

.feature-icon-wrapper {
    margin-right: 1rem;
    flex-shrink: 0;
}

.feature-icon-sm {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.feature-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.feature-description {
    color: #6c757d;
    margin: 0;
    line-height: 1.5;
}

/* Features Visual */
.features-visual {
    position: relative;
    height: 400px;
}

.award-container {
    position: relative;
    display: inline-block;
}

.award-icon {
    font-size: 8rem;
    color: var(--primary-color);
    animation: pulse 2s ease-in-out infinite;
}

.award-badge {
    position: absolute;
    bottom: -10px;
    right: -10px;
    background: var(--success-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    transform: rotate(15deg);
}

.floating-stats {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.stat-bubble {
    position: absolute;
    background: white;
    border-radius: 15px;
    padding: 1rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    text-align: center;
    animation: float 3s ease-in-out infinite;
}

.stat-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.stat-2 {
    top: 60%;
    right: 10%;
    animation-delay: 1s;
}

.stat-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 2s;
}

.stat-bubble .stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.stat-bubble .stat-label {
    font-size: 0.8rem;
    color: #6c757d;
}

/* Testimonial Cards */
.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: none;
    transition: all 0.3s ease;
    height: 100%;
}

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

.testimonial-content {
    margin-bottom: 1.5rem;
    position: relative;
}

.quote-icon {
    color: var(--primary-color);
    font-size: 2rem;
    opacity: 0.3;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    color: #495057;
    line-height: 1.6;
    margin: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar img {
    width: 60px;
    height: 60px;
    object-fit: cover;
}

.author-name {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.author-title {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.rating {
    font-size: 0.9rem;
}

/* Footer Enhancements */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    padding: 3rem 0 1rem;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    color: white;
}

.footer-heading {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    margin-bottom: 0.5rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: white;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-item i {
    width: 20px;
    color: var(--primary-color);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 2rem 0 1rem;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
}

.footer-legal {
    display: flex;
    gap: 1rem;
}

/* Animation Enhancements */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.fade-in-left {
    animation: fadeInLeft 1s ease-out;
}

.fade-in-right {
    animation: fadeInRight 1s ease-out;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Responsive Enhancements */
@media (max-width: 768px) {
    .hero-section {
        min-height: 80vh;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        margin-top: 2rem;
    }
    
    .passport-card {
        transform: none;
        margin-top: 2rem;
    }
    
    .features-visual {
        height: 300px;
        margin-top: 2rem;
    }
    
    .award-icon {
        font-size: 5rem;
    }
    
    .stat-bubble {
        position: relative;
        margin: 1rem auto;
        display: inline-block;
    }
    
    .floating-stats {
        position: relative;
        height: auto;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .service-card,
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .appointment-time-card {
        padding: 1.5rem;
    }
    
    .footer {
        padding: 2rem 0 1rem;
    }
}

/* ===== USER DASHBOARD ENHANCEMENTS ===== */

/* Empty State */
.empty-state {
    padding: 3rem 2rem;
}

.empty-state i {
    opacity: 0.3;
}

/* Application Items */
.application-item {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    cursor: pointer;
}

.application-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
    border-color: var(--bs-primary);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.application-icon {
    width: 40px;
    height: 40px;
    background: rgba(var(--bs-primary-rgb), 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* Enhanced User Cards */
.user-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.user-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

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

.user-card .card-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #dee2e6;
    border-radius: 20px 20px 0 0;
}

.user-card .card-header h5 {
    color: #2c3e50;
    font-weight: 600;
}

/* User Dashboard Stats Cards */
.user-card .bg-primary,
.user-card .bg-warning,
.user-card .bg-success,
.user-card .bg-info {
    background: linear-gradient(135deg, var(--bs-primary) 0%, #0056b3 100%) !important;
}

.user-card .bg-warning {
    background: linear-gradient(135deg, var(--bs-warning) 0%, #e0a800 100%) !important;
}

.user-card .bg-success {
    background: linear-gradient(135deg, var(--bs-success) 0%, #1e7e34 100%) !important;
}

.user-card .bg-info {
    background: linear-gradient(135deg, var(--bs-info) 0%, #138496 100%) !important;
}

/* User Dashboard Buttons */
.user-card .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 10px;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.user-card .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.user-card .btn-outline-primary {
    border: 2px solid var(--bs-primary);
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.user-card .btn-outline-primary:hover {
    background: var(--bs-primary);
    transform: translateY(-2px);
}

.user-card .btn-outline-secondary {
    border: 2px solid #6c757d;
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.user-card .btn-outline-secondary:hover {
    transform: translateY(-2px);
}

/* User Dashboard Profile Section */
.user-card .bg-primary.text-white {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

/* Enhanced Status Badges */
.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-draft {
    background: #e9ecef;
    color: #495057;
}

.status-submitted {
    background: #cff4fc;
    color: #055160;
}

.status-under_review {
    background: #fff3cd;
    color: #664d03;
}

.status-approved {
    background: #d1e7dd;
    color: #0f5132;
}

.status-rejected {
    background: #f8d7da;
    color: #721c24;
}

.status-completed {
    background: #d4edda;
    color: #155724;
}

/* User Dashboard Animations */
.user-card {
    animation: fadeInUp 0.6s ease-out;
}

.user-card:nth-child(1) { animation-delay: 0.1s; }
.user-card:nth-child(2) { animation-delay: 0.2s; }
.user-card:nth-child(3) { animation-delay: 0.3s; }
.user-card:nth-child(4) { animation-delay: 0.4s; }

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

/* User Dashboard Responsive */
@media (max-width: 768px) {
    .user-card {
        margin-bottom: 1.5rem;
    }
    
    .application-item {
        padding: 1rem !important;
    }
    
    .application-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .user-card .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

/* ===== ADMIN PANEL ENHANCEMENTS ===== */

/* Enhanced Admin Stats Cards */
.admin-stats-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.admin-stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
}

.admin-stats-card.warning::before {
    background: var(--warning-color);
}

.admin-stats-card.success::before {
    background: var(--success-color);
}

.admin-stats-card.danger::before {
    background: var(--danger-color);
}

.admin-stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.stats-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stats-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-color), #0056b3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.admin-stats-card.warning .stats-icon {
    background: linear-gradient(135deg, var(--warning-color), #e0a800);
}

.admin-stats-card.success .stats-icon {
    background: linear-gradient(135deg, var(--success-color), #1e7e34);
}

.admin-stats-card.danger .stats-icon {
    background: linear-gradient(135deg, var(--danger-color), #c82333);
}

.stats-info {
    flex: 1;
}

.stats-label {
    font-size: 0.875rem;
    color: #6c757d;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.stats-number {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.stats-change {
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.stats-change.positive {
    color: var(--success-color);
}

.stats-change.negative {
    color: var(--danger-color);
}

.stats-change.warning {
    color: var(--warning-color);
}

/* Enhanced Admin Cards */
.admin-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: none;
    transition: all 0.3s ease;
}

.admin-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.admin-card .card-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #dee2e6;
    border-radius: 15px 15px 0 0;
    padding: 1.25rem 1.5rem;
}

.admin-card .card-header h5 {
    color: #2c3e50;
    font-weight: 600;
    margin: 0;
}

.card-actions {
    display: flex;
    gap: 0.5rem;
}

/* Enhanced Admin Tables */
.admin-table-responsive {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.admin-table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.admin-table thead th {
    color: white;
    font-weight: 600;
    padding: 1rem;
    text-align: left;
    border: none;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-table tbody td {
    padding: 1rem;
    border-bottom: 1px solid #f1f3f4;
    vertical-align: middle;
}

.admin-table tbody tr {
    transition: all 0.3s ease;
}

.admin-table tbody tr:hover {
    background: #f8f9fa;
    transform: scale(1.01);
}

.admin-table tbody tr:last-child td {
    border-bottom: none;
}

/* Table Content Styling */
.application-number a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.application-number a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.applicant-info {
    display: flex;
    flex-direction: column;
}

.applicant-name {
    font-weight: 600;
    color: #2c3e50;
}

.applicant-email {
    font-size: 0.8rem;
}

.visa-info {
    display: flex;
    flex-direction: column;
}

.country-name {
    font-weight: 600;
    color: #2c3e50;
}

.visa-type {
    font-size: 0.8rem;
}

.date-info {
    display: flex;
    flex-direction: column;
}

.date {
    font-weight: 500;
    color: #2c3e50;
}

.time {
    font-size: 0.8rem;
}

/* Enhanced Admin Badges */
.admin-badge {
    padding: 0.5rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

.admin-badge.status-draft {
    background: #e9ecef;
    color: #495057;
}

.admin-badge.status-submitted {
    background: #cff4fc;
    color: #055160;
}

.admin-badge.status-under_review {
    background: #fff3cd;
    color: #664d03;
}

.admin-badge.status-approved {
    background: #d1e7dd;
    color: #0f5132;
}

.admin-badge.status-rejected {
    background: #f8d7da;
    color: #721c24;
}

.admin-badge.status-completed {
    background: #d4edda;
    color: #155724;
}

/* Admin Button Groups */
.admin-btn-group {
    display: flex;
    gap: 0.25rem;
}

.admin-btn-group .btn {
    padding: 0.375rem 0.5rem;
    border-radius: 6px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.admin-btn-group .btn:hover {
    transform: translateY(-1px);
}

/* Currency List Styling */
.currency-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.currency-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.currency-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.currency-pair {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.currency-from,
.currency-to {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
}

.currency-arrow {
    color: #6c757d;
    font-size: 0.8rem;
}

.currency-rate {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.rate-value {
    font-weight: 700;
    color: #2c3e50;
    font-size: 1.1rem;
}

.rate-change {
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.rate-change.positive {
    color: var(--success-color);
}

.rate-change.negative {
    color: var(--danger-color);
}

/* Empty State Styling */
.empty-state {
    padding: 2rem;
}

.empty-icon {
    opacity: 0.3;
}

/* Admin Panel Animations */
.admin-stats-card {
    animation: slideInUp 0.6s ease-out;
}

.admin-stats-card:nth-child(1) { animation-delay: 0.1s; }
.admin-stats-card:nth-child(2) { animation-delay: 0.2s; }
.admin-stats-card:nth-child(3) { animation-delay: 0.3s; }
.admin-stats-card:nth-child(4) { animation-delay: 0.4s; }

.admin-card {
    animation: fadeInUp 0.6s ease-out;
}

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

/* Admin Panel Responsive */
@media (max-width: 768px) {
    .stats-content {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .stats-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .stats-number {
        font-size: 1.5rem;
    }
    
    .admin-table {
        font-size: 0.8rem;
    }
    
    .admin-table thead th,
    .admin-table tbody td {
        padding: 0.75rem 0.5rem;
    }
    
    .currency-item {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
    
    .currency-rate {
        align-items: center;
    }
}

/* ===== ENHANCED INTERACTIONS ===== */

/* Ripple Effect */
.btn {
    position: relative;
    overflow: hidden;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Enhanced Form Controls */
.form-control:focus {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.15);
}

.form-control.is-valid {
    border-color: var(--success-color);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='m2.3 6.73.94-.94 1.44-1.44'/%3e%3c/svg%3e");
}

.form-control.is-invalid {
    border-color: var(--danger-color);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3e%3cpath fill='%23dc3545' d='M6 0C2.7 0 0 2.7 0 6s2.7 6 6 6 6-2.7 6-6-2.7-6-6-6zm2.5 7.5L7.5 6l1-1.5L6 4.5 4.5 3 3.5 4.5 2 3 1 4.5 2.5 6 1 7.5 2 9 3.5 7.5 5 9 6 7.5z'/%3e%3c/svg%3e");
}

/* Table Row Active State */
.table-row-active {
    background: rgba(13, 110, 253, 0.1) !important;
    border-left: 4px solid var(--primary-color);
}

/* Enhanced Animations */
.animate-in {
    animation: slideInUp 0.6s ease-out;
}

/* Loading Button States */
.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Smooth Transitions */
* {
    transition: all 0.3s ease;
}

/* Enhanced Focus States */
.btn:focus,
.form-control:focus,
.form-select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.25);
}

/* Improved Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* High Contrast Support */
@media (prefers-contrast: high) {
    .card,
    .user-card,
    .admin-card {
        border: 2px solid #000;
    }
    
    .btn {
        border: 2px solid currentColor;
    }
}

/* ===== ENHANCED ADMIN PANEL DESIGN ===== */

/* Admin Panel General Styles */
.admin-body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f8f9fa;
}

/* Admin Cards */
.admin-card {
    background: white;
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.admin-card:hover {
    box-shadow: 0 4px 25px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

/* Admin Stats Cards */
.admin-stats-card {
    background: white;
    border: none;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 3px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.admin-stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(45deg, #3498db, #2980b9);
}

.admin-stats-card.success::before {
    background: linear-gradient(45deg, #27ae60, #229954);
}

.admin-stats-card.warning::before {
    background: linear-gradient(45deg, #f39c12, #e67e22);
}

.admin-stats-card.danger::before {
    background: linear-gradient(45deg, #e74c3c, #c0392b);
}

.stats-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.stats-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    background: linear-gradient(45deg, #3498db, #2980b9);
}

.stats-icon.success {
    background: linear-gradient(45deg, #27ae60, #229954);
}

.stats-icon.warning {
    background: linear-gradient(45deg, #f39c12, #e67e22);
}

.stats-icon.danger {
    background: linear-gradient(45deg, #e74c3c, #c0392b);
}

.stats-details h3 {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    color: #2c3e50;
}

.stats-details p {
    margin: 0;
    color: #7f8c8d;
    font-size: 14px;
    font-weight: 500;
}

/* Admin Tables */
.admin-table {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.admin-table .table {
    margin: 0;
}

.admin-table .table thead th {
    background: #f8f9fa;
    border: none;
    font-weight: 600;
    color: #495057;
    padding: 15px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-table .table tbody td {
    border: none;
    padding: 15px;
    vertical-align: middle;
    border-bottom: 1px solid #f1f3f4;
}

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

/* Status Badges */
.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.pending {
    background: #fff3cd;
    color: #856404;
}

.status-badge.approved {
    background: #d4edda;
    color: #155724;
}

.status-badge.rejected {
    background: #f8d7da;
    color: #721c24;
}

.status-badge.under-review {
    background: #cce5ff;
    color: #004085;
}

/* Action Buttons */
.admin-btn {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.admin-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.admin-btn-primary {
    background: linear-gradient(45deg, #3498db, #2980b9);
    color: white;
}

.admin-btn-success {
    background: linear-gradient(45deg, #27ae60, #229954);
    color: white;
}

.admin-btn-warning {
    background: linear-gradient(45deg, #f39c12, #e67e22);
    color: white;
}

.admin-btn-danger {
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    color: white;
}

/* Form Enhancements */
.admin-form-group {
    margin-bottom: 20px;
}

.admin-form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
    font-size: 14px;
}

.admin-form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.admin-form-control:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
    outline: none;
}

/* Page Headers */
.admin-page-header {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.admin-page-header h1 {
    margin: 0;
    color: #2c3e50;
    font-size: 24px;
    font-weight: 700;
}

.admin-page-header p {
    margin: 5px 0 0 0;
    color: #7f8c8d;
    font-size: 14px;
}

/* Breadcrumbs */
.admin-breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0 0 20px 0;
}

.admin-breadcrumb .breadcrumb-item {
    font-size: 13px;
    color: #6c757d;
}

.admin-breadcrumb .breadcrumb-item.active {
    color: #495057;
    font-weight: 600;
}

/* Notifications */
.admin-notification {
    border: none;
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 20px;
    border-left: 4px solid;
}

.admin-notification.success {
    background: #d4edda;
    border-left-color: #28a745;
    color: #155724;
}

.admin-notification.warning {
    background: #fff3cd;
    border-left-color: #ffc107;
    color: #856404;
}

.admin-notification.danger {
    background: #f8d7da;
    border-left-color: #dc3545;
    color: #721c24;
}

.admin-notification.info {
    background: #cce5ff;
    border-left-color: #007bff;
    color: #004085;
}

/* Remove conflicting admin sidebar styles - handled in admin_header.php */

.admin-name {
    margin: 0;
    font-weight: 600;
    color: white;
}

.admin-role {
    color: rgba(255,255,255,0.7);
    font-size: 0.8rem;
}

.sidebar-menu {
    padding: 1rem 0;
}

.admin-nav-link {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 0;
    position: relative;
}

.admin-nav-link:hover,
.admin-nav-link.active {
    color: white;
    background: rgba(255,255,255,0.1);
    transform: translateX(5px);
}

.admin-nav-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #ffc107;
}

.nav-icon {
    width: 20px;
    text-align: center;
    margin-right: 1rem;
    font-size: 1.1rem;
}

.nav-label {
    flex: 1;
    font-weight: 500;
}

.nav-badge {
    background: #dc3545;
    color: white;
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    border-radius: 10px;
    font-weight: 600;
}

.sidebar-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.admin-stats {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
}

.stat-item i {
    width: 16px;
    text-align: center;
}

/* Admin Header Enhancements */
.admin-header {
    position: fixed;
    top: 0;
    left: 280px;
    right: 0;
    height: 70px;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 999;
    transition: left 0.3s ease;
}

.admin-body.sidebar-collapsed .admin-header {
    left: 80px;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 2rem;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sidebar-toggle {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #6c757d;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.sidebar-toggle:hover {
    background: #f8f9fa;
    color: #2c3e50;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: #2c3e50;
    font-size: 1.1rem;
}

.header-brand i {
    color: #2c3e50;
    font-size: 1.3rem;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-search {
    position: relative;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box i {
    position: absolute;
    left: 1rem;
    color: #6c757d;
    z-index: 2;
}

.search-box input {
    padding: 0.5rem 1rem 0.5rem 2.5rem;
    border: 1px solid #e9ecef;
    border-radius: 25px;
    width: 250px;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: #2c3e50;
    background: white;
    box-shadow: 0 0 0 3px rgba(44, 62, 80, 0.1);
}

.header-notifications {
    position: relative;
}

.notification-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #6c757d;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.notification-btn:hover {
    background: #f8f9fa;
    color: #2c3e50;
}

.notification-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: #dc3545;
    color: white;
    font-size: 0.7rem;
    padding: 0.2rem 0.4rem;
    border-radius: 10px;
    font-weight: 600;
}

.notification-dropdown {
    width: 300px;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 10px;
}

.notification-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #f1f3f4;
}

.notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.notification-content {
    flex: 1;
}

.notification-message {
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.notification-count {
    font-size: 0.8rem;
    color: #6c757d;
}

.header-user {
    position: relative;
}

.user-dropdown {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-dropdown:hover {
    background: #f8f9fa;
}

.user-avatar {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
}

.user-role {
    font-size: 0.75rem;
    color: #6c757d;
}

.user-dropdown-menu {
    width: 250px;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 10px;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
}

.profile-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.profile-info {
    flex: 1;
}

.profile-name {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.profile-email {
    font-size: 0.8rem;
    color: #6c757d;
}

/* Admin Main Content */
.admin-main-content {
    margin-left: 280px;
    margin-top: 70px;
    padding: 2rem;
    transition: margin-left 0.3s ease;
}

.admin-body.sidebar-collapsed .admin-main-content {
    margin-left: 80px;
}

/* Responsive Admin Panel */
@media (max-width: 768px) {
    .admin-sidebar {
        transform: translateX(-100%);
        width: 280px;
    }
    
    .admin-sidebar.show {
        transform: translateX(0);
    }
    
    .admin-header {
        left: 0;
    }
    
    .admin-main-content {
        margin-left: 0;
        margin-top: 70px;
    }
    
    .header-content {
        padding: 0 1rem;
    }
    
    .search-box input {
        width: 150px;
    }
    
    .header-right {
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    .search-box {
        display: none;
    }
    
    .header-brand span {
        display: none;
    }
    
    .user-info {
        display: none;
    }
}

/* ===== ENHANCED USER PANEL DESIGN ===== */

/* User Header Enhancements */
.user-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.header-brand {
    flex-shrink: 0;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
}

.brand-link:hover {
    color: white;
    transform: translateY(-2px);
}

.brand-icon {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    backdrop-filter: blur(10px);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-weight: 700;
    font-size: 1.3rem;
    line-height: 1.2;
}

.brand-subtitle {
    font-size: 0.8rem;
    opacity: 0.8;
    font-weight: 400;
}

.header-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.5rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.nav-link::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 0.5s ease;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: white;
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: #ffc107;
    border-radius: 2px;
}

.nav-link i {
    font-size: 1.1rem;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.language-selector {
    position: relative;
}

.language-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    color: white;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.language-btn:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-1px);
}

.new-app-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255,255,255,0.9);
    color: #667eea;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.new-app-btn:hover {
    background: white;
    color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.user-menu {
    position: relative;
}

.user-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 10px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-btn:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-1px);
}

.user-avatar {
    width: 35px;
    height: 35px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.user-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.user-name {
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.2;
}

.user-role {
    font-size: 0.75rem;
    opacity: 0.8;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-toggle:hover {
    background: rgba(255,255,255,0.1);
}

.mobile-nav {
    display: none;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255,255,255,0.2);
}

.mobile-nav-content {
    padding: 1rem 2rem;
}

.mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-item {
    margin-bottom: 0.5rem;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    color: #2c3e50;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: #f8f9fa;
    color: #667eea;
    transform: translateX(5px);
}

.mobile-nav-link i {
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

.mobile-actions {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.mobile-new-app-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.mobile-new-app-btn:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* User Dropdown Enhancements */
.user-menu .dropdown-menu {
    width: 280px;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 15px;
    padding: 0.5rem;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    margin-bottom: 0.5rem;
}

.profile-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.profile-info {
    flex: 1;
}

.profile-name {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.profile-email {
    font-size: 0.8rem;
    color: #6c757d;
}

/* Responsive User Header */
@media (max-width: 1024px) {
    .header-container {
        padding: 1rem;
    }
    
    .nav-list {
        gap: 0.25rem;
    }
    
    .nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .nav-link span {
        display: none;
    }
    
    .header-actions {
        gap: 0.5rem;
    }
    
    .new-app-btn span {
        display: none;
    }
    
    .user-info {
        display: none;
    }
}

@media (max-width: 768px) {
    .header-nav {
        display: none;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .mobile-nav {
        display: block;
    }
    
    .header-actions {
        gap: 0.5rem;
    }
    
    .language-btn span {
        display: none;
    }
    
    .new-app-btn {
        padding: 0.5rem;
    }
    
    .new-app-btn span {
        display: none;
    }
}

@media (max-width: 576px) {
    .header-container {
        padding: 0.75rem 1rem;
    }
    
    .brand-text {
        display: none;
    }
    
    .brand-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .header-actions {
        gap: 0.25rem;
    }
    
    .language-selector {
        display: none;
    }
}
