/* assets/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

#mrb-booking-container.mrb-modern {
    font-family: 'Inter', sans-serif;
    max-width: 1100px;
    margin: 40px auto;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(60, 64, 67, .3), 0 4px 8px 3px rgba(60, 64, 67, .15);
    color: #3c4043;
}

.mrb-title {
    font-size: 26px;
    font-weight: 500;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e0e0e0;
    text-align: center;
}

.mrb-rooms {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    justify-content: center;
}

.mrb-room-card {
    padding: 16px 32px;
    border: 1px solid #dadce0;
    border-radius: 8px;
    cursor: pointer;
    transition: all .2s;
    text-align: center;
    min-width: 180px;
}

.mrb-room-card:hover {
    background: #f8f9fa;
    border-color: #d2e3fc;
}

.mrb-room-card.selected {
    background: #e8f0fe;
    border-color: #1a73e8;
    color: #1a73e8;
    box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .3);
}

.mrb-room-card .dashicons {
    font-size: 28px;
    margin-bottom: 8px;
    display: block;
}

/* Two-Column Layout */
.mrb-layout-wrapper {
    display: flex;
    gap: 30px;
    margin-top: 20px;
    animation: fadeIn 0.4s ease-out;
}

#mrb-calendar-column {
    flex: 1;
    min-width: 0;
}

#mrb-slots-column {
    width: 320px;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
}

.mrb-slots-header h3 {
    margin-top: 0;
    font-size: 18px;
    font-weight: 500;
}

#mrb-selected-date-display {
    font-size: 14px;
    color: #70757a;
    margin-bottom: 20px;
}

#mrb-available-slots-list {
    max-height: 500px;
    overflow-y: auto;
    margin-bottom: 20px;
}

.mrb-slot-item {
    padding: 12px;
    margin-bottom: 8px;
    background: #fff;
    border: 1px solid #dadce0;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s;
}

.mrb-slot-item:hover:not(.booked) {
    border-color: #1a73e8;
    background: #f1f8ff;
}

.mrb-slot-item.selected {
    background: #e8f0fe;
    border-color: #1a73e8;
    color: #1a73e8;
}

.mrb-slot-item.booked {
    background: #feeef0;
    border-color: #fad2cf;
    cursor: not-allowed;
    opacity: 0.7;
}

.mrb-slot-time {
    font-weight: 500;
}

.mrb-slot-status {
    font-size: 11px;
    color: #70757a;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Main Calendar Month View Only */
#mrb-calendar {
    background: #fff;
}

.fc-theme-standard .fc-scrollgrid {
    border-color: #e0e0e0 !important;
}

.fc-daygrid-day:hover {
    background-color: #f1f3f4 !important;
    cursor: pointer;
}

.fc-event {
    border-radius: 3px !important;
    font-size: 11px !important;
    padding: 1px 3px !important;
}

/* Modal - Perfect Center */
.mrb-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.mrb-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(2px);
}

.mrb-modal-content {
    position: relative;
    background: #fff;
    padding: 32px;
    border-radius: 8px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 24px 38px 3px rgba(0, 0, 0, .14), 0 9px 46px 8px rgba(0, 0, 0, .12);
    animation: modalIn 0.3s ease-out;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.mrb-modal-content h3 {
    margin-top: 0;
    font-weight: 500;
    font-size: 22px;
    margin-bottom: 20px;
}

.mrb-selected-summary {
    background: #f1f3f4;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 25px;
    font-size: 14px;
    color: #3c4043;
    line-height: 1.6;
}

.mrb-form-row {
    margin-bottom: 20px;
}

.mrb-form-row input {
    width: 100%;
    padding: 12px;
    border: 1px solid #dadce0;
    border-radius: 4px;
    font-size: 16px;
}

.mrb-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 30px;
}

.mrb-btn {
    padding: 12px 24px;
    border-radius: 4px;
    border: none;
    background: #1a73e8;
    color: #fff;
    font-weight: 500;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s;
}

.mrb-btn:hover {
    background: #1557b0;
    box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .3), 0 1px 3px 1px rgba(60, 64, 67, .15);
}

.mrb-btn-secondary {
    background: transparent;
    color: #1a73e8;
}

.mrb-btn-secondary:hover {
    background: #f8f9fa;
}

.mrb-hidden {
    display: none;
}

#mrb-message-container {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10001;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mrb-message {
    background: #323232;
    color: #fff;
    padding: 12px 24px;
    border-radius: 4px;
    box-shadow: 0 3px 5px -1px rgba(0, 0, 0, .2);
    font-size: 14px;
    min-width: 200px;
    text-align: center;
}

.mrb-message.error {
    background: #d93025;
}

.mrb-message.success {
    background: #1e8e3e;
}