.bdpcp-main-container {
    box-sizing: border-box;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid gray;
    width: 400px;

    .bdpcp-price-details {
        font-size: 40px;
        font-weight: 700;
        margin-bottom: 16px;
        position: relative;
    }

    .bdpcp-price-loading {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 12px;
        background-color: rgba(255, 255, 255, 0.5);
    }

    .bdpcp-price-loading-dots {
        width: 5px;
        height: 5px;
        background-color: black;
        border-radius: 50%;
        animation: loading 1s infinite ease-in-out;
    }

    /* Creating a delay for each dot */
    .bdpcp-price-loading-dots:nth-child(1) {
        animation-delay: 0s;
    }

    .bdpcp-price-loading-dots:nth-child(2) {
        animation-delay: 0.2s;
    }

    .bdpcp-price-loading-dots:nth-child(3) {
        animation-delay: 0.4s;
    }

    .bdpcp-form-label {
        font-weight: 700;
        font-size: 14px;
        margin-bottom: 5px;
        display: block;
    }

    .bdpcp-form-control {
        width: 100%;
        padding: 10px;
        border-radius: 8px;
        border: 1px solid gray;
        box-sizing: border-box;
        outline: none;
        font-size: 16px;
    }

    .bdpcp-readonly {
        background-color: rgba(0, 0, 0, 0.1);
    }

    .bdpcp-form-select {
        width: 100%;
        padding: 10px;
        border-radius: 8px;
        border: 1px solid gray;
        box-sizing: border-box;
        outline: none;
        font-size: 16px;
    }

    .bdpcp-time-select {
        width: 100%;
        padding: 10px;
        border-radius: 8px;
        border: 1px solid gray;
        box-sizing: border-box;
        outline: none;
        font-size: 16px;
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
    }

    .bdpcp-time-badge {
        font-size: 12px;
        font-weight: 600;
        border: 1px solid black;
        border-radius: 5px;
        padding: 4px 8px;
        position: relative;
        user-select: none;
        cursor: pointer;
    }

    .bdpcp-time-badge.bdpcp-time-badge-selected {
        background-color: #1a1d20;
        color: #ffffff;
        padding-right: 24px;
    }

    .bdpcp-time-badge.bdpcp-time-badge-selected::after {
        content: "✔";
        position: absolute;
        color: white;
        top: 50%;
        right: 7px;
        transform: translateY(-50%);
    }

    .bdpcp-form-group {
        margin-bottom: 16px;
    }

    .bdpcp-btn-book-now {
        width: 100%;
        padding: 10px;
        border: none;
        color: #ffffff;
        border-radius: 8px;
        background: #1a1d20;
        box-sizing: border-box;
        outline: none;
        font-weight: 700;
        cursor: pointer;
        transition: 0.4s;
        font-size: 16px;
    }

    .bdpcp-btn-book-now:hover {
        opacity: 0.5;
    }

    .bdpcp-btn-book-now:active {
        opacity: 1;
    }

    /* people container style */
    .bdpcp-people-container {
        font-size: 14px;
        padding: 10px;
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
        display: flex;
        flex-direction: column;
        gap: 10px;
        font-weight: 400;
        position: absolute;
        border: 1px solid lightgray;
        background-color: #ffffff;
    }

    .bdpcp-people-container-arrow {
        position: absolute;
        height: 12px;
        width: 12px;
        top: -7px;
        right: 18px;
        transform: rotate(45deg);
        background: #ffffff;
        border-top: 1px solid lightgray;
        border-left: 1px solid lightgray;
    }

    .bdpcp-people-type {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .bdpcp-people-actions {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .bdpcp-people-button {
        border: none;
        box-sizing: border-box;
        outline: none;
        font-weight: 700;
        cursor: pointer;
        transition: 0.4s;
        background-color: transparent;
        border: 1px solid gray;
        padding: 4px 8px;
    }

    .bdpcp-people-button:disabled {
        opacity: 0.5;
    }

    .bdpcp-people-type-count-display {
        font-size: 14px;
        font-weight: 500;
        margin-right: 8px;
        background-color: #1a1d20;
        color: #ffffff;
        padding: 4px 8px;
        border-radius: 8px;
    }

    .bdpcp-people-select-control {
        cursor: pointer;
    }

    .bdpcp-people-select-control:focus {
        border: 1px solid #1a1d20;
    }

    .bdpcp-time-badge-error {
        background-color: #dc3545 !important;
        border-color: #dc3545;
    }

    .bdpcp-time-select-error {
        color: #dc3545;
        font-size: 13px;
        font-weight: 400;
        margin: 4px 0 0 4px;
    }

    .bdpcp-price-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        /* padding: 10px; */
        font-weight: 600;
        margin-bottom: 10px;
        font-size: 15px;
    }

    .bdpcp-price-item:last-child {
        border-top: 1px solid rgba(0, 0, 0, 0.2);
        padding-top: 10px;
    }

    .bdpcp-error {
        color: red;
        font-size: 14px;
        margin-left: 5px;
        font-weight: 400;
    }

    .bdpcp-control-error {
        border-color: red;
    }

    #bdpcp_display_hour {
        /* background: #ced0d550 !important; */
        cursor: no-drop;
    }

    .bookingdaddy-pro-product-name {
        margin: 0;
        font-size: 30px;
        font-weight: 600;
        margin-bottom: 12px;
    }
}

/** Mobile responsive */
@media only screen and (max-width: 500px) {
    .bdpcp-main-container {
        width: 100%;
    }
}

@keyframes loading {
    0%,
    80%,
    100% {
        transform: scale(1);
    }

    40% {
        transform: scale(2);
    }
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected.inRange,
.flatpickr-day.startRange.inRange,
.flatpickr-day.endRange.inRange,
.flatpickr-day.selected:focus,
.flatpickr-day.startRange:focus,
.flatpickr-day.endRange:focus,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover,
.flatpickr-day.selected.prevMonthDay,
.flatpickr-day.startRange.prevMonthDay,
.flatpickr-day.endRange.prevMonthDay,
.flatpickr-day.selected.nextMonthDay,
.flatpickr-day.startRange.nextMonthDay,
.flatpickr-day.endRange.nextMonthDay {
    background: #000000;
    border-color: #000000;
}

.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover {
    color: rgba(57, 57, 57, 0.2);
    text-decoration: line-through;
}

.flatpickr-months {
    margin-bottom: 10px;
}



i.bdpcp_elementor_icon {
    display: block !important;
    width: 26px !important;
    height: 26px !important;
    background-image: url("https://localhost/wordpress/wp-content/plugins/bookingdaddy-pro/assets/bdpcp-menu-icon.svg") !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    margin: auto !important;
}
