@import url("https://npmcdn.com/flatpickr/dist/themes/dark.css");

.fc-booking-container {
    background-color: #17181A;
    color: #ffffff;
    padding: 30px;
    border-radius: 20px;
    font-family: inherit;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.fc-booking-container h3 {
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 1.3em;
    border-bottom: 1px solid #202226;
    padding-bottom: 10px;
}

.fc-car-types {
    display: flex;
    flex-direction: row;
    gap: 15px;
    margin-bottom: 30px;
}

.fc-radio-box {
    flex: 1;
    text-align: center;
    background-color: #101113;
    border: 1px solid #202226;
    padding: 15px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.fc-radio-box input[type="radio"] {
    display: none;
}

.fc-radio-box:has(input[type="radio"]:checked) {
    background-color: #306FF0;
    border-color: #306FF0;
    color: #ffffff;
}
.fc-radio-box p{
    font-size: .7em;
    color: #a0a0a0;
}
.fc-radio-box:has(input[type="radio"]:checked) p{
    color: #fff
}

.fc-service-item:has(input[type="checkbox"]:checked){
    border-color:  #306FF0;
}
.fc-service-checkbox {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
    width: 0;
    height: 0;
    opacity: 0;
    position: absolute;
    pointer-events: none;
}
.fc-services-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}

.fc-service-item {
    background-color: #121213;
    border: 1px solid #202226;
    padding: 15px 20px;
    border-radius: 25px;
    cursor: pointer;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 15px;
    transition: background 0.3s;
}

.fc-service-item:hover {
    background-color: #202226;
}

.fc-service-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: left;
}

.fc-service-desc {
    font-size: 12px;
    color: #a0a0a0;
    margin-top: 4px;
}

.fc-price-label {
    font-weight: bold;
    color: #306FF0;
    white-space: nowrap;
    font-size: 1.1em;
}

.fc-total-summary {
    font-size: 1.6em;
    font-weight: 600;
    margin-bottom: 25px;
    text-align: right;
    color: #ffffff;
}

#fc-total-price {
    color: #306FF0;
}

.fc-btn-primary {
    background-color: #306FF0;
    color: #fff;
    border: none;
    font-style: normal;
    font-weight: 500;
    font-size: 15px;
    line-height: 1.4;
    border-radius: 100px;
    padding: 16px 40px;
    cursor: pointer;
    width: 100%;
    transition: background 0.3s ease, transform 0.2s;
}

.fc-btn-primary:hover {
    background-color: #2558c4;
}

.fc-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

#fc-booking-form input {
    width: 100%;
    padding: 14px;
    background-color: #101113 !important;
    border: 1px solid #202226;
    color: #fff;
    border-radius: 8px;
    font-size: 14px;
    box-sizing: border-box;
}

#fc-booking-form input:focus {
    outline: none;
    border-color: #306FF0;
}

#fc-booking-form input:invalid:focus {
    border-color: #e74c3c;
}

.fc-inline-calendar-wrapper {
    margin-bottom: 30px;
    width: 100%;
    display: block;
}

.fc-inline-calendar-wrapper .flatpickr-calendar {
    box-shadow: none !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

.fc-inline-calendar-wrapper .flatpickr-months {
    background: #101113;
    border-radius: 12px 12px 0 0;
    padding: 15px 0;
    border: 1px solid #202226;
    border-bottom: none;
}

.fc-inline-calendar-wrapper .flatpickr-month {
    height: 40px;
}

.fc-inline-calendar-wrapper .flatpickr-current-month {
    font-size: 1.3em;
    padding-top: 5px;
}
.flatpickr-weekdays{
    height: 45px;
}
.fc-inline-calendar-wrapper span.flatpickr-weekday {
    background: #0C0C0D;
    color: #888;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid #202226;
    padding: 15px 0
}

.fc-inline-calendar-wrapper .flatpickr-innerContainer,
.fc-inline-calendar-wrapper .flatpickr-rContainer,
.fc-inline-calendar-wrapper .flatpickr-days {
    width: 100%;
    display: block;
}

.fc-inline-calendar-wrapper .dayContainer {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    background: #101113;
    border: 1px solid #202226;
    border-top: none;
    border-radius: 0 0 12px 12px;
    padding: 10px 0 20px 0;
    text-align: center;
}

.fc-inline-calendar-wrapper .flatpickr-day {
    display: inline-block !important;
    width: 14.28% !important;
    max-width: none !important;
    height: 45px !important;
    line-height: 45px !important;
    font-size: 15px;
    font-weight: 500;
    border-radius: 50px;
    color: #ffffff;
    margin: 5px 0 !important;
    box-sizing: border-box;
}

.fc-inline-calendar-wrapper .flatpickr-day:hover {
    background: #202226;
    border: none !important;
}

.fc-inline-calendar-wrapper .flatpickr-day.selected {
    background: #306FF0;
    border-color: #306FF0;
    color: #fff;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(48, 111, 240, 0.4);
    border: none
}

.fc-inline-calendar-wrapper .flatpickr-day.flatpickr-disabled {
    color: #444;
}

.fc-inline-calendar-wrapper .flatpickr-day.prevMonthDay,
.fc-inline-calendar-wrapper .flatpickr-day.nextMonthDay {
    color: #333;
}

.flatpickr-time {
    display: none !important;
}

.flatpickr-day.today{
    border: none !important;
    background: #17181A
}

.flatpickr-current-month .flatpickr-monthDropdown-months .flatpickr-monthDropdown-month{
    background: #17181A;
    color: #fff;
    border: none
}
.flatpickr-months .flatpickr-prev-month:hover svg, .flatpickr-months .flatpickr-next-month:hover svg{
    fill: #306FF0;
}
.flatpickr-day.today:hover, .flatpickr-day.today:focus{
    color: #fff
}

.flatpickr-months .flatpickr-month, .flatpickr-current-month .flatpickr-monthDropdown-months{
    background: transparent !important
}
.flatpickr-months .flatpickr-prev-month, .flatpickr-months .flatpickr-next-month{
    top: 15px
}

#fc-time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.fc-time-slot {
    background: #17181A;
    border: 1px solid #202226;
    color: #fff;
    padding: 12px;
    text-align: center;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
    font-weight: 500;
    font-size: 16px;
}

.fc-time-slot:hover {
    background: #202226;
    border-color: #306FF0;
    transform: translateY(-2px);
}

.fc-time-slot.active {
    background: #306FF0;
    border-color: #306FF0;
    color: #fff;
    box-shadow: 0 4px 12px rgba(48, 111, 240, 0.4);
}

.fc-time-slot.disabled {
    background: #101113;
    color: #444;
    border-color: #101113;
    cursor: not-allowed;
    text-decoration: line-through;
}

.fc-closed-alert {
    background-color: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.3);
    color: #e74c3c;
    padding: 15px 20px;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    margin-top: 10px;
    width: 100%;
    box-sizing: border-box;
    grid-column: 1 / -1 !important;
}

#fc-front-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #e74c3c;
    color: #fff;
    padding: 15px 20px;
    border-radius: 25px;
    font-weight: 500;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 99999;
    pointer-events: none;
}

#fc-front-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.fc-success-screen {
    text-align: center;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.fc-success-screen i {
    font-size: 60px;
    color: #2ecc71;
    margin-bottom: 20px;
}

.fc-success-screen h2 {
    color: #fff;
    margin-bottom: 10px;
}

.fc-success-screen p {
    color: #a0a0a0;
    line-height: 1.6;
}
@media only screen and (max-width: 1024px){
    .fc-car-types {
        display: grid !important;
    }
    #fc-booking-form .fc-form-grid{
        grid-template-columns: auto;
    }
    .fc-booking-container{
        padding: 15px;
        max-width: 800px;
    }
}

.fc-service-item.is-unbookable {
    cursor: not-allowed;
    opacity: 0.7;
}

.fc-service-item.is-unbookable:hover {
    background-color: #121213;
}

.fc-service-item.is-unbookable .fc-price-label {
    color: #a0a0a0;
}