:root {
    --primary-colour: #0290f1;
    --secondary-colour: #00eaf9;
}

#div_service_type,
#tab_date_selection {
    display: none;
}

#hero_img_container span {
    color: white;
    font-size: 5vw;
    z-index: 5;
    position: relative;
    font-weight: 900;
    opacity: 1;
}

#div_service_type {
    display: none;
}

#div_service_type .collapsible-holder {
    background: none;
}

#div_service_type_holder {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#div_service_type_holder button {
    text-transform: capitalize;
    flex: 1 0 50%;
    margin: 5px;
    border: none;
    background-color: white;
    display: flex;
    font-size: 1.2em;
    align-items: center;
    justify-content: space-between;
    padding: 3px 10px;
    flex-direction: column;
}

#div_service_type_holder button .title {
    align-self: flex-start;
    padding: 10px 0 10px 10px;
    font-weight: 600;
}

#div_service_type_holder button .description {
    align-self: flex-start;
    padding-left: 10px;
    color: grey;
    text-align: left;
    text-transform: math-auto;
}

#div_service_type_holder button .price-holder {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    padding: 10px 0 10px 10px;
}

#div_service_type_holder button .time {
    align-self: flex-start;
    color: grey;
    font-weight: 100;
}

#div_service_type_holder button .price {
    align-self: flex-end;
    color: var(--primary-colour);
    font-weight: 600;
}

#div_service_type_holder button.active {
    border: 2px solid var(--primary-colour);
    box-shadow: 0 0 10px var(--primary-colour);
}

/* Accordion mode styles */
.service-accordion-item {
    margin: 5px;
}

.service-accordion-button {
    width: 100%;
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 15px !important;
}

.service-accordion-button .title {
    flex: 1;
    text-align: left;
    padding: 0 !important;
}

.service-accordion-button .accordion-icon {
    margin-left: 10px;
    transition: transform 0.3s ease;
    color: var(--primary-colour);
}

.service-accordion-button.active .accordion-icon {
    transform: rotate(180deg);
}

.service-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: #f8f9fa;
    border-radius: 0 0 5px 5px;
    margin-top: -5px;
}

.service-accordion-content.open {
    max-height: 500px;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.service-accordion-content .accordion-description {
    margin: 0 0 10px 0;
    color: #666;
    text-align: left;
    line-height: 1.5;
}

.service-accordion-content .price-holder {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    padding: 10px 0 0 0;
}

.service-accordion-content .time {
    color: grey;
    font-weight: 100;
}

.service-accordion-content .price {
    color: var(--primary-colour);
    font-weight: 600;
}

#tab_date_selection .date-outer-container {
    background: linear-gradient(135deg, var(--primary-colour), var(--secondary-colour));
    border-radius: 20px;
    padding: 20px;
    position: relative;
}

#tab_date_selection .date-navigation {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 15px;
}

#tab_date_selection .date-navigation .nav-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    border-radius: 50%;
    color: white;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2em;
}

#tab_date_selection .date-navigation .nav-btn:hover {
    background: white;
    color: var(--primary-colour);
    transform: scale(1.1);
}

#tab_date_selection .date-navigation .nav-btn:active {
    transform: scale(0.95);
}

#tab_date_selection .date-navigation-inner {
    display: flex;
    justify-content: center;
    gap: 10px;
}

#tab_date_selection .date-container {
    overflow-x: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    scrollbar-color: white transparent;
    scrollbar-width: thin;
    position: relative;
    padding-top: 35px;
    align-items: flex-end;
}

#tab_date_selection .date-month-label {
    position: absolute;
    top: 0;
    left: 0;
    color: white;
    font-weight: 600;
    font-size: 1.5em;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 0;
    padding: 5px 10px;
    opacity: 0.95;
    white-space: nowrap;
    z-index: 10;
    border-radius: 5px;
    pointer-events: none;
}

#tab_date_selection .date-month-label span {
    display: inline-block;
}

#tab_date_selection .date-box {
    border: 2px solid white;
    border-radius: 30px;
    color: white;
    display: inline-block;
    margin: 10px;
    flex: 0 0 100px;
    min-width: 100px;
    position: relative;
    /* Required for pseudo-element positioning */
    text-align: center;
    /* Center align text */
    overflow: hidden;
    /* Ensures the pseudo-element doesn't overflow */
}

.date-box.selected {
    background-color: white;
    color: var(--primary-colour)!important;
}

.date-box.full {
    border: 2px solid var(--extra-light-grey)!important;
    color: var(--extra-light-grey)!important;
}

.date-box.full::after {
    content: '';
    position: absolute;
    left: 0;
    width: 150%;
    height: 2px;
    background-color: var(--extra-light-grey);
    transform: rotate(-45deg);
    transform-origin: top left;
    bottom: 0;
}

.time-outer-container {
    text-align: left;
}

.time-container-morning,
.time-container-afternoon,
.time-container-evening {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    text-align: left;
    border-radius: 20px;
    padding: 20px;
}

.time-box {
    background-color: white;
    border-radius: 10px;
    padding: 2px 12px;
    margin: 5px;
    flex: 0 0 24%;
    text-align: center;
    position: relative;
    /* Required for pseudo-element positioning */
    overflow: hidden;
    /* Ensures the pseudo-element doesn't overflow */
}

.time-box h4 {
    font-weight: 500;
}

.time-title {
    flex: 0 0 100%;
    padding-left: 10px;
    font-size: 1.2em;
    margin: 5px;
}

.time-box.full {
    border: 2px solid var(--extra-light-grey)!important;
    color: var(--extra-light-grey)!important;
}

.time-box.full::after {
    content: '';
    position: absolute;
    left: 0;
    width: 150%;
    height: 2px;
    background-color: var(--extra-light-grey);
    transform: rotate(-45deg);
    transform-origin: top left;
    bottom: 0;
}

#tab_date_selection .time-box.selected {
    border: 2px solid var(--primary-colour);
    box-shadow: 0 0 10px var(--primary-colour);
}


/* SUMMARY */

.price-summary-table {
    width: 100%;
}

#td_price_summary_service {
    width: 100%;
    font-size: 1.2em;
    text-align: left;
}

#td_price_summary_duration {
    font-size: 1em;
    text-align: left;
    color: grey;
}

#td_price_summary_total {
    font-size: 1.5em;
    text-align: right;
    color: var(--primary-colour);
}


/* COUNTDOWN TIMER */

.slide-out {
    display: none;
    animation: slide-out 0.5s forwards;
}

.progress-button-container {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}