/* Service Selector Specific Styles */

/* Category Tabs */
.category-tabs {
    display: flex;
    gap: var(--space-1);
    margin-bottom: var(--space-4);
    flex-wrap: wrap;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 0;
}

.category-tab {
    padding: var(--space-2) var(--space-4);
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    border-radius: 0;
    transition: all 0.2s ease;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.category-tab:hover {
    color: var(--primary);
}

.category-tab.active {
    color: var(--primary);
}

.category-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
    border-radius: 3px 3px 0 0;
}

/* Services Grid */
.services-category {
    display: none;
}

.services-category.active {
    display: block;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: var(--space-4);
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Service Card */
.service-card {
    background: var(--white);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

.service-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.service-card.selected {
    border-color: var(--primary);
    background: rgba(var(--primary-rgb), 0.02);
    box-shadow: 0 0 0 2px var(--primary-light);
}

.service-card.selected::before {
    content: '\f058';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: -10px;
    right: -10px;
    width: 24px;
    height: 24px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    box-shadow: var(--shadow-sm);
    z-index: 10;
}

.service-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-3);
    gap: var(--space-2);
}

.service-card-header h3 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text);
    margin: 0;
    flex: 1;
    line-height: 1.2;
}

.service-price {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary);
    white-space: nowrap;
}

.service-description {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0 0 var(--space-4) 0;
    line-height: 1.5;
}

/* Add-ons Section */
.addons-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.addon-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-2) var(--space-3);
    background: var(--bg-soft);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    gap: var(--space-3);
}

.addon-item:hover {
    border-color: var(--primary-light);
    background: var(--white);
}

.addon-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: var(--primary);
}

.addon-name {
    flex: 1;
    font-size: 13px;
    color: var(--text);
    font-weight: 600;
}

.addon-price {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
}

/* Select Button */
.btn-select-service {
    margin-top: auto;
    width: 100%;
    padding: var(--space-2) var(--space-4);
    background: var(--bg-soft);
    color: var(--primary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    transition: all 0.2s ease;
}

.btn-select-service:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.service-card.selected .btn-select-service {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
}

/* Form Steps */
.form-step {
    display: none;
    animation: slideIn 0.4s var(--ease-out);
}

.form-step.active {
    display: block;
}
