/* SwiftShifts Enhanced User Experience Styles */

/* ================================
   GLOBAL ENHANCEMENTS
   ================================ */

:root {
    --transition-speed: 0.3s;
    --box-shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --box-shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
    --border-radius: 8px;
    
    /* SwiftShifts Logo Colors */
    --swift-blue-dark: #1e5a8e;
    --swift-blue-medium: #2563a5;
    --swift-blue-light: #4a9fd8;
    --swift-blue-bright: #60a5fa;
    --swift-silver: #c0c5ce;
    --swift-silver-light: #d4d8de;
    --swift-silver-bright: #e8eaed;
    
    /* Override Bootstrap Primary Color to Match Logo */
    --bs-primary: #2563a5 !important;
    --bs-primary-rgb: 37, 99, 165 !important;
    --bs-primary-bg-subtle: rgba(37, 99, 165, 0.1) !important;
    --bs-primary-border-subtle: rgba(37, 99, 165, 0.2) !important;
    
    /* Override Bootstrap Info to Match Silver */
    --bs-info: #4a9fd8 !important;
    --bs-info-rgb: 74, 159, 216 !important;
}

/* Force Bootstrap button primary color override */
.btn-primary {
    --bs-btn-bg: #2563a5 !important;
    --bs-btn-border-color: #2563a5 !important;
    --bs-btn-hover-bg: #1e5a8e !important;
    --bs-btn-hover-border-color: #1e5a8e !important;
    --bs-btn-active-bg: #1e5a8e !important;
    --bs-btn-active-border-color: #1e5a8e !important;
    background-color: #2563a5 !important;
    border-color: #2563a5 !important;
}

.btn-primary:hover {
    background-color: #1e5a8e !important;
    border-color: #1e5a8e !important;
}

/* Force progress bar color override */
.progress-bar {
    background-color: #2563a5 !important;
}

/* Force badge primary color override */
.badge.bg-primary {
    background-color: #2563a5 !important;
}

/* Force text-primary color override */
.text-primary {
    color: #2563a5 !important;
}

/* Force border-primary color override */
.border-primary {
    border-color: #2563a5 !important;
}

/* Fix for time and datetime picker scroll issues */
input[type="time"],
input[type="datetime-local"] {
    position: relative;
    z-index: 1;
}

input[type="time"]::-webkit-calendar-picker-indicator,
input[type="datetime-local"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    z-index: 10;
}

/* Ensure time picker dropdowns are scrollable */
input[type="time"]:focus,
input[type="datetime-local"]:focus {
    z-index: 1051 !important;
}

/* Smooth transitions for interactive elements */
.card, .btn, .nav-link, .worker-card, .notification-item, .form-control {
    transition: all var(--transition-speed) ease;
}

/* Enhanced button styles */
.btn {
    border-radius: var(--border-radius);
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn:hover {
    box-shadow: var(--box-shadow-hover);
    filter: brightness(1.05);
}

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

/* Card enhancements */
.card {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-light);
    border: none;
    overflow: hidden;
    transition: box-shadow var(--transition-speed) ease, border-color var(--transition-speed) ease;
}

.card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(var(--bs-primary-rgb), 0.3);
}

.card-header {
    border-bottom: 2px solid rgba(var(--bs-primary-rgb), 0.1);
    font-weight: 600;
}

/* ================================
   NAVIGATION ENHANCEMENTS
   ================================ */

.navbar {
    background: linear-gradient(135deg, #0f3a5f 0%, #1e5a8e 50%, #0f3a5f 100%) !important;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1030;
}

/* Make all navbar text white */
.navbar .nav-link,
.navbar .navbar-nav .nav-link,
.navbar .dropdown-toggle {
    color: #ffffff !important;
}

.navbar .nav-link:hover,
.navbar .navbar-nav .nav-link:hover,
.navbar .dropdown-toggle:hover {
    color: var(--swift-silver-bright) !important;
}

/* Ensure all navbar dropdowns are properly positioned */
.navbar .dropdown {
    position: relative;
    z-index: 1031;
}

.navbar .dropdown-menu {
    position: absolute;
    z-index: 1055 !important;
    top: 100%;
    left: 0;
    display: none;
}

.navbar .dropdown-menu.show {
    display: block;
}

/* Specifically target the Platform dropdown */
#enhancementsDropdown + .dropdown-menu {
    z-index: 1060 !important;
    position: absolute !important;
    top: calc(100% + 0.5rem) !important;
    left: 0 !important;
    min-width: 200px;
    transform: translateX(0) !important;
}

/* Force dropdown to be visible when shown */
.navbar .dropdown.show .dropdown-menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Ensure dropdown doesn't get clipped */
.navbar .dropdown {
    overflow: visible !important;
}

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

.nav-link {
    position: relative;
    font-weight: 500;
}

/* Fix dropdown positioning and z-index issues */
.dropdown-menu {
    z-index: 1050 !important;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    margin-top: 0.5rem;
}

.dropdown-toggle::after {
    margin-left: 0.5em;
}

/* Fix notification icon visibility */
.navbar .icon-bell {
    font-size: 1.1rem;
    opacity: 0.9;
}

.navbar .icon-bell:hover {
    opacity: 1;
}

/* Admin tab dropdown fixes */
.admin-tab-content {
    position: relative;
    z-index: 1;
}

.btn-group .dropdown-menu {
    z-index: 1060 !important;
    min-width: 120px;
}

/* Fix white box at bottom - adjust margin and padding */
.tab-content-section {
    margin-bottom: 2rem;
}

.tab-content-section:last-child {
    margin-bottom: 0;
}

/* Improve bulk actions card styling - but not in modals */
.tab-content-section .card.bg-light {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Ensure modal content has proper background */
.modal .bg-light {
    background-color: #f8f9fa !important;
    border: 1px solid #dee2e6 !important;
}

/* Fix dropdown positioning in admin tables */
.table .dropdown-menu {
    position: absolute;
    z-index: 1055 !important;
    top: 100%;
    left: 0;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--bs-primary);
    transition: all var(--transition-speed) ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

/* Notification bell animation */
.notification-bell {
    position: relative;
    display: inline-block;
}

.notification-bell:hover {
    animation: bell-ring 0.5s ease-in-out;
}

@keyframes bell-ring {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(15deg); }
    75% { transform: rotate(-15deg); }
}

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

.dashboard-stat {
    background: linear-gradient(135deg, rgba(var(--bs-primary-rgb), 0.1), rgba(var(--bs-info-rgb), 0.1));
    border: 1px solid rgba(var(--bs-primary-rgb), 0.2);
    color: var(--bs-body-color);
    border-radius: 12px;
    padding: 1.75rem;
    text-align: center;
    transition: all var(--transition-speed) ease;
    backdrop-filter: blur(10px);
}

.dashboard-stat:hover {
    border-color: var(--bs-primary);
    background: linear-gradient(135deg, rgba(var(--bs-primary-rgb), 0.15), rgba(var(--bs-info-rgb), 0.15));
    box-shadow: 0 10px 30px rgba(var(--bs-primary-rgb), 0.2);
    transform: translateY(-2px);
}

.dashboard-stat h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--bs-primary);
}

.dashboard-stat .stat-label {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--bs-secondary);
    margin-bottom: 0.5rem;
}

.dashboard-stat .stat-badge {
    background: var(--bs-primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

/* ================================
   EVENT CARDS
   ================================ */

.event-card {
    position: relative;
    border-left: 4px solid var(--bs-primary);
    background: linear-gradient(135deg, var(--bs-body-bg), rgba(var(--bs-primary-rgb), 0.05));
}

.event-card .event-status {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
}

.event-card .position-progress {
    background: rgba(var(--bs-success-rgb), 0.1);
    border-radius: 20px;
    padding: 0.25rem 0.75rem;
    margin: 0.25rem 0;
    border: 1px solid rgba(var(--bs-success-rgb), 0.2);
}

/* ================================
   WORKER PROFILE CARDS
   ================================ */

.worker-card {
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    border-left: 3px solid transparent;
}

.worker-card:hover {
    border-left-color: var(--bs-primary);
    box-shadow: var(--box-shadow-hover);
}

.worker-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--bs-primary);
    padding: 2px;
}

.worker-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
}

/* ================================
   FORM ENHANCEMENTS
   ================================ */

.form-control {
    border-radius: var(--border-radius);
    border: 2px solid rgba(var(--bs-border-color-rgb), 0.5);
    padding: 0.75rem 1rem;
    transition: all var(--transition-speed) ease;
}

.form-control:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.25);
    border-width: 2px;
}

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

/* ================================
   NOTIFICATION ENHANCEMENTS
   ================================ */

.notification-item {
    border-left: 4px solid var(--bs-info);
    background: linear-gradient(90deg, rgba(var(--bs-info-rgb), 0.1), transparent);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    margin-bottom: 1rem;
    transition: all var(--transition-speed) ease;
}

.notification-item:hover {
    box-shadow: var(--box-shadow-hover);
    border-left-width: 6px;
}

.notification-item.unread {
    border-left-color: var(--bs-primary);
    background: linear-gradient(90deg, rgba(var(--bs-primary-rgb), 0.15), transparent);
}

.notification-badge {
    background: var(--bs-primary);
    color: white;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 600;
}

/* ================================
   MODAL ENHANCEMENTS
   ================================ */

.modal-content {
    border-radius: var(--border-radius);
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.modal-header {
    border-bottom: 2px solid rgba(var(--bs-border-color-rgb), 0.1);
    padding: 1.5rem;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    border-top: 2px solid rgba(var(--bs-border-color-rgb), 0.1);
    padding: 1.5rem;
}

/* ================================
   ALERT ENHANCEMENTS
   ================================ */

.alert {
    border-radius: var(--border-radius);
    border: none;
    border-left: 4px solid;
    font-weight: 500;
    box-shadow: var(--box-shadow-light);
}

.alert-success {
    border-left-color: var(--bs-success);
    background: rgba(25, 135, 84, 0.9);
    color: white;
}

.alert-warning {
    border-left-color: var(--bs-warning);
    background: rgba(255, 193, 7, 0.9);
    color: white;
}

.alert-danger {
    border-left-color: var(--bs-danger);
    background: rgba(220, 53, 69, 0.9);
    color: white;
}

.alert-info {
    border-left-color: var(--bs-info);
    background: rgba(13, 110, 253, 0.9);
    color: white;
}

/* ================================
   TABLE ENHANCEMENTS
   ================================ */

.table {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow-light);
}

.table thead th {
    border-bottom: 2px solid rgba(var(--bs-primary-rgb), 0.1);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.table tbody tr {
    transition: all var(--transition-speed) ease;
}

.table tbody tr:hover {
    background-color: rgba(var(--bs-primary-rgb), 0.05);
    transform: scale(1.005);
}

/* ================================
   LOADING STATES
   ================================ */

.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(var(--bs-primary-rgb), 0.3);
    border-radius: 50%;
    border-top-color: var(--bs-primary);
}

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

/* ================================
   INTERACTIVE ELEMENTS
   ================================ */

.clickable {
    cursor: pointer;
    user-select: none;
}

.clickable:hover {
    opacity: 0.8;
}

.tooltip-custom {
    background: var(--bs-dark);
    color: var(--bs-light);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    box-shadow: var(--box-shadow-hover);
}

/* ================================
   PROGRESS INDICATORS
   ================================ */

.progress {
    border-radius: 20px;
    height: 10px;
    background: rgba(var(--bs-secondary-rgb), 0.2);
}

.progress-bar {
    border-radius: 20px;
    transition: width 0.6s ease;
}

/* ================================
   HERO SECTION GRADIENT
   ================================ */

.hero-gradient {
    background: linear-gradient(135deg, var(--swift-blue-dark) 0%, var(--swift-blue-medium) 25%, var(--swift-blue-light) 50%, var(--swift-blue-bright) 75%, #5ba9dd 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    position: relative;
    overflow: hidden;
}

.hero-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(30, 90, 142, 0.95) 0%, 
        rgba(37, 99, 165, 0.9) 25%, 
        rgba(74, 159, 216, 0.85) 50%, 
        rgba(96, 165, 250, 0.8) 75%, 
        rgba(91, 169, 221, 0.95) 100%);
    z-index: 1;
}

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

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Feature Box Styling */
.feature-box {
    background: linear-gradient(135deg, rgba(30, 90, 142, 0.05), rgba(74, 159, 216, 0.05));
    border: 1px solid rgba(74, 159, 216, 0.2);
    border-radius: var(--border-radius);
    transition: all var(--transition-speed) ease;
}

.feature-box:hover {
    background: linear-gradient(135deg, rgba(30, 90, 142, 0.1), rgba(74, 159, 216, 0.1));
    border-color: rgba(74, 159, 216, 0.4);
    box-shadow: 0 8px 25px rgba(30, 90, 142, 0.15);
    transform: translateY(-5px);
}

/* ================================
   MOBILE RESPONSIVENESS
   ================================ */

@media (max-width: 768px) {
    /* Disable hover transforms on mobile */
    .card:hover {
        transform: none;
    }
    
    .worker-card:hover {
        transform: none;
    }
    
    .table tbody tr:hover {
        transform: none;
    }
    
    .btn:hover {
        transform: none;
    }
    
    /* Improve mobile card sizing and readability */
    .card {
        margin-bottom: 1.5rem;
        font-size: 1rem;
    }
    
    .card-body {
        padding: 1.5rem;
    }
    
    .card-title {
        font-size: 1.5rem;
        font-weight: 600;
        margin-bottom: 1rem;
    }
    
    /* Make buttons larger and more touch-friendly */
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
        min-height: 44px;
    }
    
    .btn-sm {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
        min-height: 38px;
    }
    
    /* Improve table readability on mobile */
    .table {
        font-size: 0.95rem;
    }
    
    .table td, .table th {
        padding: 0.75rem;
    }
    
    /* Better spacing for forms */
    .form-control, .form-select {
        padding: 0.75rem;
        font-size: 1rem;
        min-height: 44px;
    }
    
    /* Make badges more visible */
    .badge {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }
    
    /* Improve navigation on mobile */
    .navbar-brand img {
        height: 60px !important;
    }
    
    /* Better container spacing */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Make headers more prominent */
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    h4 {
        font-size: 1.25rem;
    }
    
    /* Improve list item spacing */
    .list-group-item {
        padding: 1rem;
        font-size: 1rem;
    }
    
    /* Better alert visibility */
    .alert {
        padding: 1rem;
        font-size: 0.95rem;
    }
    
    /* Improve input group sizing */
    .input-group-text {
        padding: 0.75rem;
        font-size: 1rem;
    }
    
    /* Improve mobile navigation menu */
    .navbar-collapse {
        background-color: var(--swift-blue-dark);
        padding: 1rem 0;
        margin: 0 -1rem;
    }
    
    .navbar-collapse.show {
        max-height: 80vh;
        overflow-y: auto;
    }
    
    /* Better mobile dropdown styling */
    .navbar-nav .dropdown-menu {
        border: 1px solid rgba(74, 159, 216, 0.3);
        background-color: rgba(0, 0, 0, 0.3);
    }
    
    .navbar-nav .dropdown-item {
        padding: 0.75rem 1.5rem;
        color: rgba(255, 255, 255, 0.85);
    }
    
    .navbar-nav .dropdown-item:hover {
        background-color: rgba(74, 159, 216, 0.2);
        color: white;
    }
}

/* ================================
   CUSTOM BADGES
   ================================ */

.badge-pulse {
    background: var(--bs-warning);
    color: var(--bs-dark);
    font-weight: 600;
    border: 1px solid rgba(var(--bs-warning-rgb), 0.5);
}


/* ================================
   SEARCH AND FILTER ENHANCEMENTS
   ================================ */

.search-container {
    position: relative;
}

.search-container .form-control {
    padding-left: 2.5rem;
}

.search-container .search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--bs-secondary);
    z-index: 5;
}

.filter-chip {
    background: rgba(var(--bs-primary-rgb), 0.1);
    border: 1px solid rgba(var(--bs-primary-rgb), 0.3);
    border-radius: 20px;
    padding: 0.25rem 0.75rem;
    margin: 0.25rem;
    display: inline-block;
    font-size: 0.875rem;
    transition: all var(--transition-speed) ease;
}

.filter-chip:hover {
    background: rgba(var(--bs-primary-rgb), 0.2);
    border-color: rgba(var(--bs-primary-rgb), 0.5);
}

/* ================================
   STATUS INDICATORS
   ================================ */

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 0.5rem;
}

.status-indicator.online {
    background: var(--bs-success);
}

.status-indicator.busy {
    background: var(--bs-warning);
}

.status-indicator.offline {
    background: var(--bs-secondary);
}


/* ================================
   FOOTER ENHANCEMENTS
   ================================ */

footer {
    background: linear-gradient(135deg, var(--bs-dark), #000);
    border-top: 3px solid var(--bs-primary);
}

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

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

.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--bs-primary);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 1000;
}

.skip-link:focus {
    top: 6px;
}

/* ================================
   DARK MODE OPTIMIZATIONS
   ================================ */

[data-bs-theme="dark"] .card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

[data-bs-theme="dark"] .navbar {
    background: linear-gradient(135deg, #0f3a5f 0%, #1e5a8e 50%, #0f3a5f 100%) !important;
    backdrop-filter: blur(20px);
}

[data-bs-theme="dark"] .table {
    background: rgba(255, 255, 255, 0.02);
}

/* ================================
   DASHBOARD DROPDOWN ENHANCEMENTS
   ================================ */

/* Dashboard Stat Cards with Dropdowns */
.dashboard-stat {
    position: relative;
    overflow: visible;
    cursor: pointer;
}

.dashboard-stat .icon-chevron-down {
    font-size: 0.875rem;
    opacity: 0.7;
    transition: transform 0.3s ease;
}

.dashboard-stat[aria-expanded="true"] .icon-chevron-down {
    transform: rotate(180deg);
}

.dashboard-stat .dropdown-menu {
    border: 1px solid var(--bs-border-color);
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    border-radius: 0.5rem;
    margin-top: 0.5rem;
}

.dashboard-stat .dropdown-item {
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    margin: 0.25rem;
}

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

.dashboard-stat .dropdown-header {
    color: var(--bs-primary);
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.75rem 1rem 0.5rem;
}

.dashboard-stat .dropdown-divider {
    margin: 0.5rem 0;
    opacity: 0.3;
}

.dashboard-stat .dropdown-item-text {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
}

/* Enhanced dropdown button styles */
.dashboard-stat .btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
}

.dashboard-stat .dropdown-item .btn {
    border-width: 1px;
}

.dashboard-stat .dropdown-item .btn:hover {
    background-color: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.3);
}

/* ================================
   RATING STARS
   ================================ */

.rating-selector {
    display: flex;
    gap: 8px;
    margin: 8px 0;
}

.rating-star {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    transition: all 0.2s ease;
    color: #6c757d;
}

.rating-star:hover {
    color: #ffc107;
    transform: scale(1.15);
}

.rating-star.selected {
    color: #ffc107;
}

.rating-star svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
    stroke: currentColor;
    stroke-width: 2;
}

.rating-star.selected svg {
    fill: #ffc107;
}

.worker-rating-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    transition: all 0.3s ease;
}

.worker-rating-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(37, 99, 165, 0.3) !important;
}