 .tab-button {
    position: relative;
    overflow: hidden;
    background: white;
    color: #6b7280;
    border: none !important;
    margin: 0;
    outline: none;
}

.tab-button:not(:last-child) {
    border-right: 2px solid #e5e7eb;
}

.tab-button:first-child {
    border-top-left-radius: 0.75rem;
    border-bottom-left-radius: 0.75rem;
}

.tab-button:last-child {
    border-top-right-radius: 0.75rem;
    border-bottom-right-radius: 0.75rem;
}
 
.tab-button.active {
    background: #ddefff;
    color: #1d5cb2;
    border: none !important;
}

.tab-button.active svg {
    stroke: #1d5cb2;
}

.tab-button.active span {
    color: #1d5cb2;
}

.tab-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.tab-button:hover::before {
    left: 100%;
}

.tab-button.active::before {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

/* CTA Button Enhanced */
.configurator-section .cta-button {
    position: relative;
    overflow: hidden;
}

.configurator-section .cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.configurator-section .cta-button:hover::before {
    width: 300px;
    height: 300px;
}

/* Day Checkbox Enhanced */
.day-checkbox {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.day-checkbox:hover {
    transform: scale(1.05);
}

.day-checkbox.selected {
    background-color: #006bff !important;
    border: none !important;
}

.day-checkbox:not(.selected) {
    background-color: white !important;
    border: 2px solid #d1d5db !important;
}

/* Day Card Enhanced */
.day-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.day-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.weekend-option {
    transition: all 0.3s ease;
    cursor: pointer;
}

.weekend-option:hover {
    transform: translateY(-1px);
}

.weekend-checkbox {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.weekend-checkbox:hover {
    transform: scale(1.05);
}

.weekend-checkbox.selected {
    background-color: #006bff !important;
    border: none !important;
}

.weekend-checkbox:not(.selected) {
    background-color: white !important;
    border: 2px solid #d1d5db !important;
}
 
 
/* Selected Service Card - Blue Border */
.service-card.selected {
    border-color: #006bff !important;
    border-width: 2px !important;
    border-style: solid !important;
    box-shadow: 0 8px 25px rgba(0, 107, 255, 0.15) !important;
}

/* Force blue border with highest specificity */
.service-card.selected,
.service-card.selected.service-card,
#services-content .service-card.selected {
    border-color: #006bff !important;
    border-width: 2px !important;
    border-style: solid !important;
    box-shadow: 0 8px 25px rgba(0, 107, 255, 0.15) !important;
}

/* Alternative selector for service cards */
.service-card.selected,
.max-w-xl.bg-white.rounded-2xl.selected {
    border-color: #006bff !important;
    border-width: 2px !important;
    border-style: solid !important;
    box-shadow: 0 8px 25px rgba(0, 107, 255, 0.15) !important;
}

/* Simple selector for any service card with selected class */
.bg-white.rounded-2xl.selected {
    border-color: #006bff !important;
    border-width: 2px !important;
    border-style: solid !important;
    box-shadow: 0 8px 25px rgba(0, 107, 255, 0.15) !important;
} 

.service-checkbox {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.service-checkbox:hover {
    transform: scale(1.05);
}

.service-checkbox.selected {
    background-color: #006bff !important;
    border: none !important;
}

.service-checkbox:not(.selected) {
    background-color: white !important;
    border: 2px solid #d1d5db !important;
}

.service-sessions {
    transition: all 0.3s ease;
}

.service-sessions:focus {
    outline: none;
    border-color: #006bff;
    box-shadow: 0 0 0 3px rgba(0, 107, 255, 0.1);
}
  
.service-card h3 {
    transition: color 0.3s ease;
}

/* Fix: Only apply hover effects to non-selected cards */
.service-card:not(.selected):hover h3 {
    color: #1d5cb2;
}

.service-card.selected h3 {
    color: #1d5cb2; /* Keep selected card title blue */
}

.service-card:not(.selected) h3 {
    color: #111827; /* Default title color for non-selected cards */
}

.service-card .bg-gray-50 {
    transition: all 0.3s ease;
}

/* Fix: Only apply hover effects to non-selected cards */
.service-card:not(.selected):hover .bg-gray-50 {
    background-color: #f0f9ff !important;
    border: 1px solid #bae6fd;
}

.service-card.selected .bg-gray-50 {
    background-color: #f0f9ff !important; /* Keep selected card styling */
    border: 1px solid #bae6fd;
}

/* Weekend Option Enhanced */
.weekend-checkbox {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.weekend-checkbox:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 224, 224, 0.3);
}

.weekend-checkbox .checkbox-icon {
    transition: all 0.3s ease;
}

.weekend-checkbox:hover .checkbox-icon {
    transform: scale(1.1);
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .day-card {
        margin-bottom: 1rem;
    }
    
    .day-card:hover {
        transform: translateY(-4px) scale(1.01);
    }
    
    .tab-button {
        width: 100%;
        margin: 2px 0;
    }
}

/* Loading States */
.day-card.loading {
    opacity: 0.7;
    pointer-events: none;
}

.day-card.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--color-sky);
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Selection Count Container */
.selection-count-container {
    text-align: left;
    padding: 0;
    margin-left: 0;
}

/* Selection Count Styling */
.selection-count {
    font-weight: 600;
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.25rem;
} 
 

/* Focus States for Accessibility */
.day-card:focus-within {
    outline: 2px solid var(--color-blue);
    outline-offset: 2px;
}

.weekend-checkbox:focus-within {
    outline: 2px solid var(--color-blue);
    outline-offset: 2px;
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .configurator-section {
        background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    }
    
    .day-card {
        background: #2d3748;
        color: #e2e8f0;
    }
    
    .day-card .text-gray-700 {
        color: #e2e8f0;
    }
    
    .day-card .text-gray-600 {
        color: #a0aec0;
    }
}
