/* GoMeetMe Restaurant – Frontend Booking */
.gmr-booking-wrapper {
    max-width: 600px;
    margin: 30px auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #333;
}

.gmr-booking-header {
    background: #ff6b00;
    color: #fff;
    padding: 25px 30px;
    text-align: center;
}
.gmr-booking-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
}
.gmr-booking-header p {
    margin: 5px 0 0;
    font-size: 14px;
    opacity: 0.9;
}

/* Steps */
.gmr-steps {
    display: flex;
    background: #f5f5f5;
    border-bottom: 1px solid #e0e0e0;
    overflow-x: auto;
}
.gmr-step {
    flex: 1;
    text-align: center;
    padding: 12px 8px;
    font-size: 12px;
    color: #999;
    position: relative;
    white-space: nowrap;
}
.gmr-step span {
    display: inline-block;
    width: 22px;
    height: 22px;
    line-height: 22px;
    border-radius: 50%;
    background: #ddd;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 4px;
}
.gmr-step.active {
    color: #ff6b00;
}
.gmr-step.active span {
    background: #ff6b00;
}
.gmr-step.done span {
    background: #4caf50;
}
.gmr-step.done {
    color: #4caf50;
}

/* Body */
.gmr-booking-body {
    padding: 30px;
}
.gmr-step-panel {
    display: none;
}
.gmr-step-panel.active {
    display: block;
}
.gmr-step-panel h3 {
    margin: 0 0 20px;
    font-size: 20px;
    font-weight: 600;
}

/* Form */
.gmr-form-group {
    margin-bottom: 16px;
}
.gmr-form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 14px;
}
.gmr-form-group input,
.gmr-form-group textarea,
.gmr-form-group select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.2s;
    box-sizing: border-box;
}
.gmr-form-group input:focus,
.gmr-form-group textarea:focus,
.gmr-form-group select:focus {
    border-color: #ff6b00;
    outline: none;
}

/* Date & party size */
#gmr-date, #gmr-party-size {
    width: 100%;
    padding: 14px;
    font-size: 18px;
    border: 2px solid #eee;
    border-radius: 10px;
    box-sizing: border-box;
}

/* Slots grid */
.gmr-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
    margin-top: 10px;
}
.gmr-slot-card {
    background: #f5f5f5;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 14px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}
.gmr-slot-card:hover {
    border-color: #ff6b00;
    background: #fff5ee;
}
.gmr-slot-card.selected {
    border-color: #ff6b00;
    background: #ff6b00;
    color: #fff;
}
.gmr-slot-card .gmr-slot-time {
    font-size: 16px;
    font-weight: 700;
}
.gmr-slot-card .gmr-slot-table {
    font-size: 12px;
    margin-top: 4px;
    opacity: 0.8;
}
.gmr-slot-card.selected .gmr-slot-table {
    opacity: 0.9;
}

/* Summary box */
.gmr-summary-box, .gmr-confirm-box {
    background: #f5f5f5;
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.8;
}
.gmr-summary-box strong, .gmr-confirm-box strong {
    color: #ff6b00;
}

/* Buttons */
.gmr-step-nav {
    margin-top: 24px;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}
.gmr-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.gmr-btn-next, .gmr-btn-confirm {
    background: #ff6b00;
    color: #fff;
}
.gmr-btn-next:hover, .gmr-btn-confirm:hover {
    background: #e55f00;
}
.gmr-btn-back {
    background: #eee;
    color: #666;
}
.gmr-btn-back:hover {
    background: #ddd;
}
.gmr-btn-confirm {
    width: 100%;
    justify-content: center;
    font-size: 17px;
    padding: 14px;
}

/* Loading */
.gmr-loading {
    text-align: center;
    padding: 30px;
    color: #999;
    font-style: italic;
}
.gmr-empty-msg {
    text-align: center;
    padding: 30px;
    color: #c00;
    background: #fff5f5;
    border-radius: 10px;
}
.gmr-error-msg {
    background: #fff5f5;
    color: #c00;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-weight: 600;
}

/* Success */
.gmr-success-icon {
    width: 70px;
    height: 70px;
    background: #4caf50;
    color: #fff;
    font-size: 36px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
#gmr-step-success h3 {
    text-align: center;
    color: #4caf50;
}
#gmr-step-success p {
    text-align: center;
}
.gmr-success-detail {
    color: #666;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 480px) {
    .gmr-booking-body { padding: 20px 16px; }
    .gmr-steps { font-size: 10px; }
    .gmr-step { padding: 10px 4px; }
    .gmr-slots-grid { grid-template-columns: repeat(2, 1fr); }
    .gmr-booking-header h2 { font-size: 20px; }
}
