.abit-booking {
    color: #111;
    font-family: Roboto, Arial, sans-serif;
    margin: 0 auto;
    max-width: 1180px;
    width: 100%;
}

.abit-calendar {
    margin: 0 auto 20px;
    max-width: 1120px;
    width: 100%;
}

.fc {
    background: #fff;
    border: 1px solid #1f1f1f;
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
    overflow: hidden;
}

.fc .fc-toolbar-title {
    color: #111;
    font-size: 22px;
    font-weight: 800;
}

.fc .fc-toolbar {
    background: #111;
    gap: 8px;
    padding: 10px;
}

.fc .fc-toolbar-title {
    color: rgb(255, 202, 60);
}

.fc .fc-col-header-cell-cushion {
    color: rgb(255, 202, 60);
    font-weight: 800;
}

.fc .fc-daygrid-day-number {
    color: #8a8a8a;
    font-weight: 800;
}

.fc .fc-day-other .fc-daygrid-day-number {
    color: #b2b2b2;
}

.fc .fc-button-primary {
    background: rgb(255, 202, 60);
    border-color: rgb(255, 202, 60);
    color: #111;
    font-weight: 800;
}

.fc .fc-button-primary:hover,
.fc .fc-button-primary:focus {
    background: #ffd76f;
    border-color: #ffd76f;
    color: #111;
}

.fc-daygrid-day.fc-selected-day {
    background: rgb(255, 202, 60) !important;
}

.fc-daygrid-day.fc-selected-day .fc-daygrid-day-number {
    color: #111;
    font-weight: 800;
}

.fc-daygrid-day.abit-day-active {
    background: #fff8e5;
}

.fc-daygrid-day.abit-day-active .fc-daygrid-day-number {
    color: rgb(255, 202, 60);
}

.fc-daygrid-day.abit-day-active.fc-selected-day .fc-daygrid-day-number {
    color: #111;
}

.fc-daygrid-day.abit-day-active:not(.fc-selected-day):hover {
    background: #fff5d6;
    cursor: pointer;
}

.abit-day-closed {
    background: #efefef !important;
    color: #8a8a8a;
    cursor: not-allowed;
    opacity: 0.78;
}

.abit-day-closed .fc-daygrid-day-number {
    color: #8a8a8a;
}

.abit-day-opened {
    background: #fff1bd;
}

.abit-form {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0 auto;
    max-width: 1120px;
    padding: 0 8px;
    width: 100%;
}

.abit-form-row {
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(220px, 1.25fr) minmax(150px, 0.75fr) minmax(260px, 1.4fr) minmax(220px, 1fr);
    width: 100%;
}

.abit-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.abit-field span {
    color: #1b1b1b;
    font-size: 14px;
    font-weight: 800;
}

.abit-field input,
.abit-field select {
    background: #fff;
    border: 1px solid #2c2c2c;
    border-radius: 7px;
    box-sizing: border-box;
    color: #111;
    font-size: 17px;
    height: 48px;
    outline: none;
    padding: 0 14px;
    width: 100%;
}

.abit-field input:focus,
.abit-field select:focus {
    border-color: rgb(255, 202, 60);
    box-shadow: 0 0 0 3px rgba(255, 202, 60, 0.32);
}

.abit-form-checkbox {
    align-items: flex-start;
    color: #222;
    display: flex;
    font-size: 15px;
    gap: 8px;
    line-height: 1.4;
    width: 100%;
}

.abit-form-checkbox input {
    accent-color: rgb(255, 202, 60);
    margin-top: 2px;
}

.abit-form-checkbox a {
    color: #111;
    font-weight: 800;
    text-decoration-color: rgb(255, 202, 60);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.abit-form-checkbox a:hover,
.abit-form-checkbox a:focus {
    color: #000;
    text-decoration-color: #000;
}

.abit-captcha {
    display: flex;
    justify-content: center;
    width: 100%;
}

.abit-captcha-field {
    max-width: 260px;
    width: 100%;
}

.abit-form button,
.abit-modal button {
    background: rgb(255, 202, 60);
    border: 0;
    border-radius: 7px;
    color: #111;
    cursor: pointer;
    font-size: 18px;
    font-weight: 800;
    height: 48px;
    min-width: 180px;
    padding: 0 28px;
}

.abit-form button:hover,
.abit-form button:focus,
.abit-modal button:hover,
.abit-modal button:focus {
    background: #ffd76f;
}

.abit-form button:disabled,
.abit-modal button:disabled {
    cursor: wait;
    opacity: 0.72;
}

.abit-button-secondary {
    background: #1f1f1f !important;
    color: rgb(255, 202, 60) !important;
}

.abit-button-secondary:hover,
.abit-button-secondary:focus {
    background: #000 !important;
}

.abit-modal-open {
    overflow: hidden;
}

.abit-modal {
    align-items: center;
    background: rgba(0, 0, 0, 0.68);
    display: none;
    inset: 0;
    justify-content: center;
    padding: 16px;
    position: fixed;
    z-index: 10000;
}

.abit-modal.is-visible {
    display: flex;
}

.abit-modal-dialog {
    background: #fff;
    border: 2px solid rgb(255, 202, 60);
    border-radius: 8px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.34);
    box-sizing: border-box;
    color: #111;
    max-height: calc(100vh - 32px);
    max-width: 440px;
    overflow: auto;
    padding: 24px;
    position: relative;
    width: 100%;
}

.abit-modal-dialog h2 {
    color: #111;
    font-size: 22px;
    line-height: 1.2;
    margin: 0 40px 10px 0;
}

.abit-modal-dialog p {
    font-size: 16px;
    line-height: 1.5;
    margin: 0 0 16px;
}

.abit-modal-error {
    color: #b42318;
    font-size: 14px !important;
    font-weight: 800;
    margin: 10px 0 0 !important;
    min-height: 20px;
}

.abit-modal-close {
    align-items: center;
    background: transparent !important;
    border: 0;
    color: #111 !important;
    cursor: pointer;
    display: flex;
    font-size: 28px;
    font-weight: 400;
    height: 36px !important;
    justify-content: center;
    min-width: 36px !important;
    padding: 0 !important;
    position: absolute;
    right: 10px;
    top: 8px;
    width: 36px;
}

.abit-modal-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
}

#abit-confirm-text {
    background: #fff6da;
    border: 1px solid rgb(255, 202, 60);
    border-radius: 8px;
    color: #111;
    padding: 14px;
}

.abit-toast {
    background: #111;
    border: 2px solid rgb(255, 202, 60);
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
    color: rgb(255, 202, 60);
    display: none;
    font-size: 18px;
    font-weight: 800;
    left: 50%;
    max-width: min(420px, calc(100vw - 32px));
    padding: 18px 24px;
    position: fixed;
    text-align: center;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
}

.abit-toast.is-visible {
    display: block;
}

.abit-toast.is-error {
    background: #2a0f0f;
    border-color: #ef4444;
    color: #fff;
}

@media (max-width: 900px) {
    .abit-form-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .abit-booking {
        padding: 0 4px;
    }

    .abit-calendar {
        margin-bottom: 16px;
    }

    .fc {
        border-radius: 7px;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
    }

    .fc .fc-toolbar {
        align-items: center;
        flex-wrap: nowrap;
        padding: 8px;
    }

    .fc .fc-toolbar-title {
        font-size: 16px;
        line-height: 1.2;
    }

    .fc .fc-button {
        font-size: 13px;
        padding: 5px 8px;
    }

    .fc .fc-daygrid-day-number {
        font-size: 13px;
        padding: 3px;
    }

    .fc .fc-col-header-cell-cushion {
        font-size: 12px;
        padding: 5px 2px;
    }

    .fc .fc-daygrid-day-frame {
        min-height: 38px;
    }

    .abit-form-row {
        gap: 10px;
        grid-template-columns: 1fr;
    }

    .abit-field span {
        font-size: 12px;
    }

    .abit-field input,
    .abit-field select {
        font-size: 16px;
        height: 44px;
    }

    .abit-form button {
        width: 100%;
    }

    .abit-form-checkbox {
        font-size: 13px;
    }

    .abit-modal {
        align-items: flex-end;
        padding: 10px;
    }

    .abit-modal-dialog {
        max-height: calc(100vh - 20px);
        padding: 20px;
    }

    .abit-modal-dialog h2 {
        font-size: 20px;
    }

    .abit-modal-actions {
        flex-direction: column-reverse;
    }

    .abit-modal button {
        width: 100%;
    }
}
