.booking-container {
    padding-top: 80px;
    margin-bottom: 100px;
    width: 100%;
}

.booking-container .title,
.booking-container .subtitle {
    text-align: center;
    color: white;
}

.booking-page {
    max-width: 1200px;
    margin: 80px auto 0;
    padding: 2rem;
    background: white;
    min-height: calc(100vh - 80px);
}

.booking-header {
    margin-bottom: 2rem;
}

.booking-logo {
    width: 100px;
    height: auto;
    margin-bottom: 1rem;
}

.booking-header h2 {
    font-size: 1.8rem;
    color: #111111;
    margin-bottom: 0.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}

.booking-header p {
    font-size: 1rem;
    color: #666;
    font-family: 'Montserrat', sans-serif;
}

.services-sections {
    display: flex;
    justify-content: center;
}

.service-selection {
    display: flex;
    gap: 2rem;
    padding: 1em;
    margin-top: 2rem;
}

.subcategories-list {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 300px;
    width: 100%;
}

@media screen and (max-width: 1000px) {
    .subcategories-list {
        border-bottom: 3px solid #eee;
        padding-bottom: 1rem;
        margin-bottom: 1rem;
    }
}

.subcategories-list.active {
    display: flex;
}

.subcategory {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    color: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    border: 1px solid transparent;
    margin-bottom: 5px;
    gap: 1rem;
}

@media (max-width: 1000px) {
    .subcategory {
        padding: 10px 15px;
        display: flex;
        justify-content: space-between;
    }
}

.subcategory:hover {
    background: rgba(255, 255, 255, 0.1);
    ;
}

.subcategory.active {
    border: 1px solid var(--primary-color);
    color: var(--text-color);
}

.subcategory h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    margin: 0 0 0.25rem 0;
    color: #eee;
    font-weight: 400;
}

.subcategory .price {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: #a484e8;
}

.services-list {
    flex: 1;
}

.service-item {
    background: #2a2a2a;
    color: #ccc;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 10px;
    border: 1px solid #444;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 1000px) {
    .service-item {
        padding: 15px;
        flex-direction: column;
        align-items: flex-start;
    }

    .service-price-container {
        width: 100%;
        margin-top: 10px;
    }
}

.service-info {
    flex-grow: 1;
}

.service-price-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
}

.service-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
    min-height: auto;
    justify-content: space-between;
    width: auto;
}

.service-info h3 {
    font-size: 16px;
    color: #eee;
    margin: 0 0 5px 0;
    font-weight: 500;
}

.service-info p,
.service-info .service-duration {
    font-size: 14px;
    color: #aaa;
    margin: 0;
    line-height: 1.4;
}

.service-price .price {
    font-size: 16px;
    color: #eee;
    font-weight: 500;
    white-space: nowrap;
}

.select-btn {
    border: none;
    border-radius: 4px;
    padding: 8px 16px;
    background-color: #a484e8;
    color: white;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.select-btn:hover {
    background-color: #8b6ad4;
}

.select-btn.selected,
.select-btn:disabled {
    background-color: #555;
    color: #aaa;
    cursor: not-allowed;
    opacity: 0.7;
}

.booking-summary {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: block;
    box-shadow: #000 0px 0px 10px 10px;
    padding-top: 10px;
    background: white;
    border-top: 1px solid #eee;
    z-index: 10001;
}

.summary-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.summary-left {
    display: flex;
    gap: 2rem;
    align-items: center;
    color: #333;
    font-size: 0.9rem;
}

.summary-right {
    display: flex;
    align-items: center;
}

.selected-count,
.total-duration {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.selected-count span,
.total-duration span {
    color: #333;
    font-weight: 400;
}

.total-price {
    background: #000000;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.total-price:hover {
    background: #1a1a1a;
}

.total-price span {
    font-weight: 400;
    color: #a484e8;
}

.continue-booking {
    padding: 0.75rem 2rem;
    background: #a484e8;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.continue-booking:hover {
    background: #8b6ad4;
}

@media (max-width: 768px) {
    .service-selection {
        flex-direction: column;
    }

    .subcategories-list {
        min-width: 100%;
        border-right: none;
        padding-right: 0;
        border-bottom: 3px solid #eee;
        padding-bottom: 2rem;
        margin-bottom: 1rem;
    }

}

@media (max-width: 400px) {

    .summary-content {
        flex-direction: column;
        gap: 1rem;
    }

    .summary-content .summary-right {
        margin-left: auto;
    }

}

.service-options {
    display: none;
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px dashed #444;
    width: 100%;
}

.service-options.show {
    display: block;
}

.service-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    padding: 0.5rem 0;
}

.option-info {
    border: none;
    border-radius: 0;
    padding: 0;
    background: transparent;
    width: auto;
    margin-left: 0;
}

.option-name {
    color: #ccc;
    font-size: 0.9rem;
    font-weight: 500;
    display: block;
}

.option-duration {
    color: #aaa;
    font-size: 0.85rem;
    display: block;
    margin-top: 0.25rem;
}

.option-price {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: flex-end;
    min-width: auto;
    padding-right: 0;
}

.option-price .price {
    color: #eee;
    font-size: 0.9rem;
}

.service-item-content {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.service-main-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 0;
    width: 100%;
}

.options-btn {
    background: none;
    border: 1px solid #a484e8;
    color: #a484e8;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 6px 12px;
    border-radius: 4px;
    transition: all 0.2s;
    min-width: 80px;
    text-align: center;
}

.options-btn:hover {
    background: #a484e8;
    color: white;
}

/* Add styles for selected services list */
.selected-services-list {
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    display: none;
}

.selected-services-list.active {
    display: block;
}

.selected-services-list h3 {
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 500;
}

.selected-service-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: #f9f9f9;
    border-radius: 4px;
    margin-bottom: 8px;
}

.selected-service-name {
    flex: 1;
    font-size: 14px;
}

.selected-service-price {
    margin: 0 10px;
    font-size: 1rem;
}

.remove-service-btn {
    background: none;
    border: none;
    color: #ff4444;
    cursor: pointer;
    font-size: 16px;
    padding: 0 5px;
}

.remove-service-btn:hover {
    color: #cc0000;
}

/* Style for selected service items */
.service-item.service-selected {
    background-color: #f9f9f9;
    border-left: 3px solid #a484e8;
    opacity: 0.8;
}

.service-item.service-selected .service-info h3 {
    color: #a484e8;
}

/* Ensure options are visible when a service is selected */
.service-item.service-selected .service-options.show {
    display: block;
}

/* Service categories styling to match homepage */
.service-categories {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.service-category {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: fit-content;
    cursor: pointer;
    transition: transform 0.3s ease;
    background: transparent;
    border: none;
    padding: 0;
}

.service-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    background-color: transparent;
    mix-blend-mode: normal;
    filter: brightness(0.85) opacity(0.85);
    transition: filter 0.3s ease;
}

.category-title {
    color: #a484e8;
    font-size: 1.2rem;
    font-weight: 300;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.05em;
    margin: 0;
    text-align: center;
    opacity: 0.85;
    transition: all 0.3s ease;
}

.service-category:hover,
.service-category.active {
    transform: translateY(-10px) scale(1.05);
}

.service-category:hover .service-icon,
.service-category.active .service-icon {
    filter: brightness(1.2) opacity(1);
}

.service-category:hover .category-title,
.service-category.active .category-title {
    color: #b89df0;
    opacity: 1;
}

@media screen and (max-width: 600px) {
    .service-categories {
        flex-wrap: wrap;
        gap: 0;
    }

    .service-category {
        width: 50%;
    }
}

.time-slot.disabled {
    background-color: #e9e9e9;
    /* Light grey for generally disabled slots */
    color: #aaa;
    cursor: not-allowed;
    opacity: 0.7;
    position: relative;
}

.time-slot.disabled.conflict {
    background-color: #fffbe6;
    /* Light yellow for conflict slots */
    color: #998a00;
    /* Darker yellow text */
    border: 1px dashed #ffe58f;
    /* Optional: dashed border */
}

.time-slot.selected {
    background-color: #a484e8;
    color: white;
    font-weight: bold;
}