.tbm-booking-wrap{max-width:800px;padding:12px;border:1px solid #ddd;background:#fff}
.tbm-booking-wrap label{display:block;margin-top:8px}
.tbm-booking-wrap input[type="text"], .tbm-booking-wrap select, .tbm-booking-wrap input[type="number"]{width:100%;padding:8px;margin-top:4px}
.tbm-booking-wrap button{margin-top:12px;padding:10px 14px}
.notice-success{color:green}
.notice-error{color:red}
.tbm-dynamic-fields {margin-top:12px;padding:10px;border:1px solid #eee;background:#fafafa}
#tbm_calendar {margin-top:12px;background:#fff;border:1px solid #ddd;padding:10px;border-radius:8px}
#tbm-card-form input {width:100%;padding:8px;margin-top:4px}

/* TBM booked badge styling */
.tbm-booked-event { position: relative; }
.tbm-booked-badge { position: absolute; right: 6px; top: 6px; background: #155724; color: #fff; padding: 2px 6px; border-radius: 3px; font-size: 11px; font-weight: 600; }

/* Fully booked day background color for FullCalendar (mobile & desktop) */
.tbm-fully-booked {
    background-color: rgba(200, 0, 0, 0.12) !important;
    pointer-events: none !important;
}

/* make sure the day cell shows blocked UX on dayGrid view */
.fc-daygrid-day-bgevent .tbm-fully-booked,
.fc-daygrid-day-frame .tbm-fully-booked {
    background-color: rgba(200, 0, 0, 0.12) !important;
}
.ui-datepicker td.fully-booked-date a {
    background: #eee !important;
    color: #999 !important;
    text-decoration: line-through;
    cursor: not-allowed !important;
}
#tbm-register-form {
    max-width: 400px;
    margin: 40px auto;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 30px;
    background-color: #f9f9f9;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

#tbm-register-form p {
    margin-bottom: 20px;
}

#tbm-register-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 0.95em;
    color: #555;
}

#tbm-register-form input[type="email"],
#tbm-register-form input[type="text"],
#tbm-register-form input[type="password"] {
    width: 100%;
    height: 40px;
    padding: 8px 12px;
    box-sizing: border-box;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1em;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#tbm-register-form input[type="email"]:focus,
#tbm-register-form input[type="text"]:focus,
#tbm-register-form input[type="password"]:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
    outline: none;
    background-color: #fff;
}

#tbm-register-form button[type="submit"] {
    width: 100%;
    padding: 12px;
    font-weight: 700;
    font-size: 1.1em;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
}

#tbm-register-form button[type="submit"]:hover {
    background-color: #0056b3;
}

#tbm-register-form button[type="submit"]:active {
    background-color: #004085;
    transform: translateY(1px);
}

#tbm-register-result {
    margin-top: 15px;
    text-align: center;
    font-size: 0.9em;
}
.tbm-time-slot.tbm-slot-disabled,
.tbm-time-slot[disabled] {
  pointer-events: none;
  opacity: 0.45;
  background: #f5f5f5;
  color: #666;
}
.tbm-booked-label { margin-left: 6px; color: #c00; font-weight:600; font-size:0.9em; }

