/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-13le1kqqld],
.components-reconnect-repeated-attempt-visible[b-13le1kqqld],
.components-reconnect-failed-visible[b-13le1kqqld],
.components-pause-visible[b-13le1kqqld],
.components-resume-failed-visible[b-13le1kqqld],
.components-rejoining-animation[b-13le1kqqld] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-13le1kqqld],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-13le1kqqld],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-13le1kqqld],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-13le1kqqld],
#components-reconnect-modal.components-reconnect-retrying[b-13le1kqqld],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-13le1kqqld],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-13le1kqqld],
#components-reconnect-modal.components-reconnect-failed[b-13le1kqqld],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-13le1kqqld] {
    display: block;
}


#components-reconnect-modal[b-13le1kqqld] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-13le1kqqld 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-13le1kqqld 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-13le1kqqld 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-13le1kqqld]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-13le1kqqld 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-13le1kqqld {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-13le1kqqld {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-13le1kqqld {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-13le1kqqld] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-13le1kqqld] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-13le1kqqld] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-13le1kqqld] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-13le1kqqld] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-13le1kqqld] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-13le1kqqld] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-13le1kqqld 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-13le1kqqld] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-13le1kqqld {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Ai/AiOrkestra.razor.rz.scp.css */
.orch-list[b-ysg27ed8ck] {
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 12px;
    padding: 8px;
    background: var(--mud-palette-surface);
}

@media (min-width: 960px) {
    .orch-list[b-ysg27ed8ck] {
        position: sticky;
        top: 80px;
        max-height: calc(100vh - 100px);
        overflow-y: auto;
    }
}

.orch-flow[b-ysg27ed8ck] {
    font-size: .72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--mud-palette-text-secondary);
    padding: 12px 8px 4px;
}

.orch-flow:first-child[b-ysg27ed8ck] {
    padding-top: 4px;
}

.orch-item[b-ysg27ed8ck] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
    font-size: .875rem;
}

.orch-item:hover[b-ysg27ed8ck] {
    background: var(--mud-palette-action-default-hover);
}

.orch-item.selected[b-ysg27ed8ck] {
    background: var(--mud-palette-primary-hover);
    font-weight: 600;
}

.orch-name[b-ysg27ed8ck] {
    flex: 1;
    min-width: 0;
}

.orch-dot[b-ysg27ed8ck] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex: none;
}

.orch-dot.on[b-ysg27ed8ck] {
    background: var(--mud-palette-success);
}

.orch-dot.off[b-ysg27ed8ck] {
    background: var(--mud-palette-error);
}

.orch-tag[b-ysg27ed8ck] {
    font-size: .68rem;
    padding: 1px 6px;
    border-radius: 8px;
    background: var(--mud-palette-info);
    color: var(--mud-palette-info-text);
    flex: none;
}

.orch-tag.dirty[b-ysg27ed8ck] {
    background: var(--mud-palette-warning);
    color: var(--mud-palette-warning-text);
}

.orch-pre[b-ysg27ed8ck] {
    white-space: pre-wrap;
    font-size: .8rem;
    margin: 0;
}

.orch-diff[b-ysg27ed8ck] {
    font-family: ui-monospace, Consolas, monospace;
    font-size: .78rem;
    white-space: pre-wrap;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 8px;
    overflow: hidden;
}

.orch-diff > div[b-ysg27ed8ck] {
    padding: 1px 8px;
}

.orch-diff .add[b-ysg27ed8ck] {
    background: rgba(46, 160, 67, .16);
}

.orch-diff .del[b-ysg27ed8ck] {
    background: rgba(248, 81, 73, .16);
    text-decoration: line-through;
    text-decoration-color: rgba(248, 81, 73, .5);
}

.orch-diff .same[b-ysg27ed8ck] {
    color: var(--mud-palette-text-secondary);
}

.orch-diff .skip[b-ysg27ed8ck] {
    color: var(--mud-palette-text-secondary);
    background: var(--mud-palette-background-gray);
    font-style: italic;
}

.orch-diff .sign[b-ysg27ed8ck] {
    display: inline-block;
    width: 1.2em;
    font-weight: 700;
}
/* /Components/Pages/Conversations/ConversationLogView.razor.rz.scp.css */
/* Görüşme ekranı (docs/ESNAFHAN.md §8.8): liste · mesajlar · müşteri paneli. Renkler MudBlazor tema değişkenlerinden
   (açık/koyu tema kendiliğinden). */

.conv-shell[b-xohcgomggm] {
    display: flex;
    min-height: 460px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 16px;
    overflow: hidden;
    background: var(--mud-palette-surface);
}

/* ---------------- Liste ---------------- */
.conv-list[b-xohcgomggm] {
    width: 340px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--mud-palette-lines-default);
    min-width: 0;
}

.conv-list-head[b-xohcgomggm] {
    padding: 10px 10px 6px;
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

.conv-chips[b-xohcgomggm] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px;
    margin-top: 6px;
}

.conv-more[b-xohcgomggm] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 8px;
    margin-top: 6px;
}

.conv-list-body[b-xohcgomggm] {
    flex: 1;
    overflow-y: auto;
}

.conv-row[b-xohcgomggm] {
    display: flex;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    border: 0;
    border-bottom: 1px solid var(--mud-palette-lines-default);
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
    font: inherit;
}

.conv-row:hover[b-xohcgomggm] { background: var(--mud-palette-action-default-hover); }
.conv-row.selected[b-xohcgomggm] { background: color-mix(in srgb, var(--mud-palette-primary) 10%, transparent); }

.conv-avatar[b-xohcgomggm] {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    background: var(--mud-palette-background-grey);
    color: var(--mud-palette-text-secondary);
}

.conv-avatar.known[b-xohcgomggm] { background: var(--mud-palette-primary); color: var(--mud-palette-primary-text); }
.conv-avatar.clinic[b-xohcgomggm] { background: var(--mud-palette-info); color: var(--mud-palette-info-text); }

.conv-row-main[b-xohcgomggm] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.conv-row-top[b-xohcgomggm], .conv-row-bottom[b-xohcgomggm] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.conv-name[b-xohcgomggm] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 14px;
}

.conv-row.unread .conv-name[b-xohcgomggm], .conv-row.unread .conv-preview[b-xohcgomggm] { font-weight: 700; color: var(--mud-palette-text-primary); }

.conv-time[b-xohcgomggm], .conv-sub[b-xohcgomggm] {
    font-size: 12px;
    color: var(--mud-palette-text-secondary);
    white-space: nowrap;
}

.conv-preview[b-xohcgomggm] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 13px;
    color: var(--mud-palette-text-secondary);
}

.conv-dot[b-xohcgomggm] {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--mud-palette-success);
    flex-shrink: 0;
}

.conv-tags[b-xohcgomggm] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 3px;
}

.conv-tags:empty[b-xohcgomggm] { display: none; }

.conv-tag[b-xohcgomggm] {
    font-size: 11px;
    line-height: 18px;
    padding: 0 7px;
    border-radius: 9px;
    border: 1px solid var(--mud-palette-lines-inputs);
    color: var(--mud-palette-text-secondary);
}

.conv-tag.danger[b-xohcgomggm] { border-color: var(--mud-palette-error); color: var(--mud-palette-error); }
.conv-tag.success[b-xohcgomggm] { border-color: var(--mud-palette-success); color: var(--mud-palette-success); }
.conv-tag.warning[b-xohcgomggm] { border-color: var(--mud-palette-warning); color: var(--mud-palette-warning); }

/* ---------------- Mesajlar ---------------- */
.conv-main[b-xohcgomggm] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.conv-empty[b-xohcgomggm] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.conv-head[b-xohcgomggm] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

.conv-head-main[b-xohcgomggm] { flex: 1; min-width: 0; }
.conv-head-name[b-xohcgomggm] { font-weight: 600; font-size: 16px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.conv-head-sub[b-xohcgomggm] { font-size: 12px; color: var(--mud-palette-text-secondary); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

.conv-strip[b-xohcgomggm] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 14px;
    font-size: 13px;
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

.conv-strip.info[b-xohcgomggm] { background: color-mix(in srgb, var(--mud-palette-info) 10%, transparent); }
.conv-strip.warning[b-xohcgomggm] { background: color-mix(in srgb, var(--mud-palette-warning) 12%, transparent); }
.conv-strip span[b-xohcgomggm] { flex: 1; }

.conv-messages[b-xohcgomggm] {
    flex: 1;
    overflow-y: auto;
    padding: 12px 16px;
    background: var(--mud-palette-background);
}

.conv-day[b-xohcgomggm] {
    display: flex;
    justify-content: center;
    margin: 12px 0 8px;
}

.conv-day span[b-xohcgomggm] {
    font-size: 12px;
    padding: 2px 10px;
    border-radius: 10px;
    background: var(--mud-palette-surface);
    color: var(--mud-palette-text-secondary);
    border: 1px solid var(--mud-palette-lines-default);
}

.conv-msg[b-xohcgomggm] {
    display: flex;
    margin-top: 8px;
}

.conv-msg.grouped[b-xohcgomggm] { margin-top: 2px; }
.conv-msg.in[b-xohcgomggm] { justify-content: flex-start; }
.conv-msg.out[b-xohcgomggm] { justify-content: flex-end; }

.conv-bubble[b-xohcgomggm] {
    max-width: min(72%, 640px);
    padding: 6px 10px 4px;
    border-radius: 12px;
    font-size: 14px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .06);
}

.conv-bubble.in[b-xohcgomggm] { background: var(--mud-palette-surface); border-top-left-radius: 4px; }
.conv-bubble.bot[b-xohcgomggm] { background: color-mix(in srgb, var(--mud-palette-primary) 16%, var(--mud-palette-surface)); border-top-right-radius: 4px; }
.conv-bubble.biz[b-xohcgomggm] { background: color-mix(in srgb, var(--mud-palette-success) 20%, var(--mud-palette-surface)); border-top-right-radius: 4px; }
.conv-msg.grouped .conv-bubble[b-xohcgomggm] { border-radius: 12px; }

.conv-sender[b-xohcgomggm] { font-size: 11px; font-weight: 600; color: var(--mud-palette-text-secondary); margin-bottom: 1px; }
.conv-text[b-xohcgomggm] { white-space: pre-wrap; overflow-wrap: anywhere; }
.conv-meta[b-xohcgomggm] { font-size: 11px; text-align: right; color: var(--mud-palette-text-secondary); margin-top: 1px; }
.conv-failed[b-xohcgomggm] { font-size: 12px; font-weight: 600; color: var(--mud-palette-error); }

/* ---------------- Cevap kutusu ---------------- */
.conv-compose[b-xohcgomggm] {
    padding: 8px 12px 6px;
    border-top: 1px solid var(--mud-palette-lines-default);
}

.conv-compose-row[b-xohcgomggm] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.conv-compose-row[b-xohcgomggm]  .conv-input { flex: 1; margin: 0; }

.conv-compose-hint[b-xohcgomggm] {
    font-size: 11px;
    color: var(--mud-palette-text-secondary);
    padding: 2px 0 0 44px;
}

/* ---------------- Müşteri paneli ---------------- */
.conv-side[b-xohcgomggm] {
    width: 300px;
    flex-shrink: 0;
    border-left: 1px solid var(--mud-palette-lines-default);
    overflow-y: auto;
}

.conv-side-inline[b-xohcgomggm] {
    max-height: 45%;
    overflow-y: auto;
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

.conv-side-body[b-xohcgomggm] { padding: 10px; display: flex; flex-direction: column; gap: 10px; }

.conv-card[b-xohcgomggm] {
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 12px;
    padding: 10px 12px;
}

.conv-card-title[b-xohcgomggm] {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--mud-palette-text-secondary);
    margin-bottom: 6px;
}

.conv-card-name[b-xohcgomggm] { font-weight: 600; font-size: 15px; }
.conv-card-sub[b-xohcgomggm] { font-size: 12px; color: var(--mud-palette-text-secondary); }
.conv-card-note[b-xohcgomggm] { font-size: 12px; color: var(--mud-palette-text-secondary); margin-top: 4px; }

.conv-kv[b-xohcgomggm] {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-top: 6px;
}

.conv-kv .neg[b-xohcgomggm] { color: var(--mud-palette-error); }

.conv-actions[b-xohcgomggm] { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }

.conv-order[b-xohcgomggm] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    border-top: 1px dashed var(--mud-palette-lines-default);
    font-size: 13px;
    color: inherit;
    text-decoration: none;
}

.conv-order:first-of-type[b-xohcgomggm] { border-top: 0; }
a.conv-order:hover[b-xohcgomggm] { color: var(--mud-palette-primary); }
.conv-order small[b-xohcgomggm] { color: var(--mud-palette-text-secondary); }

/* ---------------- Telefon ---------------- */
@media (max-width: 959.98px) {
    .conv-shell[b-xohcgomggm] { border-radius: 12px; }
    .conv-list[b-xohcgomggm] { width: 100%; border-right: 0; }
    .conv-bubble[b-xohcgomggm] { max-width: 86%; }
    .conv-more[b-xohcgomggm] { grid-template-columns: 1fr; }
}
/* /Components/Pages/HizmetSatisi/StaffDayGrid.razor.rz.scp.css */
/* Personel sütunlu takvimin eklentileri (docs/KUAFOR.md §7). Ortak yerleşim/renkler pts-schedule.css'te. */
.staff-head[b-f54d6wnldf] { border-top: 4px solid var(--staff-color); gap: 2px; }
.staff-dot[b-f54d6wnldf] { width: 10px; height: 10px; border-radius: 50%; background: var(--staff-color); }

/* Bekleme dilimi: kutunun içinde taralı — bu sürede personel boştur, müşteri salondadır. */
.staff-wait[b-f54d6wnldf] { position: absolute; left: 0; right: 0; pointer-events: none; z-index: 0;
    background: repeating-linear-gradient(45deg, color-mix(in srgb, var(--mud-palette-surface) 70%, transparent) 0 5px, transparent 5px 10px);
    border-top: 1px dashed color-mix(in srgb, var(--mud-palette-text-secondary) 50%, transparent);
    border-bottom: 1px dashed color-mix(in srgb, var(--mud-palette-text-secondary) 50%, transparent); }

/* Mola / izin bloğu. */
.staff-off[b-f54d6wnldf] { position: absolute; left: 2px; right: 2px; z-index: 1; box-sizing: border-box; border-radius: 6px; cursor: pointer;
    padding: 2px 6px; font-size: .75rem; overflow: hidden; color: var(--mud-palette-text-secondary);
    background: repeating-linear-gradient(135deg, var(--mud-palette-action-disabled-background) 0 6px,
        color-mix(in srgb, var(--mud-palette-action-disabled-background) 40%, transparent) 6px 12px);
    border: 1px solid var(--mud-palette-lines-default); }

/* "İşleme alındı" (müşteri koltukta). */
.staff-in-service[b-f54d6wnldf] { box-shadow: inset 4px 0 0 var(--mud-palette-info); }

/* Kutunun yazısı (çağıranın şablonu) taramanın ÜSTÜNDE kalsın. */
.staff-grid[b-f54d6wnldf]  .pts-sg-block-line { position: relative; z-index: 1; }
