

/* Start:/local/templates/logicloud.health_s1/components/bitrix/news.list/making.services/style.css?179266591116117*/
:root {
    --main-color: #006CDC; 
    --main-color-hover: #151b54; 
    --textPrimiryBlack: #1A1A1A;
    --borderGreyColor: #e5e7eb; 
    --bgLightGrey: #f9fafb; 
    --dangerColor: #dc2626;
    --omsColor: #0369a1; 
    --omsBg: #e0f2fe;
}

#booking-app { 
    font-family: inherit; 
    color: var(--textPrimiryBlack); 
    min-height: 680px; 
    padding-bottom: 100px; 
}

#step-1-content {
    min-height: 560px;
}

/* СТЕППЕР */
.bauman-stepper { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; padding-bottom: 20px; overflow-x: auto; }
.step { display: flex; flex-direction: column; align-items: center; gap: 8px; opacity: 0.4; transition: 0.3s; min-width: 80px; }
.step.active { opacity: 1; }
.step.active .step-circle { background: var(--main-color); color: #fff; border-color: var(--main-color); }
.step.active .step-label { font-weight: bold; color: var(--main-color); }
.step-circle { width: 36px; height: 36px; border-radius: 50%; border: 2px solid #9ca3af; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 16px; background: #fff; color: #9ca3af; transition: 0.3s; }
.step-label { font-size: 13px; color: #9ca3af; white-space: nowrap; }
.step-line { flex-grow: 1; height: 2px; background: var(--borderGreyColor); margin: 0 15px; position: relative; top: -12px; }

.step-content { display: none; animation: fadeIn 0.3s ease; }
.step-content.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.step-title { margin-bottom: 25px; font-size: 24px; font-weight: 600; color: var(--textPrimiryBlack); }
.btn-back { background: none; border: none; color: var(--main-color); cursor: pointer; padding: 0; margin-bottom: 20px; font-weight: 500; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; transition: 0.2s; }
.btn-back:hover { color: var(--main-color-hover); transform: translateX(-3px); }

/* БАННЕР ПМО */
.pmo-info-banner {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-left: 4px solid #0284c7;
    border-radius: 12px;
    padding: 14px 18px;
    color: #0369a1;
    font-size: 14px;
    line-height: 1.45;
}
.pmo-info-icon { font-size: 22px; color: #0284c7; flex-shrink: 0; }
.pmo-info-text strong { color: #0c4a6e; font-weight: 700; }
.pmo-step3-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 13px;
    color: #475569;
    margin-bottom: 16px;
    line-height: 1.4;
}
.pmo-step3-notice i { color: #0284c7; font-size: 16px; flex-shrink: 0; }

/* ПАНЕЛЬ ФИЛЬТРОВ И ГАРАНТИЯ ПРИОРИТЕТА ВЫПАДАЮЩИХ СПИСКОВ */
.filter-panel { 
    background: #fff; 
    padding: 20px; 
    border-radius: 12px; 
    border: 1px solid var(--borderGreyColor); 
    box-shadow: 0 4px 15px rgba(0,0,0,0.02); 
    position: relative !important;
    overflow: visible !important;
}
.filter-panel .row { 
    overflow: visible !important; 
    position: relative;
}
.filter-panel [class*="col-"] { 
    overflow: visible !important; 
    position: relative;
}


.filter-label { font-size: 12px; color: #6b7280; font-weight: 600; margin-bottom: 6px; display: block; text-transform: uppercase; }
.form-control { border-radius: 8px; border: 1px solid var(--borderGreyColor); font-size: 14px; height: 44px; }
.custom-checkbox { display: flex; align-items: center; cursor: pointer; position: relative; gap: 10px; user-select: none; }
.custom-checkbox input { position: absolute; opacity: 0; cursor: pointer; height: 0; width: 0; }
.checkmark { height: 22px; width: 22px; background-color: #fff; border: 2px solid var(--borderGreyColor); border-radius: 6px; transition: 0.2s; display: flex; align-items: center; justify-content: center; }
.custom-checkbox input:checked ~ .checkmark { background-color: var(--main-color); border-color: var(--main-color); }
.checkmark:after { content: ""; display: none; width: 5px; height: 10px; border: solid white; border-width: 0 2px 2px 0; transform: rotate(45deg); margin-bottom: 2px; }
.custom-checkbox input:checked ~ .checkmark:after { display: block; }
.cb-text { font-size: 14px; font-weight: 500; }

/* КАСТОМНЫЕ СЕЛЕКТЫ */
.c-select { position: relative; width: 100%; font-family: inherit; }
.c-select.open { z-index: 2 !important; }

.c-select-head { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    background: #fff; 
    padding: 0 14px; 
    border: 1px solid var(--borderGreyColor); 
    border-radius: 8px; 
    font-size: 14px; 
    color: #111827; 
    height: 44px; 
    cursor: pointer; 
    transition: 0.2s; 
    user-select: none; 
}
.c-select-head:hover { border-color: #9ca3af; }
.c-select.open .c-select-head { 
    border-color: var(--main-color); 
    border-bottom-left-radius: 0; 
    border-bottom-right-radius: 0; 
    box-shadow: 0 0 0 3px rgba(0,108,220,0.1); 
}
.c-select-head span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 90%; }
.c-select-head i { font-size: 12px; color: #9ca3af; transition: 0.2s; }
.c-select.open .c-select-head i { transform: rotate(180deg); }

.c-select-body { 
    display: none; 
    position: absolute; 
    top: 100%; 
    left: 0; 
    width: 100%;
    min-width: 280px; 
    max-width: 420px; 
    background: #ffffff !important; 
    border: 1px solid var(--main-color) !important; 
    border-top: none !important; 
    border-bottom-left-radius: 10px !important; 
    border-bottom-right-radius: 10px !important; 
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.22) !important; 
    box-sizing: border-box !important; 
    animation: selectDrop 0.2s ease; 
}
.c-select.open .c-select-body { display: block !important; }
@keyframes selectDrop { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }

.c-select-search { 
    width: 100%; 
    border: none; 
    border-bottom: 1px solid var(--borderGreyColor); 
    padding: 11px 14px; 
    font-size: 13px; 
    font-family: inherit; 
    outline: none; 
    background: #f8fafc; 
    box-sizing: border-box;
}

.c-select-list { 
    list-style: none; 
    margin: 0; 
    padding: 4px 0 8px 0; 
    max-height: 340px; 
    overflow-y: auto !important; 
    overscroll-behavior: contain;
    box-sizing: border-box;
}
.c-select-list li { 
    padding: 9px 14px; 
    font-size: 13px; 
    line-height: 1.4; 
    color: #374151; 
    cursor: pointer; 
    transition: 0.15s; 
    border-bottom: 1px solid #f1f5f9; 
    white-space: normal; 
    word-break: normal; 
    overflow-wrap: break-word;
}
.c-select-list li:last-child { border-bottom: none; }
.c-select-list li:hover { background: #e0f2fe; color: var(--main-color); }
.c-select-list li.active { background: var(--main-color); color: #fff; font-weight: 600; }

.c-select-list::-webkit-scrollbar { width: 6px !important; display: block !important; }
.c-select-list::-webkit-scrollbar-track { background: #f8fafc; }
.c-select-list::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }
.c-select-list::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

@media (max-width: 768px) {
    .c-select-body { width: 100%; min-width: 100%; max-width: 100%; }
}

/* БЛОКИ РЕЗУЛЬТАТОВ И АККОРДЕОНЫ (ПОНИЖЕННЫЙ СЛОЙ, ЧТОБЫ НЕ ПЕРЕКРЫВАТЬ СЕЛЕКТЫ) */
#services-empty-state,
#services-loading,
#services-results,
.accordion-box {
    position: relative !important;
    z-index: 1 !important;
}

.empty-state-box { text-align: center; padding: 40px 20px; background: #f9fafb; border: 1px dashed #d1d5db; border-radius: 12px; color: #6b7280; margin-top: 20px; }
.empty-state-box i { font-size: 32px; margin-bottom: 15px; color: #9ca3af; }
.accordion-box { border: 1px solid var(--borderGreyColor); border-radius: 12px; margin-bottom: 15px; background: #fff; }
.acc-header { padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; background: #f8fafc; transition: 0.2s; }
.acc-header h4 { margin: 0; font-size: 16px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.acc-arrow { transition: transform 0.3s; color: #9ca3af; }
.accordion-box.open .acc-arrow { transform: rotate(180deg); }
.acc-body { display: none; padding: 15px 20px; border-top: 1px solid var(--borderGreyColor); background: #ffffff; }
.accordion-box.open .acc-body { display: block; }

.services-grid { display: flex; flex-direction: column; gap: 10px; }
.service-card { display: flex; justify-content: space-between; align-items: center; background: #fff; border: 1px solid var(--borderGreyColor); border-radius: 10px; padding: 16px; transition: 0.2s; }
.service-card:hover { border-color: var(--main-color); box-shadow: 0 4px 12px rgba(0,0,0,0.04); }
.service-card.s-disabled { background: #f9fafb; opacity: 0.8; }
.srv-info h4 { margin: 0 0 6px 0; font-size: 15px; font-weight: 500; }
.srv-meta { display: flex; gap: 15px; font-size: 13px; color: #6b7280; align-items: center; }
.badge-oms { background: var(--omsBg); color: var(--omsColor); padding: 2px 8px; border-radius: 12px; font-size: 11px; font-weight: bold; }
.badge-price { background: #ecfdf5; color: #065f46; padding: 2px 8px; border-radius: 12px; font-size: 11px; font-weight: bold; }

.btn-select { padding: 8px 18px; background: #fff; border: 1px solid var(--main-color); color: var(--main-color); border-radius: 8px; cursor: pointer; font-weight: 500; font-size: 13px; transition: 0.2s; white-space: nowrap; }
.btn-select:hover { background: var(--main-color); color: #fff; }
.btn-select:disabled { border-color: #d1d5db; color: #9ca3af; background: #f3f4f6; cursor: not-allowed; }
.btn-select-outline { border-color: #0369a1; color: #0369a1; }
.btn-select-outline:hover { background: #0369a1; color: #fff; }

.doc-card { background: #fff; border: 1px solid var(--borderGreyColor); border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 15px; height: 100%; }
.doc-header { display: flex; gap: 15px; align-items: center; }
.doc-header img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; object-position: top; }
.doc-header .prof { font-size: 11px; color: #6b7280; text-transform: uppercase; margin-bottom: 4px; display: block; }
.doc-header h4 { margin: 0; font-size: 16px; font-weight: 600; }
.doc-schedule-status { font-size: 13px; padding: 10px; background: var(--bgLightGrey); border-radius: 8px; text-align: center; color: #4b5563; min-height: 40px; display: flex; align-items: center; justify-content: center; }
.doc-schedule-status.no-slots { color: var(--dangerColor); background: #fef2f2; }
.doc-schedule-status.has-slots { color: #059669; background: #ecfdf5; }

/* ШАГ 3 И ПАНЕЛЬ ОФОРМЛЕНИЯ */
.booking-panel { background: #fff; padding: 25px; border-radius: 16px; border: 1px solid var(--borderGreyColor); height: 100%; }
.panel-title { margin-top: 0; font-size: 18px; font-weight: 600; }
.booking-summary { background: var(--bgLightGrey); padding: 15px; border-radius: 8px; font-size: 14px; display: flex; flex-direction: column; gap: 8px; border-left: 3px solid var(--main-color); }
.pills-container { display: flex; flex-wrap: wrap; gap: 8px; }
.bw-pill { padding: 10px 16px; border: 1px solid var(--borderGreyColor); border-radius: 8px; font-size: 14px; cursor: pointer; background: #fff; transition: 0.2s; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }
.bw-pill:hover { border-color: var(--main-color); color: var(--main-color); box-shadow: 0 2px 8px rgba(31,41,119,0.1); }
.bw-pill.active { background: var(--main-color); color: #fff; border-color: var(--main-color); }

.form-group { margin-bottom: 15px; }
.form-control-ro, .form-control { width: 100%; padding: 10px 12px; border-radius: 8px; font-family: inherit; font-size: 14px; }
.form-control-ro { border: 1px solid transparent; background: var(--bgLightGrey); color: #4b5563; }
.btn-main-action { width: 100%; padding: 14px; background: var(--main-color); color: #fff; border: none; border-radius: 8px; font-weight: 600; font-size: 15px; cursor: pointer; transition: 0.2s; }
.btn-main-action:not(:disabled):hover { background: var(--main-color-hover); box-shadow: 0 4px 12px rgba(31,41,119,0.2); }
.btn-main-action:disabled { opacity: 0.5; cursor: not-allowed; }
.alert-info-light { background: #e0f2fe; color: #0369a1; padding: 12px; border-radius: 8px; font-size: 13px; margin-bottom: 0px; }
.auth-required-box { background: #f8fafc; padding: 25px; border-radius: 12px; text-align: center; border: 1px dashed #cbd5e1; }

.tt-wrapper { position: relative; display: inline-block; }
.tt-wrapper::after { content: attr(data-tooltip); position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%) translateY(5px); background: #111827; color: #fff; padding: 8px 12px; border-radius: 6px; font-size: 12px; white-space: nowrap; opacity: 0; pointer-events: none; transition: 0.2s; z-index: 10; }
.tt-wrapper:hover::after { opacity: 1; transform: translateX(-50%) translateY(-5px); }

/* КАРТОЧКА ПАЦИЕНТА */
.patient-details-card { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.pd-row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; border-bottom: 1px dashed #e2e8f0; padding-bottom: 6px; }
.pd-row:last-child { border-bottom: none; padding-bottom: 0; }
.pd-label { color: #64748b; font-weight: 500; }
.pd-val { color: #0f172a; text-align: right; }
.badge-status-green { background: #dcfce7; color: #15803d; padding: 2px 8px; border-radius: 6px; font-size: 11px; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.badge-status-neutral { background: #f1f5f9; color: #64748b; padding: 2px 8px; border-radius: 6px; font-size: 11px; font-weight: 500; }
.panel-subtitle { font-size: 14px; font-weight: 600; color: #334155; margin: 0 0 12px 0; display: flex; align-items: center; gap: 6px; }

/* УВЕДОМЛЕНИЯ ПО ЦЕНТРУ ЭКРАНА */
#bauman-toast-container { 
    position: fixed; 
    top: 24px; 
    left: 50%; 
    transform: translateX(-50%); 
    z-index: 10000; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 10px; 
    pointer-events: none; 
}

/* КАРТОЧКА ЖИВОЙ ОЧЕРЕДИ (ШАГ 3) */
.live-queue-hero-card {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #bae6fd;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.06);
    margin-top: 8px;
}
.lqh-head { 
    display: flex; 
    gap: 16px; 
    align-items: center; 
    margin-bottom: 16px; 
}
.lqh-icon { 
    width: 50px; 
    height: 50px; 
    border-radius: 50%; 
    background: #0284c7; 
    color: #fff; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 20px; 
    flex-shrink: 0; 
}
.lqh-head h3 { 
    margin: 0 0 4px 0; 
    font-size: 18px; 
    font-weight: 700; 
    color: #0369a1; 
}
.lqh-head p { 
    margin: 0; 
    font-size: 13px; 
    color: #475569; 
    line-height: 1.4; 
}
.lqh-hours-box { 
    background: #ffffff; 
    border: 1px solid #bae6fd; 
    padding: 12px 16px; 
    border-radius: 10px; 
    font-size: 14px; 
    color: #0369a1; 
    display: inline-flex; 
    align-items: center; 
    gap: 8px; 
    margin-bottom: 12px; 
}
.lqh-hint { 
    font-size: 12px; 
    color: #64748b; 
    display: flex; 
    align-items: center; 
    gap: 6px; 
}

/* Анимация плашек времени */
.pills-container .bw-pill { animation: pillPop 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
@keyframes pillPop { 0% { transform: scale(0.9); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
/* End */
/* /local/templates/logicloud.health_s1/components/bitrix/news.list/making.services/style.css?179266591116117 */
