
    :root {
            --primary: #2563eb;
            --primary-light: #dbeafe;
            --success: #10b981;
            --warning: #f59e0b;
            --danger: #ef4444;
            --dark: #1f2937;
            --gray-light: #f9fafb;
        }

        body {
            background-color: var(--gray-light);
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            color: var(--dark);
        }

        /* Navigation */
        .navbar-custom {
            background: linear-gradient(135deg, var(--primary) 0%, #1e40af 100%);
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

        /* Cards */
        .card-modern {
            border: none;
            border-radius: 12px;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
        }

        .card-modern:hover {
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
            transform: translateY(-2px);
        }

        /* Buttons */
        .btn-primary-custom {
            background-color: var(--primary);
            border: none;
            border-radius: 8px;
            font-weight: 600;
            padding: 10px 20px;
            transition: all 0.3s ease;
        }

        .btn-primary-custom:hover {
            background-color: #1d4ed8;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
        }

        /* Forms */
        .form-control-custom {
            border-radius: 8px;
            border: 1px solid #e5e7eb;
            padding: 10px 14px;
            transition: all 0.3s ease;
        }

        .form-control-custom:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px var(--primary-light);
        }

        /* Badges */
        .badge-custom {
            padding: 6px 12px;
            border-radius: 6px;
            font-weight: 600;
            font-size: 0.85rem;
        }

        .badge-status-pending {
            background-color: #fef3c7;
            color: #92400e;
        }

        .badge-status-completed {
            background-color: #dcfce7;
            color: #166534;
        }

        /* Timeline */
        .timeline {
            position: relative;
            padding: 20px 0;
        }

        .timeline-item {
            display: flex;
            margin-bottom: 30px;
        }

        .timeline-marker {
            width: 40px;
            height: 40px;
            background-color: var(--primary);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            flex-shrink: 0;
            margin-right: 20px;
        }

        .timeline-content {
            flex: 1;
        }

        /* Alerts */
        .alert-custom {
            border-radius: 8px;
            border: none;
            padding: 15px 20px;
        }

        .alert-warning-custom {
            background-color: #fef3c7;
            color: #92400e;
        }

        .alert-info-custom {
            background-color: var(--primary-light);
            color: #0c4a6e;
        }

        /* Loading spinner */
        .spinner-custom {
            border: 4px solid var(--primary-light);
            border-top: 4px solid var(--primary);
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        /* Responsive */
        @media (max-width: 768px) {
            .container-fluid {
                padding: 15px;
            }

            .card-modern {
                margin-bottom: 15px;
            }
        }


    .clinics-header {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        padding: 60px 0;
        margin-bottom: 40px;
    }

    .clinics-header h1 {
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 10px;
    }

    .clinics-header p {
        font-size: 1.1rem;
        opacity: 0.95;
    }

    .search-filters-section {
        background: white;
        padding: 30px;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        margin-bottom: 30px;
    }

    .filter-group {
        margin-bottom: 15px;
    }

    .filter-group label {
        font-weight: 600;
        color: #333;
        margin-bottom: 8px;
        display: block;
    }

    .filter-group input,
    .filter-group select {
        width: 100%;
        padding: 10px 12px;
        border: 1px solid #e0e0e0;
        border-radius: 6px;
        font-size: 0.95rem;
    }

    .filter-group input:focus,
    .filter-group select:focus {
        outline: none;
        border-color: #667eea;
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    }

    .filter-buttons {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
    }

    .filter-buttons button {
        flex: 1;
        min-width: 120px;
        padding: 10px 20px;
        border: none;
        border-radius: 6px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .btn-search {
        background: #667eea;
        color: white;
    }

    .btn-search:hover {
        background: #5568d3;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    }

    .btn-reset {
        background: #f0f0f0;
        color: #333;
    }

    .btn-reset:hover {
        background: #e0e0e0;
    }

    .results-info {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 25px;
        flex-wrap: wrap;
        gap: 15px;
    }

    .results-count {
        color: #666;
        font-size: 0.95rem;
    }

    .clinics-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 25px;
        margin-bottom: 40px;
    }

    .clinic-card {
        background: white;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        transition: all 0.3s ease;
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    .clinic-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }

    .clinic-logo {
        width: 100%;
        height: 200px;
        background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    .clinic-logo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .clinic-logo-default {
        font-size: 3rem;
        color: #667eea;
    }

    .clinic-info {
        padding: 20px;
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .clinic-name {
        font-size: 1.3rem;
        font-weight: 700;
        color: #333;
        margin-bottom: 8px;
        line-height: 1.3;
    }

    .clinic-location {
        color: #666;
        font-size: 0.9rem;
        margin-bottom: 10px;
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .clinic-location i {
        color: #667eea;
    }

    .clinic-rating {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 12px;
    }

    .stars {
        display: flex;
        gap: 2px;
    }

    .star {
        color: #ffc107;
        font-size: 0.9rem;
    }

    .star.empty {
        color: #ddd;
    }

    .rating-value {
        font-weight: 600;
        color: #333;
    }

    .rating-count {
        color: #999;
        font-size: 0.85rem;
    }

    .clinic-stats {
        display: flex;
        gap: 15px;
        margin-bottom: 15px;
        padding-bottom: 15px;
        border-bottom: 1px solid #f0f0f0;
        font-size: 0.85rem;
    }

    .stat {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .stat-value {
        font-weight: 700;
        color: #667eea;
        font-size: 1.1rem;
    }

    .stat-label {
        color: #999;
        margin-top: 2px;
    }

    .clinic-contact {
        margin-bottom: 15px;
        font-size: 0.85rem;
    }

    .clinic-phone {
        color: #666;
        margin-bottom: 5px;
    }

    .clinic-email {
        color: #667eea;
        text-decoration: none;
        word-break: break-all;
    }

    .clinic-email:hover {
        text-decoration: underline;
    }

    .clinic-hours {
        color: #666;
        font-size: 0.85rem;
        margin-bottom: 10px;
        line-height: 1.4;
    }

    .clinic-actions {
        display: flex;
        gap: 10px;
        margin-top: auto;
    }

    .btn-view-profile {
        flex: 1;
        padding: 10px 15px;
        background: #667eea;
        color: white;
        border: none;
        border-radius: 6px;
        font-weight: 600;
        cursor: pointer;
        text-decoration: none;
        text-align: center;
        transition: all 0.3s ease;
        font-size: 0.9rem;
    }

    .btn-view-profile:hover {
        background: #5568d3;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    }

    .btn-get-directions {
        padding: 10px 15px;
        background: #f0f0f0;
        color: #333;
        border: none;
        border-radius: 6px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        font-size: 0.9rem;
    }

    .btn-get-directions:hover {
        background: #e0e0e0;
    }

    .btn-get-directions:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

    .pagination {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 5px;
        margin-top: 40px;
        flex-wrap: wrap;
    }

    .pagination a,
    .pagination span {
        padding: 8px 12px;
        border: 1px solid #e0e0e0;
        border-radius: 6px;
        text-decoration: none;
        color: #333;
        transition: all 0.3s ease;
        font-size: 0.9rem;
    }

    .pagination a:hover {
        background: #667eea;
        color: white;
        border-color: #667eea;
    }

    .pagination .active {
        background: #667eea;
        color: white;
        border-color: #667eea;
    }

    .no-results {
        text-align: center;
        padding: 60px 20px;
        color: #999;
    }

    .no-results-icon {
        font-size: 4rem;
        margin-bottom: 20px;
        color: #ddd;
    }

    .no-results h3 {
        font-size: 1.5rem;
        color: #666;
        margin-bottom: 10px;
    }

    .map-view-btn {
        background: #764ba2;
        color: white;
        padding: 10px 20px;
        border: none;
        border-radius: 6px;
        cursor: pointer;
        font-weight: 600;
        transition: all 0.3s ease;
    }

    .map-view-btn:hover {
        background: #673599;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(118, 75, 162, 0.3);
    }

    @media (max-width: 768px) {
        .clinics-header h1 {
            font-size: 1.8rem;
        }

        .clinics-grid {
            grid-template-columns: 1fr;
        }

        .filter-buttons {
            flex-direction: column;
        }

        .filter-buttons button {
            width: 100%;
        }

        .results-info {
            flex-direction: column;
            align-items: flex-start;
        }
    }