/* html,
body {
    overscroll-behavior: none;
} */

:root {
    --primary: rgb(104, 34, 67);
    --primary-light: rgb(104, 34, 67);
    --primary-dark: rgb(104, 34, 67);
    --secondary: rgb(104, 34, 67);
    --bg-primary: #2C2E33;
    --border: #777777;
    --text-secondary: #9CA3AF;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-pill: 300px;
    --transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);

}

.text-main {
    color: var(--primary);
}

h2 {
    font-size: 30px;
}

.bg-main-1 {
    background-color: var(--primary) !important;
}

.bullet-text::before {
    content: "• ";
    color: #777777;
    display: inline-block;
    width: 1em;
}

.overflow {
    white-space: normal;
    overflow: hidden;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.text-link {
    text-decoration: underline;
    cursor: pointer;
}

b {
    white-space: normal;
    overflow: hidden;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

h5 {
    font-size: 22px;
    margin-bottom: 0;
    white-space: normal;
    overflow: hidden;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.salon_detail_info__brandimg {
    width: 70px;
    height: 70px;
    margin-right: 1rem;
}

.salon_detail_info__brandimg img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid var(--n360-radius-border-color);
}

.title-booking {
    padding: 20px;
    justify-items: center;
    background-color: #F3F3F3;
}

.avatar-header-salon {
    width: 70px;
    height: 70px;
    border-radius: 300px;
}

.box-booking {
    width: 100%;
}

.step-1 h1 {
    margin: 0px;
}

.step-1 .box-guest {
    background-color: #FFF7FA;
    max-width: 850px;
    margin: auto;
    width: 100%;
    justify-items: center;
    justify-content: center;
}

.progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--primary);
    transition: width 500ms ease;
}

.progress-step {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding-top: 5px;
    cursor: default;
}

.step-indicator {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #FCEDF2;
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    color: var(--text-secondary);
}

.name-service {
    -webkit-line-clamp: 1;
}

.progress-step.active .step-indicator {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 0 4px rgba(211, 66, 122, 0.2);
    transform: scale(1.1);
}

.progress-step .step-indicator.active {
    background-color: #D3427A;
}


.step-label {
    font-size: 0.875rem;
    color: #777777;
    font-weight: 500;
    white-space: nowrap;
    width: 100%;
}

.step-label.active {
    color: #D3427A !important;
}

.progress-step.active .step-label {
    color: var(--text-primary);
    font-weight: 600;
}

.button {
    cursor: pointer;
    display: flex;
    align-items: center;
    border: #D3427A solid 1px;
    padding: 10px;
}

.justify-items-center {
    justify-items: center;
}

.justify-items-end {
    justify-items: end;
}

.justify-items-start {
    justify-items: start;
}

.button.disable {
    background-color: gray;
    pointer-events: none;
    opacity: 0.5;
}

.box-confirm .infor {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.box-confirm .infor .value {
    white-space: normal;
    overflow: hidden;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1 !important;
    word-break: break-word;
    -webkit-box-orient: vertical;
    padding-left: 20px;
}

.preference-item .fw-bold {
    white-space: normal;
    overflow: hidden;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.title {
    color: #777777;
}

.infor .title {
    white-space: nowrap;
}

.divider {
    width: 100%;
    height: 1px;
    background-color: #E6E6E6;
    margin: 15px 0;
}

.box-confirm {
    width: 100%;
    background-color: white;
    border-radius: 10px;
    padding: 10px 20px;
}

.is-ios .gird {
    display: grid;
}


.box-step {
    display: flex;
    width: 100%;
    background-color: white;
    border-radius: 20px;
    padding: 20px 10px;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.box-step h2 {
    font-weight: bold;
}

.box-step p {
    color: #777777;
}

.ant-collapse-content {
    background-color: #FAFAFA !important;
    border: none !important;
}

.preferences-select-dropdown {
    /* display: none; */
    max-height: 0px;
    background: white;
    border-radius: 0 0 10px 10px;
    overflow-y: auto;
    width: 100%;
    transition: max-height 0.5s ease, opacity 0.5s ease;
}

.preferences-select-dropdown.show {
    max-height: 300px;
    display: block;
    /* position: relative; */
}

.preferences-select-dropdown .preference-item {
    align-items: center;
    padding: 10px 20px;
    display: flex;
}

.preferences-select-dropdown .preference-item.disable {
    opacity: 0.4;
    cursor: not-allowed;
}

.preferences-select-dropdown .preference-item:hover {
    background: #F7F7F7
}

.preferred-technicians {
    position: relative;
    width: 100%;
    border-radius: 30px;
    background: #fff;
    transition: max-height 0.5s ease, opacity 0.5s ease;
}

.preferred-technicians.active {
    border-radius: 30px 30px 0px 0px;
}

.input-technician {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    min-height: 50px;
    background: #fff;
    padding: 4px;
    cursor: pointer;
    gap: 0.5rem;
}

.border-input-technician {
    display: flex;
    width: 100%;
}

.border-input-technician.hover {
    border-bottom: solid 1px #dee2e6;
}



.input-technician .item-technician {
    border-radius: 8px;
    background: #F3F3F3;
    padding: 10px;
    font-size: 14px;
    color: black;
}


.time-selection-container {
    margin: 0 auto;
    display: grid;
    gap: 2.5rem;
}

.box-time {
    width: 100%;
}

.time-period {
    width: 100%;
    margin-bottom: 30px;
}

.time-period-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.time-period-title {
    font-size: 1.5rem;
    font-weight: 700;
}

.time-period-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.time-period-icon.morning {
    background: rgba(251, 191, 36, 0.1);
    color: #F59E0B;
}

.time-period-icon.afternoon {
    background: rgba(59, 130, 246, 0.1);
    color: #3B82F6;
}

.time-period-icon.evening {
    background: rgba(211, 66, 122, 0.1);
    color: #D3427A;
}

.time-period-icon.night {
    background: rgba(56, 28, 39, 0.1);
    color: #1C2526;
}

.time-slots-grid {
    display: grid;
    grid-template-columns: 110px;
    grid-template-columns: repeat(auto-fill, minmax(153px, 1fr));
    gap: 1rem;
}

.time-slot {
    background-color: white;
    border: 2px solid #E5E3E3;
    border-radius: 16px;
    padding: 0.5rem;
    text-align: center;
    cursor: pointer;
    font-size: 20px;
    transition: var(--transition);
}

.time-slot:hover:not(.unavailable):not(.selected) {
    border-color: var(--primary-light);
    background: rgba(255, 255, 255, 0.05);
}

.time-slot.selected {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    font-weight: 700;
}

.time-slot.unavailable {
    opacity: 0.5;
    cursor: not-allowed;
    /* background: var(--bg-secondary); */
}

.contact input {
    width: 100%;
    border-radius: 8px;
    border: solid 1px #dee2e6;
    background: #fff;
    padding: 10px 20px;
}

.contact input:hover,
.contact input:focus {
    outline: none;
    border-color: #D3427A !important;
}

textarea {
    width: 100%;
    border-radius: 16px;
    border: solid 1px #dee2e6;
    background: #fff;
    padding: 10px 20px;
}

textarea:hover,
textarea:focus {
    outline: none !important;
    border-color: #D3427A;
}

.policyChecked {
    cursor: pointer;
    margin-top: 30px;
}

input[type='checkbox'] {
    border: 1px solid #333333;
}

.step2 {
    display: flex;
    width: 100%;
}

.step2 .box-service {
    border-radius: 0.375 rem;
    border: 1px solid #dee2e6;
    border-radius: 16px;
    padding: 0.25 rem;
    width: 58.33333%;
}

.step2 .box-active-service {
    width: 33.333333%;
}

/* .ant-collapse-item {
    border-radius: 0px 0px 0px 0px !important;
    border-bottom: 1px solid #dee2e6;
} */

.ant-collapse {
    border: none;
    border-radius: 0px 0px 0px 0px !important;
}

.box-step-booking {
    border-radius: 16px;
    /* background-color: #FFF7FA; */
    justify-items: center;
    padding-bottom: 80px;
}

.sliding-step {
    display: flex;
    width: 100%;
    justify-content: space-between;
    position: relative;
    overflow: auto;
    margin: auto;
    max-width: 900px;
}

.icon-back {
    transform: rotate(180deg);
}

.ant-collapse-header-text {
    white-space: normal;
    overflow: hidden;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

}

.detail-sub-salon {
    display: flex;
    width: 100%;
    gap: 1rem;
    flex-wrap: wrap;
}

.title-detail-salon {
    /* overflow d-flex flex-column justify-content-between w-100 */
    width: 100%;
}

.step-navigation {
    background-color: white;
    box-shadow: 0 -1px 4px 0 rgba(0, 0, 0, 0.25);
    border-top: #F3F3Fe solid 1px;
    position: fixed;
    left: 0;
    bottom: 0;
    display: flex;
    width: 100%;
    justify-content: center;
    padding: 1rem;
    gap: 1rem;
}

.step-navigation .button-continue {
    width: 100%;
}

.ant-collapse-content-box {
    padding: 0px !important;
}

.item-collapse {
    border-top: #D7D7D7 solid 1px;
}

.icon-action-detail-salon {
    margin-top: 10px;
}

.sub-title-salon {
    display: flex;
    gap: 0.5rem;
    align-items: start;
}

.header-booking {
    background-color: #333333;
    padding: 20px;
    display: flex;
    color: white;
    font-weight: bold;
    gap: 10px;
    font-size: 24px;
    align-items: center;
}

@media (min-width: 767.98px) {
    .icon-action-detail-salon {
        display: none;
    }

    .progress-track {
        /* position: absolute;
        top: 29px;
        left: 0;
        right: 0;
        height: 2px;
        background: #F5F5F5;
        z-index: 0; */
        width: 100%;
        height: 5px;
        background: #F5F5F5;
        /* border-radius: 30px; */
    }

    .step-navigation .button-continue {
        max-width: 320px;
    }

    .sub-title-salon {
        place-self: end;
    }

    .header-booking {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .hidden-header{
        display: none;
    }
    .sub-title-salon {
        display: none;

    }

    .sub-title-salon.active {
        place-self: start;
        display: flex;
    }

    .avatar-header-salon {
        width: 50px;
        height: 50px;
    }

    .title-detail-salon {
        flex-direction: column !important
    }

    .detail-sub-salon {
        display: flex;
        flex-direction: column;
    }

    .progress-track {
        width: 100%;
        height: 2px;
        background: #F5F5F5;
    }

    .progress-step {
        display: none;
    }

    .box-step-booking {
        background-color: transparent;
    }

    .salon_detail_info__brandimg {
        width: 100px;
        height: 100px;
    }

    .step2 .box-service {
        width: 100%;
    }

    .step2 {
        display: block;
        width: 100%;
    }

    .step2 .box-active-service {
        width: 100%
    }

    .box-time {
        margin: 0;
    }

    .time-slots-grid {
        gap: 0.5rem;
    }
}