/* Enhanced Modern Styling - Simplified */
body {
    background: #f9fafb;
    font-family: 'Public Sans';
}

.date-picker-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    background: #f9fafb;
    min-height: 100vh;
    box-sizing: border-box;
}

.booking-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    background: #f9fafb;
    min-height: 100vh;
    box-sizing: border-box;
}

.imageContainer {
    width: 72px;
    height: 72px;
}

/* Navigation */
.header-nav {
    background: #ffffff;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    padding: 8px 12px;
    border-radius: 8px;
}

.back-button:hover {
    background: #f3f4f6;
    color: #111827;
    text-decoration: none;
}

.back-button i {
    font-size: 14px;
    padding: 4px;
    background: #f9fafb;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}

.back-button:hover i {
    background: #e5e7eb;
    border-color: #d1d5db;
}

/* Language Selector */
.language-selector {
    display: flex;
    align-items: center;
    gap: 12px;
}

.language-selector p {
    margin: 0;
    font-weight: 500;
    color: #6b7280;
    font-size: 14px;
}

.langugeDropdown .btn {
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 8px 16px;
    font-weight: 500;
    color: #374151;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.langugeDropdown .btn:hover,
.langugeDropdown .btn:focus {
    border-color: #9ca3af;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    background: #ffffff;
    color: #374151;
}

.langugeDropdown .dropdown-menu {
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 8px;
    margin-top: 4px;
    min-width: 200px;
}

.langugeDropdown .dropdown-menu li {
    margin-bottom: 2px;
}

.langugeDropdown label {
    padding: 8px 12px;
    border-radius: 6px;
    transition: background 0.2s ease;
    cursor: pointer;
    width: 100%;
    display: block;
}

.langugeDropdown label:hover {
    background: #f3f4f6;
}

/* Store Header */
.store-header {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    background: #ffffff;
}

.store-cover-enhanced {
    position: relative;
    height: 180px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.store-cover-enhanced .img-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.store-cover-enhanced img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-info {
    background: #ffffff;
    padding: 24px;
    position: relative;
    text-align: center;
}

.store-logo {
    margin-top: 0px !important;
    width: 80px !important;
    height: 80px !important;
    border-radius: 16px;
    border: 3px solid #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    object-fit: cover;
    margin: -36px auto 16px;
    display: block;
    position: relative;
    z-index: 2;
}

.store-name {
    font-size: 22px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.store-bio-text {
    color: #6b7280;
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
    max-width: 480px;
    margin: 0 auto;
}

/* Services Section */
.services-section {
    background: #ffffff;
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title::before {
    content: '';
    width: 3px;
    height: 20px;
    background: #3b82f6;
    border-radius: 2px;
}

/* Service Cards */
.service-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    border-color: #d1d5db;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.service-card.selected {
    border-color: #3b82f6;
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.12);
}

/* .service-card.selected::after {
    content: '✓';
    position: absolute;
    top: 16px;
    right: 16px;
    background: #3b82f6;
    color: white;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    z-index: 1;
} */

.service-content {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
}

/* Service Image */
.service-image {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-image-placeholder {
    width: 100%;
    height: 100%;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

/* Service Information */
.service-main-info {
    flex: 1;
    min-width: 0;
}

.service-header-row {
    margin-bottom: 8px;
}

.service-name {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin: 0;
    line-height: 1.3;
    flex: 1;
    min-width: 0;
}

.service-price {
    font-size: 16px;
    font-weight: 700;
    color: #0d6efd;
    margin: 0;
    white-space: nowrap;
    flex-shrink: 0;
}

.service-price .currency {
    font-size: 12px;
    font-weight: 500;
    color: #6b7280;
    margin-left: 2px;
}

.service-meta-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.meta-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    background: #f3f4f6;
    border-radius: 6px;
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
}

.meta-badge i {
    font-size: 10px;
}

.service-description {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.service-description:empty {
    display: none;
}

/* No Services State */
.no-services {
    text-align: center;
    padding: 48px 20px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.no-services img {
    width: 100px;
    height: auto;
    margin-bottom: 20px;
    opacity: 0.7;
}

.no-services .title {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 6px 0;
}

.no-services .subtitle {
    color: #6b7280;
    font-size: 14px;
    margin: 0;
}

/* RTL Support */
.rtl-style {
    direction: rtl;
}

.ltr-style {
    direction: ltr;
}

.date-picker-container #timePicker {
    margin-top: 1rem !important;
    padding: 10px;
    margin: 0;
    width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .booking-container {
        padding: 16px;
    }

    .header-nav {
        padding: 14px 16px;
        margin-bottom: 16px;
        border-radius: 10px;
    }

    .back-button {
        padding: 6px 10px;
        gap: 6px;
    }

    .language-selector {
        gap: 8px;
    }

    .language-selector p {
        font-size: 13px;
    }

    .langugeDropdown .btn {
        padding: 6px 12px;
        font-size: 14px;
    }

    .store-header {
        margin-bottom: 20px;
        border-radius: 12px;
    }

    .store-cover-enhanced {
        height: 140px;
    }

    .store-info {
        padding: 20px 16px;
    }

    .store-logo {
        width: 60px;
        height: 60px;
        margin-top: -30px;
        border-radius: 12px;
    }

    .store-name {
        font-size: 20px;
    }

    .store-bio-text {
        font-size: 14px;
    }

    .services-section {
        padding: 20px 16px;
        border-radius: 12px;
    }

    .section-title {
        font-size: 16px;
        margin-bottom: 16px;
    }

    .service-card {
        padding: 16px;
        border-radius: 10px;
    }

    .service-content {
        gap: 12px;
    }

    .service-image {
        width: 64px;
        height: 64px;
        border-radius: 8px;
    }

    .service-header-row {
        flex-direction: column;
        gap: 6px;
        align-items: flex-start;
    }

    .service-name {
        font-size: 15px;
    }

    .service-price {
        font-size: 15px;
        align-self: flex-start;
    }

    .service-meta-row {
        gap: 8px;
        margin-bottom: 8px;
    }

    .meta-badge {
        font-size: 11px;
        padding: 2px 6px;
    }

    .service-description {
        font-size: 13px;
    }

    .service-card.selected::after {
        width: 20px;
        height: 20px;
        top: 12px;
        right: 12px;
        font-size: 11px;
    }

    .no-services {
        padding: 40px 16px;
    }

    .no-services img {
        width: 80px;
    }

    .imageContainer {
        width: 64px;
        height: 64px;
    }

}

@media (max-width: 480px) {
    .date-picker-container {
        padding: 12px;
    }

    .booking-container {
        padding: 12px;
    }

    .header-nav {
        padding: 12px;
        margin-bottom: 12px;
    }

    .store-cover-enhanced {
        height: 120px;
    }

    .store-info {
        padding: 16px 12px;
    }

    .store-logo {
        width: 52px;
        height: 52px;
        margin-top: -26px;
    }

    .store-name {
        font-size: 18px;
    }

    .services-section {
        padding: 16px 12px;
    }

    .service-card {
        padding: 14px;
    }

    .service-image {
        width: 64px;
        height: 64px;
    }

    .service-content {
        gap: 10px;
    }

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

    .service-price {
        font-size: 14px;
    }

    .service-description {
        font-size: 12px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .meta-badge {
        font-size: 10px;
    }

    .date-picker-container .service-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .date-picker-container .service-price {
        font-size: 20px !important;
    }

    .date-picker-container .service-name {
        font-size: 23px !important;
    }

    .date-picker-container .meta-badge {
        font-size: 12px !important;
    }

    .date-picker-container .service-image {
        width: 100px !important;
        height: 100px !important;

    }

    .date-picker-container .service-meta-row {
        justify-content: center;
    }

    .date-picker-container #datePicker {
        padding: 0px;
        margin: 0;
        width: 100%;
    }

    .imageContainer {
        width: 64px;
        height: 64px;
    }

}

/* Ensure proper text wrapping */
* {
    word-wrap: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
}

/* Smooth animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card {
    animation: fadeInUp 0.4s ease forwards;
}

.service-card:nth-child(2) {
    animation-delay: 0.05s;
}

.service-card:nth-child(3) {
    animation-delay: 0.1s;
}

.service-card:nth-child(4) {
    animation-delay: 0.15s;
}

.service-card:nth-child(5) {
    animation-delay: 0.2s;
}

.date-picker-container .service-card {
    cursor: default;
    border: 0;
}

.date-picker-container .service-name {
    font-size: 20px;
}

.date-picker-container .service-price {
    font-size: 18px;
    padding-top: 2px;
}

.date-picker-container .service-image {
    width: 80px;
    height: 80px;
}

.select2-selection--single {
    padding: 5px;
    height: unset !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    display: none;
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus-visible {
    border: 1px solid #aaa;
    color: var(--bs-body-color);
    background-color: var(--bs-body-bg);
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.1rem rgba(13, 110, 253, .25);
}

@media (max-width: 767px) {
    .collapsed-text {
        max-height: 70px;
        overflow: hidden;
        position: relative;
        transition: max-height 0.8s ease;
    }

    .collapsed-text.expanded {
        max-height: 1000px;
    }
}


@media (min-width: 768px) {
    .collapsed-text {
        max-height: none !important;
        overflow: visible !important;
    }
}

/* Loader wrapper (centered) */
.loader-wrapper {
    min-height: 200px;
}

/* Circle spinner */
.spinner-circle {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(0, 123, 255, 0.2);
    /* light ring */
    border-top: 4px solid #0d6efd;
    /* primary color */
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    /* smooth 360 rotation */
}

/* Animation keyframes */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* date picker */
#datepicker-container,
#datepicker-container .datepicker,
#datepicker-container .datepicker table {
    width: 100% !important;
    font-weight: 500;
    font-size: 1rem;
}

.date-picker {
    justify-content: flex-start;
    width: 100%;
    border: 1px solid #E0E4EA;
    background: #FFFFFF;
    border-radius: 8px;
    margin: 1rem auto;
}

.date-picker .services-header {
    font-size: 18px;
    font-weight: 700;
    line-height: 28px;
    letter-spacing: 0.01em;
    color: #090A22;
    text-align: center;
    padding-top: 1rem;
}

.date-picker .form-group {
    font-weight: 500;
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.date-picker .abovTime {
    text-align: center;
}

.timePicker {
    width: 90%;
    border: 1px solid #E0E4EA;
    background: #FFFFFF;
    border-radius: 8px;
    margin: 1rem auto;
    padding: 8px;
}

.times-container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    gap: .5rem;
    margin: 1rem 0;
}

.timePicker .timePicker-head {
    border: 1px solid #E0E4EA;
    background: #FFFFFF;
    padding: 10px;
    border-radius: 4px;
}

.timePicker-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 28px;
    letter-spacing: 0.01em;
    color: #090A22;
    margin-bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.timePicker-title span {
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: 0.005em;
    color: #3A3B4E;
}

.timePicker a {
    color: #0F53ED;
    text-decoration: none;
    border: 1px solid #91B0F7;
    padding: 14px 18px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: 0.005em;
    text-align: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .5rem;
}

.timePicker .border-blue {
    background-color: #E7EEFD;
    position: relative;
}



.timePicker a:hover {
    background-color: #E7EEFD;
}

.timePicker a.disabled {
    background-color: #f7f7f7;
    color: black;
}

.notimeAvilabale {
    text-align: center;
    background-color: #f7e8e8;
    color: #752f2f;
    font-weight: 500;
    width: 100%;
    margin: 0 auto;
    border-radius: 4px;
    padding: 6px;
}

@media (max-width:768px) {
    .date-picker {
        justify-content: space-between;
        flex-direction: column;
        padding: 0;
    }
}

/* calendar-css */

:root {
    --calendar-bg-color: #F9F9F9;
    --calendar-font-color: #131515;
    --weekdays-border-bottom-color: #404040;
    --calendar-date-hover-color: #FF7648;
    --calendar-current-date-color: #FF7648;
    --calendar-today-color: linear-gradient(to bottom, #FF7648, #FF7648);
    --calendar-today-innerborder-color: transparent;
    --calendar-nextprev-bg-color: transparent;
    --next-prev-arrow-color: #FFF;
    --calendar-border-radius: 16px;
    --calendar-prevnext-date-color: #484848
}


.calendar {
    position: relative;
    /*change as per your design need */
    color: var(--calendar-font-color);
    box-sizing: border-box;
    font-weight: 500;
}

.calendar-inner {
    padding: 10px;
}

.calendar .calendar-inner .calendar-body {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    grid-gap: 5px;
}

.calendar .calendar-inner .calendar-body div {
    position: relative;
    background-color: #E7EEFD;
    border-radius: 20px;
    padding: 5.5px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.calendar .calendar-inner .calendar-body div:nth-child(-n+7) {
    border: 1px solid transparent;
    color: #9F9F9F;
    background-color: unset;
}

.calendar .calendar-inner .calendar-body div:nth-child(-n+7):hover {
    border: 1px solid transparent;
    /* border-bottom: 1px solid #9F9F9F; */
}

.calendar .calendar-inner .calendar-body div>a {
    color: #090A22;
    text-decoration: none;
    display: flex;
    justify-content: center;
    transition: all 0.5s ease;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: 0.005em;
}

/* .calendar .calendar-inner .calendar-body div:hover {
    border-radius: 4px;
} */
.number-item:hover,
.number-item.border-blue {
    background: #0F53ED !important;
}

.number-item:hover a,
.border-blue a {
    color: #fff !important;
}

.prev-dates,
.next-dates {
    color: #9F9F9F !important;
}

.prev-dates,
.disable-dates {
    background-color: unset !important;
    color: #9F9F9F !important;
}

.prev-dates .dateNumber,
.disable-dates .dateNumber {
    cursor: unset;
}

.calendar .calendar-inner .calendar-body div.empty-dates:hover {
    border: 1px solid transparent;
}

.calendar .calendar-inner .calendar-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.calendar .calendar-inner .calendar-today-date {
    display: grid;
    text-align: center;
    cursor: pointer;
    margin: 3px 0px;
    /* background: var(--calendar-current-date-color);
    color: white; */
    background: rgba(255, 204, 145, 0.2);
    color: black;
    padding: 8px 0px;
    border-radius: 10px;
    width: 80%;
    margin: auto;
    display: none;

}

.calendar .calendar-inner .calendar-controls .calendar-year-month {
    display: flex;
    min-width: 100px;
    gap: .5rem;
    justify-content: space-evenly;
    align-items: center;
}

.calendar .calendar-inner .calendar-controls .calendar-next {
    text-align: right;
}

.calendar .calendar-inner .calendar-controls .calendar-year-month .calendar-year-label,
.calendar .calendar-inner .calendar-controls .calendar-year-month .calendar-month-label {
    font-weight: bold;
    font-size: 20px;
}

.calendar .calendar-inner .calendar-controls .calendar-year-month .calendar-year-label {
    color: rgba(31, 34, 43, .3);
}

.calendar .calendar-inner .calendar-body .calendar-today:hover {
    border-radius: 4px;
}

.calendar .calendar-inner .calendar-body .calendar-today a {
    outline: 2px solid var(--calendar-today-innerborder-color);
}


.calendar .calendar-inner .calendar-controls .calendar-next a,
.calendar .calendar-inner .calendar-controls .calendar-prev a {
    padding: 0px 12px;
}

.calendar .calendar-inner .calendar-body .prev-dates,
.calendar .calendar-inner .calendar-body .next-dates {
    color: var(--calendar-prevnext-date-color);
}

.calendar .calendar-inner .calendar-body .prev-dates:hover,
.calendar .calendar-inner .calendar-body .next-dates:hover {
    border: 1px solid transparent;
    pointer-events: none;
}


.coll-date,
.coll-subject {
    display: none !important;
}

.date-choose {
    display: none !important;
}

.number-item ul {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.number-item ul li {
    width: 3px;
    height: 3px;
    background-color: #0F53ED;
}

.calendar .calendar-inner .calendar-body div.selected ul {
    display: none;
}

.number-item ul .disabled {
    background-color: #9F9F9F;
}

@media screen and (max-width:768px) {
    .calendar-body {
        font-size: 13px;
    }

    .calendar-month-label,
    .calendar-year-label {
        font-size: 18px !important;
    }

    #week,
    #day {
        flex-direction: column-reverse;
    }

    #day .col-lg-8,
    #week .col-lg-8 {
        padding: 0;
    }

    .calendar-date {
        height: auto !important;
    }

    .date-choose {
        display: flex !important;
    }
}

.select2-container {
    width: 100% !important;
}

.select2-container--default .select2-selection--single {
    border: 1px solid #f2f2f2 !important;
}

.selected_time {
    color: #0d6efd;
    background: #fff;
    padding: 2px;
    border-radius: 50%;
    position: absolute;
    top: -5px;
    right: -5px;
}

.disable-dates ul {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    flex-wrap: wrap;
    gap: 1px;
    margin: 0;
    padding: 0;
    max-width: 65px;
}

.disable-dates ul .disabled {
    background-color: #9F9F9F;
    width: 3px;
    height: 3px;
}

/* Enhanced Service Details Styles */
.service-name-clamp {
    display: -webkit-box;
    /* Fallback for WebKit browsers */
    -webkit-box-orient: vertical;
    /* Vertical orientation for line clamping */
    -webkit-line-clamp: 2;
    /* Number of lines to show */
    overflow: hidden;
    /* Hide overflowing text */
    text-overflow: ellipsis;
    /* Add ... at the end */
    word-break: break-word;
    /* Allow line breaks in long words */
}

/* Service Image Styling */
.service-detail-image {
    transition: all 0.2s ease;
}

.service-detail-image:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(29, 123, 255, 0.15);
}

.service-placeholder {
    transition: all 0.2s ease;
}

.service-placeholder:hover {
    background-color: #f8fbff !important;
    border-color: #1d7bff !important;
}

/* Price and Time Badge */
.price-value {
    font-size: 1.25rem;
    color: #1d7bff !important;
}

.time-badge {
    background-color: #f8fbff;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    border: 1px solid #e5f0ff;
}

/* Booking Info Card */
.booking-info {
    border: 1px solid #e5f0ff;
    background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
}

/* Show More/Less Buttons */
.show-more-btn,
.show-less-btn {
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    background: none;
    padding: 0;
}

.show-more-btn:hover,
.show-less-btn:hover {
    color: #0d6efd !important;
    transform: translateX(2px);
}

/* Action Button Enhancement */
.action-section .btn {
    background: linear-gradient(135deg, #1d7bff 0%, #0d6efd 100%);
    border: none;
    box-shadow: 0 4px 6px -1px rgba(29, 123, 255, 0.25);
    transition: all 0.3s ease;
}

.action-section .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 12px -1px rgba(29, 123, 255, 0.35);
}

.action-section .btn:active {
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 576px) {
    .service-header {
        flex-direction: column;
        align-items: center !important;
        text-align: center;
    }

    .service-image-container {
        margin-right: 0 !important;
        margin-bottom: 1rem;
    }

    .service-detail-image,
    .service-placeholder {
        width: 100px !important;
        height: 100px !important;
    }

    .serv-price {
        flex-direction: column !important;
        align-items: center !important;
        gap: 0.5rem;
    }

    .booking-info .d-flex {
        flex-direction: column !important;
        text-align: center;
        gap: 1rem;
    }

    .booking-time {
        text-align: center !important;
    }
}

/* RTL Support */
[dir="rtl"] .service-header {
    direction: rtl;
}

[dir="rtl"] .service-image-container {
    margin-right: 0 !important;
    margin-left: 1rem !important;
}

[dir="rtl"] .show-more-btn:hover,
[dir="rtl"] .show-less-btn:hover {
    transform: translateX(-2px);
}

/* Animation Classes */
.transition-all {
    transition: all 0.3s ease !important;
}

/* Focus States for Accessibility */
.show-more-btn:focus,
.show-less-btn:focus {
    outline: 2px solid #1d7bff;
    outline-offset: 2px;
}

.action-section .btn:focus {
    outline: 2px solid #1d7bff;
    outline-offset: 2px;
    box-shadow: 0 6px 12px -1px rgba(29, 123, 255, 0.35), 0 0 0 2px #1d7bff;
}

.calendar-inner {
    overflow: auto;
}

.booking-info-simple {
    background: #f8fafc;
    /* subtle light background */
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
}

.booking-items {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    flex-direction: column;
}

.booking-date,
.booking-time {
    display: flex;
    flex-direction: column;
}

.booking-label {
    color: #64748b;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 4px;
    text-align: left;
}

.booking-value {
    color: #1e293b;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.timezone-section {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
    color: #64748b;
    font-size: 13px;
    font-weight: 500;
}

@media (max-width: 576px) {
    .booking-items {
        flex-direction: column;
        align-items: flex-start;
    }

    .booking-value {
        font-size: 15px;
    }

    .timezone-section {
        font-size: 12px;
    }
}

.booking-info-simple {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
}

.booking-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 16px;
}

.booking-date,
.booking-time {
    display: flex;
    flex-direction: column;
}

.booking-value {
    color: #1e293b;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
}

.duration-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 16px;
}

.timezone-section {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
    color: #64748b;
    font-size: 13px;
    font-weight: 500;
}

/* Mobile adjustments */
@media (max-width: 576px) {
    .booking-info-simple {
        padding: 16px;
    }

    .booking-value {
        font-size: 15px;
    }

    .timezone-section {
        font-size: 12px;
    }
}

/* SOLUTION 1: Direct Bootstrap dropdown override */
.dropdown-menu {
    z-index: 9999 !important;
    position: absolute !important;
}

/* SOLUTION 2: Specific phone dropdown targeting */
#dropdown-country-button {
    position: relative;
    z-index: 1000;
}

#dropdown-country-button+.dropdown-menu,
#dropdown-country-button~.dropdown-menu {
    z-index: 9999 !important;
    position: absolute !important;
    left: 0 !important;
}

/* SOLUTION 3: Force the dropdown to appear above everything */
.dropdown-menu.show {
    z-index: 9999 !important;
    position: fixed !important;
}

/* SOLUTION 4: Lower the z-index of order summary section */
.service-card {
    position: relative;
    z-index: 1 !important;
}

/* SOLUTION 5: Increase phone input container z-index */
div:has(#dropdown-country-button) {
    position: relative;
    z-index: 1000 !important;
}

/* Fallback for older browsers */
.phone-dropdown-container {
    position: relative;
    z-index: 1000 !important;
}

/* Emergency override - use this if nothing else works */
body .dropdown-menu {
    z-index: 99999 !important;
    position: absolute !important;
}

/* Specific to your phone input structure */
.input-group .btn.dropdown-toggle+.dropdown-menu {
    z-index: 99999 !important;
}

.service_error_border {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 40px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin: 40px auto;
    max-width: 500px;
    min-height: 400px;
    border-top: 5px solid #1D7BFF;
}

.service_error_border svg {
    margin-bottom: 24px;
    width: 120px;
    height: 120px;
}

.service_error_border h4 {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 16px 0 8px 0;
    line-height: 1.3;
}

.service_error_border p {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.5;
    margin: 4px 0;
    max-width: 400px;
}

.service_error_border p:first-of-type {
    margin-top: 12px;
}

.service_error_border p:last-of-type {
    margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .service_error_border {
        margin: 20px 16px;
        padding: 40px 24px;
        min-height: 350px;
    }

    .service_error_border svg {
        width: 100px;
        height: 100px;
        margin-bottom: 20px;
    }

    .service_error_border h4 {
        font-size: 20px;
    }

    .service_error_border p {
        font-size: 14px;
    }
}

/* Loading state animation (optional) */
.service_error_border svg {
    transition: transform 0.3s ease;
}

.service_error_border:hover svg {
    transform: scale(1.05);
}

.question-card {
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #E6E7E9;
}

.question-card p {
    font-size: 18px;
    font-weight: 600;
    line-height: 28px;
    letter-spacing: 0.01em;
    color: #090A22;
    margin: 0;
}

.question-card p span {
    color: #0F53ED;
}

.question-card .ques-required {
    color: #F04438;
}

/* Modern Container Structure - keeping old design styles */
.success-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    background: #f9fafb;
    min-height: 100vh;
    box-sizing: border-box;
}

/* Navigation Header - modern structure */
.header-nav {
    background: #ffffff;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

.header-nav h3 {
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    letter-spacing: 0.005em;
    color: #090A22;
    margin: 0;
}

/* Keep original success-payment styles but ensure it works within new container */
.success-payment {
    padding: 16px;
    background-color: #FFFFFF;
    width: 100%;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

.success-payment .success-div p {
    font-size: 20px;
    font-weight: 700;
    line-height: 30px;
    letter-spacing: 0.01em;
    color: #090A22;
    margin-top: 1rem;
    margin-bottom: 0px;
}

.success-payment .success-div span {
    color: #5A5B6B;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0.005em;
    text-align: center;
    padding-bottom: 1rem;
}

.success-payment .booking-details {
    border: 1px solid #ECF0F3;
    padding: 12px;
    border-radius: 8px;
}

.success-payment .booking-details img {
    width: 56px;
    height: 56px;
    border-radius: 8px;
}

.success-payment .booking-details p {
    font-size: 20px;
    font-weight: 700;
    line-height: 30px;
    letter-spacing: 0.01em;
    color: #090A22;
}

.success-payment .booking-details span {
    color: #5A5B6B;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: 0.005em;
    display: flex;
    align-items: center;
    gap: .5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .success-container {
        padding: 16px;
        background-color: #F8FAFB;
    }

    .header-nav {
        padding: 14px 16px;
        margin-bottom: 16px;
        border-radius: 10px;
    }

    .success-payment {
        width: 100%;
        padding: 16px;
        border-radius: 10px;
    }
}

@media (max-width: 480px) {
    .success-container {
        padding: 12px;
    }

    .header-nav {
        padding: 12px;
        margin-bottom: 12px;
    }

    .success-payment {
        padding: 12px;
    }
}

#phone-number {
    border-top-right-radius: .375rem;
    border-bottom-right-radius: .375rem;
}

.image-upload-card {
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.image-upload-card:hover {
    cursor: pointer;
    border-color: #0d6efd;
    background: #e7f3ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.2);
}

.upload-placeholder {
    cursor: pointer;
    padding: 3rem 2rem;
    text-align: center;
}

.upload-icon {
    color: #6c757d;
    font-size: 3rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.image-upload-card:hover .upload-icon {
    color: #0d6efd;
    cursor: pointer;
    transform: scale(1.1);
}

.image-preview-container {
    position: relative;
    display: none;
}

.image-preview {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 6px;
}

.image-overlay {
    position: absolute;
    top: 8px;
    right: 8px;
}

.delete-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(220, 53, 69, 0.9);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.delete-btn:hover {
    background: #dc3545;
    transform: scale(1.1);
}

.image-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 1rem;
    font-size: 0.875rem;
}

.file-input {
    display: none;
}

/* Animation classes */
.fade-in {
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Preview Styles */
.file-preview-container {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    padding: 20px;
    background: white;
    border-radius: 12px;
    margin-top: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.3s ease-out;
}

.file-preview-container.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.3s ease-out;
}
.file-preview-container.fade-out {
    animation: fadeOutDown 0.3s ease-out forwards;
}

@keyframes fadeOutDown {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(10px);
    }
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e5e7eb;
}

.preview-title {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
}

.remove-btn {
    background: #ef4444;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
    overflow: hidden;
}

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

.remove-btn:hover {
    background: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.remove-btn:hover::before {
    width: 300px;
    height: 300px;
}

.remove-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.3);
}

.remove-btn i {
    transition: transform 0.3s ease;
}

.remove-btn:hover i {
    transform: rotate(15deg) scale(1.1);
}

.preview-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.preview-image {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.preview-image:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.file-info {
    background: #f9fafb;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #3b82f6;
    transition: all 0.3s ease;
}

.file-info:hover {
    background: #f3f4f6;
    border-left-width: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.file-info-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.file-info-row:last-child {
    margin-bottom: 0;
}

.file-icon {
    font-size: 24px;
    width: 40px;
    text-align: center;
    transition: transform 0.3s ease;
}

.file-info:hover .file-icon {
    transform: scale(1.15);
}

.file-icon.pdf {
    color: #ef4444;
}

.file-icon.word {
    color: #2563eb;
}

.file-icon.excel {
    color: #16a34a;
}

.file-icon.image {
    color: #8b5cf6;
}

.file-details {
    flex: 1;
}

.file-name {
    font-weight: 600;
    color: #1f2937;
    word-break: break-all;
    transition: color 0.3s ease;
}

.file-info:hover .file-name {
    color: #3b82f6;
}

.file-meta {
    font-size: 13px;
    color: #6b7280;
    margin-top: 4px;
}

.file-type-badge {
    display: inline-block;
    background: #dbeafe;
    color: #1e40af;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.file-info:hover .file-type-badge {
    background: #3b82f6;
    color: white;
    transform: scale(1.05);
}

.error-message {
    background: #fee2e2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 12px;
    border-radius: 8px;
    margin-top: 10px;
    display: none;
    animation: shakeError 0.4s ease;
}

.error-message.active {
    display: block;
}

@keyframes shakeError {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}