

/* Start:/local/components/lubdoctor/schedule/templates/.default/style.css?17649333864657*/
/* ====== Палитра под стиль сайта ====== */
.ld-schedule{
    --brand: #06b6c9;
    --brand-700: #059bb0;
    --line: #e7ecef;
    --muted: #6b7280;
    --text: #0f172a;
    --bg: #ffffff;

    --rowHoverBg: rgba(6,182,201,.07);
    --todayColBg: rgba(6,182,201,.13);
    --todayColBorder: rgba(6,182,201,.35);

    max-width: 1240px;
    margin: 0 auto;
    padding: 12px 20px 36px;
    box-sizing: border-box;
    color: var(--text);
}

/* ====== навигация ====== */
.lds-nav{
    display:flex; gap:12px; align-items:center; justify-content:center;
    margin: 10px 0 16px;
}
.lds-week{min-width:220px;text-align:center;font-weight:800;font-size:18px}
.lds-btn{
    border:1px solid var(--line); background:#fff; border-radius:10px;
    padding:9px 12px; cursor:pointer; transition:all .12s ease;
}
.lds-btn:hover{border-color:var(--brand); box-shadow:0 0 0 3px rgba(6,182,201,.12)}
.ld-btn--disabled{opacity:.35; pointer-events:none}

/* ====== карточка-таблица ====== */
.lds-grid{
    border:1px solid var(--line); border-radius:14px; overflow:hidden;
    background:var(--bg);
    box-shadow: 0 8px 28px rgba(15,23,42,.04);
}
.lds-placeholder{padding:26px;color:var(--muted);text-align:center}

/* ====== таблица ====== */
.lds-table{width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed}
.lds-table thead th{
    position:sticky; top:0; z-index:3;
    background:#fff; border-bottom:1px solid var(--line);
    padding:14px 10px; font-weight:800; line-height:1.15; text-transform:none;
    text-align:center;
}

/* фиксируем первую колонку */
.lds-table th:first-child,.lds-table td:first-child{
    width: clamp(200px, 26vw, 340px);
    position: sticky; left: 0; z-index: 2; background: #fff;
    text-align:left;
}

/* вертикальные разделители */
.lds-table th + th,
.lds-table td + td { border-left: 1px solid var(--line); }

.lds-table td{border-bottom:1px solid var(--line);vertical-align:top}
.lds-day{padding:12px 12px;min-height:46px}
.lds-table th:not(:first-child), .lds-table td:not(:first-child) .lds-day{ text-align:center; }

/* ховер строки */
.lds-table tbody tr:hover td{ background: var(--rowHoverBg); }

/* выделение «сегодня» */
.is-today-col{ background: var(--todayColBg) !important; }
.lds-table thead th.is-today-col{
    border-bottom-color: var(--todayColBorder);
    box-shadow: inset 1px 0 0 var(--todayColBorder), inset -1px 0 0 var(--todayColBorder);
}
.lds-table td.is-today-col{
    box-shadow: inset 1px 0 0 var(--todayColBorder), inset -1px 0 0 var(--todayColBorder);
}

/* слоты */
.lds-slot{
    display:flex; gap:8px; align-items:center; justify-content:center;
    border:1px dashed var(--line); border-radius:10px; padding:8px 10px; margin-bottom:8px;
    transition:all .12s ease;
}
.lds-slot:hover{ border-color:var(--brand); background:rgba(6,182,201,.06); }
.lds-slot__time{ font-weight:500; white-space:nowrap; }

/* пустая ячейка */
.lds-empty{ color:#c1c7d0 }

/* кликабельные ячейки в админ-режиме */
.ld-cell--editable{ cursor:pointer; transition: background .12s ease; }
.ld-cell--editable:hover{ background: rgba(15,23,42,.04); }

/* попап */
.ld-popup__row{ display:flex; gap:12px; margin-bottom:10px; align-items:center }
.ld-popup__row label{ min-width:140px; color:#374151 }
.ld-popup__row input, .ld-popup__row select{
    border:1px solid var(--line); border-radius:10px; padding:9px 10px;
}
.ld-popup__row input:focus, .ld-popup__row select:focus{
    outline:none; border-color:var(--brand); box-shadow:0 0 0 3px rgba(6,182,201,.12);
}

/* ====== адаптив ====== */
@media (max-width:1200px){
    .ld-schedule{ padding-left:16px; padding-right:16px; }
}

/* < 1024px — шрифт специальности как в мобилке */
@media (max-width:1023px){
    .lds-table th:first-child,.lds-table td:first-child{ width: clamp(180px, 34vw, 260px); }
    .lds-week{ font-size:16px; min-width:180px; }
    .lds-table td:first-child strong{ font-size:14px; line-height:1.25; }
}

/* < 850px — дополнительные мобильные правки */
@media (max-width:849px){
    .lds-table th,.lds-table td{ padding-left:8px; padding-right:8px; }
    .lds-table th:first-child,.lds-table td:first-child{ width: clamp(160px, 40vw, 220px); }
    .lds-slot{ font-size:13px; }
}

/* очень узкие экраны ≤480px */
@media (max-width:480px){
    .lds-week{ font-size:15px; }
    .lds-btn{ padding:8px 10px; }
    .lds-table td:first-child strong{ font-size:13px; }
}

/* End */
/* /local/components/lubdoctor/schedule/templates/.default/style.css?17649333864657 */
