/**
 * My Booking Plugin - Frontend Stylesheet (UX Overhaul)
 * Version 4.2.1: Added specialist rating styles.
 */
:root { --mbp-primary-color: #C78C40; --mbp-primary-hover-bg: #FFFFFF; --mbp-primary-hover-text: #C78C40; --mbp-primary-hover-border: #C78C40; --mbp-bg-color: rgba(248, 248, 250, 0.9); --mbp-glass-bg: rgba(255, 255, 255, 0.4); --mbp-border-color: rgba(255, 255, 255, 0.6); --mbp-text-color: #1d1d1f; --mbp-text-light-color: #6e6e73; --mbp-star-color: #FFB400; --mbp-border-radius-lg: 24px; --mbp-border-radius-md: 16px; --mbp-border-radius-sm: 12px; --mbp-shadow: 0 4px 20px rgba(0,0,0,0.08); --mbp-shadow-dark: 0 8px 32px rgba(0,0,0,0.12); --mbp-backdrop-blur: 20px; --mbp-transition-speed: 0.3s; }
#mbp-booking-wizard-wrapper { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; padding: 20px; background: #f5f5f7; display: flex; justify-content: center; align-items: flex-start; min-height: 80vh; }
.mbp-booking-container { width: 100%; max-width: 850px; background: var(--mbp-glass-bg); border-radius: var(--mbp-border-radius-lg); border: 1px solid var(--mbp-border-color); box-shadow: var(--mbp-shadow-dark); backdrop-filter: blur(var(--mbp-backdrop-blur)); -webkit-backdrop-filter: blur(var(--mbp-backdrop-blur)); padding: 30px 40px; overflow: hidden; }
.mbp-progress-bar { display: flex; justify-content: space-between; margin-bottom: 40px; position: relative; } .mbp-progress-line { position: absolute; top: 18px; left: 0; width: 100%; height: 2px; background-color: rgba(0, 0, 0, 0.1); z-index: 1; } .mbp-progress-bar-step { display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; z-index: 2; width: 16.66%; } .mbp-progress-bar-step .step-icon { width: 36px; height: 36px; border-radius: 50%; background-color: var(--mbp-bg-color); border: 2px solid var(--mbp-border-color); display: flex; justify-content: center; align-items: center; font-weight: 600; color: var(--mbp-text-light-color); transition: all var(--mbp-transition-speed) ease; margin-bottom: 8px; } .mbp-progress-bar-step .step-label { font-size: 12px; color: var(--mbp-text-light-color); font-weight: 500; transition: color var(--mbp-transition-speed) ease; } .mbp-progress-bar-step.active .step-icon { background-color: var(--mbp-primary-color); border-color: var(--mbp-primary-color); color: #fff; transform: scale(1.1); } .mbp-progress-bar-step.active .step-label { color: var(--mbp-text-color); font-weight: 600; }
.mbp-steps-container { position: relative; min-height: 420px; } .mbp-form-step { opacity: 0; visibility: hidden; position: absolute; width: 100%; transition: opacity 0.4s ease-in-out, visibility 0.4s; } .mbp-form-step.active { opacity: 1; visibility: visible; position: relative; } .mbp-step-title { font-size: 26px; font-weight: 700; color: var(--mbp-text-color); margin-bottom: 30px; text-align: center; }
.mbp-grid-selection, .mbp-specialist-grid-selection { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 20px; position: relative; } .mbp-grid-item { background: rgba(255, 255, 255, 0.6); border: 1px solid var(--mbp-border-color); border-radius: var(--mbp-border-radius-md); padding: 25px 20px; text-align: center; cursor: pointer; transition: all var(--mbp-transition-speed) ease; box-shadow: var(--mbp-shadow); } .mbp-grid-item:hover { transform: translateY(-5px); box-shadow: var(--mbp-shadow-dark); background: rgba(255, 255, 255, 0.9); } .mbp-grid-item.selected { background: var(--mbp-primary-color); color: #fff; border-color: var(--mbp-primary-color); transform: translateY(-5px) scale(1.02); } .mbp-grid-item.selected .item-name { color: #fff; } .mbp-grid-item .item-name { font-weight: 600; color: var(--mbp-text-color); }
.mbp-specialist-grid-selection { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 25px; } .mbp-specialist-card { background: var(--mbp-glass-bg); border: 1px solid var(--mbp-border-color); border-radius: var(--mbp-border-radius-md); padding: 20px; text-align: center; cursor: pointer; transition: all var(--mbp-transition-speed) ease; box-shadow: var(--mbp-shadow-dark); } .mbp-specialist-card:hover { transform: scale(1.02); box-shadow: 0 10px 35px rgba(0,0,0,0.15); } .mbp-specialist-card.selected { border: 2px solid var(--mbp-primary-color); box-shadow: 0 0 15px rgba(199, 140, 64, 0.5); } .mbp-specialist-avatar { width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 15px; overflow: hidden; } .mbp-specialist-avatar img { width: 100%; height: 100%; object-fit: cover; } .mbp-specialist-avatar-placeholder { width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 15px; background: #eee; border: 3px solid var(--mbp-border-color); } .mbp-specialist-name { font-size: 18px; font-weight: 600; color: var(--mbp-text-color); margin-bottom: 5px; } .mbp-specialist-price { font-size: 16px; font-weight: 700; color: var(--mbp-primary-color); }
.mbp-list-selection { display: flex; flex-direction: column; gap: 10px; max-height: 350px; overflow-y: auto; padding-right: 10px; }
.mbp-list-item { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 18px 25px; background: rgba(255, 255, 255, 0.6); border: 1px solid var(--mbp-border-color); border-radius: var(--mbp-border-radius-md); cursor: pointer; transition: all var(--mbp-transition-speed) ease; text-align: left; }
.mbp-list-item:hover { transform: translateX(5px); box-shadow: var(--mbp-shadow); background: rgba(255, 255, 255, 0.9); }
.mbp-list-item.selected { background: var(--mbp-primary-color); border-color: var(--mbp-primary-color); color: #fff; }
.mbp-list-item.selected .item-name, .mbp-list-item.selected .item-description, .mbp-list-item.selected .item-duration, .mbp-list-item.selected .item-price { color: #fff; }
.mbp-list-item .item-details { flex-grow: 1; } .mbp-list-item .item-name { font-weight: 600; font-size: 16px; color: var(--mbp-text-color); } .mbp-list-item .item-description { font-size: 14px; color: var(--mbp-text-light-color); } .mbp-list-item .item-meta { text-align: right; flex-shrink: 0; margin-left: 20px; }
.mbp-list-item .item-duration, .mbp-list-item .item-price { font-size: 16px; font-weight: 600; color: var(--mbp-text-color); display: block; }
.mbp-list-item.selected .item-duration, .mbp-list-item.selected .item-price { color: #fff; }
.mbp-datetime-container { display: flex; gap: 30px; } .mbp-datepicker-wrapper { flex: 1.3; } .mbp-time-slots-wrapper { flex: 1; max-height: 380px; overflow-y: auto; padding-right: 10px; } .mbp-time-slots-title { font-size: 18px; margin-bottom: 15px; font-weight: 600; } .mbp-time-slots-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(80px, 1fr)); gap: 10px; } .mbp-time-slot { padding: 12px; border: 1px solid var(--mbp-border-color); border-radius: var(--mbp-border-radius-sm); text-align: center; cursor: pointer; transition: all var(--mbp-transition-speed) ease; background: rgba(255,255,255,0.5); font-weight: 500; } .mbp-time-slot:hover { background: rgba(199, 140, 64, 0.1); } .mbp-time-slot.selected { background: var(--mbp-primary-color); color: #fff; border-color: var(--mbp-primary-color); } .mbp-no-slots-msg { color: var(--mbp-text-light-color); }
.mbp-calendar { background: rgba(255,255,255,0.5); border-radius: var(--mbp-border-radius-md); padding: 20px; box-shadow: var(--mbp-shadow); } .mbp-calendar-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; } .mbp-calendar-nav { background: none; border: none; cursor: pointer; font-size: 24px; color: var(--mbp-text-color); padding: 5px 10px; border-radius: 8px; transition: background var(--mbp-transition-speed); } .mbp-calendar-nav:hover { background: rgba(0,0,0,0.05); } #mbp-calendar-month-year { font-size: 18px; font-weight: 600; } .mbp-calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; } .mbp-calendar-weekday, .mbp-day { text-align: center; padding: 10px 5px; font-weight: 500; } .mbp-calendar-weekday { color: var(--mbp-text-light-color); font-size: 12px; } .mbp-day { cursor: pointer; border-radius: 50%; transition: all var(--mbp-transition-speed) ease; border: 2px solid transparent; } .mbp-day.other-month { color: #ccc; cursor: not-allowed; } .mbp-day:not(.other-month):not(.disabled):hover { background: rgba(199, 140, 64, 0.1); } .mbp-day.selected { background: var(--mbp-primary-color); color: #fff; border-color: var(--mbp-primary-color); } .mbp-day.today { border-color: var(--mbp-text-light-color); } .mbp-day.disabled { color: #d1d1d6; cursor: not-allowed; text-decoration: line-through; }
#mbp-booking-summary { background: rgba(255, 255, 255, 0.5); border-radius: var(--mbp-border-radius-md); padding: 20px; margin-bottom: 25px; } .mbp-summary-item { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid rgba(0,0,0,0.05); } .mbp-summary-item:last-child { border-bottom: none; } .mbp-summary-label { font-weight: 500; color: var(--mbp-text-light-color); } .mbp-summary-value { font-weight: 600; color: var(--mbp-text-color); } .mbp-details-title { font-size: 18px; font-weight: 600; margin-bottom: 15px; } .mbp-form-row { display: flex; gap: 15px; margin-bottom: 15px; } .mbp-customer-details input { width: 100%; padding: 14px 18px; border-radius: var(--mbp-border-radius-sm); border: 1px solid transparent; background: #f5f5f5; font-size: 16px; transition: all var(--mbp-transition-speed) ease; } .mbp-customer-details input:focus { outline: none; border-color: var(--mbp-primary-color); box-shadow: 0 0 0 3px rgba(199, 140, 64, 0.2); } .mbp-login-prompt { text-align: center; margin-top: 15px; } .mbp-login-prompt a { color: var(--mbp-primary-color); text-decoration: none; font-weight: 600; }
.mbp-navigation-buttons { display: flex; justify-content: space-between; margin-top: 30px; border-top: 1px solid rgba(0,0,0,0.05); padding-top: 30px; } .mbp-button { padding: 14px 30px; border: 2px solid transparent; border-radius: var(--mbp-border-radius-md); font-size: 16px; font-weight: 600; cursor: pointer; transition: all var(--mbp-transition-speed) ease-in-out; } .mbp-button.mbp-prev-btn { background-color: var(--mbp-bg-color); color: var(--mbp-text-color); border-color: var(--mbp-border-color); } .mbp-button.mbp-prev-btn:hover { background-color: #e5e5e7; border-color: #d1d1d6; } .mbp-button.mbp-next-btn, .mbp-button.mbp-submit-btn { background-color: var(--mbp-primary-color); color: #fff; } .mbp-button.mbp-next-btn:hover, .mbp-button.mbp-submit-btn:hover { background-color: var(--mbp-primary-hover-bg); color: var(--mbp-primary-hover-text); border-color: var(--mbp-primary-hover-border); } .mbp-button:disabled { background-color: #ccc !important; border-color: #ccc !important; color: #888 !important; cursor: not-allowed; opacity: 0.7; }
.mbp-loader { border: 4px solid #f3f3f3; border-top: 4px solid var(--mbp-primary-color); border-radius: 50%; width: 40px; height: 40px; animation: spin 1s linear infinite; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); } @keyframes spin { 0% { transform: translate(-50%, -50%) rotate(0deg); } 100% { transform: translate(-50%, -50%) rotate(360deg); } }
@media (max-width: 768px) { .mbp-booking-container { padding: 20px; } .mbp-progress-bar-step .step-label { display: none; } .mbp-datetime-container { flex-direction: column; } .mbp-time-slots-wrapper { max-height: 200px; } .mbp-form-row { flex-direction: column; gap: 0; } } @media (max-width: 480px) { .mbp-grid-selection, .mbp-specialist-grid-selection, .mbp-time-slots-grid { grid-template-columns: 1fr 1fr; } .mbp-navigation-buttons { flex-direction: column-reverse; gap: 10px; } .mbp-button { width: 100%; } }
.mbp-payment-options { margin-top: 25px; } .mbp-payment-choice { display: flex; margin-bottom: 10px; } .mbp-payment-choice input[type="radio"] { display: none; } .mbp-payment-choice label { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 15px 20px; border: 2px solid var(--mbp-border-color); border-radius: var(--mbp-border-radius-md); background: rgba(255, 255, 255, 0.6); cursor: pointer; transition: all var(--mbp-transition-speed) ease; } .mbp-payment-choice input[type="radio"]:checked + label { border-color: var(--mbp-primary-color); background: rgba(199, 140, 64, 0.1); } .payment-label-title { font-weight: 600; } .payment-label-price { font-weight: 700; font-size: 18px; color: var(--mbp-primary-color); }
#mbp-login-modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.7); display: flex; justify-content: center; align-items: center; z-index: 10000; } #mbp-login-modal { background: #fff; padding: 30px 40px; border-radius: 12px; box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2); width: 100%; max-width: 400px; position: relative; text-align: center; } #mbp-login-modal h2 { margin-top: 0; margin-bottom: 10px; font-size: 24px; color: #333; } #mbp-login-modal p { margin-top: 0; margin-bottom: 25px; color: #666; } #mbp-login-modal .mbp-form-row { margin-bottom: 15px; } #mbp-login-modal input[type="text"], #mbp-login-modal input[type="password"] { width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 8px; box-sizing: border-box; } #mbp-login-modal .mbp-form-row-remember { display: flex; align-items: center; justify-content: flex-start; margin-bottom: 20px; font-size: 14px; color: #555; } #mbp-login-modal #mbp_remember_me { margin-right: 8px; } #mbp-login-modal .mbp-button { width: 100%; padding: 15px; font-size: 16px; font-weight: bold; } .mbp-close-modal-btn { position: absolute; top: 10px; right: 15px; background: none; border: none; font-size: 28px; color: #999; cursor: pointer; line-height: 1; } .mbp-error-message { background-color: #f8d7da; color: #721c24; padding: 10px; border: 1px solid #f5c6cb; border-radius: 8px; margin-bottom: 15px; text-align: left; }

/* ## FIX: Added specialist star rating styles ## */
.mbp-specialist-rating {
    margin: 8px 0;
    font-size: 16px;
    line-height: 1;
}
.mbp-specialist-rating .star-filled {
    color: var(--mbp-star-color);
}
.mbp-specialist-rating .star-empty {
    color: #ccc;
}

.mbp-employee-rating { display: inline-flex; gap: 8px; align-items: baseline; font-weight: 600; color: var(--mbp-text-color); }
.mbp-employee-rating__value { font-size: 18px; }
.mbp-employee-rating__count { font-size: 14px; color: var(--mbp-text-light-color); }

.mbp-employee-reviews { display: grid; grid-template-columns: 1fr; gap: 14px; margin: 16px 0; }
.mbp-review-card { background: var(--mbp-glass-bg); border: 1px solid var(--mbp-border-color); border-radius: var(--mbp-border-radius-md); padding: 14px 16px; box-shadow: var(--mbp-shadow); }
.mbp-review-card__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.mbp-review-card__title { font-size: 16px; color: var(--mbp-text-color); }
.mbp-review-card__rating { font-weight: 700; color: var(--mbp-primary-color); }
.mbp-review-card__meta { font-size: 12px; color: var(--mbp-text-light-color); display: flex; gap: 8px; margin-bottom: 6px; }
.mbp-review-card__content { color: var(--mbp-text-color); }

/* =Consultation Forms
-------------------------------------------------------------- */
.mbp-consultation-agreement-wrapper {
    background: rgba(255, 255, 255, 0.6);
    border-radius: var(--mbp-border-radius-md);
    padding: 25px;
    margin: 20px 0;
    border: 1px solid var(--mbp-border-color);
    box-shadow: var(--mbp-shadow);
}

.mbp-consultation-agreement-wrapper h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--mbp-text-color);
    margin-bottom: 20px;
    text-align: center;
}

.mbp-consultation-terms {
    margin-bottom: 25px;
}

.mbp-terms-content {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: var(--mbp-border-radius-sm);
    padding: 15px;
    margin-bottom: 10px;
    max-height: 200px;
    overflow-y: auto;
    font-size: 14px;
    line-height: 1.5;
}

.mbp-terms-toggle {
    text-align: center;
    margin: 0;
}

.mbp-terms-toggle a {
    color: var(--mbp-primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

.mbp-terms-toggle a:hover {
    text-decoration: underline;
}

.mbp-consultation-questions {
    margin-bottom: 25px;
}

.mbp-consultation-question {
    margin-bottom: 20px;
}

.mbp-consultation-question label {
    display: block;
    font-weight: 600;
    color: var(--mbp-text-color);
    margin-bottom: 8px;
    font-size: 15px;
}

.mbp-consultation-question .woocommerce-input-wrapper {
    display: block;
}

.mbp-consultation-question input[type="text"],
.mbp-consultation-question textarea,
.mbp-consultation-question select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--mbp-border-radius-sm);
    font-size: 15px;
    transition: all var(--mbp-transition-speed) ease;
    background: #fff;
}

.mbp-consultation-question input[type="text"]:focus,
.mbp-consultation-question textarea:focus,
.mbp-consultation-question select:focus {
    outline: none;
    border-color: var(--mbp-primary-color);
    box-shadow: 0 0 0 3px rgba(199, 140, 64, 0.2);
}

.mbp-consultation-question textarea {
    min-height: 80px;
    resize: vertical;
}

.mbp-consultation-question input[type="radio"],
.mbp-consultation-question input[type="checkbox"] {
    margin-right: 8px;
    margin-bottom: 5px;
}

.mbp-consultation-question label input[type="radio"],
.mbp-consultation-question label input[type="checkbox"] {
    margin-right: 8px;
}

.mbp-signature-field {
    border-top: 1px solid rgba(0,0,0,0.1);
    padding-top: 20px;
    margin-top: 20px;
}

.mbp-signature-field label {
    font-weight: 600;
    color: var(--mbp-text-color);
    margin-bottom: 8px;
    display: block;
}

.mbp-signature-field .woocommerce-input-wrapper input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--mbp-border-radius-sm);
    font-size: 15px;
    transition: all var(--mbp-transition-speed) ease;
}

.mbp-signature-field .woocommerce-input-wrapper input:focus {
    outline: none;
    border-color: var(--mbp-primary-color);
    box-shadow: 0 0 0 3px rgba(199, 140, 64, 0.2);
}

.required {
    color: #dc3545;
    font-weight: bold;
}

/* =Consultation Modal
-------------------------------------------------------------- */
/* Modal Overlay */
.mbp-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* Modal Dialog */
.mbp-modal-dialog {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    animation: mbpModalSlideIn 0.3s ease-out;
}

@keyframes mbpModalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Modal Header */
.mbp-modal-header {
    padding: 20px 25px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
    border-radius: 16px 16px 0 0;
}

.mbp-modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: var(--mbp-text-color);
}

.mbp-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #6c757d;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.mbp-modal-close:hover {
    background: #e9ecef;
    color: #495057;
}

/* Modal Body (scrollable) */
.mbp-modal-body {
    padding: 25px;
    overflow-y: auto;
    flex: 1;
}

/* Terms Section */
.mbp-terms-section {
    margin-bottom: 25px;
}

.mbp-terms-section h4 {
    margin: 0 0 15px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--mbp-text-color);
}

.mbp-terms-scroll {
    max-height: 150px;
    overflow-y: auto;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    background: #f8f9fa;
    font-size: 14px;
    line-height: 1.6;
    color: #6c757d;
}

/* Questions Section */
.mbp-questions-section {
    margin-bottom: 25px;
}

.mbp-questions-section h4 {
    margin: 0 0 20px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--mbp-text-color);
}

.mbp-consultation-question {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    background: #fff;
    transition: all 0.2s ease;
}

.mbp-consultation-question:hover {
    border-color: var(--mbp-primary-color);
    box-shadow: 0 2px 8px rgba(199, 140, 64, 0.1);
}

.mbp-consultation-question.mbp-error {
    border-color: #dc3545;
    background: #fff5f5;
}

.mbp-consultation-question label {
    display: block;
    font-weight: 600;
    color: var(--mbp-text-color);
    margin-bottom: 8px;
    font-size: 15px;
}

.mbp-question-input input[type="text"],
.mbp-question-input textarea,
.mbp-question-input select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: all var(--mbp-transition-speed) ease;
    background: #fff;
}

.mbp-question-input input[type="text"]:focus,
.mbp-question-input textarea:focus,
.mbp-question-input select:focus {
    outline: none;
    border-color: var(--mbp-primary-color);
    box-shadow: 0 0 0 3px rgba(199, 140, 64, 0.2);
}

.mbp-question-input textarea {
    min-height: 60px;
    resize: vertical;
}

.mbp-question-input input[type="radio"],
.mbp-question-input input[type="checkbox"] {
    margin-right: 8px;
    margin-bottom: 8px;
}

.mbp-question-input label {
    display: inline-block;
    font-weight: normal;
    margin-bottom: 5px;
    cursor: pointer;
}

/* Signature Section */
.mbp-signature-section {
    border-top: 1px solid #e9ecef;
    padding-top: 20px;
    margin-top: 20px;
}

.mbp-signature-section label {
    display: block;
    font-weight: 600;
    color: var(--mbp-text-color);
    margin-bottom: 8px;
    font-size: 15px;
}

.mbp-signature-section input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    transition: all var(--mbp-transition-speed) ease;
}

.mbp-signature-section input:focus {
    outline: none;
    border-color: var(--mbp-primary-color);
    box-shadow: 0 0 0 3px rgba(199, 140, 64, 0.2);
}

/* Modal Footer */
.mbp-modal-footer {
    padding: 20px 25px;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    background: #f8f9fa;
    border-radius: 0 0 16px 16px;
}

.mbp-button-secondary {
    background: #6c757d;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mbp-button-secondary:hover {
    background: #5a6268;
}

.mbp-button-primary {
    background: var(--mbp-primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mbp-button-primary:hover {
    background: var(--mbp-primary-hover-bg);
    color: var(--mbp-primary-hover-text);
    border: 1px solid var(--mbp-primary-hover-border);
}

/* Prevent body scroll when modal open */
body.mbp-modal-open {
    overflow: hidden;
}

/* Trigger Notice */
.mbp-consultation-notice {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.mbp-notice-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.mbp-notice-text {
    flex: 1;
    font-weight: 500;
    color: #856404;
}

.mbp-consultation-notice .mbp-button {
    background: var(--mbp-primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.mbp-consultation-notice .mbp-button:hover {
    background: var(--mbp-primary-hover-bg);
    color: var(--mbp-primary-hover-text);
    border: 1px solid var(--mbp-primary-hover-border);
}

/* Completion Status */
.mbp-consultation-completed {
    background: #d4edda;
    border: 1px solid #28a745;
    border-radius: 12px;
    padding: 15px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #155724;
    font-weight: 500;
}

.mbp-completed-icon {
    font-size: 20px;
    flex-shrink: 0;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .mbp-modal-dialog {
        width: 95%;
        max-height: 90vh;
        margin: 20px;
    }
    
    .mbp-modal-header,
    .mbp-modal-body,
    .mbp-modal-footer {
        padding: 15px 20px;
    }
    
    .mbp-terms-scroll {
        max-height: 120px;
    }
    
    .mbp-consultation-notice {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .mbp-notice-text {
        margin-bottom: 10px;
    }
    
    .mbp-modal-footer {
        flex-direction: column;
    }
    
    .mbp-button-secondary,
    .mbp-button-primary {
        width: 100%;
    }
}