  :root {
            --primary: #4f46e5;
            --primary-light: #818cf8;
            --secondary: #10b981;
            --dark: #1e293b;
            --light: #f8fafc;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background-color: #f1f5f9;
        }

        .service-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
        }

        .animate-bounce {
            animation: bounce 2s infinite;
        }

        @keyframes bounce {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-10px); }
        }

        .category-btn.active {
            background-color: var(--primary);
            color: white;
        }

        .rating-star {
            color: #f59e0b;
        }

        .dropdown-content, .mobile-menu {
            display: none;
            position: absolute;
            background-color: white;
            min-width: 160px;
            box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
            z-index: 1;
            border-radius: 0.5rem;
        }

        .dropdown:hover .dropdown-content {
            display: block;
        }

        .mobile-menu.active {
            display: flex;
        }

        .search-input:focus {
            outline: none;
            box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.3);
        }

        .booking-form, .user-management-modal, .edit-user-modal, .apply-service-modal, .service-applications-modal, .analytics-modal, .profile-modal {
            transition: all 0.3s ease;
        }

        .booking-form.active, .user-management-modal.active, .edit-user-modal.active, .apply-service-modal.active, .service-applications-modal.active, .analytics-modal.active, .profile-modal.active {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .service-provider-fields {
            display: none;
        }

        .notification-badge {
            position: absolute;
            top: -8px;
            right: -8px;
            background-color: #ef4444;
            color: white;
            border-radius: 50%;
            padding: 2px 6px;
            font-size: 12px;
            font-weight: bold;
        }

        .error-message {
            color: #dc2626;
            font-size: 0.875rem;
            margin-bottom: 0.5rem;
        }

        .success-message {
            color: #10b981;
            font-size: 0.875rem;
            margin-bottom: 0.5rem;
        }

        .notification {
            position: fixed;
            top: 20px;
            right: 20px;
            background-color: #10b981;
            color: white;
            padding: 10px 20px;
            border-radius: 8px;
            z-index: 1000;
            opacity: 0;
            transition: opacity 0.3s ease-in-out;
        }

        .notification.show {
            opacity: 1;
        }
        #serviceModal {
            z-index: 100;
        }

         /* Ensure modal never breaks layout */
#signupModal {
    padding: 1rem 0;
}

#signupModal .max-h-\[calc\(100vh-12rem\)\] {
    overscroll-behavior: contain;
}

/* Improve select/file input on small screens */
select, input[type="file"] {
    font-size: 14px !important;
}