/* ===== MIN BOOKING MODAL ===== */
.mbt-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5); z-index: 2000;
    display: flex; align-items: flex-end; justify-content: center;
}
@media (min-width: 768px) { .mbt-overlay { align-items: center; } }

.mbt-popup {
    background: #fff; border-radius: 20px 20px 0 0;
    width: 100%; max-width: 500px; max-height: 85vh;
    display: flex; flex-direction: column; overflow: hidden;
}
@media (min-width: 768px) { .mbt-popup { border-radius: 20px; } }

.mbt-header {
    display: flex; align-items: flex-start; justify-content: space-between;
    padding: 20px; border-bottom: 1px solid #f0f0f0; flex-shrink: 0;
}
.mbt-header h3 { font-size: 18px; font-weight: 600; margin: 0 0 4px; color: #1a1a1a; }
.mbt-subtitle { font-size: 13px; color: #888; margin: 0; }
.mbt-header button { background: none; border: none; padding: 8px; cursor: pointer; border-radius: 8px; color: #666; }

.mbt-body { flex: 1; overflow-y: auto; padding: 20px; -webkit-overflow-scrolling: touch; }
.mbt-section-title { font-size: 14px; font-weight: 600; color: #888; margin-bottom: 12px; text-transform: uppercase; }
.mbt-employees-list { display: flex; flex-direction: column; gap: 8px; }

.mbt-status-btn { padding: 4px 10px; border-radius: 20px; font-size: 11px; font-weight: 600; }
.mbt-status-btn.on { background: #e8f5e9; color: #2e7d32; }
.mbt-status-btn.off { background: #f5f5f5; color: #999; }

/* Настройки */
.mbt-settings-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5); z-index: 2200;
    display: flex; align-items: flex-end; justify-content: center;
}
@media (min-width: 768px) { .mbt-settings-overlay { align-items: center; } }
.mbt-settings-popup {
    background: #fff; border-radius: 20px 20px 0 0;
    width: 100%; max-width: 420px; max-height: 75vh;
    display: flex; flex-direction: column; overflow: hidden;
}
@media (min-width: 768px) { .mbt-settings-popup { border-radius: 20px; } }
.mbt-settings-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px; border-bottom: 1px solid #f0f0f0;
}
.mbt-settings-header h3 { font-size: 18px; font-weight: 600; margin: 0; }
.mbt-settings-header button { background: none; border: none; padding: 8px; cursor: pointer; color: #666; }
.mbt-settings-body { flex: 1; overflow-y: auto; padding: 20px; }
.mbt-employee-name { font-size: 16px; font-weight: 600; margin-bottom: 16px; }

.mbt-toggle-row {
    display: flex; align-items: flex-start; justify-content: space-between;
    gap: 12px; margin-bottom: 20px;
}
.mbt-toggle-label { font-size: 14px; font-weight: 500; }
.mbt-toggle-hint { font-size: 12px; color: #999; margin-top: 4px; }

.client-toggle { position: relative; display: inline-block; width: 48px; height: 26px; flex-shrink: 0; }
.client-toggle input { opacity: 0; width: 0; height: 0; }
.client-toggle-slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background: #ccc; transition: .3s; border-radius: 26px; }
.client-toggle-slider:before { position: absolute; content: ""; height: 22px; width: 22px; left: 2px; bottom: 2px; background: #fff; transition: .3s; border-radius: 50%; }
.client-toggle input:checked + .client-toggle-slider { background: #dd1847; }
.client-toggle input:checked + .client-toggle-slider:before { transform: translateX(22px); }

.mbt-disabled-section { opacity: 0.4; pointer-events: none; }
.mbt-disabled-section.mbt-enabled { opacity: 1; pointer-events: auto; }
.mbt-content-label { font-size: 13px; color: #666; margin-bottom: 10px; }
.mbt-input-row { display: flex; gap: 8px; margin-bottom: 12px; }
.mbt-value-input {
    width: 70px; padding: 10px; border: 1px solid #e0e0e0;
    border-radius: 10px; font-size: 14px; text-align: center;
    font-family: inherit;
}
.mbt-unit-select {
    padding: 10px 14px; border: 1px solid #e0e0e0;
    border-radius: 10px; font-size: 14px; background: #fff;
    font-family: inherit;
}
.mbt-preview {
    padding: 10px 14px; background: #f8f8f8;
    border-radius: 10px; font-size: 13px; color: #666;
}

.mbt-settings-footer { padding: 16px 20px; border-top: 1px solid #f0f0f0; }
.mbt-save-btn {
    width: 100%; padding: 16px; background: #dd1847; color: #fff;
    border: none; border-radius: 12px; font-size: 16px; font-weight: 600;
    cursor: pointer; font-family: inherit;
}
.mbt-save-btn:disabled { background: #ccc; cursor: not-allowed; }

/* Скелетоны */
.mbt-skeleton-item { display: flex; align-items: center; gap: 12px; padding: 12px; background: #f8f8f8; border-radius: 12px; }
.mbt-skeleton-avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; }
.mbt-skeleton-line { height: 12px; border-radius: 6px; background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; }
.mbt-skeleton-line-wide { width: 60%; }
.mbt-skeleton-status { width: 70px; height: 24px; border-radius: 20px; background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; }

@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }