
*{
    box-sizing:border-box;
}

.wpdb-booking-container{
    width:100%;
    padding:60px 20px;
    display:flex;
    justify-content:center;
    align-items:center;

    
}

.wpdb-booking-card{
    width:100%;
    max-width:1200px;
    display:grid;
    grid-template-columns:1fr 1fr;
    background:#ffffff;
    border-radius:28px;
    overflow:hidden;
    box-shadow:0 20px 60px rgba(15,23,42,0.08);
    border:1px solid #eef2f7;
}

.wpdb-booking-left{
    padding:50px;
    border-right:1px solid #eef2f7;
}

.wpdb-booking-right{
    padding:50px;
    background:#fcfcfd;
}

.wpdb-demo-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:#dbeafe;
    color:#1d4ed8;
    padding:8px 16px;
    border-radius:999px;
    font-size:13px;
    font-weight:700;
    margin-bottom:20px;
}

.wpdb-booking-top h2{
    margin:0;
    font-size:30px;
    line-height:1.2;
    color:#111827;
    font-weight:800;
}

.wpdb-booking-top p{
    margin-top:16px;
    color:#6b7280;
    font-size:16px;
    line-height:1.7;
}

.wpdb-calendar-section,
.wpdb-slot-section{
    margin-top:40px;
}

.wpdb-calendar-header h3,
.wpdb-slot-header h3,
.wpdb-form-header h3{
    margin:0;
    font-size:22px;
    color:#111827;
    font-weight:700;
}

.wpdb-calendar-header p,
.wpdb-slot-header p,
.wpdb-form-header p{
    margin-top:10px;
    color:#6b7280;
    font-size:14px;
}

.wpdb-calendar-box{
    margin-top:20px;
}

.wpdb-input,
.wpdb-textarea{
    width:100%;
    border:1px solid #d1d5db;
    border-radius:16px;
    padding:16px 18px;
    font-size:15px;
    background:#ffffff;
    transition:all .2s ease;
    outline:none;
}

.wpdb-input:focus,
.wpdb-textarea:focus{
    border-color:#2563eb;
    box-shadow:0 0 0 4px rgba(37,99,235,0.10);
}

.wpdb-textarea{
    min-height:120px;
    resize:none;
}

.wpdb-form-group{
    margin-bottom:22px;
}

.wpdb-form-group label{
    display:block;
    margin-bottom:10px;
    font-size:14px;
    font-weight:600;
    color:#111827;
}

.wpdb-slots-grid{
    margin-top:20px;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:14px;
}

.wpdb-slot-btn{
    position:relative;
    border:none;
    background:#ffffff;
    border:1px solid #dbeafe;
    color:#1d4ed8;
    min-height:72px;
    border-radius:18px;
    font-size:14px;
    font-weight:700;
    cursor:pointer;
    transition:all .2s ease;
    padding:12px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    gap:6px;
}

.wpdb-slot-btn:hover{
    background:#2563eb;
    color:#ffffff;
    transform:translateY(-2px);
}

.wpdb-slot-btn.active{
    background:#2563eb;
    color:#ffffff;
    border-color:#2563eb;
}

.wpdb-slot-booked{
    background:#1e3a8a !important;
    border-color:#1e3a8a !important;
    color:#ffffff !important;
    cursor:not-allowed !important;
    opacity:.9;
}

.wpdb-slot-booked:hover{
    transform:none !important;
}

.wpdb-slot-time{
    font-size:15px;
    font-weight:700;
}

.wpdb-slot-status{
    font-size:12px;
    opacity:.9;
}

.wpdb-slot-legend{
    grid-column:1/-1;
    display:flex;
    align-items:center;
    gap:20px;
    margin-top:10px;
    flex-wrap:wrap;
}

.wpdb-legend-item{
    display:flex;
    align-items:center;
    gap:8px;
    color:#374151;
    font-size:13px;
    font-weight:600;
}

.wpdb-legend-color{
    width:14px;
    height:14px;
    border-radius:50%;
}

.wpdb-legend-available{
    background:#2563eb;
}

.wpdb-legend-booked{
    background:#1e3a8a;
}

.wpdb-submit-btn{
    width:100%;
    height:56px;
    border:none;
    border-radius:18px;
    background:#2563eb;
    color:#ffffff;
    font-size:16px;
    font-weight:700;
    cursor:pointer;
    transition:all .2s ease;
}

.wpdb-submit-btn:hover{
    background:#1d4ed8;
    transform:translateY(-2px);
}

.wpdb-submit-btn:disabled{
    opacity:.7;
    cursor:not-allowed;
}

.wpdb-empty-slot{
    grid-column:1/-1;
    padding:18px;
    background:#f3f4f6;
    border-radius:16px;
    text-align:center;
    color:#6b7280;
    font-size:14px;
}

.wpdb-success-message{
    margin-top:18px;
    padding:16px;
    border-radius:14px;
    background:#dcfce7;
    color:#166534;
    font-size:14px;
    font-weight:600;
}

.wpdb-error-message{
    margin-top:18px;
    padding:16px;
    border-radius:14px;
    background:#fee2e2;
    color:#991b1b;
    font-size:14px;
    font-weight:600;
}

@media(max-width:991px){

    .wpdb-booking-card{
        grid-template-columns:1fr;
    }

    .wpdb-booking-left{
        border-right:none;
        border-bottom:1px solid #eef2f7;
    }

}

@media(max-width:768px){

    .wpdb-booking-left,
    .wpdb-booking-right{
        padding:30px;
    }

    .wpdb-booking-top h2{
        font-size:32px;
    }

    .wpdb-slots-grid{
        grid-template-columns:1fr 1fr;
    }

}

@media(max-width:480px){

    .wpdb-slots-grid{
        grid-template-columns:1fr;
    }

}


.wpdb-calendar-input-wrap{
    position:relative;
}

.wpdb-calendar-icon{
    position:absolute;
    top:50%;
    left:18px;
    transform:translateY(-50%);
    color:#111827;
    z-index:2;
    display:flex;
    align-items:center;
    justify-content:center;
    pointer-events:none;
}

.wpdb-calendar-input{
    padding-left:56px !important;
    cursor:pointer;
    font-weight:600;
    color:#111827;
}

.flatpickr-input[readonly]{
    background:#ffffff !important;
}

.flatpickr-calendar{
    width:340px !important;
    border:none !important;
    border-radius:24px !important;
    overflow:hidden !important;
    box-shadow:0 25px 80px rgba(15,23,42,0.18) !important;
    padding:14px !important;
    background:#ffffff !important;
}

.flatpickr-months{
    margin-bottom:12px;
}

.flatpickr-month{
    height:55px !important;
}

.flatpickr-current-month{
    padding-top:10px !important;
    font-size:18px !important;
    font-weight:800 !important;
    color:#111827 !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months{
    font-weight:800 !important;
}

.flatpickr-current-month input.cur-year{
    font-weight:800 !important;
}

.flatpickr-weekdays{
    background:transparent !important;
    margin-bottom:8px;
}

span.flatpickr-weekday{
    color:#6b7280 !important;
    font-size:13px !important;
    font-weight:700 !important;
}

.flatpickr-day{
    border-radius:14px !important;
    max-width:42px !important;
    height:42px !important;
    line-height:42px !important;
    font-size:14px !important;
    font-weight:600 !important;
    color:#111827 !important;
    border:none !important;
}

.flatpickr-day:hover{
    background:#eff6ff !important;
    color:#2563eb !important;
}

.flatpickr-day.today{
    border:2px solid #2563eb !important;
    color:#2563eb !important;
    background:#ffffff !important;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange{
    background:#2563eb !important;
    border-color:#2563eb !important;
    color:#ffffff !important;
}

.flatpickr-day.flatpickr-disabled{
    color:#cbd5e1 !important;
    cursor:not-allowed !important;
}

.flatpickr-prev-month,
.flatpickr-next-month{
    top:16px !important;
    padding:8px !important;
}

.flatpickr-prev-month:hover svg,
.flatpickr-next-month:hover svg{
    fill:#2563eb !important;
}

@media(max-width:480px){

    .flatpickr-calendar{
        width:100% !important;
        max-width:320px !important;
    }

}








body .flatpickr-calendar{
    background:#ffffff !important;
    border:none !important;
    border-radius:24px !important;
    overflow:hidden !important;
    box-shadow:0 25px 80px rgba(15,23,42,.18) !important;
    padding:18px !important;
    width:360px !important;
    font-family:Inter,sans-serif !important;
}

body .flatpickr-months{
    margin-bottom:14px !important;
}

body .flatpickr-current-month{
    font-size:18px !important;
    font-weight:800 !important;
    color:#111827 !important;
    padding-top:10px !important;
}

body .flatpickr-weekdays{
    margin-bottom:10px !important;
}

body span.flatpickr-weekday{
    color:#6b7280 !important;
    font-size:12px !important;
    font-weight:700 !important;
    text-transform:uppercase !important;
}

body .flatpickr-days{
    width:100% !important;
}

body .dayContainer{
    width:100% !important;
    min-width:100% !important;
    max-width:100% !important;
}

body .flatpickr-day{
    border:none !important;
    border-radius:14px !important;
    height:42px !important;
    line-height:42px !important;
    max-width:42px !important;
    color:#111827 !important;
    font-weight:600 !important;
}

body .flatpickr-day:hover{
    background:#eff6ff !important;
    color:#2563eb !important;
}

body .flatpickr-day.selected{
    background:#2563eb !important;
    color:#ffffff !important;
}

body .flatpickr-day.today{
    border:2px solid #2563eb !important;
}

body .flatpickr-prev-month,
body .flatpickr-next-month{
    top:16px !important;
}

body .flatpickr-prev-month svg,
body .flatpickr-next-month svg{
    width:18px !important;
    height:18px !important;
}

body .flatpickr-input{
    background:#ffffff !important;
}

.wpdb-phone-group{
    display:flex;
    align-items:center;
    gap:12px;
}

.wpdb-country-code{
    width:140px;
    min-width:140px;
    height:56px;
    border:1px solid #d1d5db;
    border-radius:16px;
    background:#ffffff;
    padding:0 14px;
    font-size:14px;
    font-weight:600;
    color:#111827;
    outline:none;
    cursor:pointer;
    transition:all .2s ease;
}

.wpdb-country-code:focus{
    border-color:#2563eb;
    box-shadow:0 0 0 4px rgba(37,99,235,0.10);
}

.wpdb-country-code option{
    font-size:14px;
    color:#111827;
}

.wpdb-phone-input{
    flex:1;
}

@media(max-width:480px){

    .wpdb-phone-group{
        flex-direction:column;
    }

    .wpdb-country-code{
        width:100%;
    }

}


