/* Hero Section */
.health-hero {
    background: linear-gradient(135deg, #0A58CA 0%, #0947A8 100%);
    color: white;
    position: relative;
    overflow: hidden;
}
.health-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
}
.health-hero h1 {
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.health-package-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    height: 100%;
}
.health-package-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.health-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}
.health-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.health-package-card:hover .health-image img {
    transform: scale(1.05);
}
.clinic-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 500;
}
.treatment-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
}
.package-kind-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}
.package-kind-full {
    background: linear-gradient(135deg, #FACC15, #F59E0B);
    color: #3F2D00;
}
.package-kind-individual {
    background: linear-gradient(135deg, #2563EB, #0A58CA);
    color: white;
}
.individual-health-card {
    border-color: rgba(10, 88, 202, 0.18);
}
.full-health-card {
    border-color: rgba(245, 158, 11, 0.24);
}
.treatment-surgery {
    background: linear-gradient(135deg, #DC2626, #B91C1C);
    color: white;
}
.treatment-treatment {
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
}
.health-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--brand);
}
.health-price small {
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--gray-500);
}
.health-price-label {
    display: block;
    color: var(--gray-600);
    font-size: 0.72rem;
    font-weight: 600;
    margin-bottom: 2px;
}
.individual-doctor-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--brand-light);
    border: 1px solid rgba(10, 88, 202, 0.1);
    border-radius: 12px;
    padding: 8px 10px;
    min-height: 52px;
}
.card-meta-list {
    display: grid;
    gap: 5px;
    color: var(--gray-600);
    font-size: 0.74rem;
}
.card-meta-list > div {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}
.card-meta-list i {
    color: var(--brand);
    font-size: 0.9rem;
    flex: 0 0 auto;
}
.card-meta-list span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.service-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.doctor-avatars {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}
.doctor-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
    box-shadow: var(--shadow-sm);
}
.doctor-avatar-more {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--brand-light);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
}

.feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--gray-50);
    color: var(--gray-700);
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 0.65rem;
}

#healthResultsPanel {
    position: relative;
    transition: opacity 0.2s ease;
}
#healthResultsPanel.is-loading {
    opacity: 0.45;
    pointer-events: none;
}
#healthResultsPanel.is-loading::after {
    content: '';
    position: absolute;
    top: 72px;
    left: 50%;
    width: 42px;
    height: 42px;
    margin-left: -21px;
    border: 3px solid rgba(10, 88, 202, 0.16);
    border-top-color: var(--brand);
    border-radius: 50%;
    animation: healthSpin 0.75s linear infinite;
    z-index: 3;
}
@keyframes healthSpin {
    to { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    .filter-card {
        margin-top: 12px;
    }
    .quick-category-bar {
        margin-top: -30px;
        overflow-x: auto;
    }
    .health-hero h1 {
        font-size: 1.8rem;
    }
}

.search-filters input{
    font-size: 12px;
}
.search-filters select{
    font-size: 12px;
}
.search-filters button {
    background: linear-gradient(135deg, #0A58CA, #10B981);
    color:#fff;
    font-weight:900;
    border: 0;
    border-radius: 999px;
    box-shadow: 0 12px 26px rgba(10, 88, 202, .18);
}
.health-action-btn {
    background: linear-gradient(135deg, #0A58CA, #2563EB) !important;
    color: #fff !important;
    border-color: rgba(10, 88, 202, .18) !important;
    box-shadow: 0 12px 24px rgba(10, 88, 202, .16);
}
.health-action-btn:hover {
    transform: translateY(-2px);
    color: #fff !important;
}

.btn-brand {
    background: linear-gradient(135deg, #0A58CA, #10B981);
    border: 0;
    color: #fff;
    font-weight: 800;
    box-shadow: 0 12px 26px rgba(10, 88, 202, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-brand:hover,
.btn-brand:focus {
    color: #fff;
    background: linear-gradient(135deg, #0947A8, #059669);
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(10, 88, 202, 0.28);
}

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

.newsletter-section {
    border-top: 1px solid var(--gray-200);
}

.newsletter-section .btn-brand {
    min-width: 112px;
    white-space: nowrap;
    padding-inline: 1.35rem;
}
