/*
Theme Name: Extendable Child
Theme URI: https://kamalhossan.github.io/
Description: A child theme for the Parent Theme.
Author: Kamal Hossan
Author URI: https://promedia66.co.uk
Template: extendable
Version: 1.0.0
*/

/* @import url("../extendable/style.css"); */



.thames.registraton-form-wrapper {
    display: none;
}

.thames.registration-page-wrapper+.pmpro {
    display: none;
}

button#registration-agree {
    background: #381d92;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    margin-top: 30px;
}

.registration-form {
    padding: 30px;
    border: 1px solid #fafafa;
    background: white;
    margin-top: 20px;
    border-radius: 15px
}

.thames-popup-booking-wrapper {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0px;
    z-index: 9999;
    background: #ffffff70;
    backdrop-filter: blur(4px);
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

.thames-popup-booking-wrapper.active {
    visibility: visible;
    opacity: 1;
}

.thames-popup-booking {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    top: 100px;
    background: white;
    border-radius: 15px;
}

button.thames-popup-booking-close {
    position: absolute;
    right: 20px;
    top: 20px;
    background: blue;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    line-height: 1em !important;
    border-radius: 50%;
    font-size: 13px;
    cursor: pointer;
}

.thames-popup-booking-content {
    max-height: 60vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 40px;
}

.datepick-inline .date2approve.timespartly:not(.check_in_time, .check_out_time) a {
    color: white;
}

.amelia-v2-booking #amelia-container .am-advsc.fc-theme-standard td.am-advsc__dayGridMonth-cell .fc-daygrid-day-bg .fc-bg-event .am-advsc__slot-wrapper {
    transform: translate(-30%, 0%) rotate(24deg) scale(1.5);
}

.fc-event.fc-event-start.fc-event-end.fc-event-future.fc-bg-event.am-advsc__occupancy {
    overflow: hidden;
}

.el-select-dropdown__item.am-select-option span.am-oit__img {
    display: none !important;
}

.thames-banner-text-wrapper {
    background: #17295A;
    color: white;
    padding: 10px 0;
}

/* ===============================
   PARTIALLY BOOKED (AM/PM)
   =============================== */
.membershiptext {
    text-decoration: underline !important;
}

/* Hide numbers inside ALL legend cells */
.wpbc_calendar_legend_day_cell_height .wpbc-cell-box a,
.wpbc_calendar_legend_day_cell_height .wpbc-cell-box span {
    display: none !important;
}

.datepick-inline td.timespartly .wpbc-cell-box {
    background: linear-gradient(to bottom, black 50%, blue 50%) !important;
    border-radius: 4px;
}


body.orange-mode td .wpbc-cell-box,
body.orange-mode td.date_available .wpbc-cell-box,
body.orange-mode td.timespartly .wpbc-cell-box,
body.orange-mode td.date_available.timespartly .wpbc-cell-box,
body.orange-mode td[data-content*="12:00 - 16:00"] .wpbc-cell-box,
body.orange-mode td[data-content*="17:00 - 21:00"] .wpbc-cell-box {
    background: #ffa500 !important;
    /* ORANGE */
    border-radius: 4px !important;
    color: #000 !important;
}

/* Table border */
.wptb-preview-table {
    border: 2px solid #000;
    /* black border for entire table */
    border-collapse: collapse;
    /* ensures borders don't double up */
}

/* Cell borders */
.wptb-preview-table td {
    border: 1px solid #000;
    /* black border for each cell */
    padding: 8px;
    /* keep your current padding */
}

.date-content-top {
    color: white !important;
}

/* AM or PM Available Legend */
.wpbc_calendar_legend_table_width_height td.date_available.timespartly .wpbc-cell-box {
    background: linear-gradient(to bottom, blue 50%, black 50%) !important;
    /* Top green / bottom red */
    border-radius: 4px;
}

/* Morning Booked (12–16) → Evening Available */
td[data-content*="12:00 - 16:00"].timespartly .wpbc-cell-box {
    background: linear-gradient(to bottom, black 50%, blue 50%) !important;
    border-radius: 4px;
}

/* Evening Booked (17–21) → Morning Available */
td[data-content*="17:00 - 21:00"].timespartly .wpbc-cell-box {
    background: linear-gradient(to bottom, blue 50%, black 50%) !important;
    border-radius: 4px;
}

/* Full Available */
.date_available:not(.timespartly) .wpbc-cell-box {
    background: blue !important;
}

.wpbc-orange-slot .wpbc-cell-box {
    background: orange !important;
}

/* Full Booked */
.full_day_booking .wpbc-cell-box {
    background: black !important;
}

/* OVERRIDE for 12–16 slot when orange mode is active */
td[data-content*="12:00 - 16:00"].timespartly.wpbc-orange .wpbc-cell-box {
    background: orange !important;
}

/* OVERRIDE for 17–21 slot when orange mode is active */
td[data-content*="17:00 - 21:00"].timespartly.wpbc-orange .wpbc-cell-box {
    background: orange !important;
}