    /* ===== MARKETPLACE PAGE STYLES ===== */
    
    /* Hero Section */
    .tutor-hero {
        padding: 40px 0 60px;
        margin-top: 40px;
    }
    
    .tutor-hero .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }
    
    /* Search Bar Container */
    .search-bar-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
        position: relative;
        z-index: 10;
    }
    
    .search-card {
        background: white;
        border-radius: 60px;
        padding: 15px 25px;
        box-shadow: 0 20px 35px -10px rgba(0,0,0,0.15);
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
        align-items: center;
    }
    
    .search-input-wrapper {
        flex: 2;
        position: relative;
    }
    
    .search-input-wrapper i {
        position: absolute;
        left: 18px;
        top: 50%;
        transform: translateY(-50%);
        color: #94a3b8;
    }
    
    .search-input {
        width: 100%;
        padding: 14px 20px 14px 48px;
        border: 2px solid #e2e8f0;
        border-radius: 50px;
        font-size: 1rem;
        transition: all 0.3s;
    }
    
    .search-input:focus {
        outline: none;
        border-color: #da0b4e;
        box-shadow: 0 0 0 3px rgba(218, 11, 78, 0.1);
    }
    
    /* Suggestions Dropdown */
    .suggestions-dropdown {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        border-radius: 16px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        margin-top: 8px;
        z-index: 100;
        display: none;
        max-height: 300px;
        overflow-y: auto;
    }
    
    .suggestion-item {
        padding: 12px 20px;
        cursor: pointer;
        transition: background 0.2s;
        display: flex;
        align-items: center;
        gap: 12px;
    }
    
    .suggestion-item:hover {
        background: #f8fafc;
    }
    
    .suggestion-item i {
        color: #da0b4e;
        width: 24px;
    }
    
    /* Preference Row */
    .preference-row {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
        align-items: center;
        background: #f8fafc;
        border-radius: 50px;
        padding: 8px 20px;
    }
    
    .preference-item {
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    .preference-item label {
        font-size: 0.85rem;
        font-weight: 500;
        color: #475569;
    }
    
    .preference-item select {
        padding: 8px 12px;
        border: 1px solid #e2e8f0;
        border-radius: 40px;
        background: white;
        font-size: 0.85rem;
    }
    
    .location-fields-top {
        display: flex;
        gap: 10px;
        align-items: center;
    }
    
    .location-fields-top input,
    .location-fields-top select {
        padding: 8px 12px;
        border: 1px solid #e2e8f0;
        border-radius: 40px;
        font-size: 0.85rem;
    }
    
    /* Main Layout */
    .main-layout {
        max-width: 1200px;
        margin: 40px auto 60px;
        padding: 0 20px;
        display: flex;
        gap: 30px;
    }
    
    /* Sidebar Filters */
    .filters-sidebar {
        width: 280px;
        flex-shrink: 0;
        background: white;
        border-radius: 24px;
        padding: 25px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.05);
        position: sticky;
        top: 20px;
        height: fit-content;
    }
    
    .filter-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
        padding-bottom: 15px;
        border-bottom: 1px solid #eef2f6;
    }
    
    .filter-header h3 {
        font-size: 1.1rem;
        font-weight: 700;
    }
    
    .clear-btn {
        background: none;
        border: none;
        color: #da0b4e;
        cursor: pointer;
        font-size: 0.8rem;
    }
    
    .filter-section {
        margin-bottom: 25px;
        padding-bottom: 20px;
        border-bottom: 1px solid #eef2f6;
    }
    
    .filter-section h4 {
        font-size: 0.85rem;
        font-weight: 600;
        margin-bottom: 12px;
        color: #1e293b;
    }
    
    /* Price Range Slider */
    .price-range-container {
        padding: 10px 0;
    }
    
    .price-slider-wrapper {
        position: relative;
        height: 40px;
        margin: 20px 0;
    }
    
    .price-slider-input {
        position: absolute;
        width: 100%;
        pointer-events: none;
        -webkit-appearance: none;
        background: transparent;
        margin: 0;
    }
    
    .price-slider-input::-webkit-slider-thumb {
        pointer-events: auto;
        -webkit-appearance: none;
        width: 18px;
        height: 18px;
        border-radius: 50%;
        background: #da0b4e;
        cursor: pointer;
        border: 2px solid white;
        box-shadow: 0 2px 8px rgba(0,0,0,0.2);
        z-index: 2;
        position: relative;
    }
    
    .price-slider-input::-webkit-slider-runnable-track {
        width: 100%;
        height: 4px;
        background: #e2e8f0;
        border-radius: 2px;
        pointer-events: none;
    }
    
    .price-slider-track {
        position: absolute;
        height: 4px;
        background: linear-gradient(90deg, #da0b4e, #4f46e5);
        border-radius: 2px;
        top: 50%;
        transform: translateY(-50%);
        pointer-events: none;
        z-index: 1;
    }
    
    .price-values {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 15px;
        padding: 10px;
        background: #f8fafc;
        border-radius: 12px;
    }
    
    .price-min-max {
        text-align: center;
        flex: 1;
    }
    
    .price-label {
        display: block;
        font-size: 0.7rem;
        color: #64748b;
        margin-bottom: 4px;
    }
    
    .price-amount {
        display: block;
        font-size: 1.1rem;
        font-weight: 700;
        color: #da0b4e;
    }
    
    .price-separator {
        color: #94a3b8;
        font-weight: 600;
        padding: 0 10px;
    }
    
    /* Days Grid */
    .days-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 5px;
    }
    
    .day-checkbox {
        cursor: pointer;
        text-align: center;
    }
    
    .day-checkbox input {
        display: none;
    }
    
    .day-checkbox span {
        display: block;
        padding: 8px 12px;
        background: #f1f5f9;
        border: 1px solid #e2e8f0;
        border-radius: 40px;
        font-size: 0.75rem;
        font-weight: 500;
        color: #475569;
        transition: all 0.3s;
        cursor: pointer;
    }
    
    .day-checkbox input:checked + span,
    .day-checkbox input:checked ~ span {
        background: linear-gradient(135deg, #da0b4e, #4f46e5);
        border-color: transparent;
        color: white;
        box-shadow: 0 2px 8px rgba(218, 11, 78, 0.2);
    }
    
    .day-checkbox:hover span {
        border-color: #da0b4e;
        transform: translateY(-2px);
    }
    
    /* Gender Options */
    .gender-options {
        display: flex;
        gap: 12px;
        flex-wrap: wrap;
    }
    
    .gender-option {
        flex: 1;
        cursor: pointer;
    }
    
    .gender-option input {
        display: none;
    }
    
    .gender-option span {
        display: block;
        text-align: center;
        padding: 10px 15px;
        background: #f1f5f9;
        border: 2px solid #e2e8f0;
        border-radius: 40px;
        font-size: 0.85rem;
        font-weight: 500;
        color: #475569;
        transition: all 0.3s;
        cursor: pointer;
    }
    
    .gender-option input:checked + span,
    .gender-option input:checked ~ span {
        background: linear-gradient(135deg, #da0b4e, #4f46e5);
        border-color: transparent;
        color: white;
        box-shadow: 0 4px 12px rgba(218, 11, 78, 0.3);
    }
    
    .gender-option:hover span {
        border-color: #da0b4e;
        transform: translateY(-2px);
    }
    
    .apply-filters-btn {
        width: 100%;
        background: linear-gradient(135deg, #da0b4e, #4f46e5);
        color: white;
        border: none;
        padding: 12px;
        border-radius: 40px;
        font-weight: 600;
        cursor: pointer;
        margin-top: 15px;
    }
    
    /* Tutors Content */
    .tutors-content {
        flex: 1;
    }
    
    .results-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 25px;
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .results-count {
        font-size: 0.9rem;
        color: #64748b;
        padding: 5px 5px 5px 20px;
        margin-top: 5px;
        background-color: white;
        border-radius: 40px;
        width: 300px;
    }
    
    .results-count span {
        font-weight: 700;
        color: #da0b4e;
    }
    
    .sort-select {
        padding: 8px 16px;
        border: 1px solid #e2e8f0;
        border-radius: 40px;
        background: white;
    }
    
    .tutors-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
        gap: 25px;
    }
    
    /* Tutor Card */
    .tutor-card {
        background: white;
        border-radius: 24px;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        transition: all 0.3s;
        border: 1px solid #eef2f6;
        position: relative;
    }
    
    .tutor-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 20px 30px -12px rgba(0,0,0,0.15);
    }
    
    .favorite-btn {
        position: absolute;
        top: 15px;
        right: 15px;
        background: white;
        width: 34px;
        height: 34px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        z-index: 2;
    }
    
    .favorite-btn i {
        color: #94a3b8;
        font-size: 1rem;
    }
    
    .favorite-btn.active i {
        color: #da0b4e;
    }
    
    .tutor-image {
        width: 100%;
        height: 220px;
        object-fit: cover;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
    }
    
    .tutor-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .tutor-info {
        padding: 18px;
    }
    
    .tutor-name {
        font-size: 1.2rem;
        font-weight: 700;
        margin-bottom: 4px;
    }
    
    .tutor-headline {
        font-size: 0.75rem;
        color: #da0b4e;
        margin-bottom: 10px;
    }
    
    .tutor-rating {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 10px;
    }
    
    .stars {
        color: #ffc107;
        font-size: 0.9rem;
        letter-spacing: 2px;
    }
    
    .stars i {
        margin-right: 2px;
    }
    
    .star-filled {
        color: #ffc107;
    }
    
    .star-empty {
        color: #e2e8f0;
    }
    
    .review-count {
        font-size: 0.7rem;
        color: #64748b;
    }
    
    .education-info {
        background: #f8fafc;
        padding: 10px 12px;
        border-radius: 12px;
        margin: 10px 0;
    }
    
    .education-item {
        display: flex;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 8px;
        font-size: 0.75rem;
    }
    
    .education-item i {
        color: #da0b4e;
        width: 18px;
        margin-top: 2px;
        font-size: 0.7rem;
    }
    
    .education-text {
        color: #334155;
        line-height: 1.4;
        flex: 1;
    }
    
    .education-text strong {
        color: #0f172a;
        font-weight: 600;
    }
    
    .tutor-bio {
        font-size: 0.75rem;
        color: #475569;
        line-height: 1.4;
        margin: 10px 0;
        padding: 8px 0;
        border-top: 1px solid #eef2f6;
        border-bottom: 1px solid #eef2f6;
    }
    
    .tutor-details {
        display: flex;
        justify-content: space-between;
        margin-bottom: 12px;
        font-size: 0.75rem;
    }
    
    .tutor-details i {
        width: 20px;
        color: #da0b4e;
    }
    
    .pricing {
        display: flex;
        justify-content: space-between;
        margin: 12px 0;
        padding: 10px 0;
        border-top: 1px solid #eef2f6;
        border-bottom: 1px solid #eef2f6;
    }
    
    .price-item {
        text-align: center;
        flex: 1;
    }
    
    .price-item.single {
        flex: 1;
    }
    
    .price-label {
        font-size: 0.65rem;
        color: #64748b;
    }
    
    .price-value {
        font-size: 1rem;
        font-weight: 700;
        color: #da0b4e;
    }
    
    .session-badge {
        display: inline-block;
        background: #f1f5f9;
        padding: 2px 8px;
        border-radius: 20px;
        font-size: 0.65rem;
        color: #da0b4e;
        margin-left: 8px;
    }
    
    .card-buttons {
        display: flex;
        gap: 10px;
        margin-top: 12px;
    }
    
    .chat-btn, .profile-btn {
        flex: 1;
        padding: 10px;
        border-radius: 40px;
        font-size: 0.8rem;
        font-weight: 600;
        cursor: pointer;
        text-align: center;
        transition: all 0.2s;
    }
    
    .chat-btn {
        background: #f1f5f9;
        border: none;
        color: #da0b4e;
    }
    
    .chat-btn:hover {
        background: #da0b4e;
        color: white;
    }
    
    .profile-btn {
        background: linear-gradient(135deg, #da0b4e, #4f46e5);
        border: none;
        color: white;
        text-decoration: none;
    }
    
    .profile-btn:hover {
        opacity: 0.9;
        color: white;
    }
    
    .no-results {
        text-align: center;
        background: white;
        border-radius: 24px;
        grid-column: 1/-1;
        padding: 60px;
    }
    
    /* Pagination Styles */
    .pagination-container {
        margin-top: 40px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .pagination-info {
        text-align: center;
        color: #64748b;
        font-size: 0.9rem;
        padding: 8px 16px;
        background: #f8fafc;
        border-radius: 40px;
        display: inline-block;
    }
    
    .pagination-controls {
        display: flex;
        justify-content: center;
        gap: 8px;
        flex-wrap: wrap;
        align-items: center;
    }
    
    .pagination-numbers {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }
    
    .pagination-btn {
        min-width: 40px;
        height: 40px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 40px;
        border: 1px solid #e2e8f0;
        background: white;
        color: #475569;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.2s;
        text-decoration: none;
    }
    
    .pagination-btn:hover:not(:disabled) {
        background: #f1f5f9;
        border-color: #da0b4e;
        color: #da0b4e;
        transform: translateY(-2px);
    }
    
    .pagination-btn.active {
        background: linear-gradient(135deg, #da0b4e, #4f46e5);
        color: white;
        border-color: transparent;
    }
    
    .pagination-btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
        pointer-events: none;
    }
    
    .pagination-ellipsis {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 40px;
        height: 40px;
        color: #94a3b8;
        font-weight: 500;
        user-select: none;
    }
    
    /* Featured Section */
    .featured-section {
        max-width: 1200px;
        margin: 0 auto 60px;
        padding: 0 20px;
    }
    
    .featured-title {
        font-size: 1.5rem;
        font-weight: 700;
        margin-bottom: 25px;
        color: #0b1120;
    }
    
    .featured-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
    
    .featured-card {
        background: white;
        border-radius: 18px;
        padding: 15px;
        border: 1px solid #eef2f6;
        transition: all 0.3s;
        display: flex;
        gap: 12px;
        align-items: center;
    }
    
    .featured-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 25px -10px rgba(0,0,0,0.1);
    }
    
    .featured-avatar {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background-size: cover;
        background-position: center;
        flex-shrink: 0;
    }
    
    .featured-info {
        flex: 1;
    }
    
    .featured-name {
        font-weight: 700;
        font-size: 0.9rem;
    }
    
    .featured-title-small {
        font-size: 0.65rem;
        color: #da0b4e;
        margin: 2px 0;
    }
    
    .featured-price {
        font-size: 0.8rem;
        font-weight: 600;
        color: #da0b4e;
    }
    
    a {
        text-decoration: none !important;
    }
    /* Modern Alert System */
    .modal-alert-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(4px);
        z-index: 9999;
        display: none;
        align-items: center;
        justify-content: center;
        animation: fadeIn 0.3s ease;
    }

    .modal-alert {
        background: white;
        border-radius: 24px;
        width: 90%;
        max-width: 400px;
        padding: 0;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
        transform: scale(0.9);
        animation: slideUp 0.3s ease forwards;
    }
    .modal-alert-header {
        padding: 24px 24px 16px 24px;
        border-bottom: 1px solid #eef2f6;
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .modal-alert-icon {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
    }

    .modal-alert-icon.success {
        background: #d1fae5;
        color: #10b981;
    }

    .modal-alert-icon.error {
        background: #fee2e2;
        color: #ef4444;
    }

    .modal-alert-icon.warning {
        background: #fed7aa;
        color: #f59e0b;
    }

    .modal-alert-icon.info {
        background: #dbeafe;
        color: #3b82f6;
    }

    .modal-alert-title {
        flex: 1;
        font-size: 1.25rem;
        font-weight: 700;
        color: #1e293b;
        margin: 0;
    }

    .modal-alert-close {
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
        color: #94a3b8;
        transition: color 0.2s;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
    }

    .modal-alert-close:hover {
        color: #475569;
        background: #f1f5f9;
    }

    .modal-alert-content {
        padding: 20px 24px;
        color: #475569;
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .modal-alert-footer {
        padding: 16px 24px 24px 24px;
        display: flex;
        justify-content: flex-end;
        gap: 12px;
    }

    .modal-alert-btn {
        padding: 10px 24px;
        border-radius: 40px;
        font-weight: 600;
        font-size: 0.9rem;
        cursor: pointer;
        transition: all 0.2s;
        border: none;
    }

    .modal-alert-btn-primary {
        background: linear-gradient(135deg, #da0b4e, #4f46e5);
        color: white;
    }

    .modal-alert-btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(218, 11, 78, 0.3);
    }

    .modal-alert-btn-secondary {
        background: #f1f5f9;
        color: #475569;
    }

    .modal-alert-btn-secondary:hover {
        background: #e2e8f0;
    }

    /* Toast Notifications */
    .toast-container {
        position: fixed;
        bottom: 24px;
        right: 24px;
        z-index: 10000;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .toast {
        background: white;
        border-radius: 12px;
        padding: 16px 20px;
        box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
        display: flex;
        align-items: center;
        gap: 12px;
        min-width: 300px;
        max-width: 400px;
        animation: slideInRight 0.3s ease;
        border-left: 4px solid;
    }

    .toast.success {
        border-left-color: #10b981;
    }

    .toast.error {
        border-left-color: #ef4444;
    }

    .toast.warning {
        border-left-color: #f59e0b;
    }

    .toast.info {
        border-left-color: #3b82f6;
    }

    .toast-icon {
        font-size: 1.25rem;
    }

    .toast-icon.success {
        color: #10b981;
    }

    .toast-icon.error {
        color: #ef4444;
    }

    .toast-icon.warning {
        color: #f59e0b;
    }

    .toast-icon.info {
        color: #3b82f6;
    }

    .toast-content {
        flex: 1;
    }

    .toast-title {
        font-weight: 600;
        color: #1e293b;
        margin-bottom: 4px;
    }

    .toast-message {
        font-size: 0.85rem;
        color: #64748b;
    }

    .toast-close {
        background: none;
        border: none;
        cursor: pointer;
        color: #94a3b8;
        font-size: 1rem;
        padding: 4px;
        border-radius: 50%;
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .toast-close:hover {
        background: #f1f5f9;
        color: #475569;
    }
    /* Responsive Design */
    @media (max-width: 1024px) {
        .main-layout {
            flex-direction: column;
        }
        .filters-sidebar {
            width: 100%;
            position: static;
        }
        .search-card {
            flex-direction: column;
            border-radius: 30px;
        }
        .preference-row {
            width: 100%;
            justify-content: center;
            flex-wrap: wrap;
        }
        .featured-grid {
            grid-template-columns: repeat(2, 1fr);
        }
        .tutors-grid {
            grid-template-columns: 1fr;
        }
    }
    
    @media (max-width: 768px) {
        .featured-grid {
            grid-template-columns: 1fr;
        }
        .results-count {
            width: 100%;
        }
        .sort-select {
            width: 100%;
        }
        .pagination-ellipsis {
            min-width: 35px;
            height: 35px;
        }
        .pagination-btn {
            min-width: 35px;
            height: 35px;
        }
    }
    
    @media (max-width: 480px) {
        .pagination-ellipsis {
            min-width: 32px;
            height: 32px;
        }
        .pagination-btn {
            min-width: 32px;
            height: 32px;
        }
        .days-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }

