/* Frontend Styles for Hall Booking Calendar */

/* Base font size standardization - all text 14px except headings */
.hbc-calendar-container,
.hbc-agenda-container,
.hbc-compact-agenda,
.hbc-single-booking,
.hbc-booking-page,
.hbc-booking-form-container {
    font-size: 14px;
    line-height: 1.6;
}

.hbc-calendar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.hbc-calendar-header {
    margin-bottom: 30px;
}

.hbc-calendar-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.hbc-calendar-nav h2 {
    margin: 0;
    font-size: 28px;
    color: #333;
}

.hbc-nav-btn {
    background: #2271b1;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
}

.hbc-nav-btn:hover {
    background: #135e96;
    color: #fff;
}

.hbc-group-filter {
    background: #f0f6fc;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 15px;
    border: 1px solid #d0e3f1;
}

.hbc-group-filter label {
    font-weight: 600;
    margin-right: 10px;
    color: #333;
}

.hbc-group-filter select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    min-width: 200px;
}

.hbc-group-label {
    margin: 0;
    color: #135e96;
}

.hbc-group-label strong {
    color: #2271b1;
}

.hbc-rooms-legend {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.hbc-rooms-legend h3 {
    margin: 0 0 10px 0;
    font-size: 16px;
    color: #333;
}

.hbc-rooms-legend ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.hbc-rooms-legend li {
    display: flex;
    align-items: center;
}

.hbc-room-color {
    width: 20px;
    height: 20px;
    border-radius: 3px;
    margin-right: 8px;
}

.hbc-room-1 {
    background: #3498db;
}

.hbc-room-2 {
    background: #e74c3c;
}

.hbc-room-3 {
    background: #2ecc71;
}

.hbc-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    background: #e0e0e0;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.hbc-calendar-day-header {
    background: #2271b1;
    color: #fff;
    padding: 12px;
    text-align: center;
    font-weight: 600;
}

.hbc-calendar-day {
    background: #fff;
    min-height: 120px;
    padding: 8px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.hbc-calendar-day.hbc-empty {
    background: #f5f5f5;
}

.hbc-calendar-day.hbc-today {
    background: #fffbea;
    border: 2px solid #ffc107;
}

.hbc-calendar-day.hbc-past {
    background: #f9f9f9;
    color: #999;
}

.hbc-day-number {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 8px;
}

.hbc-day-bookings {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-grow: 1;
}

.hbc-booking-indicator {
    height: 8px;
    border-radius: 2px;
}

.hbc-booking-indicator.hbc-available {
    background: #e0e0e0;
}

.hbc-book-btn {
    background: #2271b1;
    color: #fff;
    padding: 6px 12px;
    text-align: center;
    text-decoration: none;
    border-radius: 3px;
    margin-top: auto;
    transition: background 0.3s;
}

.hbc-book-btn:hover {
    background: #135e96;
    color: #fff;
}

/* Booking Form Modal */
.hbc-booking-form-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.hbc-modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 30px;
    border-radius: 8px;
    max-width: 600px;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hbc-modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
}

.hbc-modal-close:hover {
    color: #000;
}

/* Booking Form */
.hbc-booking-form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.hbc-booking-form-container h2 {
    margin-top: 0;
}

#hbc-booking-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hbc-form-row {
    display: flex;
    flex-direction: column;
}

.hbc-form-row label {
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.hbc-form-row .required {
    color: #e74c3c;
}

.hbc-form-row input[type="text"],
.hbc-form-row input[type="email"],
.hbc-form-row input[type="date"],
.hbc-form-row input[type="time"],
.hbc-form-row select,
.hbc-form-row textarea {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

.hbc-form-row textarea {
    resize: vertical;
}

.hbc-form-row-half {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.hbc-form-row-half > div {
    display: flex;
    flex-direction: column;
}

.hbc-submit-btn {
    background: #2271b1;
    color: #fff;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.hbc-submit-btn:hover {
    background: #135e96;
}

.hbc-submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.hbc-submit-btn.loading {
    background: #6c757d;
    position: relative;
    color: #fff;
}

.hbc-submit-btn.loading::after {
    content: '';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: translateY(-50%) rotate(360deg); }
}

.hbc-form-message {
    padding: 15px 20px;
    border-radius: 6px;
    margin: 20px 0;
    display: none;
    font-weight: 600;
    text-align: center;
}

.hbc-form-message.success {
    background: #d4edda;
    color: #155724;
    border: 2px solid #28a745;
    display: block;
    animation: slideDown 0.3s ease-out;
}

.hbc-form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 2px solid #dc3545;
    display: block;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Multi-room Checkbox Styles */
.hbc-room-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #f9f9f9;
}

.hbc-room-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
    font-weight: normal !important;
}

.hbc-room-checkbox-label:hover {
    background: #e8f0fe;
}

.hbc-room-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.hbc-room-checkbox-color {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    flex-shrink: 0;
}

/* Recurring and Multi-date Booking Styles */
.hbc-recurring-section,
.hbc-recurring-options,
.hbc-multiple-dates {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 4px;
    margin-top: 10px;
}

.hbc-recurring-options .description,
.hbc-multiple-dates .description {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

#hbc-additional-dates-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 10px;
}

#hbc-additional-dates-container input {
    width: 100%;
}

#hbc-add-date-btn {
    background: #2271b1;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    margin-bottom: 10px;
}

#hbc-add-date-btn:hover {
    background: #135e96;
}

/* Responsive */
@media (max-width: 768px) {
    .hbc-calendar-grid {
        font-size: 12px;
    }

    .hbc-calendar-day {
        min-height: 80px;
        padding: 5px;
    }

    .hbc-day-number {
        font-size: 14px;
    }

    .hbc-calendar-day-header {
        font-size: 12px;
        padding: 8px;
    }

    .hbc-rooms-legend ul {
        flex-direction: column;
    }

    .hbc-form-row-half {
        grid-template-columns: 1fr;
    }

    .hbc-modal-content {
        margin: 10% 20px;
        padding: 20px;
    }
}

/* ===================================================
   SIMPLE FORM STYLES
   =================================================== */

/* Form notice */
.hbc-form-notice {
    background: #f0f6fc;
    border-left: 4px solid #2271b1;
    padding: 15px 20px;
    margin-bottom: 25px;
    border-radius: 4px;
}

.hbc-form-notice p {
    margin: 8px 0;
    line-height: 1.6;
    color: #333;
}

.hbc-form-notice p:first-child {
    font-size: 18px;
    color: #2271b1;
    margin-top: 0;
}

.hbc-form-notice p:last-child {
    margin-bottom: 0;
}

/* Form sections */
.hbc-form-section {
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e0e0e0;
}

.hbc-form-section:last-of-type {
    border-bottom: none;
}

.hbc-form-section h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 20px;
    color: #2271b1;
    border-bottom: 2px solid #f0f6fc;
    padding-bottom: 10px;
}

/* Form actions */
.hbc-form-actions {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #e0e0e0;
    text-align: center;
}

.hbc-form-actions .hbc-submit-btn {
    padding: 14px 40px;
    font-weight: 600;
}

/* Error field styling */
.error-field {
    border-color: #d63301 !important;
    background-color: #fef7f1 !important;
}

/* File upload section */
.hbc-form-row input[type="file"] {
    padding: 8px;
    border: 2px dashed #ddd;
    border-radius: 4px;
    background: #f9f9f9;
    cursor: pointer;
}

.hbc-form-row input[type="file"]:hover {
    border-color: #2271b1;
    background: #f0f6fc;
}

.hbc-file-error {
    margin-top: 8px;
    padding: 10px;
    background: #fef7f1;
    border-left: 3px solid #d63301;
    border-radius: 3px;
    color: #d63301;
}

/* Responsive layout */
@media (max-width: 768px) {
    .hbc-form-section h3 {
        font-size: 18px;
    }

    .hbc-form-actions .hbc-submit-btn {
        width: 100%;
        padding: 12px 20px;
    }
}

/* ===================================================
   BOOKING PAGE STYLES - Full Page Booking Form
   =================================================== */

.hbc-booking-page {
    max-width: 700px;
    margin: 0 auto;
    padding: 20px;
}

.hbc-booking-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 3px solid #2271b1;
}

.hbc-booking-page-header h2 {
    margin: 0;
    font-size: 32px;
    color: #333;
}

.hbc-back-to-calendar {
    display: inline-block;
    padding: 10px 20px;
    background: #f0f0f0;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
}

.hbc-back-to-calendar:hover {
    background: #e0e0e0;
    color: #333;
}

.hbc-booking-page-content {
    background: #fff;
    padding: 30px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Full-page form adjustments */
.hbc-booking-page .hbc-booking-form-container {
    max-width: 100%;
    padding: 0;
}

@media (max-width: 768px) {
    .hbc-booking-page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .hbc-booking-page-header h2 {
        font-size: 24px;
    }

    .hbc-booking-page-content {
        padding: 20px;
    }
}

/* ===================================================
   AGENDA VIEW STYLES
   =================================================== */

.hbc-agenda-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.hbc-agenda-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #2271b1;
}

.hbc-agenda-header h2 {
    margin: 0;
    font-size: 28px;
    color: #333;
}

.hbc-agenda-filters {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hbc-agenda-filter {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hbc-agenda-filter label {
    font-weight: 600;
    color: #555;
    white-space: nowrap;
}

.hbc-agenda-filter select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    min-width: 180px;
}

.hbc-agenda-list {
    margin-bottom: 30px;
}

.hbc-agenda-date-header {
    background: #f0f6fc;
    padding: 12px 15px;
    margin: 25px 0 15px 0;
    border-left: 4px solid #2271b1;
}

.hbc-agenda-date-header h3 {
    margin: 0;
    font-size: 18px;
    color: #2271b1;
    font-weight: 600;
}

.hbc-agenda-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    margin-bottom: 15px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    transition: all 0.3s;
}

.hbc-agenda-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-color: #2271b1;
}

.hbc-agenda-time {
    flex-shrink: 0;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 4px;
    text-align: center;
    min-width: 100px;
}

.hbc-time-start,
.hbc-time-end {
    display: block;
    font-weight: 600;
    color: #2271b1;
}

.hbc-time-separator {
    display: block;
    margin: 5px 0;
    color: #999;
}

.hbc-agenda-details {
    flex: 1;
}

.hbc-agenda-room {
    margin: 0 0 8px 0;
    font-size: 20px;
    color: #333;
}

.hbc-agenda-purpose {
    margin: 0 0 10px 0;
    color: #666;
}

.hbc-agenda-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    color: #777;
}

.hbc-agenda-meta strong {
    color: #555;
}

.hbc-agenda-status {
    padding: 3px 10px;
    border-radius: 3px;
    font-weight: 600;
    text-transform: uppercase;
}

.hbc-agenda-actions {
    flex-shrink: 0;
}

.hbc-view-booking-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #2271b1;
    color: #fff !important;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
}

.hbc-view-booking-btn:hover {
    background: #135e96;
}

.hbc-agenda-empty {
    text-align: center;
    padding: 60px 20px;
    background: #f9f9f9;
    border-radius: 6px;
}

.hbc-agenda-empty p {
    color: #999;
}

/* Agenda Pagination */
.hbc-agenda-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    padding: 20px;
}

.hbc-page-btn {
    padding: 8px 16px;
    background: #f0f0f0;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
}

.hbc-page-btn:hover {
    background: #e0e0e0;
    color: #333;
}

.hbc-page-numbers {
    display: flex;
    gap: 5px;
}

.hbc-page-number {
    display: inline-block;
    padding: 8px 12px;
    background: #fff;
    border: 1px solid #ddd;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
}

.hbc-page-number:hover {
    background: #f0f6fc;
    border-color: #2271b1;
    color: #2271b1;
}

.hbc-page-number.current {
    background: #2271b1;
    border-color: #2271b1;
    color: #fff;
    font-weight: 600;
}

/* ===================================================
   SINGLE BOOKING STYLES
   =================================================== */

.hbc-single-booking {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.hbc-single-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 3px solid #2271b1;
}

.hbc-single-header h2 {
    margin: 0;
    font-size: 32px;
    color: #333;
}

.hbc-single-status {
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
}

.hbc-single-content {
    margin-bottom: 30px;
}

.hbc-view-group-bookings-btn {
    display: inline-block;
    padding: 12px 24px;
    background: #2271b1;
    color: #fff !important;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.3s;
}

.hbc-view-group-bookings-btn:hover {
    background: #135e96;
    color: #fff !important;
}

.hbc-single-section {
    margin-bottom: 30px;
    padding: 25px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.hbc-single-section h3 {
    margin: 0 0 20px 0;
    font-size: 20px;
    color: #2271b1;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f6fc;
}

.hbc-single-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hbc-info-row {
    display: flex;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.hbc-info-row:last-child {
    border-bottom: none;
}

.hbc-info-row.hbc-full-width {
    flex-direction: column;
}

.hbc-info-label {
    flex: 0 0 150px;
    font-weight: 600;
    color: #555;
}

.hbc-info-value {
    flex: 1;
    color: #333;
}

.hbc-info-value a {
    color: #2271b1;
    text-decoration: none;
}

.hbc-info-value a:hover {
    text-decoration: underline;
}

.hbc-file-link {
    display: inline-block;
    padding: 8px 15px;
    background: #f0f6fc;
    border: 1px solid #2271b1;
    border-radius: 4px;
    color: #2271b1;
    text-decoration: none;
    transition: all 0.3s;
}

.hbc-file-link:hover {
    background: #2271b1;
    color: #fff;
}

.hbc-series-info {
    background: #fffbf0;
    border-color: #f0b429;
}

.hbc-series-description {
    margin: 0 0 15px 0;
    color: #666;
}

.hbc-series-list {
    background: #fff;
    padding: 15px;
    border-radius: 4px;
    border: 1px solid #f0b429;
}

.hbc-series-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    margin-bottom: 8px;
    background: #f9f9f9;
    border-radius: 3px;
}

.hbc-series-item:last-child {
    margin-bottom: 0;
}

.hbc-series-date {
    font-weight: 600;
    color: #333;
}

.hbc-series-time {
    color: #666;
}

.hbc-series-link {
    padding: 6px 12px;
    background: #2271b1;
    color: #fff;
    text-decoration: none;
    border-radius: 3px;
}

.hbc-series-link:hover {
    background: #135e96;
    color: #fff;
}

.hbc-series-more {
    margin-top: 10px;
    margin-bottom: 0;
    text-align: center;
    color: #999;
    font-style: italic;
}

.hbc-single-actions {
    text-align: center;
    padding: 20px;
}

.hbc-back-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #f0f0f0;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
}

.hbc-back-btn:hover {
    background: #e0e0e0;
    color: #333;
}

/* Calendar View Link Styling */
.hbc-view-bookings-link {
    display: block;
    text-align: center;
    padding: 4px;
    margin-top: 4px;
    color: #2271b1;
    text-decoration: none;
    background: #f0f6fc;
    border-radius: 3px;
}

.hbc-view-bookings-link:hover {
    background: #2271b1;
    color: #fff;
}

.hbc-booking-indicator {
    cursor: pointer;
    text-decoration: none;
}

.hbc-booking-indicator:hover {
    opacity: 0.8;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hbc-agenda-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .hbc-agenda-filters {
        width: 100%;
        flex-direction: column;
        gap: 10px;
    }

    .hbc-agenda-filter {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
    }

    .hbc-agenda-filter select {
        width: 100%;
    }

    .hbc-agenda-item {
        flex-direction: column;
    }

    .hbc-agenda-time {
        width: 100%;
    }

    .hbc-agenda-meta {
        flex-direction: column;
        gap: 8px;
    }

    .hbc-single-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .hbc-info-row {
        flex-direction: column;
        gap: 5px;
    }

    .hbc-info-label {
        flex: none;
    }
}

/* Compact Agenda View */
.hbc-compact-agenda {
    max-width: 900px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.hbc-compact-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hbc-compact-item {
    border-bottom: 1px solid #e5e7eb;
}

.hbc-compact-item:last-child {
    border-bottom: none;
}

.hbc-compact-item a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    text-decoration: none;
    color: #1e293b;
    transition: background-color 0.15s ease;
}

.hbc-compact-item a:hover {
    background-color: #f1f5f9;
}

.hbc-compact-date {
    flex: 0 0 90px;
    font-weight: 600;
    color: #334155;
    white-space: nowrap;
}

.hbc-compact-time {
    flex: 0 0 80px;
    color: #64748b;
    white-space: nowrap;
}

.hbc-compact-purpose {
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hbc-compact-room {
    flex: 0 0 auto;
    color: #64748b;
    font-size: 0.9em;
    white-space: nowrap;
}

.hbc-compact-item.hbc-status-pending .hbc-compact-date {
    border-left: 3px solid #f59e0b;
    padding-left: 9px;
}

.hbc-compact-item.hbc-status-confirmed .hbc-compact-date {
    border-left: 3px solid #22c55e;
    padding-left: 9px;
}

.hbc-compact-empty {
    padding: 20px;
    text-align: center;
    color: #64748b;
}

@media (max-width: 600px) {
    .hbc-compact-item a {
        flex-wrap: wrap;
        gap: 4px 8px;
    }

    .hbc-compact-date {
        flex: 0 0 auto;
    }

    .hbc-compact-time {
        flex: 0 0 auto;
    }

    .hbc-compact-purpose {
        flex: 1 1 100%;
        order: 3;
    }

    .hbc-compact-room {
        flex: 1 1 100%;
        order: 4;
    }
}
