* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #ffffff;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
}

.header {
    background-color: #007bff;
    padding: 15px 20px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    max-width: 800px;
}
.home-link {
    color: inherit; /* Giữ màu văn bản hiện tại */
    text-decoration: none; /* Bỏ gạch chân mặc định */
}

.home-link:hover {
    text-decoration: underline; /* Gạch chân khi hover */
}


.back-button {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.contact-info {
    text-align: right;
}

.main-content {
    padding: 20px;
}

h1 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.customer-count {
    margin-bottom: 20px;
    padding: 10px;
    background: #f5f5f5;
    border-radius: 8px;
    display: flex;
    align-items: center;
}

.customer-count span {
    margin-right: 10px;
    font-weight: bold;
}

.customer-count input {
    width: 50px;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
}

.service-section {
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
}

.service-header {
    padding: 15px;
    background: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.service-header h2 {
    font-size: 18px;
    margin: 0;
}

.service-count {
    color: #666;
    font-size: 14px;
}

.service-content {
    display: none;
    padding: 0 15px;
}

.service-item {
    padding: 15px 0;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-item:first-child {
    border-top: none;
}

.service-info {
    display: flex;
    align-items: center;
    flex: 1;
}

.custom-checkbox {
    width: 24px;
    height: 24px;
    border: 2px solid #ddd;
    border-radius: 50%;
    margin-right: 15px;
    position: relative;
    cursor: pointer;
}

.custom-checkbox.checked {
    border-color: #4caf50;
    background-color: #4caf50;
}

.custom-checkbox.checked::after {
    content: "✓";
    position: absolute;
    color: white;
    font-size: 16px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.service-name {
    font-weight: 500;
}

.service-details {
    text-align: right;
}

.service-price {
    font-weight: bold;
    margin-bottom: 4px;
}

.service-duration {
    color: #666;
    font-size: 14px;
}

/* Customer Number Popup */
.customer-popup {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999999;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

.customer-popup-title {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
}

.customer-number-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    max-width: 400px;
    margin: 0 auto;
}

.number-button {
    background: white;
    border: 1px solid #ddd;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.2s;
}

.number-button:hover {
    background: #f5f5f5;
}

.number-button.selected {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

/* Backdrop */
.backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.active .service-content {
    display: block;
}

/* Footer Styles */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1f2937;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    z-index: 1000;
}

.footer-left {
    display: flex;
    align-items: center;
}

.cart-icon {
    position: relative;
    margin-right: 10px;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #007bff;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.cart-icon img {
    width: 24px;
    height: 24px;
    filter: invert(1);
}

.powered-by {
    color: #9ca3af;
    font-size: 14px;
}

.next-button {
    background: #007bff;
    color: white;
    padding: 10px 25px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    display: none;
}

.next-button.active {
    display: block;
}

/* Add padding to main content to prevent overlap with fixed footer */
.main-content {
    padding-bottom: 80px;
}

.form-group {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.form-label {
    font-weight: 600;
    flex: 1;
}

.form-control {
    flex: 2;
    background: #f5f5f5;
    padding: 10px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
}

.form-control.date {
    border: 1px solid #007bff;
    color: #007bff;
}

/* Calendar Popup Styles */
/* Staff Popup Styles */
.staff-popup {
    display: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 500px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    padding: 20px;
}

.staff-popup-title {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.staff-button {
    padding: 8px;
    text-align: center;
    background: white;
    border: 1px solid #ddd;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.staff-button:hover {
    background: #f5f5f5;
}

.staff-button.selected {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.calendar-popup {
    display: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    padding: 20px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.calendar-title {
    font-weight: bold;
    font-size: 1.2em;
    text-align: center;
}

.calendar-nav {
    cursor: pointer;
    padding: 5px;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: bold;
    margin-bottom: 10px;
}

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

.calendar-day {
    padding: 8px;
    text-align: center;
    cursor: pointer;
    border-radius: 4px;
}

.calendar-day:hover {
    background-color: #f0f0f0;
}

.calendar-day.selected {
    background-color: #007bff;
    color: white;
}

.calendar-day.disabled {
    color: #ccc;
    cursor: not-allowed;
}

.calendar-day.other-month {
    color: #aaa;
}

/* Rest of the styles remain the same */
.tabs {
    border-top: 1px solid #eee;
    padding-top: 20px;
    margin-top: 20px;
}

.tab-headers {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.tab-header {
    flex: 1;
    text-align: center;
    padding: 10px;
    cursor: pointer;
    font-weight: 600;
    color: #666;
    transition: all 0.3s;
}

.tab-header.active {
    color: #2563eb;
    border-bottom: 2px solid #2563eb;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.time-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.time-slot {
    padding: 10px;
    text-align: center;
    background: white;
    border: 1px solid #eee;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.time-slot:hover {
    background: #f5f5f5;
}

.time-slot.selected {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}

.time-slot.disabled {
    color: #ccc;
    background: #f9f9f9;
    cursor: not-allowed;
}

#step-3 .form-group {
    margin-bottom: 20px;
    gap: 20px;
}

#step-3 label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    width: 70px;
}
#step-3 .form-group-text label {
    width: max-content;
}
#step-3 input[type="text"],
#step-3 input[type="tel"],
#step-3 textarea {
    width: 100%;
    padding: 12px;
    border: none;
    background: #f0f0f0;
    border-radius: 4px;
    font-size: 16px;
}

#step-3 textarea {
    height: 150px;
    resize: vertical;
}

#step-3 ::placeholder {
    color: #999;
}

.container-footer {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    width: 100%;
}

#step-5 .wrapper-1 {
    width: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 4px 8px 40px 8px rgba(88, 146, 255, 0.2);
}

#step-5 .wrapper-2 {
    padding: 30px;
    text-align: center;
}

#step-5 h1 {
    font-family: 'Kaushan Script', cursive;
    font-size: 4em;
    letter-spacing: 3px;
    color: #007bff;
    margin: 0;
    margin-bottom: 20px;
}

#step-5 .wrapper-2 p {
    margin: 0;
    font-size: 1.3em;
    color: #aaa;
    font-family: 'Source Sans Pro', sans-serif;
    letter-spacing: 1px;
}


@media (min-width:360px) {
    #step-5 h1 {
        font-size: 3.5em;
    }

}

@media (min-width:600px) {
    #step-5 .wrapper-1 {
        height: initial;
        max-width: 620px;
        margin: 0 auto;
        margin-top: 50px;
        box-shadow: 4px 8px 40px 8px rgba(88, 146, 255, 0.2);
    }

}

#step-4 .description {
    color: #666;
    margin-bottom: 30px;
    text-align: center;
}

#step-4 .section-title {
    color: #007bff;
    font-size: 20px;
    padding-bottom: 5px;
    border-bottom: 2px solid #007bff;
    margin-top: 25px;
    font-weight: bold;
    margin-bottom: 15px;
}

#step-4 .info-grid {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

#step-4 .label {
    color: #666;
    font-weight: normal;
}

#step-4 .value {
    color: #000;
    font-weight: normal;
}

#step-4 .service-box {
    border: 1px solid #eee;
    padding: 15px;
    margin: 10px 0;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    background-color: #fff;
}

#step-4 .note-box {
    padding: 15px;
    color: #000;
}
#step-4 h1 {
    text-align: center;
    margin: 20px 0;
}
#step-4 .service-category .category-name {
	font-weight: bold;
}