:root {
    --wp-bp-primary: #667EEA;
    --wp-bp-primary-dark: #4B5FD4;
    --wp-bp-surface: #F8F9FA;
    --wp-bp-border: #E5E7EB;
    --wp-bp-text: #111827;
    --wp-bp-muted: #4B5563;
}

/* Base container */
#wp-bp-booking-container,
#wp-bp-booking-container * {
    box-sizing: border-box;
}

#wp-bp-booking-container {
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    color: var(--wp-bp-text);
    line-height: 1.5;
}

/* Font Awesome inline SVG helpers */
.lmfa {
    width: 1em;
    height: 1em;
    display: inline-block;
    vertical-align: -0.125em;
}

.lmfa-fw {
    width: 1.25em;
    text-align: center;
}

/* Navigation */
.wp-bp-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
    font-weight: 700;
    font-size: 16px;
    color: var(--wp-bp-text);
}

.wp-bp-navigation button {
    background: #FCAF36;
    color: #000000;
    border: none;
    border-radius: 2px;
    padding: 4px 12px 6px;
    cursor: pointer;
    font-size: 20px;
    transition: background 0.2s ease;
}

.wp-bp-navigation button:hover,
.wp-bp-navigation button:focus {
    background: #FFE5BD;
}

.wp-bp-navigation span {
    color: #fff;
    font-weight: 700;
}

/* Calendar & day list */
.month_cal {
   margin-bottom: 0px;
}

.widget_container {
    border: 0px solid var(--wp-bp-border);
    border-radius: 0;
    background: #000000;
    overflow: hidden;
}

.calendar_view {
    padding: 0px;
}

.room_days {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.room_days > div {
    background: #000000;
    border: 0px solid var(--wp-bp-border);
    border-radius: 4px;
    padding: 0px;
}

.room_days h4 {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 700;
    text-transform: capitalize;
    color: #FFD370;
}

.active_specials {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    margin: 4px 0 12px;
}

.active_specials .special {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    border-radius: 6px;
    background: var(--wp-bp-surface);
    color: var(--wp-bp-text);
    text-decoration: none;
    border: 1px solid var(--wp-bp-border);
}

/* Slot cards */
.hour {
    border: 1px solid #383838;
    border-radius: 4px;
    overflow: hidden;
    background: #373737;
    margin-bottom: 8px;
}

.hour_header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 4px 16px;
    background: #262626;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    color: #FFFFFF;
}

.hour_header small {
    margin-left: auto;
    color: #DDD3B5;
    font-size: 13px;
}

.hour_header span svg {
    width: 20px;
    height: 20px;
    color: var(--wp-bp-primary);
}

.hour_form {
    display: flex;
    padding: 0px;
    border-top: 0px solid var(--wp-bp-border);
    flex-direction: column;
}

/* Shared blocks */
.bordered {
    border: 0px solid var(--wp-bp-border);
    border-radius: 0px;
    padding: 8px 14px 0px;
    margin-bottom: 4px;
    background: #383838;
    display: flex;
}

.bordered p {
    margin: 0 16px 0 0px;
    font-weight: 600;
    color: #FFD370;
    font-size: 16px;
    display:flex;
    min-width:110px;
}

/* Language selector */
.game_lang_list {
    display: inline;
    gap: 12px;
    flex-wrap: wrap;
}

.game_lang {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 8px 8px;
    padding: 10px 12px;
    border: 1px solid #AE8427;
    border-radius: 6px;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.game_lang:hover {
    border-color: #FFFFFF;
    box-shadow: 0 2px 6px rgb(255 255 255  / 12%);
    transform: translateY(-1px);
    background-color:#4d4d4d;
}

.game_lang input {
    margin: 0;
}

.flag_container {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    text-transform: uppercase;
    color: #FFFFFF;
}

.flag_icon {
    width: 18px;
    height: 12px;
    border-radius: 2px;
    display: block;
    background: var(--wp-bp-muted);
}

.flag_icon.pl {
    background: linear-gradient(#DC2626 0 50%, #FFFFFF 50% 100%);
}

.flag_icon.ru {
    background: linear-gradient(#FFFFFF 0 33%, #1E3A8A 33% 66%, #DC2626 66% 100%);
}

.flag_icon.gb {
    background: #1E3A8A;
    position: relative;
}

.flag_icon.gb::before,
.flag_icon.gb::after {
    content: "";
    position: absolute;
    background: #fff;
}

.flag_icon.gb::before {
    inset: 5px 0 5px 0;
}

.flag_icon.gb::after {
    inset: 0 7px 0 7px;
}

/* People selector */
.radios.rows {
    display: inline;
    gap: 12px;
    flex-wrap: wrap;
}

.people_label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 8px 8px;
    padding: 10px 12px;
    border: 1px solid #AE8427;
    border-radius: 6px;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    flex-wrap: nowrap;
    font-weight: 700;
}

.people_label:hover {
    border-color: #FFFFFF;
    box-shadow: 0 2px 6px rgba(102, 126, 234, 0.12);
    transform: translateY(-1px);
    background-color:#4d4d4d;
}

.people_label input[type="radio"] {
    margin: 0;
}

.people_label small {
    color: #FFD370 !important;
    display: block;
    font-size: 16px !important;
    font-weight: 700;
}

.people_label input[type="radio"]:checked ~ span,
.people_label input[type="radio"]:checked ~ small {
    color: #FFFFFF;;
    font-weight: 700;
}

.required::after {
    content: "*";
    color: #EF4444;
    margin-left: 4px;
    font-size: 12px;
}

/* Footer  / actions */
.hour_form footer.bordered {
    display: flex;
    justify-content: flex-end;
    background: #383838;
    margin-bottom:12px;
}

.btn_continue_booking {
    width: 100%;
    margin-top: 6px;
}

/* Main booking form */
#wp-bp-booking-form {
    margin-top: 20px;
}

#wp-bp-slots {
    display: block;
}

#wp-bp-response {
    margin-top: 15px;
}

/* Responsive tweaks */
@media (max-width: 640px) {
    .wp-bp-navigation {
        flex-wrap: wrap;
    }

    .game_lang_list,
    .active_specials {
        flex-direction: column;
    }

    .hour_header {
        align-items: flex-start;
    }
}
