/* ========================================
   MEETING SESSIONS - CLEAN & IMPROVED
======================================== */

/* Wrapper for centering */
.mbp-meetings-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 40px 20px;
    background: #f8f9fa;
}

.mbp-meetings-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

/* Sessions Header - Centered */
.mbp-sessions-header {
    text-align: center;
    margin-bottom: 40px;
}

.mbp-sessions-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 10px 0;
    text-align: center;
}

/* Meetings Grid - Flexbox Centered */
.mbp-meetings-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-top: 30px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Meeting Card - Clean Design */
.mbp-meeting-card {
    flex: 0 1 380px;
    width: 380px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 28px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    text-align: left;
}

/* Make single card wider for better appearance */
.mbp-meeting-card:only-child {
    flex: 0 1 700px;
    width: 700px;
    max-width: 90%;
}

.mbp-meeting-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.12);
    border-color: #0073aa;
}

/* Card Title */
.mbp-meeting-card h3 {
    margin: 0 0 12px 0;
    color: #1a1a1a;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
}

/* Card Description */
.mbp-description {
    color: #666;
    margin: 0 0 20px 0;
    font-size: 15px;
    line-height: 1.6;
    flex-grow: 1;
}

/* Meeting Details - Duration & Price */
.mbp-meeting-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
}

.mbp-duration {
    color: #555;
    display: flex;
    align-items: center;
    gap: 6px;
}

.mbp-price {
    color: #0073aa;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Book Button - Improved */
.mbp-book-button {
    width: 100%;
    padding: 14px 20px;
    background: #0073aa;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 115, 170, 0.2);
}

.mbp-book-button:hover {
    background: #005a87;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 115, 170, 0.3);
}

.mbp-book-button:active {
    transform: translateY(0);
}

/* Progress Bar */
.mbp-progress-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 40px 0;
    padding: 0 20px;
}

.mbp-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mbp-progress-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 8px;
    transition: all 0.3s;
}

.mbp-progress-step.active .mbp-progress-number {
    background: #0073aa;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 115, 170, 0.3);
}

.mbp-progress-step.completed .mbp-progress-number {
    background: #28a745;
    color: white;
}

.mbp-progress-label {
    font-size: 13px;
    color: #666;
    text-align: center;
    font-weight: 500;
    margin-top: 4px;
}

.mbp-progress-step.active .mbp-progress-label {
    color: #0073aa;
    font-weight: 600;
}

.mbp-progress-line {
    width: 80px;
    height: 2px;
    background: #e0e0e0;
    margin: 0 15px 30px 15px;
}

.mbp-progress-line.completed {
    background: #28a745;
}

/* No Meetings */
.mbp-no-meetings {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
}

.mbp-no-meetings h3 {
    font-size: 20px;
    color: #333;
    margin: 0 0 8px 0;
}

.mbp-no-meetings p {
    color: #666;
    margin: 0;
}

/* ========================================
   BOOKING PAGE - CALENDAR
======================================== */

.mbp-booking-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.mbp-selected-meeting-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.mbp-selected-meeting-header h2 {
    margin: 0 0 15px 0;
    font-size: 28px;
}

.mbp-meeting-info {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.mbp-info-badge {
    background: rgba(255,255,255,0.2);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.mbp-booking-form-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.mbp-calendar-section,
.mbp-time-section {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.mbp-calendar-section h3,
.mbp-time-section h3 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 20px;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 10px;
}

/* Calendar Styles */
#mbp-calendar {
    width: 100%;
}

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

.mbp-calendar-nav {
    background: #0073aa;
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.mbp-calendar-nav:hover {
    background: #005a87;
}

.mbp-calendar-month {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.mbp-calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    margin-bottom: 10px;
}

.mbp-calendar-weekday {
    text-align: center;
    font-weight: bold;
    color: #666;
    font-size: 14px;
    padding: 8px 0;
}

.mbp-calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.mbp-calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
    background: #f8f9fa;
}

.mbp-calendar-day:hover {
    background: #e9ecef;
    border-color: #0073aa;
}

.mbp-calendar-day.disabled {
    color: #ccc;
    cursor: not-allowed;
    background: transparent;
}

.mbp-calendar-day.disabled:hover {
    background: transparent;
    border-color: transparent;
}

.mbp-calendar-day.selected {
    background: #0073aa;
    color: white;
    border-color: #0073aa;
    font-weight: bold;
}

.mbp-calendar-day.empty {
    cursor: default;
    background: transparent;
}

.mbp-calendar-day.empty:hover {
    background: transparent;
    border-color: transparent;
}

/* Time Slots */
.mbp-time-slots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.mbp-time-slot {
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: white;
    font-weight: 500;
}

.mbp-time-slot:hover {
    border-color: #0073aa;
    background: #f0f8ff;
}

.mbp-time-slot.selected {
    background: #0073aa;
    color: white;
    border-color: #0073aa;
    font-weight: bold;
}

.mbp-time-slot.booked {
    background: #f8f9fa;
    color: #999;
    cursor: not-allowed;
    border-color: #e0e0e0;
}

.mbp-time-slot.booked:hover {
    background: #f8f9fa;
    border-color: #e0e0e0;
}

.mbp-select-date-first {
    text-align: center;
    color: #999;
    font-style: italic;
    grid-column: 1 / -1;
}

/* Booking Summary */
.mbp-booking-summary {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.mbp-booking-summary h3 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 20px;
    border-bottom: 2px solid #28a745;
    padding-bottom: 10px;
}

.mbp-summary-content p {
    margin: 10px 0;
    color: #555;
    font-size: 16px;
}

.mbp-summary-price {
    font-size: 24px;
    color: #28a745;
    font-weight: bold;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid #e0e0e0;
}

.mbp-proceed-button {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.mbp-proceed-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

/* ========================================
   PAYMENT PAGE
======================================== */

.mbp-payment-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.mbp-selected-meeting {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.mbp-selected-meeting h3 {
    margin: 0 0 15px 0;
    font-size: 24px;
}

.mbp-booking-details-payment {
    background: rgba(255,255,255,0.1);
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
}

.mbp-booking-details-payment p {
    margin: 8px 0;
    font-size: 16px;
}

.mbp-selected-price {
    font-size: 28px;
    font-weight: bold;
    margin: 15px 0 0 0;
}

/* Section Titles */
.mbp-section-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 25px 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #0073aa;
}

/* Form Groups */
.mbp-form-group {
    margin-bottom: 20px;
}

.mbp-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.mbp-form-group input,
.mbp-form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.mbp-form-group input:focus,
.mbp-form-group select:focus {
    outline: none;
    border-color: #0073aa;
}

/* Payment Methods */
.mbp-payment-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0;
}

.mbp-payment-method {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.mbp-payment-method:hover {
    border-color: #0073aa;
    background: #f8f9fa;
}

.mbp-payment-method input[type="radio"] {
    margin-right: 12px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.mbp-payment-method input[type="radio"]:checked + .mbp-method-label {
    color: #0073aa;
    font-weight: bold;
}

.mbp-method-label {
    display: flex;
    align-items: center;
    font-size: 16px;
    width: 100%;
}

.mbp-method-icon {
    font-size: 24px;
    margin-right: 10px;
}

/* Stripe Element Styling */
.mbp-stripe-element {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    background: white;
    transition: border-color 0.3s;
}
    min-height: 45px;

.mbp-stripe-element:focus-within {
    border-color: #0073aa;
}

.mbp-card-errors {
    color: #fa755a;
    font-size: 14px;
    margin-top: 8px;
    min-height: 20px;
    font-weight: 500;
}

/* Payment Details Sections */
.mbp-payment-details {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

/* Info Box */
.mbp-info-box {
    background: #e7f3ff;
    border-left: 4px solid #0073aa;
    padding: 15px;
    margin: 15px 0;
    border-radius: 4px;
}

.mbp-info-box p {
    margin: 5px 0;
    color: #333;
}

/* Secure Notice */
.mbp-secure-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: #f0f0f0;
    border-radius: 6px;
    margin: 20px 0;
    color: #555;
    font-size: 14px;
}

.mbp-lock-icon {
    font-size: 18px;
}

/* Submit Button */
.mbp-submit-button {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.mbp-submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.mbp-submit-button:active {
    transform: translateY(0);
}

.mbp-submit-button:disabled {
    background: #ccc;
    cursor: not-allowed;
    box-shadow: none;
}

/* Success Message */
.mbp-success-message {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border: 2px solid #28a745;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.mbp-success-icon {
    width: 80px;
    height: 80px;
    background: #28a745;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    margin: 0 auto 20px;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.mbp-success-message h2 {
    color: #155724;
    margin: 20px 0;
    font-size: 28px;
}

.mbp-success-message p {
    color: #155724;
    font-size: 16px;
    margin: 10px 0;
}

.mbp-booking-details {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    text-align: left;
}

.mbp-booking-details p {
    margin: 10px 0;
    color: #333;
}

.mbp-back-button {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    background: #0073aa;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: background 0.3s;
}

.mbp-back-button:hover {
    background: #005a87;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mbp-meetings-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .mbp-meeting-card {
        width: 100%;
        max-width: 400px;
    }
    
    /* Single card on mobile - make it wider */
    .mbp-meeting-card:only-child {
        max-width: 500px;
    }
    
    .mbp-booking-form-container {
        grid-template-columns: 1fr;
    }
    
    .mbp-time-slots {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mbp-progress-bar {
        padding: 0 10px;
    }
    
    .mbp-progress-line {
        width: 50px;
    }
}

/* Extra small screens - phones in portrait */
@media (max-width: 480px) {
    .mbp-meeting-card {
        padding: 20px;
        max-width: 100%;
    }
    
    .mbp-meeting-card:only-child {
        max-width: 100%;
    }
    
    .mbp-meeting-card h3 {
        font-size: 20px;
    }
    
    .mbp-time-slots {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .mbp-time-slot {
        padding: 10px 8px;
        font-size: 14px;
    }
    
    .mbp-progress-step {
        width: 50px;
    }
    
    .mbp-progress-number {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
    
    .mbp-progress-label {
        font-size: 11px;
    }
    
    .mbp-progress-line {
        width: 30px;
    }
    
    .mbp-submit-button {
        font-size: 16px;
        padding: 14px;
    }
    
    .mbp-selected-meeting-header h2 {
        font-size: 20px;
    }
    
    .mbp-info-badge {
        font-size: 13px;
        padding: 6px 12px;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mbp-meeting-card {
    animation: fadeIn 0.5s ease-out;
}

.mbp-meeting-card:nth-child(1) { animation-delay: 0.1s; }
.mbp-meeting-card:nth-child(2) { animation-delay: 0.2s; }
.mbp-meeting-card:nth-child(3) { animation-delay: 0.3s; }
/* Discount Pricing Styles */
.mbp-regular-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9em;
    margin-right: 8px;
}

.mbp-discount-price {
    color: #28a745;
    font-weight: 700;
    font-size: 1.1em;
}

.mbp-savings {
    display: block;
    color: #d63638;
    font-weight: 600;
    font-size: 0.85em;
    margin-top: 4px;
}

/* Admin discount pricing */
.mbp-meetings-list td span[style*="line-through"] {
    margin-right: 8px;
}
