/* Custom styles file */

/* Global styles */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --border-radius: 0.5rem;
    --box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --box-shadow-lg: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Navigation bar styles */
.navbar {
    backdrop-filter: blur(10px);
    background: rgba(13, 110, 253, 0.95) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 60px !important;
    height: 60px !important;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.navbar-nav .nav-link {
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.75rem 1rem !important;
    border-radius: var(--border-radius);
    margin: 0 0.25rem;
}

.navbar-nav .nav-link:hover {
    color: rgba(255, 255, 255, 0.9) !important;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.navbar-nav .nav-link.active {
    background: rgba(255, 255, 255, 0.2);
    color: white !important;
    border-radius: 0.375rem;
    padding: 0.5rem 1rem !important;
}

/* User dropdown styling */
.navbar-nav .dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-nav .dropdown-toggle .badge {
    font-size: 0.7rem;
    padding: 0.2rem 0.4rem;
    border-radius: 0.25rem;
}

/* Dropdown menu positioning */
.dropdown-menu {
    z-index: 1050;
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    border-radius: 0.5rem;
    margin-top: 0.5rem;
}

.dropdown-menu-end {
    right: 0;
    left: auto;
}

/* User info section styling */
.user-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.user-info .badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

/* Logout button styling */
.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
    transform: translateY(-1px);
}

/* Card styles */
.card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

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

.card-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
    font-weight: 600;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: var(--border-radius) var(--border-radius) 0 0 !important;
}

.card-body {
    padding: 1.5rem;
}

/* Glass morphism effect for special cards */
.card.glass {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Force solid background for glass cards in dark mode */
@media (prefers-color-scheme: dark) {
    .card.glass {
        background: #ffffff !important;
        backdrop-filter: none !important;
        border: 1px solid #dee2e6 !important;
        color: #212529 !important;
    }
}

/* Button styles */
.btn {
    font-weight: 500;
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
}

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

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

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

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

/* Primary button gradient */
.btn-primary {
    background: linear-gradient(135deg, #0d6efd 0%, #0056b3 100%);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
}

/* Success button gradient */
.btn-success {
    background: linear-gradient(135deg, #198754 0%, #146c43 100%);
    border: none;
}

.btn-success:hover {
    background: linear-gradient(135deg, #146c43 0%, #0f5132 100%);
}

/* Danger button gradient */
.btn-danger {
    background: linear-gradient(135deg, #dc3545 0%, #b02a37 100%);
    border: none;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #b02a37 0%, #842029 100%);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: calc(var(--border-radius) + 0.25rem);
}

/* Form styles */
.form-control {
    border-radius: var(--border-radius);
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
    transition: var(--transition);
    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(13, 110, 253, 0.25);
    background: rgba(255, 255, 255, 1);
    transform: translateY(-1px);
}

.form-label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

/* Input group enhancements */
.input-group .form-control {
    border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.input-group .btn {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

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

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

@keyframes slideIn {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Loading spinner */
.spinner {
    animation: spin 1s linear infinite;
}

/* Fade in animation for content */
.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Slide in animation for navigation */
.slide-in {
    animation: slideIn 0.3s ease-out;
}

/* Pulse animation for important elements */
.pulse {
    animation: pulse 2s infinite;
}

/* Loading overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-spinner {
    width: 3rem;
    height: 3rem;
    border: 0.3rem solid #f3f3f3;
    border-top: 0.3rem solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .btn-lg {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    /* Mobile navigation adjustments */
    .navbar-nav .dropdown-toggle {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .user-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .user-info .badge {
        margin-left: 0 !important;
        margin-top: 0.25rem;
    }
    
    .lead {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .navbar-nav .nav-link {
        padding: 0.5rem 0.75rem !important;
        margin: 0.125rem 0;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .btn-group-vertical .btn {
        width: 100%;
    }
}

/* Mobile-first touch improvements */
@media (hover: none) and (pointer: coarse) {
    .btn:hover {
        transform: none;
        box-shadow: var(--box-shadow);
    }
    
    .card:hover {
        transform: none;
        box-shadow: var(--box-shadow);
    }
    
    .btn:active {
        transform: scale(0.98);
    }
    
    .card:active {
        transform: scale(0.99);
    }
}

/* Dark mode support - Comprehensive override for all browsers */
@media (prefers-color-scheme: dark) {
    :root {
        --light-color: #f8f9fa;
        --dark-color: #212529;
    }
    
    /* Force light theme for all browsers including Edge */
    html, body {
        background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%) !important;
        background-color: #f8f9fa !important;
        color: #212529 !important;
    }
    
    /* Ensure all background classes work properly */
    .bg-light, .bg-white {
        background-color: #f8f9fa !important;
    }
    
    /* Force light backgrounds for main containers */
    .container, .container-fluid {
        background-color: transparent !important;
    }
    
    /* Ensure cards have proper backgrounds */
    .card {
        background-color: #ffffff !important;
        color: #212529 !important;
    }
    
    /* Ensure tables have proper backgrounds */
    .table {
        background-color: #ffffff !important;
    }
    
    .table th, .table td {
        background-color: #ffffff !important;
        color: #212529 !important;
    }
}

/* Additional override for Edge browser dark mode */
@supports (-ms-ime-align: auto) {
    body {
        background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%) !important;
        background-color: #f8f9fa !important;
        color: #212529 !important;
    }
}

/* Force light theme for Windows 11 dark mode regardless of browser */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    body {
        background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%) !important;
        background-color: #f8f9fa !important;
        color: #212529 !important;
    }
}

/* Additional force for all pages - highest priority */
body.bg-light {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%) !important;
    background-color: #f8f9fa !important;
    color: #212529 !important;
}

/* Force light theme for all elements in dark mode */
@media (prefers-color-scheme: dark) {
    /* Force light background for all pages */
    html, body {
        background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%) !important;
        background-color: #f8f9fa !important;
        color: #212529 !important;
    }
    
    /* Extra strong rules for login page */
    body.bg-light {
        background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%) !important;
        background-color: #f8f9fa !important;
        color: #212529 !important;
    }
    
    /* Force light backgrounds for all containers */
    .container, .container-fluid {
        background-color: transparent !important;
    }
    
    /* Force light backgrounds for all cards */
    .card {
        background-color: #ffffff !important;
        color: #212529 !important;
    }
    
    .card-header {
        background-color: #007bff !important;
        color: #ffffff !important;
    }
    
    /* Force light backgrounds for forms */
    .form-control {
        background-color: #ffffff !important;
        color: #212529 !important;
        border-color: #ced4da !important;
    }
    
    .form-control:focus {
        background-color: #ffffff !important;
        color: #212529 !important;
        border-color: #80bdff !important;
        box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25) !important;
    }
    
    .form-select {
        background-color: #ffffff !important;
        color: #212529 !important;
        border-color: #ced4da !important;
    }
    
    .form-select:focus {
        background-color: #ffffff !important;
        color: #212529 !important;
        border-color: #80bdff !important;
        box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25) !important;
    }
    
    /* Ensure checkboxes work properly in dark mode */
    .form-check-input {
        pointer-events: auto !important;
        cursor: pointer !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .form-check-label {
        cursor: pointer !important;
        pointer-events: auto !important;
    }
    
    textarea.form-control {
        background-color: #ffffff !important;
        color: #212529 !important;
        border-color: #ced4da !important;
    }
    
    textarea.form-control:focus {
        background-color: #ffffff !important;
        color: #212529 !important;
        border-color: #80bdff !important;
        box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25) !important;
    }
    
    /* Force light backgrounds for alerts */
    .alert {
        background-color: #ffffff !important;
        color: #212529 !important;
        border-color: #dee2e6 !important;
    }
    
    .alert-danger {
        background-color: #f8d7da !important;
        color: #721c24 !important;
        border-color: #f5c6cb !important;
    }
    
    /* Force light backgrounds for tables */
    .table {
        background-color: #ffffff !important;
        color: #212529 !important;
    }
    
    .table th, .table td {
        background-color: #ffffff !important;
        color: #212529 !important;
        border-color: #dee2e6 !important;
    }
    
    /* Force light backgrounds for modals */
    .modal-content {
        background-color: #ffffff !important;
        color: #212529 !important;
    }
    
    .modal-header {
        background-color: #f8f9fa !important;
        color: #212529 !important;
        border-bottom-color: #dee2e6 !important;
    }
    
    .modal-body {
        background-color: #ffffff !important;
        color: #212529 !important;
    }
    
    .modal-footer {
        background-color: #f8f9fa !important;
        color: #212529 !important;
        border-top-color: #dee2e6 !important;
    }
    
    /* Homepage specific elements */
    .hero-section {
        background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%) !important;
        color: #212529 !important;
    }
    
    .feature-card {
        background-color: #ffffff !important;
        color: #212529 !important;
    }
    
    /* Force navbar to stay blue in dark mode */
    .navbar-dark {
        background-color: #007bff !important;
        background: #007bff !important;
    }
    
    .navbar-dark .navbar-brand,
    .navbar-dark .navbar-nav .nav-link {
        color: #ffffff !important;
    }
    
    .navbar-dark .navbar-brand:hover,
    .navbar-dark .navbar-nav .nav-link:hover {
        color: #ffffff !important;
    }
    
    /* Force light backgrounds for footer */
    footer {
        background-color: #f8f9fa !important;
        color: #212529 !important;
        background: #f8f9fa !important;
    }
    
    footer.bg-dark {
        background-color: #f8f9fa !important;
        color: #212529 !important;
        background: #f8f9fa !important;
    }
    
    footer.text-light {
        color: #212529 !important;
    }
    
    /* Extra strong footer rules */
    footer[class*="bg-dark"] {
        background-color: #f8f9fa !important;
        background: #f8f9fa !important;
        color: #212529 !important;
    }
}

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

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

/* Print styles */
@media print {
    .navbar, .btn, .loading-overlay {
        display: none !important;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #000;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

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

.input-group-text {
    background-color: #f8f9fa;
    border: 1px solid #ced4da;
    color: #6c757d;
}

/* Table styles */
.table {
    border-radius: 0.375rem;
    overflow: hidden;
}

.table thead th {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
    color: #495057;
}

.table tbody tr:hover {
    background-color: rgba(0, 123, 255, 0.05);
}

/* Badge styles */
.badge {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
}

/* Alert styles */
.alert {
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border-left: 4px solid #17a2b8;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
    border-left: 4px solid #ffc107;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

/* Modal styles */
.modal-content {
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.modal-header {
    border-bottom: 1px solid #dee2e6;
    background-color: #f8f9fa;
    border-radius: 0.5rem 0.5rem 0 0;
}

.modal-footer {
    border-top: 1px solid #dee2e6;
    background-color: #f8f9fa;
    border-radius: 0 0 0.5rem 0.5rem;
}

/* Pagination styles */
.pagination .page-link {
    border: none;
    color: #0d6efd;
    margin: 0 0.125rem;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    background-color: #e9ecef;
    color: #0d6efd;
    transform: translateY(-1px);
}

.pagination .page-item.active .page-link {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

/* List group styles */
.list-group-item {
    border: none;
    border-bottom: 1px solid #dee2e6;
    padding: 1rem 0;
}

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

/* Code styles */
code {
    background-color: #f8f9fa;
    color: #e83e8c;
    padding: 0.2rem 0.4rem;
    border-radius: 0.25rem;
    font-size: 0.875em;
}

/* Icon styles */
.fa-3x {
    margin-bottom: 1rem;
}

.fa-2x {
    margin-bottom: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .btn-lg {
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }
    
    .table-responsive {
        font-size: 0.875rem;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
}

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

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

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

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

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Tooltip styles */
.tooltip {
    font-size: 0.875rem;
}

.tooltip-inner {
    background-color: #343a40;
    border-radius: 0.25rem;
}

/* Progress bar styles */
.progress {
    height: 0.5rem;
    border-radius: 0.25rem;
    background-color: #e9ecef;
}

.progress-bar {
    border-radius: 0.25rem;
    transition: width 0.6s ease;
}

/* Custom colors */
.text-muted {
    color: #6c757d !important;
}

.bg-light {
    background-color: #f8f9fa !important;
}

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

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

.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

/* Border styles */
.border-0 {
    border: 0 !important;
}

.rounded {
    border-radius: 0.375rem !important;
}

.rounded-lg {
    border-radius: 0.5rem !important;
}

/* Spacing utility classes */
.mt-5 {
    margin-top: 3rem !important;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.py-4 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
}

.px-4 {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
}

/* Floating Info Bar for Logged-in Users */
.floating-info-bar {
    position: fixed !important;
    top: 50% !important;
    right: 20px !important;
    transform: translateY(-50%) !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    padding: 20px 15px !important;
    border-radius: 15px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    z-index: 9999 !important;
    min-width: 200px !important;
    max-width: 250px !important;
    transition: all 0.3s ease !important;
    font-size: 14px !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.floating-info-bar:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.floating-info-bar .info-title {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 15px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 10px;
}

.floating-info-bar .info-item {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
}

.floating-info-bar .info-item:last-child {
    margin-bottom: 0;
}

.floating-info-bar .info-item:hover {
    transform: translateX(5px);
}

.floating-info-bar .info-item i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
    font-size: 16px;
}

.floating-info-bar .info-item a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.floating-info-bar .info-item a:hover {
    color: #ffd700;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

.floating-info-bar .info-item a:visited {
    color: white;
}

/* Responsive design for floating info bar */
@media (max-width: 768px) {
    .floating-info-bar {
        right: 10px;
        min-width: 180px;
        max-width: 200px;
        padding: 15px 12px;
        font-size: 13px;
    }
    
    .floating-info-bar .info-title {
        font-size: 15px;
        margin-bottom: 12px;
    }
    
    .floating-info-bar .info-item {
        margin-bottom: 10px;
    }
    
    .floating-info-bar .info-item i {
        font-size: 14px;
        margin-right: 8px;
    }
}

@media (max-width: 480px) {
    .floating-info-bar {
        right: 5px;
        min-width: 160px;
        max-width: 180px;
        padding: 12px 10px;
        font-size: 12px;
    }
    
    .floating-info-bar .info-title {
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    .floating-info-bar .info-item {
        margin-bottom: 8px;
    }
    
    .floating-info-bar .info-item i {
        font-size: 13px;
        margin-right: 6px;
    }
}
