/* Back-office iskeleti (#60). Bootstrap'in üstüne yalnızca yerleşim. */

body {
    padding-top: 56px; /* fixed-top navbar */
}

.icerik-menulu {
    margin-left: 0;
}

@media (min-width: 768px) {
    .yan-menu {
        position: fixed;
        top: 56px;
        bottom: 0;
        left: 0;
        width: 230px;
        overflow-y: auto;
        background: var(--bs-body-bg);
        border-right: 1px solid var(--bs-border-color);
    }

    .icerik-menulu {
        margin-left: 230px;
    }
}

.yan-menu .nav-link {
    color: var(--bs-body-color);
    padding: .5rem 1rem;
}

.yan-menu .nav-link.active {
    background: var(--bs-primary-bg-subtle);
    color: var(--bs-primary-text-emphasis);
    font-weight: 500;
}

.log-mesaj {
    white-space: pre-wrap;
    word-break: break-word;
}

/* Günlük program gridi (#23): santral bazlı satır renkleri, iptal/onay işaretleri */
.tabulator .tabulator-row.santral-0 { background-color: #e8f1fb; }
.tabulator .tabulator-row.santral-1 { background-color: #fff6d6; }
.tabulator .tabulator-row.santral-2 { background-color: #e6f4e2; }
.tabulator .tabulator-row.santral-3 { background-color: #fde9dc; }
.tabulator .tabulator-row.satir-iptal { text-decoration: line-through; color: var(--bs-secondary-color); opacity: .7; }
.tabulator .tabulator-row.satir-onay { box-shadow: inset 4px 0 0 var(--bs-warning); }
.tabulator .tabulator-cell.tutamac { cursor: grab; }
.card.santral-0 { border-left: 4px solid #6ea8dc; }
.card.santral-1 { border-left: 4px solid #e0b93f; }
.card.santral-2 { border-left: 4px solid #7cbf6a; }
.card.santral-3 { border-left: 4px solid #e39a6b; }
