/* Mobile Hub Booking */
.mhb-wrap {
    max-width: 540px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
#mhb-form {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 32px 36px;
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
}
.mhb-field {
    margin-bottom: 20px;
    position: relative;
}
.mhb-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #444;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: .4px;
}
.mhb-req { color: #e74c3c; }

.mhb-field input[type="text"],
.mhb-field input[type="email"],
.mhb-field input[type="tel"],
.mhb-field select {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    color: #333;
    background: #fafafa;
    box-sizing: border-box;
    transition: border-color .2s, box-shadow .2s;
}
.mhb-field input:focus,
.mhb-field select:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 3px rgba(0,115,170,.15);
    background: #fff;
}
.mhb-field select:disabled { opacity: .55; cursor: not-allowed; }

/* ── Date trigger button ── */
.mhb-date-btn {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 10px 14px;
    border: 1.5px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    color: #555;
    background: #fafafa;
    cursor: pointer;
    text-align: left;
    box-sizing: border-box;
    transition: border-color .2s, box-shadow .2s;
}
.mhb-date-btn:hover,
.mhb-date-btn:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 3px rgba(0,115,170,.15);
    background: #fff;
}
.mhb-date-btn svg { color: #888; }

/* ── Calendar popup ── */
.mhb-calendar {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    z-index: 9999;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 8px 28px rgba(0,0,0,.14);
    width: 308px;
    overflow: hidden;
    user-select: none;
}

/* Header */
.mhb-cal-hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #0073aa;
    padding: 11px 14px;
}
.mhb-cal-title {
    font-weight: 700;
    font-size: 14px;
    color: #fff;
}
.mhb-cal-nav {
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    padding: 0 6px;
    border-radius: 4px;
    transition: background .15s;
}
.mhb-cal-nav:hover:not([disabled]) { background: rgba(255,255,255,.25); }
.mhb-cal-nav[disabled] { opacity: .3; cursor: default; }

/* Grid */
.mhb-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    padding: 8px 8px 10px;
    gap: 2px;
}
.mhb-cal-dow {
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    color: #999;
    padding: 4px 0 6px;
    text-transform: uppercase;
}
.mhb-cal-day {
    text-align: center;
    padding: 7px 2px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
}

/* Available days */
.mhb-cal-on {
    color: #222;
    cursor: pointer;
}
.mhb-cal-on:hover {
    background: #e0f0fa;
    color: #0073aa;
    font-weight: 700;
}

/* Closed / past days */
.mhb-cal-off {
    color: #ccc;
    text-decoration: line-through;
    cursor: not-allowed;
    background: #f9f9f9;
}

/* Selected */
.mhb-cal-sel {
    background: #0073aa !important;
    color: #fff !important;
    font-weight: 700;
}

/* Today */
.mhb-cal-today {
    border: 2px solid #0073aa;
    color: #0073aa;
    font-weight: 700;
}

/* Legend */
.mhb-cal-legend {
    font-size: 11px;
    color: #e74c3c;
    font-weight: 600;
    padding: 0 12px 10px;
    text-align: center;
}

/* ── Actions ── */
.mhb-actions { margin-top: 26px; }
#mhb-submit {
    width: 100%;
    padding: 13px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 7px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
}
#mhb-submit:hover { background: #005a87; }
#mhb-submit:disabled { opacity: .65; cursor: not-allowed; }

/* ── Messages ── */
.mhb-msg {
    margin-top: 18px;
    padding: 13px 16px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.5;
}
.mhb-msg--success { background: #eafaf1; border: 1px solid #2ecc71; color: #1e8449; }
.mhb-msg--error   { background: #fdf2f2; border: 1px solid #e74c3c; color: #c0392b; }

/* ── Responsive ── */
@media (max-width: 560px) {
    #mhb-form { padding: 22px 18px; }
    .mhb-calendar { width: calc(100vw - 36px); }
}
