@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --hover-color: #e0f7fa;
    --main-color: #007474;
    --shadow: var(--hover-color) 0px 7px 15px 0px;
    --font-family: 'Raleway', sans-serif;
    --transition-speed: 0.3s;
    --highlight-color: #007bff;
    --selected-color: #4CAF50;
    --icon-size: 16px;
    --body-bg: #f7f8fc;
    --main-bg: #ffffff;
    --second-bg: #dcdce0;
    --disabled-color: #b5b5b5;
    --blue: #004080;
    --white: #ffffff;
    --hover-color-light: #f1fcfd;
    --hover-color-dark: #054949;
    --sidebar-width: 250px;
    --contact-panel-width: 300px;
}

* {
    margin: 0;
    padding: 0;
    font-family: var(--font-family);
}

i {
    color: var(--main-color);
}

body {
    min-height: 100vh;
}

/* Three-panel layout container */
.layout-container {
    display: flex;
    min-height: calc(100vh - 100px);
    gap: 20px;
    padding: 20px;
    box-sizing: border-box;
}

/* Left Sidebar Panel */
.sidebar-panel {
    width: var(--sidebar-width);
    background-color: var(--main-bg);
    border-radius: 10px;
    padding: 20px;
    box-shadow: var(--shadow);
    height: fit-content;
}

.logo-container {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--second-bg);
}

.sidebar-logo {
    max-width: 100%;
    height: auto;
    max-height: 80px;
    margin-bottom: 15px;
}

.business-name {
    color: var(--main-color);
    font-size: 1.4rem;
    margin: 0;
}

.category-navigation {
    transition: opacity 0.3s ease, display 0.3s ease;
}

.category-navigation h3 {
    color: var(--main-color);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--second-bg);
}

#category-menu {
    list-style: none;
}

#category-menu li {
    margin-bottom: 10px;
}

#category-menu li a {
    display: block;
    padding: 10px 15px;
    color: var(--blue);
    text-decoration: none;
    border-radius: 5px;
    transition: all var(--transition-speed);
}

#category-menu li a:hover,
#category-menu li a.active {
    background-color: var(--hover-color-light);
    color: var(--main-color);
}

/* Center Panel */
.center-panel {
    flex: 1;
    background-color: var(--main-bg);
    border-radius: 10px;
    padding: 20px;
    box-shadow: var(--shadow);
    overflow-y: auto;
    max-height: calc(100vh - 100px);
}

/* Right Contact Panel */
.contact-panel {
    width: var(--contact-panel-width);
    background-color: var(--main-bg);
    border-radius: 10px;
    padding: 20px;
    box-shadow: var(--shadow);
    height: fit-content;
}

.contact-panel h3,
.location-info h3 {
    color: var(--main-color);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--second-bg);
}

.contact-item,
.location-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-item i,
.location-item i {
    margin-right: 10px;
    min-width: 20px;
    margin-top: 3px;
}

.contact-item span,
.location-item span,
.location-item p {
    color: #555;
}

.location-item h4 {
    color: var(--main-color);
    margin: 0 0 5px 0;
}

/* Business Hours Section */
.business-hours-info h3 {
    color: var(--main-color);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--second-bg);
}

.hours-details {
    margin-top: 10px;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    padding: 5px 0;
}

.hours-item:nth-child(odd) {
    background-color: var(--hover-color-light);
    padding: 5px;
    border-radius: 4px;
}

.day-name {
    font-weight: 600;
}

.day-hours {
    color: #555;
}

.calendar {
    height: max-content;
    width: max-content;
    background-color: var(--main-bg);
    border-radius: 25px;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 25px;
    font-weight: 600;
    color: var(--main-color);
    padding: 10px;
}

.date-time-header h3 {
    margin: 0;
    font-size: 20px;
    text-align: left;
    flex: 1;
}

.month-year-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.calendar-body {
    padding: 10px;
}

.calendar-hr {
    border: 0;
    height: 1px;
    background-color: var(--second-bg);
    margin: 15px 0;
}

.week-navigation {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-bottom: 10px;
}

.week-change {
    height: 30px;
    width: 30px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    cursor: pointer;
    color: var(--main-color);
    font-size: 14px;
}

.calendar-days div .day-name {
    font-size: 12px;
    font-weight: normal;
    margin-bottom: 5px;
}

.calendar-days div .day-number {
    font-size: 16px;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    color: var(--main-color);
}

.calendar-days div {
    width: 50px;
    height: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5px;
    position: relative;
    cursor: pointer;
    animation: to-top 1s forwards;
    font-weight: 700;
}

.calendar-days div:hover {
    background-color: var(--hover-color-light);
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

.calendar-days div span {
    position: absolute;
}

.calendar-days div.curr-date span {
    display: none;
}

.calendar-days div.selected {
    background-color: var(--main-color);
    color: white;
    border-radius: 10px;
}

.calendar-days div.disabled {
    color: var(--disabled-color);
    pointer-events: none;
    cursor: default;
}

.month-picker {
    padding: 5px 10px;
    border-radius: 10px;
    cursor: pointer;
    color: var(--main-color);
}

.month-picker:hover {
    background-color: var(--hover-color);
}

.year-picker {
    display: flex;
    align-items: center;
}

.year-change {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0;
    cursor: pointer;
}

.year-change:hover {
    background-color: var(--hover-color);
}

.calendar-footer {
    padding: 10px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.month-list {
    position: absolute;
    width: 89%;
    height: 92%;
    top: 0;
    left: 0;
    background-color: var(--main-bg);
    padding: 20px;
    grid-template-columns: repeat(3, auto);
    gap: 5px;
    display: grid;
    transform: scale(1.5);
    visibility: hidden;
    pointer-events: none;
    z-index: 10;
}

.month-list.show {
    transform: scale(1);
    visibility: visible;
    pointer-events: visible;
    transition: all 0.2s ease-in-out;
}

.month-list>div {
    display: grid;
    place-items: center;
}

.month-list>div>div {
    width: max-content;
    padding: 20px 20px;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    color: var(--main-color);
}

.month-list>div>div:hover {
    background-color: var(--hover-color);
}

.year-list {
    position: absolute;
    width: 89%;
    height: 92%;
    top: 0;
    left: 0;
    background-color: var(--main-bg);
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    transform: scale(1.5);
    visibility: hidden;
    pointer-events: none;
    z-index: 10;
    overflow-y: auto;
}

.year-list.show {
    transform: scale(1);
    visibility: visible;
    pointer-events: visible;
    transition: all 0.2s ease-in-out;
}

.year-list>div {
    display: grid;
    place-items: center;
}

.year-list>div>div {
    width: max-content;
    padding: 15px 20px;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    color: var(--main-color);
}

.year-list>div>div:hover {
    background-color: var(--hover-color);
}

@keyframes to-top {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Services container */
.services-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Service Section */
.service {
    background-color: var(--white);
    margin-bottom: 10px;
    position: relative;
    transition: var(--transition-speed);
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid var(--main-color);
}

.service-container .service:hover {
    background-color: var(--hover-color-light);
}

.service .name {
    font-weight: bold;
    color: var(--blue);
    font-size: 18px;
    margin-bottom: 5px;
}

.service .description {
    margin: 5px 0;
    color: #666;
}

.service .price,
.service .duration {
    margin: 5px 0;
    color: var(--main-color);
}

.service .locations {
    margin: 5px 0;
    color: #444;
}



.service-left,
.service-center,
.service-right {
    display: flex;
    flex-direction: column;
}

.service-left {
    flex: 2;
    text-align: left;
}

.service-center {
    flex: 1;
    text-align: center;
}

.service-right {
    flex: 1;
    text-align: right;
}

.select-service-btn {
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    background-color: var(--main-color);
    color: white;
    width: max-content;
    align-self: end;
}

.select-service-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.select-service-btn.selected {

    color: white;
    transform: scale(1.05);
    position: relative;
}

.select-service-btn.selected::after {
    content: "✓";
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: white;
    color: var(--main-color);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

#timingDisplay h3 {
    margin-top: 0;
    color: red;
    width: 100%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

#timingDetails {
    font-size: 16px;
    color: #555;
}

/* Responsive Design for Layout Container */
@media (max-width: 1200px) {
    .layout-container {
        flex-direction: column;
        gap: 20px;
    }

    .sidebar-panel {
        width: auto;
        order: 1;
    }

    .center-panel {
        width: auto;
        order: 2;
        max-height: none;
    }

    .contact-panel {
        width: auto;
        order: 3;
    }

    .category-navigation {
        margin-bottom: 20px;
    }

    #category-menu {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    #category-menu li {
        margin-bottom: 0;
    }

    #category-menu li a {
        padding: 8px 15px;
        white-space: nowrap;
    }
}

@media (max-width: 768px) {
    .category {
        padding: 10px;
    }

    .service {
        padding: 10px;
        font-size: 14px;
    }

    .select-btn {
        padding: 8px 12px;
        font-size: 14px;
    }

    #timingDisplay {
        padding: 10px;
    }

    .layout-container {
        padding: 10px;
    }

    .sidebar-panel,
    .center-panel,
    .contact-panel {
        padding: 15px;
    }

    .business-name {
        font-size: 1.2rem;
    }

    .logo-container {
        margin-bottom: 20px;
    }

    #category-menu {
        flex-direction: column;
    }

    #category-menu li a {
        width: 100%;
    }

    .booking-details-modern,
    .booking-details-section {
        padding: 20px;
    }

    .booking-details-heading {
        font-size: 22px;
    }

    .detail-label,
    .detail-value {
        font-size: 14px;
    }
}

/* Add circle to represent the service color */
.service .color-indicator {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 10px;
    vertical-align: middle;
    background-color: var(--white);
    border: 2px solid var(--highlight-color);
    position: relative;
}

/* When selected, the tick mark will appear inside the circle */
.service.selected .color-indicator {
    background-color: var(--highlight-color);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 12px;
}

.service.selected .color-indicator i {
    display: inline-block;
}

.service .color-indicator i {
    display: none;
}

.service:hover {
    cursor: pointer;
}

/* Flex container for service details */
.service-flex-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-radius: 5px;
}

.service-left,
.service-center,
.service-right {
    display: flex;
    flex-direction: column;
}

.service-left {
    flex: 2;
}

.service-center {
    flex: 1;
    text-align: center;
}

.service-right {
    flex: 1;
    display: flow;
    /* text-align: right; */
}

.tickmark-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #e0e0e0;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.tickmark-circle .fa-check {
    color: #4caf50;
    font-size: 16px;
}

.service-name {
    font-weight: bold;
    margin-bottom: 5px;
    color: var(--main-color);
}

.service-description {
    color: #555;
}

.service-price {
    font-weight: bold;
}

#timingDetails {
    font-size: 14px;
    line-height: 1.6;
}

.service.selected {
    background-color: var(--hover-color-light);
}

/* Slot container and slot styles */
.slot-container {
    max-width: 700px;
    padding: 15px;
    background-color: #fff;
    border-radius: 8px;
}

.slots {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.slot {
    width: 95px;
    padding: 10px 15px;
    border: 1px solid var(--main-color);
    border-radius: 5px;
    background-color: white;
    color: var(--main-color);
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    margin: 5px;
}

.slot:hover {
    background-color: var(--main-color);
    color: white;
}

.slot.selected {
    background-color: var(--main-color);
    color: white;
    border-color: var(--main-color);
}




section {
    flex: 1;
    padding-bottom: 60px;
}

footer {
    color: var(--main-color);
    text-align: center;
    padding: 20px;
    bottom: 0;
}

footer .social-icons {
    margin-bottom: 10px;
    width: 98%;
}

.footer-hr {
    margin: 20px;
    width: 90%;
    color: var(--main-color);
    background-color: var(--main-color);
}

footer .social-icons a {
    color: var(--main-color);
    margin: 0 15px;
    text-decoration: none;
    font-size: 1.5em;
    transition: color 0.3s;
}

footer .social-icons a:hover {
    color: var(--hover-color-dark);
}

footer .powered-by {
    font-size: 0.9em;
    margin-top: 22px;
    width: 98%;
    color: #000;
}

footer .powered-by a {
    text-decoration: none;
    color: var(--main-color);
}

footer .powered-by a:hover {
    color: var(--hover-color-dark);
}

.form-input {
    margin-bottom: 1em;
}

.form-input input.error,
.form-input select.error,
.form-input textarea.error {
    border: 1px solid red;
}

.form-input .error-message {
    color: red;
    font-size: 0.9em;
    margin-top: 0.5em;
}

.container-main {
    width: 100%;
    margin-bottom: 0;
}

.service-h1 h1 {
    margin: 10px 0px;
    font-size: 30px;
    text-transform: capitalize;
    color: var(--main-color);
}


.timing-div {
    background-color: var(--hover-color-light);
}

#timingDisplay {
    width: 92%;
    margin: auto;
    margin: 20px auto;
    margin-top: 20px;
    padding: 15px;
    padding-top: 40px;
    padding-bottom: 80px;
}

#timingDisplay h1 {
    margin-bottom: 55px;
    font-size: 31px;
    color: var(--main-color);
}


#timingDisplay #slot-container {

    margin: 0px 20px;
    border-radius: 25px;
}

.flex-timing {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

#form-container {
    width: 60%;
    margin: 50px auto;
}

.location-div {
    margin: 20px 0px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: end;
    padding-right: 0;
    position: relative;
}

.form-input input,
.form-input textarea,
.form-input select {
    border: 1px solid var(--main-color) !important;
}

.form-input input:focus+label,
.form-input input:not(:placeholder-shown)+label,
.form-input textarea:focus+label,
.form-input textarea:not(:placeholder-shown)+label,
.form-input select:focus+label,
.form-input select:not(:placeholder-shown)+label {
    top: 0;
    color: var(--main-color) !important;
    background: white;
    padding: 0 5px;
}

.custom-select select:focus {
    border-color: var(--main-color) !important;
    box-shadow: 0 0 8px var(--main-color) !important;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--main-color);
    box-shadow: 0 0 8px var(--main-color);
}

.custom-select {
    border-color: var(--main-color) !important;
}

/* Base styles for both radio and checkbox */
input[type="radio"],
input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    display: inline-block;
    width: 16px;
    height: 16px;
    margin: 0;
    border: 2px solid var(--main-color);
    cursor: pointer;
    position: relative;
    outline: none;
}

/* Specific styling for radio buttons */
input[type="radio"] {
    border-radius: 50%;
}

input[type="radio"]:checked::before {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    margin: auto;
    background-color: var(--main-color);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Specific styling for checkboxes */
input[type="checkbox"] {
    border-radius: 4px;
}

input[type="checkbox"]:checked::before {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    background-color: var(--main-color);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Focus styles for both */
input[type="radio"]:focus,
input[type="checkbox"]:focus {
    box-shadow: 0 0 3px var(--main-color);
}

.btn {
    color: var(--white) !important;
    background-color: var(--main-color) !important;
    border-color: var(--main-color) !important;
}

.btn:hover {
    background-color: var(--hover-color-light) !important;
    color: var(--main-color) !important;
}

.form-input {
    width: 100%;
    margin-bottom: 20px;
}

.error-message {
    margin: 10px 0px;
}

.custom-select {
    margin: 10px 0px;
    margin-top: 20px;
}

.heading-add-job {
    color: var(--main-color);
}

.detail-service {
    background-color: var(--hover-color-light);
    color: var(--main-color);
    padding: 15px;
    border-radius: 10px;
    margin: 10px 0px;
}

.detail-service div {
    margin: 5px 0px;
}




.booking-details-heading {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    color: var(--main-color);
    line-height: 1.2;
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.booking-details-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

@media (min-width: 768px) {
    .booking-details-container {
        grid-template-columns: 1fr;
    }
}

.booking-detail-item {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.booking-detail-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.detail-label {
    font-size: 16px;
    color: var(--disabled-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin: 0;
}

.detail-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--main-color);
    margin: 0;
    text-align: right;
}

/* Animation for the detail section */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.booking-details-section {
    animation: fadeInUp 0.6s ease-out forwards;
}

.form-user {
    margin-top: 50px;
}

.btn-div {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.form-input-select select {
    height: 50px;
    background-color: var(--white) !important;
}

.form-input-select {
    position: relative;
    margin-right: 30px;

}

.form-input-select select {
    font-size: 16px;
    box-sizing: border-box;
    padding: 5px 15px;
    display: block;
    border-radius: 4px;
    height: 50px;
    border: 1px solid var(--main-color) !important;
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
    min-width: 250px;
}

.form-input-select select:focus+label,
.form-input-select select:not(:placeholder-shown)+label {
    top: 0;
    border-color: var(--main-color) !important;
    background: white;
    padding: 0 5px;
}

.form-input-select label {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15px;
    color: black;
    letter-spacing: 1px;
    transition: 0.3s;
    font-weight: 600;
}

/* User selection heading */
h3.user-selection-heading {
    color: var(--main-color);
    margin-top: 10px;
    margin-bottom: 15px;
    text-align: center;
    width: 100%;
}

/* User selection button styles */
.user-button-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
    margin-bottom: 25px;
    justify-content: center;
    width: 100%;
}

.user-select-button {
    padding: 12px 20px;
    border-radius: 30px;
    /* More rounded borders */
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid var(--main-color);
    background-color: white;
    color: var(--main-color);
    min-width: 140px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.user-select-button:hover {
    background-color: var(--main-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.user-select-button.selected {
    background-color: var(--main-color);
    color: white;
    box-shadow: 0 4px 8px var(--hover-color-light);
    transform: scale(1.05);
    position: relative;
}

.user-select-button.selected::after {
    content: "✓";
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: white;
    color: var(--main-color);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.heading {
    margin: 20px;

}

.heading h1 {
    color: var(--main-color);
}

.menu-icon {
    display: none;
}

.location-details .location-item {
    flex-direction: column;
}

@media (max-width: 400px) {
    .service-center {
        display: block;
        text-align: left;
    }

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

    .service-price {
        font-weight: bold;
        margin: 5px 0px;
    }

    .service-flex-container {
        display: block;
    }
}


@media screen and (max-width: 976px) {
    #form-container {
        width: 51%;
        margin: auto;
        margin: 20px auto;
    }
}

@media screen and (max-width: 807px) {
    #form-container {
        width: 67%;
        margin: auto;
        margin: 20px auto;
    }

    .heading-add-job {
        width: max-content;
    }
}

@media screen and (max-width: 422px) {
    #form-container {
        width: 90%;
    }

    .heading-add-job {
        width: max-content;
    }
}

@media screen and (max-width: 1155px) {
    #timingDisplay {
        width: 97%;
    }
}

@media screen and (max-width: 1081px) {
    .flex-timing {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    #timingDisplay {
        padding: 20px 0px;
    }

    #timingDisplay .calendar {
        width: 72%;
    }

    #timingDisplay #slot-container {
        width: 72%;
        margin: 40px 20px;
        border-radius: 25px;
        max-width: unset;
    }
}

@media screen and (max-width: 560px) {
    #timingDisplay .calendar {
        width: 88%;
    }

    #timingDisplay #slot-container {
        width: 88%;
    }
}

@media screen and (max-width: 462px) {
    .calendar {
        padding: 0;
    }

    #timingDisplay .calendar {
        width: 95%;
    }
}

@media screen and (max-width: 430px) {
    .calendar-days div {
        width: 26px;
        height: 30px;
        padding: 5px;
    }
}

@media screen and (max-width: 357px) {
    .calendar-days div {
        width: 26px;
        height: 30px;
        padding: 5px;
    }

    .calendar-header {
        font-size: 20px;
    }

    .year-change {
        margin: 0;
    }
}

.container {
    position: relative;
    z-index: 1;
    padding: 0;
    min-height: 100vh;
    overflow: hidden;
    padding-top: 20px;
}

/* Circles in the background */
.container .circle {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    background-color: var(--hover-color-dark);
}

/* Content inside the container */
.content {
    position: relative;
    z-index: 1;
}

#time-message {
    position: relative;
    background-color: var(--white);
    border: 1px solid var(--hover-color-dark);
    padding: 15px 40px 15px 15px;
    border-radius: 10px;
    width: max-content;
    max-width: 90%;
    text-align: center;
    margin: 20px auto;
    box-shadow: 2px 2px 10px var(--hover-color-dark);
    word-wrap: break-word;
}

#close-time-msg {
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 48px;
    color: var(--main-color);
    cursor: pointer;
    font-weight: bold;
    transition: color 0.3s ease;
}

#close-time-msg:hover {
    color: var(--hover-color-dark);
}

#time-message p {
    margin-top: 10px;
}

#time-message strong {
    color: var(--main-color);
}

.tab-btn.selected {
    background-color: #007bff;
    color: #fff;
    border-radius: 5px;
}

@media (max-width: 600px) {
    #time-message {
        font-size: 14px;
        padding-right: 30px;
    }
}

.nav-links .tab-btn {
    border: none;
    background-color: transparent;
    color: var(--main-color);
    gap: 20px;
    font-size: 17px;
    margin: 0 3px;
}

.nav-links .tab-btn {
    cursor: pointer;
}

.month-change {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0;
    cursor: pointer;
}

.month-change:hover {
    background-color: var(--hover-color);
}

#time-message-container {
    position: absolute;
    z-index: 99999;
    top: 60px;
    width: 100%;
}

.no-services-message {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #e9ecef;
}

.no-services-message i {
    font-size: 24px;
    color: #6c757d;
    margin-right: 10px;
}

.no-services-message p {
    margin: 0;
    font-size: 16px;
    color: #495057;
}

/* Enhanced Header and Navigation Styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: var(--main-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo,
.mobile-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.company-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--main-color);
}

.nav-container {
    display: flex;
    align-items: center;
}

.nav-header {
    display: none;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid var(--second-bg);
    width: -webkit-fill-available;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.tab-btn {
    background: none;
    border: none;
    padding: 10px 18px;
    font-size: 0.95rem;
    color: #555;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    border-radius: 4px;
    font-weight: 500;
}

.tab-btn:hover {
    background-color: var(--hover-color-light);
    color: var(--main-color);
}

.tab-btn.selected {
    background-color: var(--main-color);
    color: var(--white);
}

.auth-buttons {
    display: flex;
    gap: 10px;
    margin-top: 0;
}

.type-1-btn,
.type-2-btn {
    padding: 10px 18px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition-speed) ease;
    text-align: center;
}

.type-1-btn {
    background-color: var(--hover-color-light);
    color: var(--main-color);
    border: 1px solid var(--main-color);
}

.type-1-btn:hover {
    background-color: var(--hover-color);
    box-shadow: var(--shadow);
}

.type-2-btn {
    background-color: var(--main-color);
    color: var(--white);
    border: 1px solid var(--main-color);
}

.type-2-btn:hover {
    background-color: var(--hover-color-dark);
    box-shadow: var(--shadow);
}

.menu-toggle,
.close-menu {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--main-color);
    cursor: pointer;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all var(--transition-speed) ease;
}

.menu-toggle:hover,
.close-menu:hover {
    background-color: var(--hover-color-light);
}

.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity var(--transition-speed) ease;
}

/* Responsive styles */
@media (min-width: 769px) {

    /* Explicitly hide menu toggle on laptops and larger screens */
    .menu-toggle {
        display: none !important;
    }

    /* Ensure nav container is always visible on larger screens */
    .nav-container {
        position: static !important;
        width: auto !important;
        height: auto !important;
        background-color: transparent !important;
        flex-direction: row !important;
        overflow: visible !important;
        right: 0 !important;
    }

    /* Hide mobile-only elements */
    .nav-header,
    .nav-overlay {
        display: none !important;
    }

    /* Keep nav links horizontal */
    .nav-links {
        flex-direction: row !important;
        padding: 0 !important;
        width: auto !important;
    }

    /* Keep auth buttons horizontal */
    .auth-buttons {
        flex-direction: row !important;
        margin-top: 0 !important;
        width: max-content !important;
    }

    /* Adjust button sizes */
    .tab-btn,
    .type-1-btn,
    .type-2-btn {
        width: max-content !important;
        text-align: center !important;
    }
}

@media (max-width: 992px) and (min-width: 769px) {
    .nav-links {
        gap: 10px;
    }

    .tab-btn,
    .type-1-btn,
    .type-2-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-overlay.active {
        display: block;
        opacity: 1;
    }

    .nav-container {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--main-bg);
        transition: right var(--transition-speed) ease;
        z-index: 1001;
        flex-direction: column;
        align-items: flex-start;
        overflow-y: auto;
    }

    .nav-container.active {
        left: 0;
    }

    .nav-header {
        display: flex;
    }

    .close-menu {
        display: flex;
    }

    .nav-links {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        gap: 20px;
        width: max-content;
    }

    .tab-btn {
        width: 100%;
        text-align: left;
        padding: 15px;
        font-size: 1.1rem;
        border-radius: 8px;
    }

    .auth-buttons {
        flex-direction: column;
        width: 100%;
        margin-top: 20px;
        gap: 15px;
    }

    .type-1-btn,
    .type-2-btn {
        width: 100%;
        padding: 15px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .company-name {
        font-size: 1rem;
    }

    .logo-img {
        height: 30px;
    }

    .navbar {
        padding: 10px 15px;
    }
}

.container {
    position: relative;
    z-index: 1;
    padding: 0;
    min-height: 100vh;
    overflow: hidden;
}

/* Circles in the background */
.container .circle {
    position: absolute;
    z-index: -1;
    /* Push circles below content */
    border-radius: 50%;
    background-color: var(--hover-color-dark);
}

/* Modern Booking Details Design */
.booking-details-modern {
    display: flex;
    flex-direction: column;
    gap: 25px;
    background: linear-gradient(135deg, var(--main-bg) 0%, #f8f9fa 100%);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    width: 90%;

}

.booking-details-modern:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

.booking-details-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--main-color), var(--hover-color));
}

.booking-details-heading {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    color: var(--main-color);
    line-height: 1.2;
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.booking-details-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

@media (min-width: 768px) {
    .booking-details-container {
        grid-template-columns: 1fr;
    }
}

.booking-detail-item {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.booking-detail-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.detail-label {
    font-size: 16px;
    color: var(--main-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin: 0;
}

.detail-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--main-color);
    margin: 0;
    text-align: right;
}

/* Animation for the detail section */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.booking-details-modern {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Continue button styles */
#continue-to-form-btn {
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    background-color: var(--main-color);
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

#continue-to-form-btn:hover {
    background-color: var(--hover-color-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

#continue-to-form-btn:active {
    transform: translateY(0);
}