.bookinger-home {
    width: 100%;
    color: #0D1B2A;
    background: #f5f7fb;
}

.bookinger-home-hero {
    padding: 78px 20px 34px;
    background: linear-gradient(180deg, #f7fbff 0%, #eef4fb 100%);
}

.bookinger-home-hero-inner {
    max-width: 1180px;
    margin: 0 auto;
    text-align: center;
}

.bookinger-home-title {
    margin: 0;
    font-size: 52px;
    line-height: 1.06;
    font-weight: 800;
    color: #0D1B2A;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(13, 27, 42, 0.04);
}

.bookinger-home-search {
    padding: 0 20px 68px;
    margin-top: -8px;
}

.bookinger-home-box {
    position: relative;
    max-width: 1180px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #dbe5ef;
    border-radius: 22px;
    padding: 28px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.bookinger-home-box:hover {
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.bookinger-service-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    margin-bottom: 24px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
}

.bookinger-service-tabs::-webkit-scrollbar {
    display: none;
}

.bookinger-service-tab {
    position: relative;
    flex: 0 0 auto;
    min-width: 128px;
    border: 1px solid #cfd9e4;
    background: #ffffff;
    color: #0D1B2A;
    border-radius: 14px;
    padding: 13px 22px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    transition:
        background 0.22s ease,
        color 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease,
        transform 0.18s ease;
}

.bookinger-service-tab:hover {
    border-color: #1A73E8;
    color: #1A73E8;
    box-shadow: 0 8px 18px rgba(26, 115, 232, 0.10);
    transform: translateY(-1px);
}

.bookinger-service-tab:active {
    transform: translateY(0);
}

.bookinger-service-tab:focus-visible {
    outline: none;
    border-color: #1A73E8;
    box-shadow: 0 0 0 4px rgba(26, 115, 232, 0.14);
}

.bookinger-service-tab.is-active {
    background: #1A73E8;
    border-color: #1A73E8;
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(26, 115, 232, 0.20);
}

.bookinger-service-tab.is-active:hover {
    color: #ffffff;
    transform: translateY(-1px);
}

.bookinger-tab-panel {
    display: none;
    opacity: 0;
    transform: translateY(8px);
    animation: none;
}

.bookinger-tab-panel.is-active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: bookingerFadeUp 0.28s ease;
}

@keyframes bookingerFadeUp {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bookinger-search-grid {
    display: grid;
    gap: 16px;
    align-items: end;
}

.bookinger-search-grid--five {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.bookinger-search-grid--six {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.bookinger-field {
    position: relative;
    min-width: 0;
}

.bookinger-error {
    margin-top: 6px;
    min-height: 18px;
    font-size: 12px;
    line-height: 1.35;
    color: #d93025;
    font-weight: 500;
}

.bookinger-field-error {
    border: 1px solid #d93025 !important;
    box-shadow: none !important;
    background: #fff !important;
}

.bookinger-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #0D1B2A;
    letter-spacing: 0.1px;
}

/* FORCE SAME HEIGHT + ALIGNMENT */
.bookinger-field input,
.bookinger-field select {
    width: 100%;
    height: 54px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1px solid #cfd9e4;
    background: #ffffff;
    font-weight: 500;
    color: #0D1B2A;
    text-align: left;
}

.bookinger-map-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 54px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1px dashed #bcd3f2;
    background: #f7fbff;
    font-weight: 600;
    color: #1A73E8;
}

.bookinger-field input::placeholder {
    color: #7a8a9a;
}

.bookinger-field input:hover,
.bookinger-field select:hover,
.bookinger-map-btn:hover {
    background: #e6f0ff;
    border-style: solid;
}

.bookinger-field input:focus,
.bookinger-field select:focus,
.bookinger-map-btn:focus {
    outline: none;
    border-color: #1A73E8;
    box-shadow: 0 0 0 4px rgba(26, 115, 232, 0.12);
    background: #ffffff;
}

.bookinger-field select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, #6b7a8c 50%),
        linear-gradient(135deg, #6b7a8c 50%, transparent 50%);
    background-position:
        calc(100% - 20px) calc(50% - 3px),
        calc(100% - 14px) calc(50% - 3px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 42px;
}

.bookinger-map-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    width: 100%;
    cursor: pointer;
    color: #1A73E8;
    border-color: #bcd3f2;
    background: #f7fbff;
    font-weight: 600;
}

.bookinger-map-btn:hover {
    background: #eef5ff;
    border-color: #1A73E8;
}

.bookinger-map-btn:active {
    transform: translateY(1px);
}

.bookinger-search-action {
    display: flex;
    align-items: flex-end;
    height: 100%;
}

.bookinger-search-action--full {
    grid-column: 1 / -1;
    max-width: 280px;
}

.bookinger-search-btn {
    width: 100%;
    height: 54px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(180deg, #2b7be8 0%, #1A73E8 100%);
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.2px;
    cursor: pointer;
    box-shadow: 0 12px 22px rgba(26, 115, 232, 0.16);
    transition:
        background 0.22s ease,
        box-shadow 0.22s ease,
        transform 0.18s ease;
}

.bookinger-search-btn:hover {
    background: linear-gradient(180deg, #1f72df 0%, #1667d2 100%);
    box-shadow: 0 14px 28px rgba(26, 115, 232, 0.22);
    transform: translateY(-1px);
}

.bookinger-search-btn:active {
    transform: translateY(0);
    box-shadow: 0 8px 16px rgba(26, 115, 232, 0.16);
}

.bookinger-search-btn:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 4px rgba(26, 115, 232, 0.14),
        0 12px 22px rgba(26, 115, 232, 0.16);
}

.bookinger-map-modal[hidden] {
    display: none;
}

.bookinger-map-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
}

.bookinger-map-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(7, 16, 29, 0.48);
    backdrop-filter: blur(2px);
    animation: bookingerOverlayIn 0.22s ease;
}

@keyframes bookingerOverlayIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.bookinger-map-modal__dialog {
    position: relative;
    width: min(920px, calc(100% - 32px));
    margin: 42px auto;
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
    animation: bookingerDialogIn 0.28s ease;
}

@keyframes bookingerDialogIn {
    from {
        opacity: 0;
        transform: translateY(14px) scale(0.985);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.bookinger-map-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #e5e7eb;
    background: #fbfdff;
}

.bookinger-map-modal__header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #0D1B2A;
}

.bookinger-map-modal__close {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    color: #355070;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.18s ease;
}

.bookinger-map-modal__close:hover {
    background: #eef4fb;
    color: #1A73E8;
}

.bookinger-map-modal__close:active {
    transform: scale(0.98);
}

.bookinger-map-modal__body {
    padding: 20px;
}

.bookinger-map-modal__note {
    margin-bottom: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #f3f8ff;
    color: #0D1B2A;
    font-size: 14px;
    border: 1px solid #dbe5ef;
}

#bookinger-map-canvas {
    width: 100%;
    min-height: 420px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #dbe5ef;
}

.bookinger-landingpage-message {
    max-width: 900px;
    margin: 30px auto;
    padding: 14px 16px;
    border: 1px solid #f5c2c7;
    background: #fff5f5;
    color: #842029;
    border-radius: 12px;
    box-shadow: 0 6px 14px rgba(132, 32, 41, 0.06);
}

/* Optional subtle polish for disabled elements */
.bookinger-field input:disabled,
.bookinger-field select:disabled,
.bookinger-map-btn:disabled,
.bookinger-search-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

/* Improve date/time native field clarity */
.bookinger-field input[type="date"],
.bookinger-field input[type="time"] {
    padding-right: 12px;
}

/* Tablet */
@media (max-width: 991px) {
    .bookinger-home-hero {
        padding: 64px 18px 28px;
    }

    .bookinger-home-title {
        font-size: 44px;
        letter-spacing: 0.8px;
    }

    .bookinger-home-search {
        padding: 0 18px 54px;
    }

    .bookinger-home-box {
        padding: 22px;
        border-radius: 20px;
    }

    .bookinger-search-grid--five,
    .bookinger-search-grid--six {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bookinger-search-action--full {
        grid-column: auto;
        max-width: none;
    }
}

/* Mobile */
@media (max-width: 640px) {
    .bookinger-home-hero {
        padding: 54px 14px 24px;
    }

    .bookinger-home-title {
        font-size: 34px;
        letter-spacing: 0.5px;
    }

    .bookinger-home-search {
        padding: 0 14px 44px;
    }

    .bookinger-home-box {
        padding: 18px;
        border-radius: 18px;
    }

    .bookinger-service-tabs {
        gap: 10px;
        margin-bottom: 18px;
    }

    .bookinger-service-tab {
        min-width: 112px;
        padding: 12px 18px;
        font-size: 15px;
        border-radius: 12px;
    }

    .bookinger-search-grid--five,
    .bookinger-search-grid--six {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .bookinger-field input,
    .bookinger-field select,
    .bookinger-map-btn,
    .bookinger-search-btn {
        height: 52px;
        font-size: 15px;
    }

    .bookinger-map-modal__dialog {
        width: min(100%, calc(100% - 16px));
        margin: 18px auto;
        border-radius: 16px;
    }

    .bookinger-map-modal__body {
        padding: 16px;
    }

    #bookinger-map-canvas {
        height: 320px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .bookinger-home-box,
    .bookinger-service-tab,
    .bookinger-field input,
    .bookinger-field select,
    .bookinger-map-btn,
    .bookinger-search-btn,
    .bookinger-tab-panel,
    .bookinger-map-modal__overlay,
    .bookinger-map-modal__dialog,
    .bookinger-map-modal__close {
        transition: none !important;
        animation: none !important;
    }
}

.error-msg {
    color: red;
    font-size: 12px;
    margin-top: 4px;
}

input:focus, select:focus {
    outline: none;
    border: 1px solid #1A73E8;
}

.bookinger-field-error {
    border: 1.5px solid #e53935 !important;
    box-shadow: none !important;
    background: #fff !important;
}
.bookinger-error {
    display: none !important;
}
