        body {
            font-family: 'Segoe UI', 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
            margin: 0;
            background: var(--saksham-bg-primary);
            min-height: 100vh;
            color: var(--saksham-text-primary);
        }
        .navbar {
            background: var(--saksham-card-bg);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid var(--saksham-card-border);
            padding: 1rem 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: var(--saksham-shadow-light);
            min-height: auto !important;
            max-height: 100px !important;
            height: auto !important;
            position: sticky;
            top: 0;
            z-index: 1100;
        }
        .navbar .logo {
            color: var(--saksham-text-primary);
            font-size: 1.5rem;
            font-weight: bold;
            text-decoration: none;
        }
        .navbar .nav-links {
            display: flex;
            gap: 1rem;
            align-items: center;
        }
        .navbar .nav-links a {
            color: var(--saksham-text-secondary);
            text-decoration: none;
            padding: var(--saksham-spacing-sm) var(--saksham-spacing-md);
            border-radius: var(--saksham-radius-medium);
            transition: all 0.3s ease;
        }
        .navbar .nav-links a:hover {
            background: var(--saksham-card-hover);
            color: var(--saksham-text-primary);
        }
        .navbar .user-info {
            color: var(--saksham-text-primary) !important;
        }
        .navbar .user-info:hover {
            color: var(--saksham-text-primary) !important;
        }
        .navbar-toggler {
            border-color: var(--saksham-card-border);
            background: var(--saksham-card-bg);
        }
        .navbar-toggler-icon {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
        }
        .dropdown-menu {
            background: var(--saksham-card-bg) !important;
            backdrop-filter: blur(10px);
            border: 1px solid var(--saksham-card-border) !important;
            box-shadow: var(--saksham-shadow-medium);
        }
        .dropdown-item {
            color: var(--saksham-text-primary) !important;
        }
        .dropdown-item:hover {
            background: var(--saksham-card-hover) !important;
            color: var(--saksham-text-primary) !important;
        }
        .dropdown-divider {
            border-color: var(--saksham-card-border) !important;
        }

        /* Unify Bootstrap modal look across modules */
        .modal-content {
            background: var(--saksham-card-bg);
            color: var(--saksham-text-primary);
            border: 1px solid var(--saksham-card-border);
            box-shadow: var(--saksham-shadow-medium);
        }
        .modal-header, .modal-footer {
            background: rgba(255, 255, 255, 0.05);
            border-color: var(--saksham-card-border);
        }
        
        /* Fix dropdown option visibility issues globally */
        select option {
            background-color: #2a2a2a !important;
            color: #ffffff !important;
            border: none !important;
        }
        select {
            background-color: rgba(255, 255, 255, 0.1) !important;
            color: #ffffff !important;
            border: 1px solid rgba(255, 255, 255, 0.3) !important;
        }
        select:focus {
            background-color: rgba(255, 255, 255, 0.15) !important;
            border-color: rgba(255, 255, 255, 0.5) !important;
            outline: none !important;
        }
        .form-select option, .form-control option {
            background-color: #2a2a2a !important;
            color: #ffffff !important;
        }
        .form-select, .form-control select {
            background-color: rgba(255, 255, 255, 0.1) !important;
            color: #ffffff !important;
            border: 1px solid rgba(255, 255, 255, 0.3) !important;
        }
        
        /* Additional fixes for specific modal contexts */
        .modal select option,
        .modal-content select option,
        .tab-content select option {
            background-color: #2a2a2a !important;
            color: #ffffff !important;
        }
        
        /* Fix hover states for better UX */
        select option:hover,
        select option:focus,
        select option:checked {
            background-color: #3a3a3a !important;
            color: #ffffff !important;
        }
        
        /* Global Card Styling Override */
        .card {
            background: var(--saksham-card-bg) !important;
            border: 1px solid var(--saksham-card-border) !important;
            color: var(--saksham-text-primary) !important;
            backdrop-filter: blur(10px);
            border-radius: var(--saksham-radius-large) !important;
            box-shadow: var(--saksham-shadow-light);
        }
        
        .card-header {
            background: rgba(255, 255, 255, 0.05) !important;
            border-bottom: 1px solid var(--saksham-card-border) !important;
            color: var(--saksham-text-primary) !important;
        }
        
        .card-body {
            color: var(--saksham-text-primary) !important;
        }
        
        .card:hover {
            background: var(--saksham-card-hover) !important;
            box-shadow: var(--saksham-shadow-medium);
            transition: all 0.3s ease;
            transform: translateY(-2px);
        }
        
        /* Fix text-muted to use theme colors */
        .text-muted {
            color: var(--saksham-text-muted) !important;
        }
        .navbar .logout-btn {
            background: rgba(255,255,255,0.2);
            color: white;
            border: 1px solid rgba(255,255,255,0.3);
            padding: 0.5rem 1rem;
            border-radius: 5px;
            text-decoration: none;
            transition: all 0.3s ease;
        }
        .navbar .logout-btn:hover {
            background: rgba(255,255,255,0.3);
        }
        .container {
            padding: 2rem;
            max-width: 1200px;
            margin: 0 auto;
        }
        .module-header {
            background: var(--saksham-card-bg);
            backdrop-filter: blur(10px);
            border: 1px solid var(--saksham-card-border);
            border-radius: var(--saksham-radius-xlarge);
            padding: var(--saksham-spacing-xl);
            margin-bottom: var(--saksham-spacing-xl);
            color: var(--saksham-text-primary);
            text-align: center;
            box-shadow: var(--saksham-shadow-medium);
        }
        .module-content {
            background: var(--saksham-card-bg);
            backdrop-filter: blur(10px);
            border: 1px solid var(--saksham-card-border);
            border-radius: var(--saksham-radius-large);
            padding: var(--saksham-spacing-xl);
            color: var(--saksham-text-primary);
        }
        .back-btn {
            background: var(--saksham-card-bg);
            color: var(--saksham-text-primary);
            padding: var(--saksham-spacing-sm) var(--saksham-spacing-md);
            border: 1px solid var(--saksham-card-border);
            border-radius: var(--saksham-radius-medium);
            text-decoration: none;
            display: inline-block;
            margin-bottom: var(--saksham-spacing-md);
            transition: all 0.3s ease;
        }
        .back-btn:hover {
            background: var(--saksham-card-hover);
            transform: translateX(-2px);
        }

        /* Live Chat Notification Bubble Styles */
        .live-chat-bubble {
            position: fixed;
            bottom: 20px;
            right: 20px;
            z-index: 9999;
        }

        .chat-bubble-trigger {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, #007bff, #0056b3);
            border: none;
            border-radius: 50%;
            color: white;
            font-size: 24px;
            cursor: pointer;
            box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
            transition: all 0.3s ease;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .chat-bubble-trigger:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(0, 123, 255, 0.6);
        }

        .chat-bubble-trigger .notification-badge {
            position: absolute;
            top: -5px;
            right: -5px;
            background: #dc3545;
            color: white;
            border-radius: 50%;
            width: 20px;
            height: 20px;
            font-size: 12px;
            font-weight: bold;
            display: flex;
            align-items: center;
            justify-content: center;
            animation: pulse 1.5s infinite;
        }

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

        .chat-notifications-panel {
            position: absolute;
            bottom: 80px;
            right: 0;
            width: 320px;
            max-height: 400px;
            background: white;
            border-radius: 12px;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
            display: none;
            overflow: hidden;
        }

        .chat-notifications-panel.show {
            display: block;
            animation: slideUp 0.3s ease-out;
        }

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

        .chat-panel-header {
            background: linear-gradient(135deg, #007bff, #0056b3);
            color: white;
            padding: 15px;
            font-weight: bold;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .chat-panel-close {
            background: none;
            border: none;
            color: white;
            font-size: 20px;
            cursor: pointer;
            padding: 4px;
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 4px;
            transition: all 0.2s ease;
            opacity: 0.8;
        }
        .chat-panel-close:hover {
            background: rgba(255, 255, 255, 0.2);
            opacity: 1;
            transform: scale(1.1);
        }
        .chat-panel-close:active {
            transform: scale(0.95);
        }

        .chat-notifications-list {
            max-height: 300px;
            overflow-y: auto;
        }

        .chat-notification-item {
            padding: 12px 15px;
            border-bottom: 1px solid #eee;
            cursor: pointer;
            transition: background-color 0.2s ease;
        }

        .chat-notification-item:hover {
            background-color: #f8f9fa;
        }

        .chat-notification-item.unread {
            background-color: #e3f2fd;
            border-left: 4px solid #007bff;
        }

        .notification-title {
            font-weight: bold;
            color: #333;
            font-size: 14px;
            margin-bottom: 4px;
        }

        .notification-message {
            color: #666;
            font-size: 13px;
            margin-bottom: 6px;
            line-height: 1.4;
        }

        .notification-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 12px;
            color: #999;
        }

        .notification-priority {
            padding: 2px 6px;
            border-radius: 10px;
            font-size: 10px;
            font-weight: bold;
            text-transform: uppercase;
        }

        .notification-priority.high {
            background-color: #dc3545;
            color: white;
        }

        .notification-priority.medium {
            background-color: #ffc107;
            color: #333;
        }

        .notification-priority.low {
            background-color: #28a745;
            color: white;
        }

        .notification-actions {
            margin-top: 8px;
            display: flex;
            gap: 6px;
        }

        .notification-action-btn {
            padding: 4px 8px;
            border: 1px solid #007bff;
            background: white;
            color: #007bff;
            border-radius: 4px;
            font-size: 11px;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .notification-action-btn:hover {
            background: #007bff;
            color: white;
        }

        .chat-panel-footer {
            padding: 10px 15px;
            background: #f8f9fa;
            border-top: 1px solid #eee;
            text-align: center;
        }

        .start-chat-btn {
            width: 100%;
            padding: 8px;
            background: #007bff;
            color: white;
            border: none;
            border-radius: 6px;
            font-size: 13px;
            cursor: pointer;
            transition: background-color 0.2s ease;
        }

        .start-chat-btn:hover {
            background: #0056b3;
        }

        .empty-notifications {
            padding: 30px 15px;
            text-align: center;
            color: #666;
            font-size: 14px;
        }

        /* Ticket Updates Sidebar Styles */
        .ticket-updates-sidebar {
            position: fixed;
            top: 0;
            right: -350px;
            width: 350px;
            height: 100vh;
            background: linear-gradient(135deg, #f8f9fa, #e9ecef);
            box-shadow: -4px 0 12px rgba(0, 0, 0, 0.15);
            transition: right 0.3s ease;
            z-index: 9998;
            display: flex;
            flex-direction: column;
            border-left: 1px solid #dee2e6;
        }

        .ticket-updates-sidebar.open {
            right: 0;
        }

        .sidebar-toggle {
            position: fixed;
            top: 50%;
            right: 10px;
            transform: translateY(-50%);
            width: 40px;
            height: 80px;
            background: linear-gradient(135deg, #28a745, #20c997);
            color: white;
            border: none;
            border-radius: 20px 0 0 20px;
            cursor: pointer;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            font-weight: bold;
            box-shadow: -2px 0 8px rgba(0, 0, 0, 0.2);
            transition: all 0.3s ease;
            z-index: 9999;
            writing-mode: vertical-rl;
            text-orientation: mixed;
        }

        .sidebar-toggle:hover {
            background: linear-gradient(135deg, #218838, #1e7e34);
            width: 45px;
        }

        .sidebar-toggle .toggle-badge {
            position: absolute;
            top: -5px;
            left: -5px;
            background: #dc3545;
            color: white;
            border-radius: 50%;
            width: 18px;
            height: 18px;
            font-size: 10px;
            font-weight: bold;
            display: flex;
            align-items: center;
            justify-content: center;
            animation: pulse 1.5s infinite;
        }

        .sidebar-header {
            background: linear-gradient(135deg, #28a745, #20c997);
            color: white;
            padding: 15px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid #dee2e6;
        }

        .sidebar-title {
            font-weight: bold;
            font-size: 16px;
        }

        .sidebar-close {
            background: none;
            border: none;
            color: white;
            font-size: 20px;
            cursor: pointer;
            padding: 0;
        }

        .sidebar-stats {
            background: white;
            padding: 15px;
            border-bottom: 1px solid #dee2e6;
        }

        .stats-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 8px;
        }

        .stats-row:last-child {
            margin-bottom: 0;
        }

        .stat-label {
            font-size: 13px;
            color: #666;
        }

        .stat-value {
            font-size: 13px;
            font-weight: bold;
            color: #333;
        }

        .stat-value.high-priority {
            color: #dc3545;
        }

        .sidebar-content {
            flex: 1;
            overflow-y: auto;
            padding: 0;
        }

        .update-item {
            background: white;
            border-bottom: 1px solid #e9ecef;
            padding: 15px;
            cursor: pointer;
            transition: background-color 0.2s ease;
            position: relative;
        }

        .update-item:hover {
            background-color: #f8f9fa;
        }

        .update-item.unread {
            border-left: 4px solid #28a745;
            background-color: #f0fff4;
        }

        .update-item.high-priority {
            border-left: 4px solid #dc3545;
        }

        .update-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 8px;
        }

        .update-title {
            font-weight: bold;
            color: #333;
            font-size: 14px;
            flex: 1;
            margin-right: 10px;
        }

        .update-time {
            font-size: 11px;
            color: #999;
            white-space: nowrap;
        }

        .update-meta {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 8px;
        }

        .ticket-badge {
            background: #e9ecef;
            color: #495057;
            padding: 2px 6px;
            border-radius: 10px;
            font-size: 10px;
            font-weight: bold;
        }

        .priority-badge {
            padding: 2px 6px;
            border-radius: 10px;
            font-size: 10px;
            font-weight: bold;
            text-transform: uppercase;
        }

        .priority-badge.high {
            background-color: #dc3545;
            color: white;
        }

        .priority-badge.medium {
            background-color: #ffc107;
            color: #333;
        }

        .priority-badge.low {
            background-color: #28a745;
            color: white;
        }

        .agent-info {
            display: flex;
            align-items: center;
            gap: 5px;
            font-size: 11px;
            color: #666;
        }

        .update-preview {
            color: #666;
            font-size: 13px;
            line-height: 1.4;
            margin-bottom: 10px;
        }

        .update-actions {
            display: flex;
            gap: 5px;
            flex-wrap: wrap;
        }

        .update-action-btn {
            padding: 3px 8px;
            border: 1px solid #28a745;
            background: white;
            color: #28a745;
            border-radius: 3px;
            font-size: 10px;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .update-action-btn:hover {
            background: #28a745;
            color: white;
        }

        .update-action-btn.primary {
            background: #28a745;
            color: white;
        }

        .update-action-btn.primary:hover {
            background: #218838;
        }

        .sidebar-footer {
            background: white;
            padding: 15px;
            border-top: 1px solid #dee2e6;
            text-align: center;
        }

        .refresh-updates-btn {
            width: 100%;
            padding: 8px;
            background: #28a745;
            color: white;
            border: none;
            border-radius: 6px;
            font-size: 13px;
            cursor: pointer;
            transition: background-color 0.2s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 5px;
        }

        .refresh-updates-btn:hover {
            background: #218838;
        }

        .auto-refresh-indicator {
            position: absolute;
            top: 5px;
            right: 5px;
            width: 8px;
            height: 8px;
            background: #28a745;
            border-radius: 50%;
            animation: blink 2s infinite;
        }

        @keyframes blink {
            0%, 50% { opacity: 1; }
            51%, 100% { opacity: 0.3; }
        }

        .empty-updates {
            padding: 40px 20px;
            text-align: center;
            color: #666;
            font-size: 14px;
        }

        /* Mobile responsiveness */
        @media (max-width: 768px) {
            .ticket-updates-sidebar {
                width: 100%;
                right: -100%;
            }
            
            .sidebar-toggle {
                right: 5px;
                width: 35px;
                height: 70px;
                font-size: 10px;
            }
        }
        .security-alert {
            position: fixed;
            top: 80px;
            right: 20px;
            width: 400px;
            background: white;
            border-radius: 10px;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
            z-index: 10001;
            animation: slideInRight 0.3s ease-out;
            overflow: hidden;
        }

        .security-alert.new-device-alert {
            border-left: 4px solid #dc3545;
        }

        .security-alert.password-expiry-alert {
            border-left: 4px solid #ffc107;
        }

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

        .alert-header {
            background: linear-gradient(135deg, #dc3545, #c82333);
            color: white;
            padding: 15px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .password-expiry-alert .alert-header {
            background: linear-gradient(135deg, #ffc107, #e0a800);
            color: #333;
        }

        .alert-icon {
            font-size: 24px;
        }

        .alert-title {
            font-weight: bold;
            flex: 1;
        }

        .alert-close {
            background: none;
            border: none;
            color: inherit;
            font-size: 20px;
            cursor: pointer;
            padding: 0;
            width: 24px;
            height: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .alert-content {
            padding: 15px;
        }

        .device-info {
            margin-bottom: 15px;
            background: #f8f9fa;
            padding: 12px;
            border-radius: 5px;
        }

        .info-row {
            display: flex;
            justify-content: space-between;
            margin-bottom: 6px;
            font-size: 14px;
        }

        .info-row:last-child {
            margin-bottom: 0;
        }

        .info-label {
            font-weight: bold;
            color: #666;
        }

        .info-value {
            color: #333;
            text-align: right;
        }

        .alert-message {
            margin-bottom: 15px;
            font-size: 14px;
            line-height: 1.4;
            color: #666;
        }

        .alert-actions {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
        }

        .alert-btn {
            padding: 8px 16px;
            border: none;
            border-radius: 5px;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.2s ease;
            flex: 1;
        }

        .alert-btn-primary {
            background: #28a745;
            color: white;
        }

        .alert-btn-primary:hover {
            background: #218838;
        }

        .alert-btn-warning {
            background: #dc3545;
            color: white;
        }

        .alert-btn-warning:hover {
            background: #c82333;
        }

        .alert-btn-secondary {
            background: #6c757d;
            color: white;
        }

        .alert-btn-secondary:hover {
            background: #5a6268;
        }

        @media (max-width: 768px) {
            .security-alert {
                width: 90%;
                right: 5%;
                top: 70px;
            }
        }

        /* Export Notification Styles */
        .export-notification {
            position: fixed;
            top: 80px;
            left: 20px;
            width: 380px;
            background: white;
            border-radius: 10px;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
            z-index: 10002;
            animation: slideInLeft 0.3s ease-out;
            overflow: hidden;
            border-left: 4px solid #28a745;
        }

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

        .export-notification.fade-out {
            opacity: 0;
            transform: translateX(-100%);
            transition: all 0.3s ease-in-out;
        }

        .export-notification-header {
            background: linear-gradient(135deg, #28a745, #20c997);
            color: white;
            padding: 15px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .export-icon {
            font-size: 24px;
        }

        .export-title {
            font-weight: bold;
            flex: 1;
        }

        .export-close {
            background: none;
            border: none;
            color: white;
            font-size: 20px;
            cursor: pointer;
            padding: 0;
            width: 24px;
            height: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .export-notification-content {
            padding: 15px;
        }

        .export-summary {
            margin-bottom: 15px;
            background: #f8f9fa;
            padding: 12px;
            border-radius: 5px;
        }

        .summary-row {
            display: flex;
            justify-content: space-between;
            margin-bottom: 6px;
            font-size: 14px;
        }

        .summary-row:last-child {
            margin-bottom: 0;
        }

        .summary-row span:first-child {
            font-weight: bold;
            color: #666;
        }

        .summary-row span:last-child {
            color: #333;
        }

        .export-actions {
            display: flex;
            gap: 8px;
        }

        .export-download-btn, .export-info-btn {
            padding: 8px 16px;
            border: none;
            border-radius: 5px;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.2s ease;
            flex: 1;
            text-align: center;
        }

        .export-download-btn {
            background: #007bff;
            color: white;
        }

        .export-download-btn:hover {
            background: #0056b3;
        }

        .export-info-btn {
            background: #6c757d;
            color: white;
        }

        .export-info-btn:hover {
            background: #5a6268;
        }

        @media (max-width: 768px) {
            .export-notification {
                width: 90%;
                left: 5%;
                top: 140px;
            }

            .export-actions {
                flex-direction: column;
            }
        }

        /* Resource Management Notification Styles */
        .resource-notifications-container {
            position: fixed;
            bottom: 100px;
            left: 20px;
            z-index: 10003;
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .resource-notification {
            width: 360px;
            background: white;
            border-radius: 12px;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
            animation: slideInLeft 0.4s ease-out;
            overflow: hidden;
            border-left: 4px solid #007bff;
        }

        .resource-notification.room-booking-notification {
            border-left-color: #6f42c1;
        }

        .resource-notification.equipment-maintenance-notification {
            border-left-color: #fd7e14;
        }

        .resource-notification-header {
            background: linear-gradient(135deg, #6f42c1, #563d7c);
            color: white;
            padding: 15px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .equipment-maintenance-notification .resource-notification-header {
            background: linear-gradient(135deg, #fd7e14, #e8590c);
        }

        .resource-icon {
            font-size: 24px;
        }

        .resource-title {
            font-weight: bold;
            flex: 1;
        }

        .resource-close {
            background: none;
            border: none;
            color: white;
            font-size: 20px;
            cursor: pointer;
            padding: 2px;
            width: 28px;
            height: 28px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 4px;
            transition: all 0.2s ease;
            opacity: 0.8;
        }
        .resource-close:hover {
            background: rgba(255, 255, 255, 0.2);
            opacity: 1;
            transform: scale(1.1);
        }
        .resource-close:active {
            transform: scale(0.95);
        }

        .resource-notification-content {
            max-height: 300px;
            overflow-y: auto;
        }

        .resource-booking-item, .resource-maintenance-item {
            padding: 15px;
            border-bottom: 1px solid #eee;
        }

        .resource-booking-item:last-child, .resource-maintenance-item:last-child {
            border-bottom: none;
        }

        .resource-item-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 8px;
        }

        .resource-item-title {
            font-weight: bold;
            color: #333;
            font-size: 14px;
        }

        .resource-status-badge {
            padding: 2px 8px;
            border-radius: 12px;
            font-size: 11px;
            font-weight: bold;
            text-transform: uppercase;
        }

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

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

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

        .resource-status-badge.scheduled {
            background-color: #cce5ff;
            color: #004085;
        }

        .resource-item-details {
            margin-bottom: 12px;
            font-size: 13px;
            color: #666;
            line-height: 1.4;
        }

        .resource-item-meta {
            display: flex;
            gap: 15px;
            margin-bottom: 10px;
            font-size: 12px;
            color: #999;
        }

        .resource-meta-item {
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .resource-item-actions {
            display: flex;
            gap: 6px;
            flex-wrap: wrap;
        }

        .resource-item-action-btn {
            padding: 4px 10px;
            border: 1px solid #6f42c1;
            background: white;
            color: #6f42c1;
            border-radius: 4px;
            font-size: 11px;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .resource-item-action-btn:hover {
            background: #6f42c1;
            color: white;
        }

        .resource-item-action-btn.primary {
            background: #6f42c1;
            color: white;
        }

        .resource-item-action-btn.primary:hover {
            background: #563d7c;
        }

        .equipment-maintenance-notification .resource-item-action-btn {
            border-color: #fd7e14;
            color: #fd7e14;
        }

        .equipment-maintenance-notification .resource-item-action-btn:hover {
            background: #fd7e14;
            color: white;
        }

        .equipment-maintenance-notification .resource-item-action-btn.primary {
            background: #fd7e14;
            color: white;
        }

        .equipment-maintenance-notification .resource-item-action-btn.primary:hover {
            background: #e8590c;
        }

        .resource-notification-actions {
            background: #f8f9fa;
            padding: 12px 15px;
            border-top: 1px solid #eee;
            display: flex;
            gap: 8px;
        }

        .resource-action-btn {
            padding: 8px 12px;
            border: none;
            border-radius: 5px;
            font-size: 12px;
            cursor: pointer;
            transition: all 0.2s ease;
            flex: 1;
            text-align: center;
        }

        .resource-action-btn {
            background: #6f42c1;
            color: white;
        }

        .resource-action-btn:hover {
            background: #563d7c;
        }

        .resource-action-btn.secondary {
            background: #6c757d;
            color: white;
        }

        .resource-action-btn.secondary:hover {
            background: #5a6268;
        }

        .equipment-maintenance-notification .resource-action-btn {
            background: #fd7e14;
        }

        .equipment-maintenance-notification .resource-action-btn:hover {
            background: #e8590c;
        }

        .calendar-integration {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            font-size: 11px;
            color: #007bff;
            cursor: pointer;
            padding: 2px 6px;
            border-radius: 3px;
            background: rgba(0, 123, 255, 0.1);
            border: 1px solid rgba(0, 123, 255, 0.2);
            transition: all 0.2s ease;
        }

        .calendar-integration:hover {
            background: rgba(0, 123, 255, 0.2);
        }

        .maintenance-priority-indicator {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            display: inline-block;
            margin-right: 6px;
        }

        .maintenance-priority-indicator.high {
            background: #dc3545;
            animation: pulse 2s infinite;
        }

        .maintenance-priority-indicator.medium {
            background: #ffc107;
        }

        .maintenance-priority-indicator.low {
            background: #28a745;
        }

        @media (max-width: 768px) {
            .resource-notifications-container {
                left: 10px;
                right: 10px;
                bottom: 80px;
            }

            .resource-notification {
                width: auto;
            }

            .resource-item-actions {
                justify-content: center;
            }

            .resource-notification-actions {
                flex-direction: column;
            }
        }

        /* Import Progress Notification Styles */
        .import-progress-notification {
            position: fixed;
            top: 120px;
            right: 20px;
            width: 420px;
            background: white;
            border-radius: 12px;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
            z-index: 10004;
            animation: slideInRight 0.4s ease-out;
            overflow: hidden;
            border-left: 4px solid #17a2b8;
        }

        .import-progress-header {
            background: linear-gradient(135deg, #17a2b8, #138496);
            color: white;
            padding: 15px 20px;
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .import-icon {
            font-size: 24px;
        }

        .import-title {
            font-weight: bold;
            flex: 1;
        }

        .import-status-badge {
            padding: 4px 10px;
            border-radius: 12px;
            font-size: 11px;
            font-weight: bold;
            text-transform: uppercase;
            background: rgba(255,255,255,0.2);
        }

        .import-status-badge.processing {
            background: #ffc107;
            color: #856404;
        }

        .import-status-badge.completed {
            background: #28a745;
            color: white;
        }

        .import-status-badge.failed {
            background: #dc3545;
            color: white;
        }

        .import-progress-content {
            padding: 20px;
        }

        .import-summary {
            margin-bottom: 15px;
        }

        .summary-stats {
            display: flex;
            justify-content: space-between;
            margin-bottom: 15px;
            text-align: center;
        }

        .stat-item {
            flex: 1;
        }

        .stat-value {
            font-size: 24px;
            font-weight: bold;
            color: #17a2b8;
            margin-bottom: 4px;
        }

        .stat-value.error {
            color: #dc3545;
        }

        .stat-label {
            font-size: 12px;
            color: #666;
            text-transform: uppercase;
        }

        .progress-bar-container {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .progress-bar {
            flex: 1;
            height: 8px;
            background: #e9ecef;
            border-radius: 4px;
            overflow: hidden;
        }

        .progress-fill {
            height: 100%;
            background: linear-gradient(90deg, #17a2b8, #20c997);
            border-radius: 4px;
            transition: width 0.3s ease;
        }

        .progress-percentage {
            font-weight: bold;
            color: #17a2b8;
            font-size: 14px;
            min-width: 40px;
            text-align: right;
        }

        .import-validation-errors {
            margin-top: 15px;
            background: #f8d7da;
            border: 1px solid #f5c6cb;
            border-radius: 6px;
            padding: 12px;
        }

        .validation-errors-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 8px;
        }

        .toggle-errors-btn {
            background: none;
            border: 1px solid #dc3545;
            color: #dc3545;
            padding: 4px 8px;
            border-radius: 4px;
            font-size: 11px;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .toggle-errors-btn:hover {
            background: #dc3545;
            color: white;
        }

        .validation-errors-list {
            max-height: 120px;
            overflow-y: auto;
        }

        .validation-error-item {
            padding: 6px 0;
            border-bottom: 1px solid #f5c6cb;
        }

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

        .error-row {
            font-size: 13px;
            display: flex;
            gap: 8px;
            align-items: center;
        }

        .error-field {
            background: #721c24;
            color: white;
            padding: 2px 6px;
            border-radius: 3px;
            font-size: 11px;
        }

        .error-message {
            color: #721c24;
            flex: 1;
        }

        .import-progress-actions {
            background: #f8f9fa;
            padding: 15px 20px;
            border-top: 1px solid #dee2e6;
            display: flex;
            gap: 10px;
        }

        .import-action-btn {
            padding: 8px 16px;
            border: none;
            border-radius: 5px;
            font-size: 13px;
            cursor: pointer;
            transition: all 0.2s ease;
            flex: 1;
            text-align: center;
        }

        .import-action-btn.primary {
            background: #17a2b8;
            color: white;
        }

        .import-action-btn.primary:hover {
            background: #138496;
        }

        .import-action-btn.secondary {
            background: #6c757d;
            color: white;
        }

        .import-action-btn.secondary:hover {
            background: #5a6268;
        }

        .import-action-btn.danger {
            background: #dc3545;
            color: white;
        }

        .import-action-btn.danger:hover {
            background: #c82333;
        }

        /* Import Completion Summary Styles */
        .import-completion-summary {
            position: fixed;
            top: 80px;
            left: 50%;
            transform: translateX(-50%);
            width: 450px;
            background: white;
            border-radius: 12px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
            z-index: 10005;
            animation: slideInDown 0.4s ease-out;
            overflow: hidden;
        }

        .import-completion-summary.success {
            border-left: 4px solid #28a745;
        }

        .import-completion-summary.error {
            border-left: 4px solid #dc3545;
        }

        .import-completion-summary.fade-out {
            opacity: 0;
            transform: translateX(-50%) translateY(-20px);
            transition: all 0.3s ease-in-out;
        }

        .summary-header {
            background: linear-gradient(135deg, #28a745, #20c997);
            color: white;
            padding: 16px 20px;
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .import-completion-summary.error .summary-header {
            background: linear-gradient(135deg, #dc3545, #c82333);
        }

        .summary-icon {
            font-size: 28px;
        }

        .summary-title {
            font-weight: bold;
            font-size: 18px;
            flex: 1;
        }

        .summary-close {
            background: none;
            border: none;
            color: white;
            font-size: 20px;
            cursor: pointer;
            padding: 0;
            width: 28px;
            height: 28px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: background 0.2s ease;
        }

        .summary-close:hover {
            background: rgba(255,255,255,0.2);
        }

        .summary-content {
            padding: 20px;
        }

        .summary-details {
            margin-bottom: 20px;
        }

        .detail-row {
            display: flex;
            justify-content: space-between;
            margin-bottom: 8px;
            font-size: 14px;
        }

        .detail-row:last-child {
            margin-bottom: 0;
        }

        .detail-row span:first-child {
            font-weight: bold;
            color: #666;
        }

        .detail-row span.success {
            color: #28a745;
            font-weight: bold;
        }

        .detail-row span.error {
            color: #dc3545;
            font-weight: bold;
        }

        .summary-actions {
            display: flex;
            gap: 10px;
        }

        .summary-action-btn {
            padding: 10px 16px;
            border: none;
            border-radius: 6px;
            font-size: 13px;
            cursor: pointer;
            transition: all 0.2s ease;
            flex: 1;
            text-align: center;
        }

        .summary-action-btn.primary {
            background: #28a745;
            color: white;
        }

        .summary-action-btn.primary:hover {
            background: #218838;
        }

        .summary-action-btn.secondary {
            background: #6c757d;
            color: white;
        }

        .summary-action-btn.secondary:hover {
            background: #5a6268;
        }

        .summary-action-btn.warning {
            background: #ffc107;
            color: #856404;
        }

        .summary-action-btn.warning:hover {
            background: #e0a800;
        }

        @media (max-width: 768px) {
            .import-progress-notification {
                width: calc(100vw - 40px);
                right: 20px;
                left: 20px;
                top: 100px;
            }

            .import-completion-summary {
                width: calc(100vw - 40px);
                left: 50%;
                transform: translateX(-50%);
                top: 60px;
            }

            .summary-stats {
                flex-direction: column;
                gap: 10px;
            }

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

            .stat-value {
                font-size: 18px;
                margin-bottom: 0;
            }

            .import-progress-actions, .summary-actions {
                flex-direction: column;
            }

        /* ========== BULK OPERATIONS PROGRESS INDICATORS ========== */
        .bulk-progress-container {
            position: fixed;
            top: 20px;
            right: 20px;
            width: 400px;
            z-index: 10010;
        }

        .bulk-progress-notification {
            background: white;
            border-radius: 8px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
            margin-bottom: 10px;
            overflow: hidden;
            animation: slideInRight 0.3s ease-out;
        }

        .bulk-progress-header {
            background: linear-gradient(135deg, #007bff, #0056b3);
            color: white;
            padding: 12px 16px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .bulk-progress-title {
            font-weight: 600;
            font-size: 14px;
        }

        .bulk-progress-close {
            background: none;
            border: none;
            color: white;
            font-size: 18px;
            cursor: pointer;
            width: 24px;
            height: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: background-color 0.2s;
        }

        .bulk-progress-close:hover {
            background: rgba(255, 255, 255, 0.2);
        }

        .bulk-progress-body {
            padding: 16px;
        }

        .bulk-progress-info {
            display: flex;
            justify-content: space-between;
            margin-bottom: 12px;
            font-size: 13px;
            color: #666;
        }

        .bulk-progress-bar-container {
            background: #e9ecef;
            border-radius: 10px;
            height: 8px;
            overflow: hidden;
            margin-bottom: 12px;
        }

        .bulk-progress-bar {
            height: 100%;
            background: linear-gradient(90deg, #28a745, #20c997);
            border-radius: 10px;
            transition: width 0.3s ease;
            position: relative;
        }

        .bulk-progress-bar.processing::after {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
            animation: shimmer 2s infinite;
        }

        @keyframes shimmer {
            0% { left: -100%; }
            100% { left: 100%; }
        }

        .bulk-progress-status {
            display: flex;
            gap: 12px;
            font-size: 12px;
        }

        .bulk-status-item {
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .bulk-status-icon {
            width: 8px;
            height: 8px;
            border-radius: 50%;
        }

        .bulk-status-icon.success { background: #28a745; }
        .bulk-status-icon.error { background: #dc3545; }
        .bulk-status-icon.processing { background: #ffc107; }

        /* ========== REAL-TIME PROCESSING STATUS ========== */
        .realtime-status-container {
            position: fixed;
            bottom: 20px;
            right: 20px;
            width: 350px;
            z-index: 10009;
        }

        .realtime-status-card {
            background: white;
            border-radius: 8px;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
            margin-bottom: 10px;
            border-left: 4px solid #17a2b8;
        }

        .realtime-status-header {
            padding: 12px 16px;
            border-bottom: 1px solid #e9ecef;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .realtime-status-title {
            font-weight: 600;
            font-size: 14px;
            color: #333;
        }

        .realtime-status-indicator {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            animation: pulse 2s infinite;
        }

        .realtime-status-indicator.active {
            background: #28a745;
            box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.4);
        }

        .realtime-status-indicator.processing {
            background: #ffc107;
            box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.4);
        }

        .realtime-status-indicator.error {
            background: #dc3545;
            box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.4);
        }

        @keyframes pulse {
            0% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.4); }
            70% { box-shadow: 0 0 0 10px rgba(40, 167, 69, 0); }
            100% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0); }
        }

        .realtime-status-body {
            padding: 12px 16px;
        }

        .realtime-status-progress {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 8px;
        }

        .realtime-progress-text {
            font-size: 12px;
            color: #666;
            flex: 1;
        }

        .realtime-progress-percentage {
            font-size: 12px;
            font-weight: 600;
            color: #333;
        }

        .realtime-step-indicator {
            display: flex;
            gap: 4px;
            margin-top: 8px;
        }

        .realtime-step {
            flex: 1;
            height: 4px;
            background: #e9ecef;
            border-radius: 2px;
        }

        .realtime-step.completed {
            background: #28a745;
        }

        .realtime-step.active {
            background: #ffc107;
            animation: stepPulse 1s infinite;
        }

        @keyframes stepPulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.5; }
        }

        /* ========== PENDING ACTIONS DISPLAY ========== */
        .pending-actions-panel {
            position: fixed;
            top: 50%;
            left: 20px;
            transform: translateY(-50%);
            width: 280px;
            background: white;
            border-radius: 8px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
            z-index: 10008;
        }

        .pending-actions-header {
            background: linear-gradient(135deg, #6f42c1, #563d7c);
            color: white;
            padding: 12px 16px;
            border-radius: 8px 8px 0 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .pending-actions-title {
            font-weight: 600;
            font-size: 14px;
        }

        .pending-actions-count {
            background: rgba(255, 255, 255, 0.2);
            color: white;
            padding: 4px 8px;
            border-radius: 12px;
            font-size: 12px;
            font-weight: 600;
        }

        .pending-actions-body {
            max-height: 400px;
            overflow-y: auto;
        }

        .pending-action-item {
            padding: 12px 16px;
            border-bottom: 1px solid #e9ecef;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: background-color 0.2s;
        }

        .pending-action-item:hover {
            background: #f8f9fa;
        }

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

        .pending-action-content {
            flex: 1;
        }

        .pending-action-title {
            font-size: 13px;
            font-weight: 600;
            color: #333;
            margin-bottom: 2px;
        }

        .pending-action-subtitle {
            font-size: 11px;
            color: #666;
        }

        .pending-action-badge {
            padding: 4px 8px;
            border-radius: 12px;
            font-size: 10px;
            font-weight: 600;
            text-transform: uppercase;
        }

        .pending-action-badge.reviews {
            background: #e3f2fd;
            color: #1976d2;
        }

        .pending-action-badge.approvals {
            background: #fff3e0;
            color: #f57c00;
        }

        .pending-action-badge.documents {
            background: #f3e5f5;
            color: #7b1fa2;
        }

        /* ========== SYSTEM STATUS INDICATORS ========== */
        .system-status-bar {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            background: #343a40;
            color: white;
            padding: 8px 20px;
            font-size: 12px;
            z-index: 10011;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .system-status-item {
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .system-status-icon {
            width: 8px;
            height: 8px;
            border-radius: 50%;
        }

        .system-status-icon.connected { background: #28a745; }
        .system-status-icon.warning { background: #ffc107; }
        .system-status-icon.error { background: #dc3545; }

        .calendar-sync-warning {
            position: fixed;
            top: 60px;
            left: 50%;
            transform: translateX(-50%);
            background: #fff3cd;
            color: #856404;
            padding: 12px 20px;
            border-radius: 6px;
            border: 1px solid #ffeaa7;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            z-index: 10007;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .calendar-sync-warning .warning-icon {
            font-size: 18px;
            color: #f39c12;
        }

        .email-status-indicator {
            position: fixed;
            bottom: 20px;
            left: 20px;
            background: white;
            padding: 8px 12px;
            border-radius: 20px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 12px;
            z-index: 10006;
        }

        .email-status-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
        }

        .email-status-dot.connected { background: #28a745; }
        .email-status-dot.testing { background: #ffc107; animation: pulse 1s infinite; }
        .email-status-dot.failed { background: #dc3545; }

        /* ========== SECURITY ALERT ENHANCEMENTS ========== */
        .security-policy-banner {
            position: fixed;
            top: 40px;
            left: 0;
            right: 0;
            background: #e74c3c;
            color: white;
            padding: 12px 20px;
            z-index: 10012;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .security-policy-content {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .security-policy-icon {
            font-size: 20px;
        }

        .security-policy-actions {
            display: flex;
            gap: 8px;
        }

        .security-policy-btn {
            background: rgba(255, 255, 255, 0.2);
            color: white;
            border: 1px solid rgba(255, 255, 255, 0.3);
            padding: 6px 12px;
            border-radius: 4px;
            font-size: 12px;
            cursor: pointer;
            transition: all 0.2s;
        }

        .security-policy-btn:hover {
            background: rgba(255, 255, 255, 0.3);
        }

        .auth-failure-badge {
            position: fixed;
            top: 20px;
            right: 400px;
            background: #dc3545;
            color: white;
            padding: 8px 12px;
            border-radius: 20px;
            font-size: 11px;
            font-weight: 600;
            z-index: 10010;
            animation: shake 0.5s ease-in-out;
        }

        @keyframes shake {
            0%, 100% { transform: translateX(0); }
            25% { transform: translateX(-5px); }
            75% { transform: translateX(5px); }
        }

        .session-timeout-warning {
            position: fixed;
            bottom: 60px;
            right: 20px;
            background: #fff3cd;
            color: #856404;
            padding: 16px 20px;
            border-radius: 8px;
            border: 1px solid #ffeaa7;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
            z-index: 10009;
            width: 280px;
        }

        .session-timeout-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 12px;
        }

        .session-timeout-title {
            font-weight: 600;
            font-size: 14px;
        }

        .session-countdown {
            background: #f39c12;
            color: white;
            padding: 4px 8px;
            border-radius: 12px;
            font-size: 12px;
            font-weight: 600;
        }

        .session-timeout-actions {
            display: flex;
            gap: 8px;
        }

        .session-extend-btn {
            background: #28a745;
            color: white;
            border: none;
            padding: 8px 16px;
            border-radius: 4px;
            font-size: 12px;
            cursor: pointer;
            transition: background-color 0.2s;
        }

        .session-extend-btn:hover {
            background: #218838;
        }

        /* ========== CERTIFICATE & COMPLIANCE VERIFICATION ========== */
        .compliance-status-panel {
            position: fixed;
            top: 100px;
            left: 20px;
            width: 300px;
            background: white;
            border-radius: 8px;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
            z-index: 10005;
        }

        .compliance-status-header {
            background: linear-gradient(135deg, #17a2b8, #138496);
            color: white;
            padding: 12px 16px;
            border-radius: 8px 8px 0 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .compliance-item {
            padding: 12px 16px;
            border-bottom: 1px solid #e9ecef;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

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

        .compliance-info {
            flex: 1;
        }

        .compliance-title {
            font-size: 13px;
            font-weight: 600;
            color: #333;
            margin-bottom: 2px;
        }

        .compliance-deadline {
            font-size: 11px;
            color: #666;
        }

        .verification-badge {
            padding: 4px 8px;
            border-radius: 12px;
            font-size: 10px;
            font-weight: 600;
            text-transform: uppercase;
        }

        .verification-badge.verified {
            background: #d4edda;
            color: #155724;
        }

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

        .verification-badge.overdue {
            background: #f8d7da;
            color: #721c24;
        }

        .compliance-countdown {
            background: #e74c3c;
            color: white;
            padding: 8px 12px;
            border-radius: 20px;
            font-size: 11px;
            font-weight: 600;
            text-align: center;
            margin: 8px 16px;
        }

        .compliance-countdown.warning {
            background: #f39c12;
        }

        .compliance-countdown.safe {
            background: #27ae60;
        }

        /* ========== GAMIFICATION & ACHIEVEMENT COMPONENTS ========== */
        .achievement-notification {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: linear-gradient(135deg, #ffd700, #ffed4e);
            color: #333;
            padding: 20px;
            border-radius: 12px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
            z-index: 10015;
            text-align: center;
            animation: achievementPop 0.6s ease-out;
            width: 300px;
        }

        @keyframes achievementPop {
            0% {
                transform: translate(-50%, -50%) scale(0.5);
                opacity: 0;
            }
            50% {
                transform: translate(-50%, -50%) scale(1.1);
            }
            100% {
                transform: translate(-50%, -50%) scale(1);
                opacity: 1;
            }
        }

        .achievement-icon {
            font-size: 48px;
            margin-bottom: 12px;
        }

        .achievement-title {
            font-size: 18px;
            font-weight: bold;
            margin-bottom: 8px;
        }

        .achievement-description {
            font-size: 14px;
            color: #555;
            margin-bottom: 16px;
        }

        .achievement-points {
            background: #28a745;
            color: white;
            padding: 8px 16px;
            border-radius: 20px;
            font-size: 14px;
            font-weight: 600;
            display: inline-block;
        }

        .badge-earned-notification {
            position: fixed;
            top: 20px;
            left: 50%;
            transform: translateX(-50%);
            background: white;
            border: 2px solid #ffd700;
            border-radius: 8px;
            padding: 16px 20px;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
            z-index: 10014;
            animation: badgeSlideIn 0.5s ease-out;
            display: flex;
            align-items: center;
            gap: 12px;
        }

        @keyframes badgeSlideIn {
            from {
                transform: translateX(-50%) translateY(-100%);
                opacity: 0;
            }
            to {
                transform: translateX(-50%) translateY(0);
                opacity: 1;
            }
        }

        .badge-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: linear-gradient(135deg, #ffd700, #ffed4e);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
        }

        .leaderboard-rank-update {
            position: fixed;
            bottom: 80px;
            left: 20px;
            background: white;
            border-left: 4px solid #6f42c1;
            border-radius: 8px;
            padding: 12px 16px;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
            z-index: 10013;
            width: 250px;
        }

        .rank-change-indicator {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
            font-weight: 600;
        }

        .rank-arrow {
            font-size: 16px;
        }

        .rank-arrow.up {
            color: #28a745;
        }

        .rank-arrow.down {
            color: #dc3545;
        }

        /* ========== DASHBOARD WIDGET NOTIFICATIONS ========== */
        .widget-loading-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(255, 255, 255, 0.8);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 10002;
            border-radius: 8px;
        }

        .widget-spinner {
            width: 24px;
            height: 24px;
            border: 2px solid #e9ecef;
            border-top: 2px solid #007bff;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

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

        .widget-error-state {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: #f8f9fa;
            border-radius: 8px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            padding: 20px;
            z-index: 10003;
        }

        .widget-error-icon {
            font-size: 32px;
            color: #dc3545;
            margin-bottom: 12px;
        }

        .widget-error-message {
            font-size: 14px;
            color: #666;
            margin-bottom: 12px;
        }

        .widget-retry-btn {
            background: #007bff;
            color: white;
            border: none;
            padding: 8px 16px;
            border-radius: 4px;
            font-size: 12px;
            cursor: pointer;
            transition: background-color 0.2s;
        }

        .widget-retry-btn:hover {
            background: #0056b3;
        }

        .data-refresh-indicator {
            position: fixed;
            top: 80px;
            right: 20px;
            background: #28a745;
            color: white;
            padding: 8px 12px;
            border-radius: 4px;
            font-size: 12px;
            z-index: 10004;
            animation: fadeInOut 3s ease-in-out;
        }

        @keyframes fadeInOut {
            0%, 100% { opacity: 0; }
            50% { opacity: 1; }
        }

        /* ========== AUDIT & LOGGING SYSTEM UI ========== */
        .audit-export-notification {
            position: fixed;
            top: 120px;
            right: 20px;
            background: white;
            border-radius: 8px;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
            z-index: 10008;
            width: 320px;
            border-left: 4px solid #17a2b8;
        }

        .audit-export-header {
            padding: 12px 16px;
            border-bottom: 1px solid #e9ecef;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .audit-export-title {
            font-size: 14px;
            font-weight: 600;
            color: #333;
        }

        .audit-export-body {
            padding: 16px;
        }

        .audit-export-progress {
            margin-bottom: 12px;
        }

        .security-incident-alert {
            position: fixed;
            top: 60px;
            left: 50%;
            transform: translateX(-50%);
            background: #dc3545;
            color: white;
            padding: 16px 20px;
            border-radius: 8px;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
            z-index: 10013;
            text-align: center;
            animation: urgentAlert 1s ease-in-out infinite alternate;
        }

        @keyframes urgentAlert {
            from { background: #dc3545; }
            to { background: #c82333; }
        }

        .activity-tracking-confirmation {
            position: fixed;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            background: #28a745;
            color: white;
            padding: 8px 16px;
            border-radius: 20px;
            font-size: 12px;
            z-index: 10001;
            animation: fadeInOut 2s ease-in-out;
        }

        /* ========== PAYMENT & FEE MANAGEMENT UI ========== */
        .payment-reminder-card {
            position: fixed;
            bottom: 80px;
            right: 20px;
            background: white;
            border-radius: 8px;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
            z-index: 10007;
            width: 300px;
            border-left: 4px solid #f39c12;
        }

        .payment-reminder-header {
            background: #fff3cd;
            padding: 12px 16px;
            border-radius: 8px 8px 0 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .payment-reminder-body {
            padding: 16px;
        }

        .payment-amount {
            font-size: 18px;
            font-weight: bold;
            color: #e74c3c;
            margin-bottom: 8px;
        }

        .payment-due-date {
            font-size: 12px;
            color: #666;
            margin-bottom: 12px;
        }

        .payment-actions {
            display: flex;
            gap: 8px;
        }

        .payment-btn {
            flex: 1;
            padding: 8px 16px;
            border: none;
            border-radius: 4px;
            font-size: 12px;
            cursor: pointer;
            transition: all 0.2s;
            text-align: center;
            text-decoration: none;
        }

        .payment-btn.primary {
            background: #28a745;
            color: white;
        }

        .payment-btn.primary:hover {
            background: #218838;
        }

        .payment-btn.secondary {
            background: #6c757d;
            color: white;
        }

        .payment-btn.secondary:hover {
            background: #5a6268;
        }

        .fee-update-notification {
            position: fixed;
            top: 140px;
            left: 50%;
            transform: translateX(-50%);
            background: #d1ecf1;
            color: #0c5460;
            padding: 12px 20px;
            border-radius: 6px;
            border: 1px solid #b8daff;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            z-index: 10006;
        }

        /* ========== RESPONSIVE BEHAVIOR ========== */
        @media (max-width: 768px) {
            .bulk-progress-container,
            .realtime-status-container {
                width: 90%;
                left: 5%;
                right: 5%;
            }

            .pending-actions-panel,
            .compliance-status-panel {
                width: 90%;
                left: 5%;
                transform: none;
                top: 20px;
            }

            .achievement-notification {
                width: 90%;
                left: 5%;
                right: 5%;
                transform: translate(0, -50%);
            }
        }

        /* ========== ANIMATION UTILITIES ========== */
        @keyframes slideInRight {
            from {
                transform: translateX(100%);
                opacity: 0;
            }
            to {
                transform: translateX(0);
                opacity: 1;
            }
        }

        @keyframes slideInDown {
            from {
                transform: translateX(-50%) translateY(-100%);
                opacity: 0;
            }
            to {
                transform: translateX(-50%) translateY(0);
                opacity: 1;
            }
        }

        .fade-out {
            opacity: 0;
            transform: translateY(-10px);
            transition: all 0.3s ease-in-out;
        }

        /* Notification animations */
        @keyframes slideIn {
            from {
                transform: translateX(100%);
                opacity: 0;
            }
            to {
                transform: translateX(0);
                opacity: 1;
            }
        }
        
        @keyframes slideOut {
            from {
                transform: translateX(0);
                opacity: 1;
            }
            to {
                transform: translateX(100%);
                opacity: 0;
            }
        }

        /* Fix dropdown visibility issues and form field borders */
        select, 
        .form-select,
        .form-control,
        .dropdown-menu {
            background-color: white !important;
            color: #333 !important;
            border: 2px solid #ced4da !important;
            border-radius: 6px !important;
            transition: all 0.15s ease-in-out;
        }

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

        .form-select:hover,
        .form-control:hover {
            border-color: #adb5bd !important;
        }

        select option,
        .dropdown-item {
            background-color: white !important;
            color: #333 !important;
        }

        select option:hover,
        .dropdown-item:hover {
            background-color: #f8f9fa !important;
            color: #333 !important;
        }

        /* Improve checkbox and radio visibility */
        .form-check-input {
            border: 2px solid #ced4da;
            width: 1.2em;
            height: 1.2em;
        }

        .form-check-input:checked {
            background-color: #0d6efd;
            border-color: #0d6efd;
        }

        .form-check-input:focus {
            border-color: #0d6efd;
            box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
        }
        
        /* Fix for mobile navbar taking full height */
        @media (max-width: 991px) {
            .navbar-collapse {
                max-height: calc(100vh - 80px) !important;
                overflow-y: auto;
            }
            
            .navbar {
                min-height: auto !important;
                height: auto !important;
            }
            
            .navbar-nav {
                height: auto !important;
                max-height: none !important;
            }
        }
        }
.saksham-stat-card{
    margin:5px;
}

.quick-analytics {
    padding: 24px;
    border-radius: 16px;
    background: linear-gradient(135deg, #f5f7ff 0%, #eef2ff 100%);
    border: 1px solid rgba(13, 110, 253, 0.08);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

.quick-analytics__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: clamp(1rem, 2.5vw, 1.5rem);
    margin-top: 1.5rem;
}

.quick-analytics__panel {
    background: #fff;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 100%;
}

.quick-analytics__panel-heading {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.quick-analytics__panel-title {
    font-weight: 600;
    font-size: 1.1rem;
    color: #0f172a;
    line-height: 1.2;
}

.quick-analytics__panel-subtitle {
    font-size: 0.9rem;
    color: #64748b;
}

.quick-analytics__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.quick-analytics__stats .saksham-stat-card {
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.05);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.quick-analytics__stats .saksham-stat-value {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0f172a;
}

.quick-analytics__stats .saksham-stat-label {
    font-size: 0.85rem;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.quick-analytics__stat-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.35rem;
    gap: 0.5rem;
}

.quick-analytics__stat-icon {
    font-size: 1.25rem;
}

.quick-analytics__stat-description {
    font-size: 0.78rem;
    color: #94a3b8;
    text-transform: none;
}

@media (max-width: 768px) {
    .quick-analytics {
        padding: 18px;
    }

    .quick-analytics__stats {
        grid-template-columns: 1fr;
    }

    .quick-analytics__panel {
        padding: 18px;
    }
}
        
