* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
html {
    height: 100vh;
    /* display: flex;
    justify-content: center;
    align-items: center; */
    padding: 10px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
        Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue",
        sans-serif;
    background-color: #f8f8f8;
}

.container {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
    padding: 40px;
    padding-top: 20px;
    background-color: white;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.instructions {
    font-size: 13px;
    color: red;
}

.click-apply-discount-code:disabled {
    opacity: 0.65;
    pointer-events: none;
}

.language-selection,
.status-selection,
.plan-selection {
    margin-bottom: 30px;
}

.left-panel {
    min-width: 428.16px;
}

.right-panel {
    min-width: 417.89px;
}

label {
    display: inline-flex;
    align-items: center;
    margin-right: 20px;
    font-size: 14px;
    color: #555;
}

.input-heading {
    margin-bottom: 7px;
}

#app_payment_otp {
    width: 35%;
}

.redirect {
    margin: 15px 0;
    color: red;
}

.links {
    display: flex;
    gap: 10px;
}

#timer {
    font-size: 18px; /* Adjust font size as needed */
    font-weight: bold;
    color: red;
    /* margin-bottom: 10px; */
}

#app-payment-otp-verify-btn,
.resend-btn {
    padding: 13px 20px;
    gap: 5px;
}

/* input[type="text"],
input[type="tel"],
input[type="full_name"],
input[type="email"] {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    background-color: #f0f0f0;
    border: 1px solid black;
    border-radius: 8px;
    font-size: 14px;
} */

button {
    background-color: #ff5f8f;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
}

button:hover {
    background-color: #ff4370;
}

.plan {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.checkmark {
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 10px;
    background-color: #fff;
    color: grey;
    border-radius: 50%;
    padding: 2px 5px;
    display: none;
}

.selected .checkmark {
    display: inline-block;
}

.plan-option {
    flex: 1;
    position: relative;
    width: 250px;
    height: auto;
    padding: 13px;
    border-radius: 10px;
    cursor: pointer;
}

#complete_app {
    background: linear-gradient(
            180deg,
            rgba(253, 216, 73, 0.7) 0%,
            rgba(253, 216, 73, 0.08) 80.3999662399292%
        ),
        linear-gradient(to left, #ffffff, #ffffff);
}

#complete_app.selected {
    background: linear-gradient(
            135deg,
            rgba(253, 216, 73, 0.9) 0%,
            rgba(253, 216, 73, 0.5) 100%
        ),
        linear-gradient(to left, #ffffff, #ffffff);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

#complete_app h4 {
    color: #d1ac1fcc;
}

#complete_app.selected h4 {
    color: #ffffff;
}

#month_app {
    background: linear-gradient(
            180deg,
            rgba(205, 188, 220, 0.6) 0%,
            rgba(205, 188, 220, 0.08) 80.3999662399292%
        ),
        linear-gradient(to left, #ffffff, #ffffff);
}

#month_app.selected {
    background: linear-gradient(
            135deg,
            rgba(182, 159, 201, 0.9) 0%,
            rgba(170, 124, 210, 0.5) 100%
        ),
        linear-gradient(to left, #ffffff, #ffffff); /* Slightly darker white */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

#month_app h4 {
    color: rgba(144, 111, 173, 0.8);
}

#month_app.selected h4 {
    color: #ffffff;
}

.plan-option h4 {
    font-size: 17px;
    font-weight: 600;
    color: #333;
}

.plan-option .price {
    font-size: 35px;
    text-align: right;
}

.plan-option .strike {
    text-decoration: line-through;
    text-align: right;
    font-size: 16px;
}

.plan-option .note {
    font-size: 12px;
    color: #777;
    margin-top: 5px;
    text-align: center;
}

.coupon input[type="text"] {
    width: 69%;
    display: inline-block;
}

.coupon button {
    margin-left: 10px;
    border-radius: 10px;
    box-shadow: 0px 24px 16px -16px rgba(250, 83, 163, 0.2);
    padding: 13px 20px;
    background: linear-gradient(
        135deg,
        rgba(231, 116, 148, 1) 0%,
        rgba(230, 39, 93, 1) 100%
    );
}

.features {
    width: 100%;
}

.features table {
    width: 100%;
    border-collapse: collapse;
    border: none;
}

.features th,
.features td {
    padding: 5px;
    text-align: left;
    font-size: 14px;
    border: none;
}

.features th {
    font-weight: 500;
}

.close-btn {
    display: none;
}

.pay-btn,
.open-btn,
.amzn-btn {
    width: 100%;
    background: linear-gradient(
        135deg,
        rgba(231, 116, 148, 1) 0%,
        rgba(230, 39, 93, 1) 100%
    );
    font-size: 16px;
    padding: 12px;
    border-radius: 16px;
    margin-top: 20px;
    font-family: "Poppins", sans-serif;
    box-shadow: 0px 24px 16px -16px rgba(250, 83, 163, 0.2);
}

.open-btn {
    display: none;
}

.no-scroll {
    overflow: hidden;
    height: 100%; /* Optional: for older browsers */
}

.summary p {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
}

.language-selection label {
    font-size: 14px;
    color: #555;
    margin-right: 15px;
}

.circle {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    font-size: 13px;
    align-items: center;
    justify-content: center;
    border: 2px solid black;
    margin: 0 20px;
}

input[type="radio"] {
    display: none;
}

.radio-circle {
    width: 21px;
    height: 21px;
    border-radius: 50%;
    border: 2px solid black;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    cursor: pointer;
    position: relative;
}

input[type="radio"]:checked + .radio-circle::after {
    content: "✔";
    color: black;
    font-size: 13px;
    position: absolute;
}

.divider {
    width: 2px; /* Width of the divider */
    background-color: black; /* Color of the divider */
    height: auto; /* Full height of the container */
    margin: 0 22px; /* Space around the divider */
}

.user-details-container {
    display: none;
}

.summary-item {
    display: flex; /* Use flexbox for alignment */
    justify-content: space-between; /* Space between label and value */
    margin-bottom: 10px; /* Space between items */
}

.summary-item span {
    font-size: 16px; /* Font size for labels */
    color: #333; /* Color for labels */
}

.summary-value {
    color: #333; /* Color for values */
}

.mobile-number {
    width: auto;
    display: flex; /* Use flexbox for alignment */
    border: 1px solid black;
    border-radius: 8px;
    background-color: #f0f0f0;
    align-items: center; /* Center items vertically */
    margin: 15px 0;
}

.country-code-select {
    width: 35%;
    text-align: center;
    border-right: 1px solid black; /* Border for the country code */
    border-radius: 8px; /* Rounded corners on the left */
    padding: 8px;
    font-size: 16px;
}

#verify-otp {
    padding: 10px;
    font-size: 14px;
    margin-left: 5px;
}

.mobile-number input[type="tel"] {
    width: 100%;
    margin-bottom: 0;
    background-color: #f0f0f0;
    border: none;
    padding: 10px;
    font-size: 14px;
}

.logo {
    display: flex;
    justify-content: end;
    margin-bottom: 30px;
}

#user-details,
.otp-input {
    transition: max-height 0.3s ease, opacity 0.3s ease;
    overflow: hidden;
}

.otp-input {
    max-height: 0;
    opacity: 0;
}

#user-details {
    opacity: 1;
}

#verify-otp-cls {
    display: flex;
    justify-content: center;
}

.verify-btn {
    width: 50%;
}

.resend-btn {
    width: 100%;
}

.resend-msg {
    margin-top: 7px;
}

.submit-btn {
    width: 50%;
    background: linear-gradient(
        135deg,
        rgba(231, 116, 148, 1) 0%,
        rgba(230, 39, 93, 1) 100%
    );
    border-radius: 16px;
    margin-left: 90px;
}

.otp-input {
    display: none;
}

.logo img {
    width: 181px;
    height: auto;
}

.dynamic-details {
    font-family: "Poppins", sans-serif;
    font-size: 15px;
    min-height: 180px;
}

.dynamic-details h3 {
    margin-bottom: 0;
    font-weight: 600;
}

.dynamic-details ul {
    padding-left: 18px;
}

.dynamic-details .box {
    background: linear-gradient(135deg, #f0f4f8 0%, #d9e2ec 100%);
    border: 1px solid #ccc;
    margin-top: 5px;
    border-radius: 10px;
    padding: 10px;
}

.dynamic-details .box2 {
    border: 1px solid black;
    border-top: 0;
    border-left: 0;
    border-right: 0;
    padding-bottom: 5px;
    margin-bottom: 5px;
}

.paid-message-text,
#mobile_number-error,
#country_code-error,
#full_name-error,
#email-error,
#city-error {
    color: red;
}

.card {
    width: 48%;
    overflow: hidden;
    font-size: 16px; /* Slightly larger font */
    background-color: #d6e0ea;
    border-radius: 16px;
}

.title {
    font-size: 36px;
    font-weight: 400;
    color: #000000;
    margin: 10px 0;
}

.options {
    font-size: 32px;
    font-weight: 300;
    color: #000000;
}

@media (max-width: 1000px) {
    .left-panel,
    .right-panel {
        min-width: 48%;
    }
}

@media (max-width: 767px) {
    html,
    body {
        height: auto;
        display: block;
    }

    .container {
        flex-direction: column;
        width: 95%;
        padding: 15px;
        margin: 20px auto;
    }
    .logo {
        position: absolute;
        top: 30px;
        right: 30px;
    }

    label {
        margin-right: 3px;
    }

    .logo img {
        width: 120px;
        height: auto;
    }

    .plan {
        flex-direction: column;
    }

    .card {
        width: 100%;
    }

    .plan-option h4 {
        font-size: 15px;
    }

    .plan-option .price {
        font-size: 30px;
    }

    .plan-option .note {
        font-size: 9px;
    }

    .summary {
        margin-top: 15px;
    }

    .left-panel,
    .right-panel {
        width: 100%;
        min-width: 100%;
    }

    .divider {
        display: none;
    }

    .pay-btn,
    .open-btn {
        position: fixed;
        z-index: 1000;
        border-radius: 0;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
    }

    #timer {
        margin-top: 35px;
    }

    .pay-btn {
        display: none;
    }

    .open-btn {
        display: block;
    }

    /* .otp-section {
        display: none;
    } */

    .user-details {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        background-color: white;
        border-radius: 15px;
        box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2);
        padding: 20px;
        max-height: 0;
        opacity: 0;
        transition: max-height 0.5s ease, opacity 0.5s ease;
        overflow-y: auto;
    }

    .close-btn {
        display: block;
        position: absolute;
        top: 0;
        right: 0;
        background-color: red;
        color: white;
        border: none;
        border-radius: 8px;
        padding: 6px 12px;
        cursor: pointer;
        font-size: 16px;
    }

    .close-btn:hover {
        background-color: darkred;
    }

    .user-details.active {
        max-height: 100%;
        z-index: 1000;
        padding-bottom: 50px;
        padding-top: 30px;
        opacity: 1;
    }

    .user-details h3 {
        text-align: center;
        font-size: 18px;
        margin-bottom: 20px;
    }

    .user-details input {
        width: 100%;
        padding: 15px;
        margin-bottom: 15px;
        background-color: #f0f0f0;
        border: 1px solid black;
        border-radius: 8px;
    }
}

@media (max-width: 400px) {
    .resend-msg {
        margin-top: 0;
    }
}

.top-section,
.timer-box {
    border-radius: 12px; /* More pronounced curvature */
    color: #333;
    display: flex;
    justify-content: flex-end;
    width: 100%;
    font-size: 16px;
    font-weight: 500;
    padding: 5px;
}

.timer-box {
    /* padding: 0; */
    border: none;
}

.dotted-box {
    background-color: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 16px;
    padding: 5px;
}

.details-section {
    padding: 12px;
    display: flex;
    border: 1px dashed #d9d9d9;
    border-radius: 12px;
    background-color: #ffffff;
    flex-direction: column;
    justify-content: space-between;
}

.date-time {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.date,
.language,
.time-range {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    font-weight: 300;
    font-size: 16px;
    color: #333;
}

.slot {
    font-size: 16px;
    font-weight: 400;
    color: #2b2b2b;
    margin-right: 5px;
    margin-bottom: 8px;
}

.slot-number {
    position: relative;
    top: -5px;
    right: -5px;
    font-size: 18px;
    font-weight: 600;
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid transparent;
    border-radius: 14.58px;
    background-color: #ffffff;
    color: #e6275d;
}

.booking-time {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    font-size: 16px;
    color: #ff0000;
}

.language {
    justify-content: flex-start;
}

.book-now,
.booked,
#cancelEventButton {
    background: linear-gradient(30deg, #e77494 0%, #e6275d 100%);
    border-radius: 10px;
    border: none;
    color: white;
    padding: 12px 14px;
    width: 100%;
    margin-top: 10px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

.booked {
    background: none;
    background-color: rgb(0, 211, 0);
}

#cancelEventButton {
    background: none;
    background-color: rgb(255, 32, 32);
}

#cancelEventButton:hover {
    background-color: rgb(218, 0, 0);
}

.booked:hover {
    background-color: rgb(0, 197, 0);
}

#closePopup {
    position: absolute;
    width: 30px;
    height: 30px;
    top: 10px;
    right: 10px;
    border-radius: 50%;
    cursor: pointer;
    background-color: #ff5f8f;
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    transition: background-color 0.3s;
}

#closePopup:hover {
    background-color: #e6275d;
}

.contact-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 450px;
    height: auto;
    padding: 30px 20px;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1001;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.contact-popup .contact-section span {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.contact-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    align-items: center;
    width: 100%;
}

.card-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 100%;
}

.card-buttons button {
    flex: 1;
}

.contact-popup .contact-section p {
    font-size: 16px;
    font-weight: 400;
    color: #666;
    margin-bottom: 10px;
}

.input-group,
.phone-input-group {
    display: flex;
    justify-content: center;
    align-items: stretch;
    width: 100%;
    gap: 8px;
    margin-bottom: 5px;
}

#otpTimerMessage {
    color: red;
    font-size: 13px;
    text-align: right;
    width: 100%;
    margin-top: -5px;
    margin-bottom: 10px;
}

#otp-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 15px 0 0 0;
    border-top: 1px solid #eee;
    width: 100%;
}

.input-group span,
.phone-input-group span,
.input-group select,
.phone-input-group select,
.otp-box input {
    font-size: 16px;
    border: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    font-weight: 400;
    padding: 10px;
    height: 48px;
    outline: none;
}

.input-group select,
.phone-input-group select {
    width: 80px;
    flex-shrink: 0;
}

.input-group input,
.phone-input-group input {
    flex-grow: 1;
    width: 100%;
    min-width: 0; /* allows flex item to shrink below content size */
    border: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    font-size: 16px;
    height: 48px;
    padding: 10px;
    outline: none;
}

.input-group input:focus,
.input-group select:focus,
.otp-box input:focus {
    border-color: #ff5f8f;
    box-shadow: 0 0 0 2px rgba(255, 95, 143, 0.2);
}

.input-group button,
.phone-input-group button {
    background: linear-gradient(30deg, #e77494 0%, #e6275d 100%);
    color: white;
    border: none;
    height: 48px;
    border-radius: 10px;
    padding: 0 15px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.2s, box-shadow 0.2s;
}

.input-group button:hover,
.phone-input-group button:hover {
    box-shadow: 0 4px 10px rgba(230, 39, 93, 0.3);
}

.otp-box {
    display: flex;
    justify-content: space-between;
    /* margin-bottom: 20px; */
    gap: 10px;
    max-width: 400px;
}

.otp-box input {
    padding: 5px;
    font-size: 18px;
    text-align: center;
    width: 50px;
    font-weight: 500;
}

.otp-title {
    font-weight: 500;
    font-size: 18px;
}

.verify-btn {
    width: 100%;
    max-width: 300px;
    background: linear-gradient(30deg, #e77494 0%, #e6275d 100%);
    border: none;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    color: white;
    transition: box-shadow 0.2s;
}

.verify-btn:hover {
    box-shadow: 0 4px 10px rgba(230, 39, 93, 0.3);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 150vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

.overlay.active {
    display: block;
}

.success-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1050;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 80%;
    max-width: 400px;
}

.confirmation-card {
    background-color: #f8f9fa;
    border: 1px solid #d3006d;
    border-radius: 10px;
    padding: 20px;
}

.confirmation-card h2 {
    color: #d3006d;
}

.confirmation-card p {
    color: #555;
    margin-bottom: 10px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fefefe;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #888;
    width: 80%;
    max-width: 300px;
}

.download-app-btn {
    padding: 10px 20px;
    background: linear-gradient(30deg, #e77494 0%, #e6275d 100%);
    color: white;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    margin-top: 10px;
    text-align: center;
    display: inline-block;
    font-size: 16px;
    transition: background-color 0.3s;
}

#otpTimerMessage {
    color: red;
    width: 100%;
    text-align: right;
    font-size: 14px;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    html,
    body {
        padding: 0;
    }

    .title {
        font-size: 18px;
    }

    .options {
        font-size: 14px;
    }

    .status-image,
    .language-image,
    .live-icon {
        width: 16px;
        height: 16px;
    }

    .language-selection,
    .status-selection,
    .plan-selection {
        margin-bottom: 15px;
    }

    .language-selection label {
        margin-right: 5px;
    }

    .top-section,
    .booking-time {
        font-size: 12px;
    }

    .date-icon,
    .clock-icon,
    .language img {
        width: 14px;
        height: 14px;
    }

    .date,
    .language,
    .time-range {
        font-size: 12px;
        gap: 4px;
    }

    .book-now,
    .booked,
    #cancelEventButton {
        font-size: 14px;
        padding: 12px;
        font-weight: bold;
        line-height: 11.9px;
    }

    .slot-number {
        width: 24px;
        height: 24px;
        font-size: 13px;
        border-radius: 10px;
        top: -6px;
        right: -6px;
    }

    .slot {
        font-size: 11px;
        margin-right: 0;
        margin-top: -5px;
    }

    .details-section {
        padding: 6px;
    }

    .contact-popup {
        width: 95%;
        height: auto;
    }

    .contact-popup .contact-section span {
        font-size: 22px;
    }

    .contact-popup .contact-section p {
        font-size: 12px;
    }

    .otp-box {
        gap: 5px;
    }

    .input-group input,
    .phone-input-group input {
        max-width: 135px;
        height: 36px;
        border-radius: 8px;
    }

    .input-group button,
    .phone-input-group button,
    .verify-btn {
        border-radius: 8px;
        font-size: 12px;
        font-weight: 400;
        height: 36px;
    }

    .otp-title {
        font-size: 12px;
    }

    .input-group select,
    .phone-input-group select,
    .otp-box input {
        font-size: 14px;
        height: 36px;
        border-radius: 8px;
        padding: 8px;
    }

    .input-group select,
    .phone-input-group select {
        max-width: 60px;
    }

    .verify-btn {
        width: 90%;
    }
}
