:root {
    --theme-header-red: #e53d43;
    --theme-header-red-dark: #cf3138;
    --theme-header-test: #5f6368;
    --theme-header-test-dark: #424242;
    --theme-danger-button-bg: #7c8793;
    --theme-danger-button-bg-dark: #697480;
    --theme-danger-button-bg-hover: #5c6671;
    --theme-danger-button-border: #646f7b;
    --theme-danger-button-border-hover: #58626d;
    --theme-danger-button-soft: rgba(124, 135, 147, 0.25);
    --theme-sidebar: #333333;
    --theme-sidebar-soft: #424242;
    --theme-accent: #55bab7;
    --theme-page-bg: #f1f4f5;
    --theme-surface: #ffffff;
    --theme-text: #424242;
    --theme-text-muted: #5f6368;
    --theme-navy: #3f51b5;
    --theme-navy-dark: #2f407d;

    --bs-danger: var(--theme-header-red);
    --bs-danger-rgb: 229, 61, 67;
    --bs-pink: var(--theme-header-red);
    --bs-pink-rgb: 229, 61, 67;
}

.text-bg-danger {
    background-color: var(--theme-header-red) !important;
    color: #fff !important;
}

.nobet-inline-alert {
    border: 1px solid #f1b0b7;
    border-left-width: 5px;
    border-radius: 14px;
    background: linear-gradient(180deg, #fff7f7, #ffe9ea);
    color: #7f1d1d;
    box-shadow: 0 10px 24px rgba(176, 42, 55, 0.08);
}

.nobet-inline-alert-warning {
    border-color: #f1b0b7;
}

.nobet-inline-alert-icon {
    font-size: 1.1rem;
    line-height: 1.4;
    color: #b02a37;
}

html,
body {
    min-height: 100%;
}

body {
    background-color: var(--theme-page-bg);
    color: var(--theme-text-muted);
    font-family: 'Roboto', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.app-body {
    min-height: 100vh;
}

.app-environment-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: fit-content;
    min-height: 44px;
    padding: 0.25rem 0.5rem;
    border: 1px solid currentColor;
    border-radius: 6px;
    background: var(--theme-surface);
    color: var(--theme-navy-dark);
    font-size: 0.75rem;
    font-weight: 700;
    font-family: inherit;
    line-height: 1.3;
    white-space: nowrap;
    cursor: pointer;
}

.app-environment-test {
    background: #fff3cd;
    color: #664d03;
}

.app-environment-badge:hover {
    background: #ffe69c;
}

.app-environment-badge:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

.app-environment-notice {
    color: #664d03;
}

.app-body-guest {
    display: flex;
    flex-direction: column;
}

.app-body-authenticated {
    overflow-x: hidden;
}

.app-main {
    flex: 1 0 auto;
    min-width: 0;
}

.bg-danger,
.navbar.bg-danger,
.card-header.bg-danger,
.modal-header.bg-danger {
    background: linear-gradient(180deg, var(--theme-header-red), var(--theme-header-red-dark)) !important;
    border-color: var(--theme-header-red-dark) !important;
}

.btn-danger,
.btn-outline-danger {
    --danger-button-bg: var(--theme-danger-button-bg);
    --danger-button-bg-dark: var(--theme-danger-button-bg-dark);
    --danger-button-bg-hover: var(--theme-danger-button-bg-hover);
    --danger-button-border: var(--theme-danger-button-border);
    --danger-button-border-hover: var(--theme-danger-button-border-hover);
    --danger-button-soft: var(--theme-danger-button-soft);
}

.btn-danger {
    color: #fff !important;
    background: linear-gradient(180deg, var(--danger-button-bg), var(--danger-button-bg-dark)) !important;
    border-color: var(--danger-button-border) !important;
}

.btn-danger:hover,
.btn-danger:focus,
.btn-danger:active,
.btn-check:checked + .btn-danger {
    color: #fff !important;
    background: linear-gradient(180deg, var(--danger-button-bg-dark), var(--danger-button-bg-hover)) !important;
    border-color: var(--danger-button-border-hover) !important;
}

.btn-outline-danger {
    color: var(--danger-button-bg-dark);
    border-color: var(--danger-button-soft);
}

.btn-outline-danger:hover,
.btn-outline-danger:focus {
    color: #fff;
    background-color: var(--danger-button-bg-dark);
    border-color: var(--danger-button-bg-dark);
}

.btn {
    border-radius: 8px;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn-danger,
.btn-success,
.btn-primary {
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.auto-assign-progress-modal .modal-body {
    background: #f8fafc;
}

.auto-assign-progress-summary {
    padding: 1rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.auto-assign-progress-bar-wrap {
    height: 1.1rem;
    background: #e9eef5;
}

.auto-assign-log-panel {
    padding: 1rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.auto-assign-log-stream {
    max-height: 360px;
    overflow: auto;
    padding: 0.35rem 0.5rem;
}

.auto-assign-log-item {
    padding: 0.16rem 0;
    border: none;
    background: transparent;
}

.auto-assign-log-item + .auto-assign-log-item {
    margin-top: 0.12rem;
}

.auto-assign-log-item.warning {
    color: #9a6700;
}

.auto-assign-log-item.error {
    color: #b42318;
}

.auto-assign-log-text {
    color: inherit;
    font-size: 0.72rem;
    line-height: 1.35;
    word-break: break-word;
}

.daily-assignment-slot-list {
    display: block;
}

.daily-assignment-driver-mode {
    margin-bottom: 1rem;
    padding: 0.85rem 1rem;
    border: 1px solid #dbe7dd;
    border-radius: 12px;
    background: #f7fbf8;
}

.daily-assignment-driver-mode-title {
    margin-bottom: 0.45rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: #2f7d4a;
}

.daily-assignment-driver-mode-group {
    flex-wrap: wrap;
    gap: 0.45rem;
}

.daily-assignment-driver-mode-group > .btn {
    border-radius: 999px !important;
}

.daily-assignment-driver-mode-help {
    margin-top: 0.55rem;
    font-size: 0.8rem;
    color: #6c757d;
}

.daily-assignment-slot-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid #e9ecef;
}

.daily-assignment-slot-row-missing {
    background: rgba(229, 61, 67, 0.08);
}

.daily-assignment-slot-row:first-child {
    border-top: 1px solid #e9ecef;
}

.daily-assignment-slot-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    flex: 0 0 260px;
}

.daily-assignment-slot-index {
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: #edf6ef;
    color: #2f7d4a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.daily-assignment-slot-text {
    min-width: 0;
}

.daily-assignment-slot-title {
    display: block;
    margin-bottom: 0.2rem;
    font-size: 1rem;
    font-weight: 700;
    color: #4f4f4f;
}

.daily-assignment-slot-detail {
    font-size: 0.82rem;
    color: #6c757d;
}

.daily-assignment-slot-control {
    flex: 1 1 auto;
}

.daily-assignment-slot-control .form-select {
    min-height: 3.1rem;
}

@media (max-width: 767.98px) {
    .daily-assignment-slot-row {
        flex-direction: column;
        align-items: stretch;
        gap: 0.6rem;
    }

    .daily-assignment-slot-meta {
        flex: 1 1 auto;
    }
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-sm {
    border-radius: 7px;
}

.app-topbar,
.app-auth-topbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: linear-gradient(180deg, var(--theme-header-red), var(--theme-header-red-dark));
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.app-body[data-app-environment="test"] .app-topbar,
.app-body[data-app-environment="test"] .app-auth-topbar {
    background:
        repeating-linear-gradient(
            135deg,
            rgba(0, 0, 0, 0.18) 0,
            rgba(0, 0, 0, 0.18) 12px,
            transparent 12px,
            transparent 24px
        ),
        linear-gradient(180deg, var(--theme-header-test), var(--theme-header-test-dark));
}

.app-topbar-inner,
.app-auth-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 64px;
    padding: 0.65rem 1.25rem;
}

.app-topbar-start,
.app-topbar-end {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
}

.app-topbar-end {
    margin-left: auto;
}

.app-brand,
.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    color: #fff;
    text-decoration: none;
}

.app-brand:hover,
.app-brand:focus {
    color: #fff;
    text-decoration: none;
}

.navbar-brand-media {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: transparent;
    box-shadow: none;
    flex-shrink: 0;
}

.navbar-brand-media img {
    display: block;
    width: 52px;
    height: auto;
}

.navbar-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.08;
    min-width: 0;
}

.navbar-brand-title {
    font-size: 0.98rem;
    font-weight: 700;
    color: #fff;
}

.navbar-brand-subtitle {
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.84);
}

.app-sidebar-toggle,
.app-print-button,
.app-user-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    border: none;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

.app-sidebar-toggle:hover,
.app-sidebar-toggle:focus,
.app-history-toggle:hover,
.app-history-toggle:focus,
.app-print-button:hover,
.app-print-button:focus,
.app-user-toggle:hover,
.app-user-toggle:focus,
.app-history-toggle.show,
.app-print-button.show,
.app-user-toggle.show {
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
}

.app-sidebar-toggle {
    width: 42px;
    height: 42px;
    justify-content: center;
    font-size: 1.2rem;
    padding: 0;
}

.app-history-toggle {
    width: 42px;
    height: 42px;
    padding: 0;
    justify-content: center;
    border: none;
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

.app-history-toggle:disabled {
    opacity: 0.58;
    cursor: default;
}

.app-print-button {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.15rem;
}

.app-print-button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.app-print-menu {
    width: 18rem;
    max-width: calc(100vw - 2rem);
}

.app-print-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 44px;
    white-space: normal;
}

.app-history-toggle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    font-size: 1.05rem;
}

.app-sidebar-desktop-toggle {
    transition: background-color 0.18s ease, transform 0.18s ease;
}

.app-topbar-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.46rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.84rem;
    font-weight: 500;
}

button.app-topbar-badge {
    border: none;
    cursor: pointer;
}

button.app-topbar-badge:hover,
button.app-topbar-badge:focus,
button.app-topbar-badge:active {
    color: inherit;
    transform: translateY(-1px);
}

.app-topbar-badge-demo {
    background: #ffe082;
    color: #7a1f1f;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.16);
}

.app-topbar-badge-demo .bi {
    font-size: 1rem;
}

.app-user-toggle {
    padding: 0.35rem 0.8rem 0.35rem 0.45rem;
}

.app-user-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    font-size: 1.05rem;
}

.app-user-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.15;
}

.app-user-name {
    font-size: 0.92rem;
    font-weight: 600;
}

.app-user-role {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.72);
}

.app-user-menu {
    min-width: 220px;
}

.app-shell {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 0;
    padding: 0;
    align-items: center;
    min-height: calc(100vh - 64px);
    transition: grid-template-columns 0.22s ease;
}

.app-sidebar {
    --bs-offcanvas-bg: var(--theme-sidebar);
    --bs-offcanvas-color: rgba(255, 255, 255, 0.9);
    --bs-offcanvas-border-color: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.86);
    background-color: var(--theme-sidebar) !important;
    background-image: linear-gradient(180deg, #333333 0%, #2d2d2d 100%);
    border: none;
    border-radius: 0;
    box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.04);
    align-self: start;
    min-height: calc(100vh - 64px);
    width: 280px;
    overflow-x: hidden;
    transition: width 0.22s ease, box-shadow 0.22s ease;
}

.app-sidebar-body {
    padding: 1rem 0;
    background: transparent;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    gap: 1rem;
}

.app-sidebar-mobile-header {
    background: var(--theme-sidebar);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.app-sidebar-mobile-title {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
}

.app-sidebar-mobile-subtitle {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.78rem;
}

.app-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    min-width: 0;
    flex: 1 1 auto;
}

.app-nav-group {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    min-width: 0;
}

.app-nav-section-label {
    padding: 0.5rem 1.1rem 0.3rem;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    overflow: hidden;
    transition: opacity 0.18s ease, max-height 0.18s ease, padding 0.18s ease, margin 0.18s ease;
}

.app-nav-section-button,
.app-nav-link {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    width: 100%;
    min-width: 0;
    padding: 0.88rem 1.1rem;
    border: none;
    border-radius: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.93rem;
    font-weight: 400;
    text-align: left;
    text-decoration: none;
    transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.app-nav-group > .app-nav-link,
.app-nav-group > .app-nav-section-button {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.app-nav-group:first-child > .app-nav-link,
.app-nav-group:first-child > .app-nav-section-button {
    border-top-color: rgba(255, 255, 255, 0.16);
}

.app-nav-section-button:hover,
.app-nav-section-button:focus,
.app-nav-link:hover,
.app-nav-link:focus {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.app-nav-section-button {
    justify-content: space-between;
}

.app-nav-section-title-wrap {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
}

.app-nav-link > i,
.app-nav-section-title-wrap > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.15rem;
    min-width: 1.15rem;
    line-height: 1;
    flex-shrink: 0;
}

.app-nav-section-title-wrap span,
.app-nav-link span,
.app-nav-section-arrow {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    max-width: 220px;
    transition: opacity 0.18s ease, max-width 0.22s ease, margin 0.22s ease, transform 0.22s ease;
}

.nobet-slot-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 90px;
    padding: 0.28rem 0.65rem;
    border-radius: 8px;
    background: #6c757d;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    flex: 0 0 90px;
}

.nobet-slot-badge-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex: 0 0 90px;
}

.nobet-manuel-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
}

.app-nav-section-arrow {
    font-size: 0.78rem;
}

.app-nav-section-button:not(.collapsed) .app-nav-section-arrow {
    transform: rotate(180deg);
}

.app-nav-submenu {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

.app-nav-submenu::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 1.5rem;
    width: 1px;
    background: rgba(255, 255, 255, 0.14);
    pointer-events: none;
}

.app-nav-submenu .app-nav-link {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 0.72rem;
    padding-bottom: 0.72rem;
    padding-left: 2.75rem;
    font-size: 0.89rem;
    color: rgba(255, 255, 255, 0.78);
}

.app-nav-link.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
    box-shadow: inset 4px 0 0 var(--theme-accent);
}

.app-nav-section-button {
    font-weight: 500;
}

.app-sidebar-collapsed .app-shell {
    grid-template-columns: 76px minmax(0, 1fr);
}

.app-sidebar-collapsed .app-sidebar {
    width: 76px;
}

.app-sidebar-collapsed .app-sidebar-body {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.app-sidebar-collapsed .app-nav-section-label {
    opacity: 0;
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin: 0;
}

.app-sidebar-collapsed .app-nav-section-arrow,
.app-sidebar-collapsed .app-nav-section-title-wrap span,
.app-sidebar-collapsed .app-nav-link span {
    opacity: 0;
    max-width: 0;
    margin: 0;
    transform: translateX(-6px);
}

.app-sidebar-collapsed .app-nav-group {
    gap: 0.15rem;
}

.app-sidebar-collapsed .app-nav-section-button,
.app-sidebar-collapsed .app-nav-link {
    justify-content: center;
    gap: 0;
    padding-left: 0.85rem;
    padding-right: 0.85rem;
}

.app-sidebar-collapsed .app-nav-section-title-wrap {
    width: 100%;
    justify-content: center;
    gap: 0;
}

.app-sidebar-collapsed .app-nav-submenu,
.app-sidebar-collapsed .app-nav-submenu.show,
.app-sidebar-collapsed .app-nav-submenu.collapsing {
    display: none !important;
}

.app-sidebar-collapsed .app-nav-link.active,
.app-sidebar-collapsed .app-nav-section-button.is-peek-active {
    background: rgba(255, 255, 255, 0.14);
    box-shadow: inset 4px 0 0 var(--theme-accent);
}

.app-sidebar-collapsed .app-sidebar:hover {
    box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.04);
}

@media (min-width: 992px) {
    .app-sidebar-collapsed.app-sidebar-hover-expanded .app-sidebar {
        width: 280px;
        overflow-x: visible;
        z-index: 1040;
        box-shadow: 16px 0 34px rgba(17, 24, 39, 0.24);
    }

    .app-sidebar-collapsed.app-sidebar-hover-expanded .app-nav-section-label,
    .app-sidebar-collapsed.app-sidebar-hover-expanded .app-nav-section-arrow,
    .app-sidebar-collapsed.app-sidebar-hover-expanded .app-nav-section-title-wrap span,
    .app-sidebar-collapsed.app-sidebar-hover-expanded .app-nav-link span {
        opacity: 1;
        max-width: 220px;
        transform: none;
    }

    .app-sidebar-collapsed.app-sidebar-hover-expanded .app-nav-section-label {
        max-height: 32px;
        padding-top: 0.5rem;
        padding-bottom: 0.3rem;
    }

    .app-sidebar-collapsed.app-sidebar-hover-expanded .app-nav-section-button,
    .app-sidebar-collapsed.app-sidebar-hover-expanded .app-nav-link {
        justify-content: flex-start;
        gap: 0.85rem;
        padding-left: 1.1rem;
        padding-right: 1.1rem;
    }

    .app-sidebar-collapsed.app-sidebar-hover-expanded .app-nav-section-title-wrap {
        width: auto;
        justify-content: flex-start;
        gap: 0.85rem;
    }

    .app-sidebar-collapsed.app-sidebar-hover-expanded .app-nav-submenu.show,
    .app-sidebar-collapsed.app-sidebar-hover-expanded .app-nav-submenu.collapsing {
        display: flex !important;
    }
}

.app-page-subtitle,
.app-footer-label,
.text-muted,
.form-text {
    color: var(--theme-text-muted) !important;
}

.app-content-shell {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: calc(100vh - 64px);
    padding: 1.1rem 1.25rem 0 0.5rem;
}

.app-page-shell {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}

.app-page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.25rem 0 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.app-page-header-main {
    min-width: 0;
}

.about-contact-list {
    display: grid;
    gap: 1rem;
}

.about-contact-person {
    padding: 0.9rem 1rem;
    border: 1px solid rgba(66, 66, 66, 0.14);
    border-radius: 0.75rem;
    background: rgba(85, 186, 183, 0.06);
}

.about-contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    margin-top: 0.35rem;
}

.about-contact-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-width: 0;
    overflow-wrap: anywhere;
}

@media (max-width: 575.98px) {
    .about-contact-links {
        align-items: flex-start;
        flex-direction: column;
    }
}

.app-page-title {
    margin: 0;
    color: var(--theme-text);
    font-size: 1.75rem;
    font-weight: 400;
    line-height: 1.2;
}

.app-page-title i {
    margin-right: 0.45rem;
    color: var(--theme-header-red);
}

.app-page-subtitle {
    margin: 0.45rem 0 0;
    max-width: 72rem;
    color: var(--theme-text-muted);
    font-size: 0.96rem;
    line-height: 1.55;
}

.app-page-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.app-auth-main {
    display: flex;
    align-items: center;
    padding: 2rem 0 1rem;
}

.app-auth-container {
    width: 100%;
    max-width: 1240px;
}

.app-footer {
    margin-top: 1.25rem;
    padding: 0 0 1.25rem;
    flex-shrink: 0;
}

.app-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1.15rem;
    background: var(--theme-surface);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    color: var(--theme-text-muted);
}

.app-footer-brand,
.app-footer-version {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 500;
}

.app-footer-brand i {
    color: var(--theme-header-red);
}

.app-footer-label {
    font-size: 0.85rem;
    color: #6d6d6d;
}

.app-footer-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.68rem;
    border-radius: 999px;
    background: rgba(85, 186, 183, 0.12);
    color: var(--theme-text);
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.card {
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    margin-bottom: 20px;
    overflow: hidden;
}

.card-header {
    border-radius: 8px 8px 0 0 !important;
    font-weight: 500;
    padding: 0.9rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.card-header.bg-transparent {
    background: #fff !important;
}

.card-body {
    padding: 1rem;
}

.app-side-panel {
    --bs-offcanvas-width: min(520px, 100vw);
    width: min(520px, 100vw) !important;
    border-left: 1px solid #dfe5e8;
    background: #fff;
}

.app-side-panel .offcanvas-header {
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 0;
    background: #e63946;
    color: #fff;
}

.app-side-panel-heading {
    min-width: 0;
}

.app-side-panel-title {
    margin: 0;
    color: inherit;
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.2;
}

.app-side-panel-meta {
    margin-top: 0.2rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.7rem;
    line-height: 1.35;
}

.app-side-panel .offcanvas-header .btn-close {
    flex: 0 0 auto;
    filter: invert(1) grayscale(100%) brightness(200%);
    opacity: 0.9;
}

.app-side-panel .offcanvas-header .btn-close:hover,
.app-side-panel .offcanvas-header .btn-close:focus {
    opacity: 1;
}

.app-side-panel .offcanvas-body {
    padding: 1rem;
    background: #fff;
}

.nobet-action-card .card-header {
    background: linear-gradient(180deg, var(--theme-header-red), var(--theme-header-red-dark)) !important;
    border-color: var(--theme-header-red-dark) !important;
    color: #fff !important;
}

.nobet-list-header {
    border-color: var(--theme-header-red-dark);
    background: linear-gradient(180deg, var(--theme-header-red), var(--theme-header-red-dark));
    color: #fff;
}

.nobet-list-header h5 {
    color: inherit;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.25;
}

.nobet-list-header h5 i {
    margin-right: 0.35rem;
    color: #fff;
}

.nobet-station-summary-track {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
}

.nobet-station-summary .offcanvas-body {
    background: #f6f8fb;
}

.nobet-station-summary-overall {
    display: grid;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
    padding: 0.9rem;
    border: 1px solid #d7e0eb;
    border-radius: 0.7rem;
    background: #fff;
    box-shadow: 0 7px 18px rgba(31, 55, 91, 0.08);
}

.nobet-station-summary-overall-heading,
.nobet-station-summary-overall-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.nobet-station-summary-overall-heading > div {
    display: grid;
    gap: 0.1rem;
}

.nobet-station-summary-overall-heading strong {
    color: #26364d;
    font-size: 0.9rem;
}

.nobet-station-summary-overall-heading > strong {
    color: #21865f;
    font-size: 1.8rem;
    line-height: 1;
}

.nobet-station-summary-overall-heading span,
.nobet-station-summary-overall-meta {
    color: #5d6b7e;
    font-size: 0.72rem;
    font-weight: 700;
}

.nobet-station-summary-overall-progress {
    height: 0.85rem;
    background: #dc3545;
}

.nobet-station-summary-overall .progress-bar {
    background: #21865f;
}

.nobet-station-summary-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 0.55rem;
    padding: 0.8rem;
    border: 1px solid transparent;
    border-left-width: 5px;
    border-radius: 0.55rem;
    color: #26364d;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.nobet-station-summary-card:hover,
.nobet-station-summary-card:focus {
    transform: translateY(-2px);
    color: #26364d;
    text-decoration: none;
    box-shadow: 0 9px 18px rgba(31, 55, 91, 0.13);
}

.nobet-station-summary-card.is-selected {
    box-shadow: 0 0 0 3px rgba(42, 94, 172, 0.2);
}

.nobet-station-summary-card.is-empty {
    border-color: #dc3545;
    background: #fff2f3;
}

.nobet-station-summary-card.is-incomplete {
    border-color: #d49412;
    background: #fffaf0;
}

.nobet-station-summary-card.is-complete {
    border-color: #21865f;
    background: #f2fbf7;
}

.nobet-station-summary-card-top,
.nobet-station-summary-counts {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
}

.nobet-station-summary-identity {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 0.55rem;
}

.nobet-station-summary-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #e8f0fb;
    color: #315b99;
}

.nobet-station-summary-name {
    overflow: hidden;
    min-width: 0;
    font-size: 0.84rem;
    font-weight: 800;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nobet-station-summary-rate {
    flex: 0 0 auto;
    font-size: 0.78rem;
    font-weight: 800;
}

.nobet-station-summary-status {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.79rem;
    font-weight: 800;
}

.nobet-station-summary-counts {
    color: #5d6b7e;
    font-size: 0.73rem;
}

.nobet-station-summary-hours {
    color: #a12532;
}

.nobet-station-summary-hour-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.45rem;
    padding-top: 0.55rem;
    border-top: 1px solid rgba(83, 103, 126, 0.16);
}

.nobet-station-summary-hour-stats span {
    display: grid;
    gap: 0.08rem;
    min-width: 0;
}

.nobet-station-summary-hour-stats small {
    color: #6b7889;
    font-size: 0.65rem;
    font-weight: 700;
}

.nobet-station-summary-hour-stats strong {
    color: #26364d;
    font-size: 0.78rem;
}

.nobet-action-card {
    --nobet-action-button-bg: var(--theme-danger-button-bg);
    --nobet-action-button-bg-dark: var(--theme-danger-button-bg-dark);
    --nobet-action-button-bg-hover: var(--theme-danger-button-bg-hover);
    --nobet-action-button-border: var(--theme-danger-button-border);
    --nobet-action-button-soft: var(--theme-danger-button-soft);
}

.nobet-action-card-disabled {
    filter: grayscale(1);
    opacity: 0.58;
    pointer-events: none;
    user-select: none;
}

.nobet-action-card .btn-primary,
.nobet-action-card .btn-success,
.nobet-action-card .btn-warning,
.nobet-action-card .btn-info {
    background: linear-gradient(180deg, var(--nobet-action-button-bg), var(--nobet-action-button-bg-dark)) !important;
    border-color: var(--nobet-action-button-border) !important;
    color: #fff !important;
}

.nobet-action-card .btn-outline-secondary,
.nobet-action-card .btn-outline-success {
    color: var(--nobet-action-button-bg-dark) !important;
    border-color: var(--nobet-action-button-soft) !important;
}

.nobet-action-card .btn-outline-secondary:hover,
.nobet-action-card .btn-outline-secondary:focus,
.nobet-action-card .btn-outline-success:hover,
.nobet-action-card .btn-outline-success:focus {
    background-color: var(--nobet-action-button-bg-hover) !important;
    border-color: var(--nobet-action-button-bg-hover) !important;
    color: #fff !important;
}

.table-responsive {
    border-radius: 0 0 8px 8px;
}

.table {
    margin-bottom: 0;
    color: var(--theme-text);
}

.table th {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
    color: #5e5e5e;
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

.table td {
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
    vertical-align: middle;
    border-color: rgba(0, 0, 0, 0.06);
}

.table-light,
.table-light > th,
.table-light > td {
    --bs-table-bg: #f8f9fa;
}

.table-hover > tbody > tr:hover > * {
    --bs-table-accent-bg: rgba(85, 186, 183, 0.08);
}

.system-log-table-wrap {
    max-height: 68vh;
    overflow: auto;
}

.system-log-table {
    min-width: 1080px;
}

.system-log-table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #f8f9fa;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.08);
}

.system-log-request-path {
    max-width: 180px;
    overflow-wrap: anywhere;
}

.system-log-context-pre {
    max-height: 50vh;
    margin: 0;
    padding: 1rem;
    overflow: auto;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background: #f8f9fa;
    color: var(--theme-text);
}

@media (max-width: 991.98px) {
    .system-log-table {
        min-width: 760px;
    }

    .system-log-col-user,
    .system-log-col-request {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .system-log-table {
        min-width: 620px;
    }

    .system-log-col-component,
    .system-log-col-operation {
        display: none;
    }

    .system-log-detail-button {
        font-size: 0;
    }

    .system-log-detail-button i {
        font-size: 0.875rem;
    }
}

.form-control,
.form-select {
    min-height: 42px;
    border-radius: 8px;
    border-color: rgba(0, 0, 0, 0.12);
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(85, 186, 183, 0.65);
    box-shadow: 0 0 0 0.25rem rgba(85, 186, 183, 0.16);
}

.izin-personel-secici-menu {
    width: 100%;
    min-width: 100%;
}

.izin-personel-secici-list {
    max-height: 260px;
    overflow-y: auto;
}

.izin-personel-secici-list .dropdown-item {
    white-space: normal;
}

.badge {
    font-weight: 500;
}

@media (min-width: 992px) {
    .app-sidebar {
        position: sticky;
        top: 64px;
        height: calc(100vh - 64px);
        max-height: calc(100vh - 64px);
        overflow-y: auto;
    }

    .offcanvas-lg.app-sidebar {
        visibility: visible;
    }
}

@media (max-width: 991.98px) {
    .app-shell {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .app-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: min(320px, 88vw) !important;
        min-height: 100vh;
        height: 100vh;
        max-height: 100vh;
        overflow-y: auto;
    }

    .app-content-shell {
        min-height: auto;
        padding: 1rem;
    }

    .navbar-brand-media img {
        width: 46px;
    }

    .navbar-brand-title {
        font-size: 0.88rem;
    }

    .navbar-brand-subtitle {
        font-size: 0.74rem;
    }

    .app-user-meta {
        display: none;
    }

    .app-sidebar-collapsed .app-shell {
        grid-template-columns: 1fr;
    }

    .app-footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .app-page-header {
        flex-direction: column;
    }

    .app-page-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 575.98px) {
    .app-topbar-inner,
    .app-auth-topbar-inner {
        padding-left: 0.85rem;
        padding-right: 0.85rem;
        gap: 0.55rem;
    }

    .app-topbar-start,
    .app-topbar-end {
        gap: 0.5rem;
    }

    .app-topbar-end .app-environment-badge {
        white-space: normal;
        max-width: 4rem;
        padding: 0.2rem 0.3rem;
        font-size: 0.65rem;
        text-align: center;
        flex-shrink: 0;
    }

    .app-topbar-start {
        flex: 1 1 auto;
    }

    .app-brand {
        flex: 1 1 auto;
        gap: 0.55rem;
    }

    .navbar-brand-media {
        padding: 0;
    }

    .navbar-brand-media img {
        width: 38px;
    }

    .navbar-brand-title {
        font-size: 0.74rem;
        line-height: 1.05;
    }

    .navbar-brand-subtitle {
        display: none;
    }

    .app-topbar-badge {
        gap: 0.3rem;
        padding: 0.38rem 0.58rem;
        font-size: 0.72rem;
    }

    .app-topbar-badge-demo .bi {
        font-size: 0.9rem;
    }

    .app-user-toggle {
        padding: 0.3rem 0.4rem;
    }

    .app-user-toggle::after {
        display: none;
    }

    .app-user-avatar {
        width: 32px;
        height: 32px;
    }

    .app-content-shell {
        padding: 0.85rem;
    }
}

@media (max-width: 480px) {
    .app-topbar .navbar-brand-text {
        display: none;
    }

    .app-topbar .app-brand {
        flex: 0 1 auto;
    }
}

@media (max-width: 359.98px) {
    .app-body[data-app-environment="test"] .app-topbar .app-brand {
        display: none;
    }
}

/* Takvim Stilleri */
.calendar-table {
    width: 100%;
    max-width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
}

.calendar-table th {
    text-align: center;
    background-color: #475569;
    color: white;
    padding: 0.55rem 0.25rem;
    border-color: rgba(255, 255, 255, 0.16);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.calendar-table td {
    width: 14.2857%;
    height: 94px;
    vertical-align: top;
    padding: 0;
    border: 1px solid #e2e8f0;
    font-size: 0.85rem;
    background: #fff;
    transition: background-color 0.15s ease, box-shadow 0.15s ease;
    overflow: hidden;
}

.calendar-table td:hover {
    background-color: #f8fafc;
}

.dashboard-calendar-header {
    display: grid;
    grid-template-columns: 2.75rem 1fr 2.75rem;
    align-items: center;
    gap: 0.5rem;
}

.dashboard-calendar-header h4 {
    text-align: center;
    font-size: 1.05rem;
    font-weight: 700;
}

.dashboard-calendar-nav {
    display: inline-flex;
    width: 2.75rem;
    height: 2.75rem;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.calendar-weekday-short {
    display: none;
}

.calendar-day-content {
    display: flex;
    min-height: 94px;
    flex-direction: column;
    gap: 0.65rem;
    padding: 0.55rem;
}

.calendar-day-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.25rem;
}

.calendar-day-number {
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1;
    color: #1e293b;
}

.calendar-gunluk-ozet {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    gap: 0.35rem;
    margin-top: auto;
}

.calendar-gunluk-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    min-width: 0;
    color: #475569;
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1;
}

.calendar-gunluk-chip i {
    color: #64748b;
    font-size: 0.78rem;
}

.calendar-day-status {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    color: #b42318;
    font-size: 0.67rem;
    font-weight: 700;
    line-height: 1;
}

.calendar-bos-etiket {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: auto;
    color: #8a5200;
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 1;
}

.calendar-bos-etiket i {
    font-size: 0.75rem;
}

.calendar-today {
    background-color: #f0fdf4 !important;
}

.calendar-empty {
    background-color: #e9ecef !important;
}

.calendar-table td.calendar-empty:hover {
    background-color: #e9ecef !important;
}

.calendar-ekip-badge {
    display: inline-block;
    padding: 1px 6px;
    margin: 1px;
    border-radius: 4px;
    font-size: 0.7rem;
    color: white;
    background-color: #0d6efd;
}

.calendar-nobet-count {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: white;
    background-color: #0d6efd;
    text-align: center;
}

.calendar-clickable {
    cursor: pointer;
}

.calendar-clickable:hover {
    background-color: #f1f5f9 !important;
}

.calendar-clickable:focus-visible {
    position: relative;
    z-index: 1;
    outline: 3px solid rgba(40, 75, 143, 0.65);
    outline-offset: -3px;
}

.calendar-selected {
    background-color: #eff6ff !important;
    box-shadow: inset 0 0 0 2px rgba(40, 75, 143, 0.55);
}

.calendar-atama-eksik {
    background-color: #fff7f7 !important;
}

.calendar-atama-eksik.calendar-selected {
    background-color: #fff0f0 !important;
    box-shadow: inset 0 0 0 2px rgba(220, 53, 69, 0.55);
}

.gunluk-ekip-ozeti-eksik {
    background-color: #fff0f0 !important;
}

.gunluk-ekip-rol {
    cursor: help;
    width: fit-content;
}

.gunluk-ekip-detay-hucre {
    cursor: pointer;
}

.gunluk-ekip-detay-tablosu > :not(caption) > * > * {
    padding: 0.2rem 0.45rem;
    line-height: 1.2;
}

.gunluk-ekip-rol:focus-visible {
    outline: 2px solid rgba(40, 75, 143, 0.55);
    outline-offset: 2px;
}

.gunluk-ekip-personel-tooltip .tooltip-inner {
    max-width: 280px;
    text-align: left;
    white-space: pre-line;
}

.gunluk-ekip-ozeti-scroll {
    cursor: grab;
}

.gunluk-ekip-ozeti-scroll.is-dragging {
    cursor: grabbing;
    user-select: none;
}

.gunluk-ekip-ozeti-scroll.is-dragging table,
.gunluk-ekip-ozeti-scroll.is-dragging th,
.gunluk-ekip-ozeti-scroll.is-dragging td {
    user-select: none;
}

/* Durum Rozetleri */
.badge-izin {
    background-color: #ffc107;
    color: #333;
}

.badge-rapor {
    background-color: var(--bs-danger);
}

.badge-egitim {
    background-color: #0d6efd;
}

.badge-asker {
    background-color: #198754;
}

.badge-gorevlendirme {
    background-color: #17a2b8;
}

.badge-muafiyet {
    background-color: #6f42c1;
}

/* Tablo Stilleri */
.table th {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
    border-bottom-width: 0;
}

.table td {
    font-size: 0.85rem;
    vertical-align: middle;
}

.table-dark th {
    background: linear-gradient(135deg, var(--theme-navy-dark), var(--theme-navy)) !important;
    color: rgba(255, 255, 255, 0.96);
}

.ekip-accordion-button {
    gap: 0.85rem;
}

.ekip-accordion-main {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.ekip-unvan-ozeti {
    margin-top: 0.22rem;
    color: #5b6c84;
    font-size: 0.76rem;
    font-weight: 600;
    line-height: 1.25;
    white-space: normal;
}

.planlama-filtre-kart {
    position: relative;
    overflow: visible;
    padding: 0.75rem 0 0.85rem;
}

.planlama-filtre-kart .form-select,
.planlama-filtre-kart .form-control {
    min-height: 46px;
    border-radius: 14px;
    border-color: rgba(26, 47, 87, 0.14);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 6px 16px rgba(26, 47, 87, 0.045);
    font-size: 0.9rem;
    padding-left: 0.95rem;
}

.planlama-filtre-kart .form-select:focus,
.planlama-filtre-kart .form-control:focus {
    border-color: rgba(26, 47, 87, 0.38);
    box-shadow: 0 0 0 0.25rem rgba(26, 47, 87, 0.10);
}

.planlama-filter-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(280px, 1.35fr) auto;
    gap: 1rem;
    align-items: end;
}

.planlama-filter-field {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.planlama-filter-label {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0;
    padding-left: 0.1rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #50627f;
    text-transform: uppercase;
}

.planlama-filter-search {
    min-width: 0;
}

.planlama-search-input-wrap {
    position: relative;
}

.planlama-search-input-wrap .form-control {
    padding-left: 2.65rem;
}

.planlama-search-icon {
    position: absolute;
    left: 0.95rem;
    top: 50%;
    transform: translateY(-50%);
    color: #586b89;
    font-size: 0.95rem;
    pointer-events: none;
}

.planlama-filter-actions {
    display: flex;
    align-items: end;
}

.planlama-filter-actions .btn {
    min-height: 46px;
    padding-inline: 1rem;
    font-weight: 700;
}

.planlama-filtre-kart .small.text-muted {
    color: #556680 !important;
}

.personel-filter-wrap {
    padding: 1rem 1rem 0;
}

.personel-filter-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.personel-filter-field {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.personel-filter-label {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0;
    padding-left: 0.1rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #50627f;
    text-transform: uppercase;
}

.filter-reset-button {
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

@media (min-width: 1200px) {
    .izin-filter-status-col {
        flex: 0 0 auto;
        width: 10.833333%;
    }

    .izin-filter-station-col {
        flex: 0 0 auto;
        width: 21.666667%;
    }
}

.personel-table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.personel-list-table {
    min-width: 980px;
}

.personel-page-row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 1.5rem;
}

.personel-slot-list {
    max-height: 12rem;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior-y: contain;
    scrollbar-gutter: stable;
}

.personel-slot-list > [data-personel-slot-option] {
    flex-shrink: 0;
}

.personel-slot-list .form-check {
    flex-basis: 0;
    min-width: 0;
}

.personel-slot-list .form-check-label {
    overflow-wrap: anywhere;
}

.personel-mobile-list {
    display: none;
}

.personel-mobile-card {
    padding: 0.9rem 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.personel-mobile-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.personel-mobile-card-name {
    font-size: 1rem;
    font-weight: 700;
    color: #2d3748;
}

.personel-mobile-card-meta {
    font-size: 0.82rem;
    color: #6b7a90;
}

.personel-mobile-card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.6rem;
}

.personel-mobile-card-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.personel-mobile-card-label {
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #50627f;
    text-transform: uppercase;
}

.personel-mobile-card-value {
    font-size: 0.92rem;
    color: #2d3748;
    word-break: break-word;
}

.personel-driver-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    vertical-align: middle;
    color: #0d6efd;
}

.personel-role-display {
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.3rem;
    white-space: nowrap;
}

.personel-role-display > .badge {
    width: 4.5rem;
    flex-shrink: 0;
    white-space: normal;
    overflow-wrap: anywhere;
}

.personel-driver-icon svg {
    width: 1.2rem;
    height: 1.2rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    display: block;
}

.personel-mobile-card-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.85rem;
}

.personel-inline-actions {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0;
    white-space: nowrap;
}

.personel-inline-actions > *,
.personel-inline-actions .btn {
    flex: 0 0 auto;
}

.personel-col-actions {
    width: 168px;
    min-width: 168px;
    white-space: nowrap;
}

@media (max-width: 1199.98px) {
    .planlama-filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .planlama-filter-search,
    .planlama-filter-actions {
        grid-column: span 2;
    }
}

.planlama-hero-card,
.planlama-action-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 255, 0.96));
    border-radius: 18px;
    padding: 1.25rem 1.4rem;
    box-shadow: 0 14px 32px rgba(26, 47, 87, 0.08);
    border: 1px solid rgba(40, 75, 143, 0.08);
}

.planlama-hero-card h3 {
    font-weight: 700;
    color: var(--theme-navy-dark);
}

.planlama-month-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 72px;
    padding: 1rem 1.2rem;
    overflow: hidden;
    background:
        radial-gradient(circle at 78% 10%, rgba(94, 159, 232, 0.36), transparent 31%),
        linear-gradient(135deg, #142c50, #254f86);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    box-shadow: 0 16px 36px rgba(21, 47, 82, 0.18);
}

.planlama-month-nav-center {
    flex: 1;
    text-align: center;
}

.planlama-month-nav-label {
    display: none;
}

.planlama-month-nav-value {
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
}

.planlama-month-nav-note {
    display: none;
}

.planlama-month-nav .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    min-width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1.15rem;
    box-shadow: none;
    transition: background-color 0.15s ease, transform 0.15s ease;
}

.planlama-month-nav .btn:hover,
.planlama-month-nav .btn:focus-visible {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: none;
}

.planlama-hero-text {
    color: #5f6f8c;
    font-size: 0.95rem;
    max-width: 52rem;
}

.planlama-hero-badge,
.planlama-hero-period {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border-radius: 999px;
    padding: 0.35rem 0.8rem;
    font-size: 0.78rem;
    font-weight: 700;
}

.planlama-hero-badge {
    color: #8a6100;
    background: rgba(255, 193, 7, 0.18);
}

.planlama-hero-period {
    color: var(--theme-navy);
    background: rgba(40, 75, 143, 0.1);
}

.planlama-action-card .btn-success {
    border-radius: 12px;
    font-weight: 600;
}

.planlama-targets {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.planlama-targets div {
    background: #f4f7fc;
    border-radius: 14px;
    padding: 0.8rem 0.9rem;
    border: 1px solid rgba(40, 75, 143, 0.07);
}

.planlama-targets span {
    display: block;
    font-size: 0.76rem;
    color: #6c7b95;
    margin-bottom: 0.25rem;
}

.planlama-targets strong {
    font-size: 1rem;
    color: var(--theme-navy-dark);
}

.aylar-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.9rem;
}

@media (max-width: 1199.98px) {
    .aylar-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .aylar-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .aylar-grid {
        grid-template-columns: 1fr;
    }
}

.aylar-card {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    color: inherit;
    background: linear-gradient(180deg, #ffffff, #f6f9ff);
    border: 1px solid rgba(40, 75, 143, 0.1);
    border-radius: 16px;
    padding: 1rem;
    box-shadow: 0 10px 24px rgba(26, 47, 87, 0.06);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.aylar-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 28px rgba(26, 47, 87, 0.1);
    border-color: rgba(40, 75, 143, 0.2);
}

.aylar-card.is-active {
    border-color: rgba(220, 53, 69, 0.45);
    box-shadow: 0 16px 28px rgba(220, 53, 69, 0.12);
    background: linear-gradient(180deg, #fffefe, #fff4f5);
}

.aylar-card-top,
.aylar-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.aylar-card-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--theme-navy-dark);
}

.aylar-card-subtitle {
    font-size: 0.8rem;
    color: #6c7b95;
}

.aylar-card-metric {
    background: rgba(40, 75, 143, 0.06);
    border-radius: 14px;
    padding: 0.8rem 0.9rem;
}

.aylar-card-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.aylar-card-metric label {
    display: block;
    font-size: 0.78rem;
    color: #6c7b95;
    margin-bottom: 0.2rem;
}

.aylar-card-metric .form-control {
    min-width: 0;
    padding-inline: 0.25rem;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--theme-navy-dark);
    background: rgba(255, 255, 255, 0.78);
    appearance: textfield;
}

.aylar-card-metric input::-webkit-inner-spin-button,
.aylar-card-metric input::-webkit-outer-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
    .aylar-card-metric {
        padding-inline: 0.25rem;
    }

    .aylar-card-metric .form-control {
        padding-inline: 0.125rem;
        font-size: 0.75rem;
    }
}

.aylar-card-hint {
    margin-top: 0.35rem;
    font-size: 0.72rem;
    color: #6c7b95;
}

.aylar-card-actions {
    display: flex;
    gap: 0.5rem;
}

.aylar-card-actions .btn {
    flex: 1;
}

.aylar-card-details {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.4rem 0.5rem;
    margin: 0;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(40, 75, 143, 0.1);
    font-size: 0.78rem;
    color: var(--theme-navy-dark);
}

.aylar-card-details dt {
    font-weight: 500;
}

.aylar-card-details dd {
    margin: 0;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    text-align: right;
}

.aylar-card-meta {
    font-size: 0.82rem;
    color: #5f6f8c;
}

.aylar-card-link {
    color: inherit;
    text-decoration: none;
}

.aylar-card-link:hover {
    color: var(--theme-navy-dark);
}

.planlama-overview-card {
    position: relative;
    overflow: hidden;
    min-height: 100%;
    border-radius: 18px;
    padding: 1rem 1.05rem;
    color: #fff;
    box-shadow: 0 14px 28px rgba(26, 47, 87, 0.1);
}

.planlama-overview-card::after {
    content: '';
    position: absolute;
    width: 88px;
    height: 88px;
    right: -18px;
    top: -18px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
}

.planlama-overview-card.primary { background: linear-gradient(135deg, #355cba, #203e7d); }
.planlama-overview-card.success { background: linear-gradient(135deg, #169c68, #0f6d49); }
.planlama-overview-card.neutral { background: linear-gradient(135deg, #7a879a, #556171); }
.planlama-overview-card.mismatch { background: linear-gradient(135deg, #c93646, #8f1f2d); }
.planlama-overview-card.danger { background: linear-gradient(135deg, var(--theme-danger-button-bg), var(--theme-danger-button-bg-dark)); }
.planlama-overview-card.warning { background: linear-gradient(135deg, #f0ad0e, #d58b00); color: #212529; }
.planlama-overview-card.info { background: linear-gradient(135deg, #0b9bc6, #0a6f9f); }

.station-balance-panel {
    overflow: hidden;
    border: 1px solid #dbe4f0;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(26, 47, 87, 0.08);
}

.station-balance-session-collapsed #stationBalanceContent {
    display: none;
}

.station-balance-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.25rem;
    border-bottom: 1px solid #e4eaf2;
    background: linear-gradient(135deg, #f8fbff, #eef4fb);
}

.station-balance-heading {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    min-width: 0;
}

.station-balance-heading-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 13px;
    color: #fff;
    background: linear-gradient(135deg, #3971d4, #204f9f);
    box-shadow: 0 10px 20px rgba(39, 91, 178, 0.22);
}

.station-balance-heading h2 {
    margin: 0;
    color: var(--theme-navy-dark);
    font-size: 1rem;
    font-weight: 800;
}

.station-balance-heading p {
    margin: 0.2rem 0 0;
    color: #5d6b7e;
    font-size: 0.8rem;
}

.station-balance-header-actions {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex: 0 0 auto;
}

.station-balance-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid #cbd8e9;
    border-radius: 999px;
    color: #31598f;
    background: #fff;
    font-size: 0.74rem;
    font-weight: 800;
    transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.station-balance-toggle:hover,
.station-balance-toggle:focus-visible {
    border-color: #7598ca;
    color: #173f7a;
    background: #f6f9fd;
    outline: none;
}

.station-balance-toggle i {
    font-size: 0.72rem;
}

.station-balance-panel.is-collapsed .station-balance-header {
    border-bottom-color: transparent;
}

.station-balance-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #e7ecf3;
    background: #fff;
}

.station-balance-summary-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-width: 0;
    padding: 0.75rem 0.85rem;
    border: 1px solid #e0e7f0;
    border-radius: 14px;
    background: #f8fafc;
}

.station-balance-summary-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: 0.9rem;
}

.station-balance-summary-item strong,
.station-balance-summary-item small {
    display: block;
}

.station-balance-summary-item strong {
    color: #17243a;
    font-size: 1.15rem;
    line-height: 1;
}

.station-balance-summary-item small {
    margin-top: 0.25rem;
    color: #5c697b;
    font-size: 0.72rem;
    font-weight: 600;
}

.station-balance-summary-item.danger .station-balance-summary-icon {
    color: #a92d3c;
    background: #fde8eb;
}

.station-balance-summary-item.warning .station-balance-summary-icon {
    color: #8a5c00;
    background: #fff0c7;
}

.station-balance-summary-item.neutral .station-balance-summary-icon {
    color: #59677a;
    background: #e9edf2;
}

.station-balance-summary-item.mismatch .station-balance-summary-icon {
    color: #8b2c74;
    background: #f5e2f0;
}

.station-balance-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid #e7ecf3;
    background: #fbfcfe;
}

.station-balance-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.station-balance-filter {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 36px;
    padding: 0.4rem 0.75rem;
    border: 1px solid #d2dbe8;
    border-radius: 999px;
    color: #425069;
    background: #fff;
    font-size: 0.76rem;
    font-weight: 700;
    transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.station-balance-filter span {
    min-width: 1.4rem;
    padding: 0.1rem 0.35rem;
    border-radius: 999px;
    color: #54627a;
    background: #edf1f6;
    font-size: 0.68rem;
    text-align: center;
}

.station-balance-filter:hover,
.station-balance-filter:focus-visible {
    border-color: #7c9fd4;
    color: #214f96;
    outline: none;
}

.station-balance-filter.is-active {
    border-color: #285da9;
    color: #fff;
    background: #285da9;
    box-shadow: 0 8px 18px rgba(40, 93, 169, 0.18);
}

.station-balance-filter.is-active span {
    color: #244f90;
    background: #fff;
}

.station-balance-visible-count {
    flex: 0 0 auto;
    color: #667286;
    font-size: 0.76rem;
}

.station-balance-visible-count strong {
    color: #263750;
}

.station-balance-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    padding: 1rem 1.25rem 1.25rem;
}

.station-balance-card {
    position: relative;
    overflow: hidden;
    min-width: 0;
    padding: 1rem;
    border: 1px solid #dce4ee;
    border-left-width: 4px;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(31, 55, 91, 0.06);
    color: inherit;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.station-balance-card:hover,
.station-balance-card:focus-within {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(31, 55, 91, 0.1);
    color: inherit;
    outline: none;
}

.station-balance-card:focus-within,
.station-balance-card.is-selected {
    box-shadow: 0 0 0 3px rgba(42, 94, 172, 0.2), 0 12px 24px rgba(31, 55, 91, 0.1);
}

.station-balance-card-action {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    border-radius: inherit;
    background: transparent;
    cursor: pointer;
}

.station-balance-card-action:focus {
    outline: none;
}

.station-balance-card > :not(.station-balance-card-action):not(.station-balance-filter-trigger) {
    position: relative;
    z-index: 2;
    pointer-events: none;
}

.station-balance-filter-trigger {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.85rem;
    height: 1.85rem;
    padding: 0;
    border: 1px solid #c8d5e6;
    border-radius: 50%;
    color: #315b99;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 4px 12px rgba(31, 55, 91, 0.13);
    transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.station-balance-filter-trigger:hover,
.station-balance-filter-trigger:focus-visible {
    border-color: #7598ca;
    color: #173f7a;
    background: #fff;
    box-shadow: 0 6px 16px rgba(31, 55, 91, 0.2);
    outline: none;
    transform: translateY(-1px);
}

.station-balance-card.tutarsiz {
    border-left-color: #a23a88;
    background: linear-gradient(135deg, #fff, #fff8fd);
}

.station-balance-card.denge-gerekli {
    border-left-color: #7754b8;
    background: linear-gradient(135deg, #fff, #faf8ff);
}

.station-balance-card.eksik {
    border-left-color: #d49412;
    background: linear-gradient(135deg, #fff, #fffcf5);
}

.station-balance-card.asmis {
    border-left-color: #d03d4f;
    background: linear-gradient(135deg, #fff, #fff8f9);
}

.station-balance-card.bekleyen {
    border-left-color: #778496;
    background: linear-gradient(135deg, #fff, #f9fafb);
}

.station-balance-card.dengeli {
    border-left-color: #21865f;
    background: linear-gradient(135deg, #fff, #f7fcf9);
}

.station-balance-card-header {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
    padding-right: 2.2rem;
}

.station-balance-station {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    min-width: 0;
    width: 100%;
}

.station-balance-station-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    color: #315b99;
    background: #e8f0fb;
}

.station-balance-station h3 {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: #202b3c;
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.25;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.station-balance-station p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0.25rem 0 0;
    color: #667286;
    font-size: 0.7rem;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.station-balance-status {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    flex: 0 0 auto;
    padding: 0.3rem 0.55rem;
    border-radius: 999px;
    font-size: 0.66rem;
    font-weight: 800;
    white-space: nowrap;
    margin-left: 2.65rem;
}

.station-balance-card.tutarsiz .station-balance-status {
    color: #81286d;
    background: #f4e1ef;
}

.station-balance-card.denge-gerekli .station-balance-status {
    color: #5d3d9c;
    background: #eee7fa;
}

.station-balance-card.eksik .station-balance-status {
    color: #805600;
    background: #fff0c9;
}

.station-balance-card.asmis .station-balance-status {
    color: #9f2939;
    background: #fce6e9;
}

.station-balance-card.bekleyen .station-balance-status {
    color: #4f5c6e;
    background: #e8ecf1;
}

.station-balance-card.dengeli .station-balance-status {
    color: #176d4b;
    background: #ddf2e8;
}

.station-balance-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
    margin-top: 0.9rem;
}

.station-balance-metric {
    min-width: 0;
    padding: 0.65rem;
    border: 1px solid #e4e9f0;
    border-radius: 11px;
    background: rgba(248, 250, 252, 0.9);
}

.station-balance-metric-label,
.station-balance-metric strong,
.station-balance-metric small {
    display: block;
}

.station-balance-metric-label {
    color: #687487;
    font-size: 0.64rem;
    font-weight: 700;
    line-height: 1.2;
}

.station-balance-metric strong {
    margin-top: 0.18rem;
    color: #1e2c42;
    font-size: 1.25rem;
    line-height: 1;
}

.station-balance-metric small {
    margin-top: 0.25rem;
    color: #6b7687;
    font-size: 0.62rem;
}

.station-balance-metric.below strong {
    color: #a66c00;
}

.station-balance-metric.above strong {
    color: #b12f40;
}

.station-balance-metric.complete strong {
    color: #1b7754;
}

.station-balance-badge-row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0.45rem;
    margin-top: 0.65rem;
}

.station-balance-hour-summary,
.station-balance-role-balance {
    display: contents;
}

.station-balance-hour-summary > span,
.station-balance-role-balance > span {
    flex: 1 1 4.5rem;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.station-balance-hour-summary {
    gap: 0.45rem;
    color: #647085;
    font-size: clamp(0.55rem, 1.2vw, 0.62rem);
}

.station-balance-hour-summary span {
    padding: 0.45rem 0.5rem;
    border-radius: 9px;
    background: #f2f5f9;
    text-align: center;
}

.station-balance-hour-summary strong {
    color: #2d3d56;
    font-weight: 800;
}

.station-balance-hour-summary .negative,
.station-balance-hour-summary .negative strong {
    color: #936000;
    background: #fff5da;
}

.station-balance-hour-summary .positive,
.station-balance-hour-summary .positive strong {
    color: #a02d3c;
    background: #fce9ec;
}

.station-balance-hour-summary .neutral,
.station-balance-hour-summary .neutral strong {
    color: #1c704f;
    background: #e4f4ec;
}

.station-balance-role-balance {
    gap: 0.45rem;
}

.station-balance-role-balance span {
    display: flex;
    align-items: center;
    gap: 0.1rem;
    padding: 0.35rem 0.45rem;
    border-radius: 8px;
    background: #f2f5f9;
    color: #2d3d56;
    font-size: clamp(0.55rem, 1.2vw, 0.68rem);
    font-weight: 600;
}

.station-balance-role-balance span.negative {
    background: #fff5da;
    color: #936000;
}

.station-balance-role-balance span.positive {
    background: #fce9ec;
    color: #a02d3c;
}

.station-balance-role-balance span.neutral {
    background: #e4f4ec;
    color: #1c704f;
}

.station-balance-role-balance em {
    font-style: normal;
    font-weight: 800;
}

.station-balance-role-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.75rem;
    margin-top: 0.75rem;
    padding-top: 0.7rem;
    border-top: 1px solid #e5eaf1;
    color: #5e6a7c;
    font-size: 0.65rem;
    font-weight: 600;
}

.station-balance-role-summary span {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
}

.station-balance-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.station-balance-dot.waiting {
    background: #738195;
}

.station-balance-dot.report {
    background: #55647a;
}

.station-balance-dot.mismatch {
    background: #a43b8b;
}

.station-balance-role-total {
    margin-left: auto;
    color: #36465f;
}

.station-balance-print-roles {
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem 0.5rem;
    margin-top: 0.3rem;
    color: #46556d;
    font-size: 0.72rem;
    font-weight: 600;
}

.station-balance-print-role-negative {
    background: #fff3cd;
    color: #7c5700;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
}

.station-balance-print-role-positive {
    background: #f8d7da;
    color: #842029;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
}

.station-balance-print-role-neutral {
    color: #46556d;
}

.station-balance-print-roles .station-balance-print-role-negative,
.station-balance-print-roles .station-balance-print-role-positive {
    padding: 0.05rem 0.2rem;
    border-radius: 0.2rem;
}

.station-balance-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.35rem;
    padding: 2rem 1rem;
    color: #647186;
    text-align: center;
}

.station-balance-empty i {
    margin-bottom: 0.25rem;
    color: #6385b6;
    font-size: 1.6rem;
}

.station-balance-empty strong {
    color: #2f405a;
}

.station-balance-empty span {
    font-size: 0.78rem;
}

.station-balance-print-report {
    display: none;
}

.station-balance-detail-status {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.8rem 0.95rem;
    border-left: 4px solid #21865f;
    border-radius: 0 12px 12px 0;
    color: #315344;
    background: #edf8f3;
}

.station-balance-detail-status strong {
    font-size: 0.9rem;
}

.station-balance-detail-status span {
    font-size: 0.82rem;
    line-height: 1.45;
}

.station-balance-detail-status.tutarsiz {
    border-left-color: #a23a88;
    color: #6d285c;
    background: #fbecf7;
}

.station-balance-detail-status.denge-gerekli {
    border-left-color: #7754b8;
    color: #53398a;
    background: #f2edfb;
}

.station-balance-detail-status.eksik {
    border-left-color: #d49412;
    color: #735000;
    background: #fff6dd;
}

.station-balance-detail-status.asmis {
    border-left-color: #d03d4f;
    color: #8f2936;
    background: #fcebee;
}

.station-balance-detail-status.bekleyen {
    border-left-color: #778496;
    color: #4f5c6e;
    background: #eef1f5;
}

.station-balance-detail-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}

.station-balance-detail-metric {
    min-width: 0;
    padding: 0.8rem 0.9rem;
    border: 1px solid #e0e7f0;
    border-radius: 12px;
    background: #f8fafc;
}

.station-balance-detail-metric > span,
.station-balance-detail-metric > strong,
.station-balance-detail-metric > small {
    display: block;
}

.station-balance-detail-metric > span {
    color: #657287;
    font-size: 0.72rem;
    font-weight: 700;
}

.station-balance-detail-metric > strong {
    margin-top: 0.2rem;
    color: #22334c;
    font-size: 1.35rem;
    line-height: 1;
}

.station-balance-detail-metric > small {
    margin-top: 0.35rem;
    color: #667286;
    font-size: 0.68rem;
}

.station-balance-detail-metric.warning > strong {
    color: #9b6500;
}

.station-balance-detail-metric.danger > strong {
    color: #aa3040;
}

.station-balance-detail-metric.info > strong {
    color: #21639d;
}

.station-balance-detail-people {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 1rem;
    margin-top: 0.9rem;
    padding: 0.75rem 0.85rem;
    border: 1px solid #e3e9f1;
    border-radius: 12px;
    color: #57657a;
    background: #fbfcfe;
    font-size: 0.75rem;
}

.station-balance-detail-people span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.station-balance-detail-people-total {
    margin-left: auto;
    color: #30415b;
}

.station-balance-equalization-detail {
    padding: 0.9rem;
    border: 1px solid #cddded;
    border-radius: 12px;
    background: #f5f9fd;
}

.station-balance-equalization-title {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: #193a5b;
}

.station-balance-equalization-title i {
    color: #176b9d;
}

.station-balance-equalization-title h6 {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 700;
}

.station-balance-equalization-totals {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.7rem;
}

.station-balance-equalization-totals span {
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    color: #173b5e;
    background: #dcecf9;
    font-size: 0.76rem;
}

.station-balance-equalization-entry {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-top: 0.55rem;
    color: #263a50;
    font-size: 0.8rem;
    line-height: 1.45;
}

.station-balance-equalization-direction {
    color: #145b87;
    font-weight: 700;
}

.station-balance-equalization-names {
    flex-basis: 100%;
    color: #40566d;
}

.station-balance-equalization-empty {
    margin: 0.65rem 0 0;
    color: #40566d;
    font-size: 0.8rem;
}

.station-balance-detail-explanations {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
}

.station-balance-detail-explanations > div {
    padding: 0.75rem 0.85rem;
    border: 1px solid rgba(40, 75, 143, 0.1);
    border-radius: 12px;
    background: #f8f9fc;
}

.station-balance-detail-explanations strong,
.station-balance-detail-explanations span {
    display: block;
}

.station-balance-detail-explanations strong {
    margin-bottom: 0.25rem;
    color: var(--theme-navy-dark);
    font-size: 0.82rem;
}

.station-balance-detail-explanations span {
    color: #526077;
    font-size: 0.78rem;
    line-height: 1.5;
}

@media (max-width: 1199.98px) {
    .station-balance-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .station-balance-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .station-balance-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 767.98px) {
    .station-balance-header {
        align-items: flex-start;
    }

    .station-balance-toggle {
        width: 38px;
        min-width: 38px;
    }

    .station-balance-grid {
        grid-template-columns: 1fr;
    }

    .station-balance-detail-metrics,
    .station-balance-detail-explanations {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .station-balance-summary {
        grid-template-columns: 1fr;
    }

    .station-balance-filters,
    .station-balance-filter {
        width: 100%;
    }

    .station-balance-filter {
        justify-content: space-between;
    }

    .station-balance-metrics {
        grid-template-columns: 1fr;
    }

    .station-balance-hour-summary {
        grid-template-columns: 1fr;
    }

    .station-balance-detail-people {
        flex-direction: column;
    }

    .station-balance-detail-people-total {
        margin-left: 0;
    }
}

.report-help-card {
    position: relative;
}

.report-help-card h5,
.report-help-card .planlama-overview-label,
.report-help-card .text-uppercase.fw-semibold {
    padding-right: 2rem;
}

.report-help-trigger {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.8rem;
    height: 1.8rem;
    padding: 0;
    border: 1px solid rgba(40, 75, 143, 0.2);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    color: var(--theme-navy);
    box-shadow: 0 4px 12px rgba(26, 47, 87, 0.14);
    transition: opacity 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.report-help-trigger:hover,
.report-help-trigger:focus-visible {
    transform: translateY(-1px);
    background: #fff;
    color: var(--theme-navy-dark);
    box-shadow: 0 6px 16px rgba(26, 47, 87, 0.22);
}

.planlama-overview-card .report-help-trigger {
    border-color: rgba(255, 255, 255, 0.48);
    background: rgba(255, 255, 255, 0.18);
    color: inherit;
    box-shadow: none;
    backdrop-filter: blur(3px);
}

.planlama-overview-card .report-help-trigger:hover,
.planlama-overview-card .report-help-trigger:focus-visible {
    background: rgba(255, 255, 255, 0.32);
    color: inherit;
}

.report-help-inline-card h5 {
    padding-right: 0;
}

.report-help-heading {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.report-help-trigger.report-help-trigger-inline {
    position: static;
    flex: 0 0 auto;
    width: 1.55rem;
    height: 1.55rem;
    font-size: 0.8rem;
}

@media (hover: hover) and (pointer: fine) {
    .report-help-card .report-help-trigger {
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
    }

    .report-help-card:hover .report-help-trigger,
    .report-help-card:focus-within .report-help-trigger {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }
}

.report-help-modal-content {
    position: relative;
    overflow: visible;
    border: 0;
    border-radius: 20px;
    box-shadow: 0 24px 64px rgba(19, 37, 70, 0.24);
}

.modal-dialog-scrollable .report-help-modal-content {
    overflow: visible;
}

.report-help-modal-content .modal-header {
    position: relative;
    min-height: 5.2rem;
    justify-content: flex-start;
    padding: 1rem 3.5rem 1rem 1rem;
    text-align: left;
    border-bottom-color: var(--theme-header-red-dark);
    border-radius: 20px 20px 0 0;
    background: linear-gradient(135deg, var(--theme-header-red), var(--theme-header-red-dark));
    color: #fff;
}

.report-help-modal-content .modal-title {
    color: #fff;
}

.report-help-modal-content .modal-header .btn-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    filter: brightness(0) invert(1);
    opacity: 0.82;
}

.report-help-modal-content .modal-header .btn-close:hover,
.report-help-modal-content .modal-header .btn-close:focus {
    opacity: 1;
}

.report-help-modal-heading {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.85rem;
    width: 100%;
}

.report-help-modal-icon {
    position: static;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    flex: 0 0 3rem;
    border: 3px solid #fff;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--theme-header-red), var(--theme-header-red-dark));
    color: #fff;
    font-size: 1.55rem;
    line-height: 1;
    box-shadow:
        0 8px 18px rgba(91, 10, 24, 0.22),
        inset 0 0 0 3px rgba(255, 255, 255, 0.08);
    transform: rotate(-5deg);
}

.modal.show .report-help-modal-icon {
    animation: report-help-icon-pop 0.38s cubic-bezier(0.2, 0.85, 0.35, 1.25);
}

@keyframes report-help-icon-pop {
    0% {
        opacity: 0;
        transform: translateY(6px) scale(0.82) rotate(-12deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotate(-5deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .modal.show .report-help-modal-icon {
        animation: none;
    }
}

.report-help-modal-kicker {
    margin-bottom: 0.2rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.report-help-section + .report-help-section {
    margin-top: 1.15rem;
}

.report-help-section-title {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.45rem;
    color: var(--theme-navy-dark);
    font-size: 0.95rem;
    font-weight: 700;
}

.report-help-term-list {
    display: grid;
    gap: 0.55rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.report-help-term-list li {
    padding: 0.65rem 0.75rem;
    border: 1px solid rgba(40, 75, 143, 0.1);
    border-radius: 12px;
    background: #f7f9fc;
}

.report-help-term-name {
    color: var(--theme-navy-dark);
    font-weight: 700;
}

.report-help-context {
    margin-top: 1rem;
    padding: 0.75rem 0.85rem;
    border-left: 4px solid #0b9bc6;
    border-radius: 0 12px 12px 0;
    background: rgba(11, 155, 198, 0.07);
    color: #35435a;
    font-size: 0.9rem;
}

.report-help-example {
    margin-top: 0.75rem;
    padding: 0.75rem 0.85rem;
    border: 1px solid rgba(184, 31, 55, 0.14);
    border-radius: 12px;
    background: rgba(184, 31, 55, 0.06);
    color: #4b3a3e;
    font-size: 0.9rem;
}

.report-help-example strong {
    color: var(--theme-header-red-dark);
}

.report-help-scope {
    margin-top: 0.75rem;
    padding: 0.75rem 0.85rem;
    border-left: 4px solid var(--theme-navy);
    border-radius: 0 12px 12px 0;
    background: rgba(63, 81, 181, 0.06);
    color: #3d4658;
    font-size: 0.9rem;
    line-height: 1.55;
}

.report-help-scope strong {
    color: var(--theme-navy-dark);
}

.report-help-guidance {
    display: grid;
    gap: 0.65rem;
    margin-top: 0.75rem;
}

.report-help-guidance > div {
    padding: 0.7rem 0.8rem;
    border: 1px solid rgba(40, 75, 143, 0.1);
    border-radius: 12px;
    background: #f8f9fc;
    color: #465166;
    font-size: 0.9rem;
    line-height: 1.55;
}

.report-help-guidance strong {
    color: var(--theme-navy-dark);
}

.planlama-overview-note {
    position: relative;
    z-index: 1;
    margin-top: 0.35rem;
    font-size: 0.68rem;
    font-weight: 600;
    opacity: 0.82;
}

.report-filter-panel {
    padding: 1rem;
    border: 1px solid rgba(40, 75, 143, 0.1);
    border-radius: 16px;
    background: linear-gradient(180deg, #f9fbff, #f2f6fc);
}

.report-filter-grid {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) minmax(170px, 0.45fr) auto auto;
    gap: 0.85rem;
    align-items: end;
}

.report-filter-counter {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-inline: 0.9rem;
}

.report-comparison-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.report-comparison-item {
    padding: 0.85rem 0.9rem;
    border: 1px solid rgba(40, 75, 143, 0.08);
    border-radius: 16px;
    background: linear-gradient(180deg, #f9fbff, #f1f6fd);
}

.report-comparison-value {
    color: var(--theme-navy-dark);
    font-size: 1rem;
    font-weight: 800;
}

.report-method-note {
    padding: 0.75rem 0.9rem;
    border-left: 4px solid #0b9bc6;
    border-radius: 12px;
    background: rgba(11, 155, 198, 0.08);
    color: #46556d;
    font-size: 0.82rem;
    line-height: 1.45;
}

.ilce-hero-card {
    background:
        radial-gradient(circle at top right, rgba(13, 110, 253, 0.18), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(240, 245, 252, 0.98));
}

.ilce-insight-card {
    border-radius: 18px;
}

.ilce-insight-card.primary {
    background: linear-gradient(135deg, rgba(53, 92, 186, 0.12), rgba(32, 62, 125, 0.06));
}

.ilce-insight-card.success {
    background: linear-gradient(135deg, rgba(22, 156, 104, 0.12), rgba(15, 109, 73, 0.06));
}

.ilce-insight-card.warning {
    background: linear-gradient(135deg, rgba(240, 173, 14, 0.18), rgba(213, 139, 0, 0.08));
}

.ilce-insight-card.danger {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.14), rgba(169, 33, 49, 0.07));
}

.ilce-insight-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--theme-navy-dark);
    font-size: 1.2rem;
    margin-bottom: 0.85rem;
}

.ilce-card {
    border-radius: 20px;
}

.ilce-status-badge {
    border-radius: 999px;
    padding: 0.45rem 0.75rem;
    font-size: 0.74rem;
}

.ilce-mini-metric {
    height: 100%;
    border-radius: 14px;
    padding: 0.75rem 0.85rem;
    background: rgba(231, 238, 248, 0.85);
    border: 1px solid rgba(40, 75, 143, 0.08);
}

.ilce-mini-metric .label {
    display: block;
    font-size: 0.74rem;
    font-weight: 600;
    color: #63748f;
    margin-bottom: 0.2rem;
}

.ilce-mini-metric strong {
    font-size: 1.1rem;
    color: var(--theme-navy-dark);
}

.ilce-progress {
    height: 10px;
    border-radius: 999px;
    background: rgba(26, 47, 87, 0.08);
}

.ilce-summary-note {
    border-radius: 14px;
    padding: 0.85rem 0.95rem;
    background: #f6f9fd;
    color: #46556d;
    font-size: 0.84rem;
    line-height: 1.5;
}

.ilce-ranking-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.65rem 0;
    border-bottom: 1px dashed rgba(26, 47, 87, 0.12);
}

.ilce-ranking-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.ilce-ranking-item:first-child {
    padding-top: 0;
}

.ilce-accordion-item {
    border: none;
    border-radius: 18px !important;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(26, 47, 87, 0.06);
    margin-bottom: 1rem;
}

.ilce-accordion-item .accordion-button {
    font-weight: 700;
    color: var(--theme-navy-dark);
    background: linear-gradient(180deg, rgba(248, 251, 255, 0.98), rgba(238, 244, 251, 0.98));
}

.personel-hero-card {
    position: relative;
    overflow: hidden;
}

.personel-hero-card::after {
    content: '';
    position: absolute;
    inset: auto -30px -30px auto;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(53, 92, 186, 0.16), transparent 70%);
    pointer-events: none;
}

.personel-dashboard-filter-grid {
    display: grid;
    grid-template-columns: minmax(260px, 1.5fr) repeat(3, minmax(0, 1fr)) auto;
    gap: 1rem;
    align-items: end;
}

.personel-filter-toggle {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(40, 75, 143, 0.12);
    box-shadow: 0 6px 16px rgba(26, 47, 87, 0.05);
}

.personel-filter-toggle .form-check-input {
    margin-top: 0;
}

.personel-chart-grid {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
}

.personel-ring-chart {
    --chart-gradient: conic-gradient(#dbe5f2 0 100%);
    position: relative;
    width: 170px;
    height: 170px;
    margin-inline: auto;
    border-radius: 50%;
    background: var(--chart-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 0 1px rgba(40, 75, 143, 0.04), 0 16px 28px rgba(26, 47, 87, 0.08);
}

.personel-ring-chart::after {
    content: '';
    width: 102px;
    height: 102px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: inset 0 0 0 1px rgba(40, 75, 143, 0.08);
    position: absolute;
}

.personel-ring-chart-center {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.personel-ring-chart-center strong {
    font-size: 1.55rem;
    color: var(--theme-navy-dark);
    line-height: 1;
}

.personel-ring-chart-center span {
    margin-top: 0.25rem;
    font-size: 0.78rem;
    color: #61738f;
    font-weight: 700;
}

.personel-chart-legend {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.personel-legend-item {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
}

.personel-legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.personel-mini-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.personel-bar-chart {
    min-height: 250px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(56px, 1fr));
    gap: 0.8rem;
    align-items: end;
}

.personel-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
}

.personel-bar-value {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--theme-navy-dark);
}

.personel-bar-track {
    width: 100%;
    height: 180px;
    padding: 0.4rem;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(53, 92, 186, 0.08), rgba(53, 92, 186, 0.02));
    display: flex;
    align-items: end;
}

.personel-bar-fill {
    width: 100%;
    border-radius: 12px;
    background: linear-gradient(180deg, #6ea0ff, #355cba);
    box-shadow: 0 10px 18px rgba(53, 92, 186, 0.22);
}

.personel-bar-label {
    font-size: 0.72rem;
    text-align: center;
    font-weight: 700;
    color: #5f6f8c;
    line-height: 1.25;
}

.personel-horizontal-list {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.personel-horizontal-item {
    padding: 0.7rem 0.8rem;
    border-radius: 16px;
    background: linear-gradient(180deg, #f9fbff, #f1f6fd);
    border: 1px solid rgba(40, 75, 143, 0.08);
}

.personel-horizontal-track {
    width: 100%;
    height: 10px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(26, 47, 87, 0.08);
}

.personel-horizontal-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #18b5d9, #0b9bc6);
}

.personel-diverging-chart {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.personel-diverging-row {
    display: grid;
    grid-template-columns: minmax(92px, 112px) minmax(0, 1fr) 56px;
    gap: 0.75rem;
    align-items: center;
}

.personel-diverging-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #5c6d88;
}

.personel-diverging-track {
    position: relative;
    height: 12px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(220, 53, 69, 0.08) 0 50%, rgba(11, 155, 198, 0.08) 50% 100%);
    overflow: hidden;
}

.personel-diverging-center {
    position: absolute;
    left: 50%;
    top: 0;
    width: 2px;
    height: 100%;
    background: rgba(26, 47, 87, 0.18);
    transform: translateX(-50%);
}

.personel-diverging-bar {
    position: absolute;
    top: 0;
    height: 100%;
    border-radius: 999px;
}

.personel-diverging-bar.positive {
    background: linear-gradient(90deg, #61c5e0, #0b9bc6);
}

.personel-diverging-bar.negative {
    background: linear-gradient(90deg, #dc3545, #ff7a88);
}

.personel-diverging-value {
    text-align: right;
    font-size: 0.8rem;
    font-weight: 800;
}

.personel-report-card {
    border-radius: 20px;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.personel-report-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 32px rgba(26, 47, 87, 0.12);
}

.personel-report-card.success {
    background: linear-gradient(180deg, #ffffff, #f6fcf9);
}

.personel-report-card.warning {
    background: linear-gradient(180deg, #ffffff, #fffaf0);
}

.personel-report-card.info {
    background: linear-gradient(180deg, #ffffff, #f4fbff);
}

.personel-report-card.danger {
    background: linear-gradient(180deg, #ffffff, #fff5f6);
}

.personel-meta-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.personel-summary-note {
    border-radius: 14px;
    padding: 0.85rem 0.95rem;
    background: rgba(231, 238, 248, 0.65);
    color: #46556d;
    font-size: 0.84rem;
    line-height: 1.5;
}

.report-summary-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.personel-target-gap-list {
    max-height: 22rem;
    padding-right: 0.35rem;
    overflow-y: auto;
}

.report-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 0.85rem;
    border-radius: 16px;
    background: linear-gradient(180deg, #f9fbff, #f1f6fd);
    border: 1px solid rgba(40, 75, 143, 0.08);
}

.report-trend-list {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.report-trend-item {
    padding: 0.85rem 0.9rem;
    border-radius: 16px;
    background: linear-gradient(180deg, #f9fbff, #f1f6fd);
    border: 1px solid rgba(40, 75, 143, 0.08);
}

.report-watchlist {
    margin: 0;
    padding-left: 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    color: #46556d;
}

.report-watchlist li {
    line-height: 1.55;
}

.management-data-status {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.9rem 1rem;
    border: 1px solid transparent;
    border-radius: 16px;
    color: #263a5e;
}

.management-data-status i {
    margin-top: 0.1rem;
}

.management-data-status div {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.management-data-status span {
    color: #52627c;
    font-size: 0.84rem;
}

.management-data-status.success {
    background: rgba(22, 156, 104, 0.09);
    border-color: rgba(22, 156, 104, 0.2);
}

.management-data-status.warning {
    background: rgba(240, 173, 14, 0.12);
    border-color: rgba(240, 173, 14, 0.24);
}

.management-data-status.info {
    background: rgba(11, 155, 198, 0.09);
    border-color: rgba(11, 155, 198, 0.2);
}

.management-data-status.secondary {
    background: rgba(99, 116, 143, 0.09);
    border-color: rgba(99, 116, 143, 0.18);
}

.management-kpi-card {
    position: relative;
    min-height: 174px;
    height: 100%;
    padding: 1rem;
    overflow: hidden;
    border-radius: 20px;
    color: #fff;
    box-shadow: 0 14px 26px rgba(26, 47, 87, 0.1);
}

.management-kpi-card::after {
    content: '';
    position: absolute;
    width: 110px;
    height: 110px;
    top: -38px;
    right: -28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.11);
}

.management-kpi-card.primary {
    background: linear-gradient(145deg, #355cba, #203e7d);
}

.management-kpi-card.success {
    background: linear-gradient(145deg, #169c68, #087249);
}

.management-kpi-card.warning {
    background: linear-gradient(145deg, #f0ad0e, #d58b00);
    color: #17233b;
}

.management-kpi-card.danger {
    background: linear-gradient(145deg, #dc3545, #a92131);
}

.management-kpi-card.info {
    background: linear-gradient(145deg, #0b9bc6, #08789b);
}

.management-kpi-card.secondary {
    background: linear-gradient(145deg, #7a879a, #596779);
}

.management-kpi-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    margin-bottom: 0.75rem;
    background: rgba(255, 255, 255, 0.16);
    font-size: 1.1rem;
}

.management-kpi-value {
    position: relative;
    z-index: 1;
    font-size: clamp(1.35rem, 2vw, 1.8rem);
    font-weight: 900;
    line-height: 1.1;
}

.management-kpi-label {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    font-weight: 800;
}

.management-kpi-note {
    margin-top: 0.3rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.72rem;
    line-height: 1.35;
}

.management-kpi-card.warning .management-kpi-note {
    color: rgba(23, 35, 59, 0.72);
}

.management-secondary-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    padding: 0.8rem;
    border: 1px solid rgba(40, 75, 143, 0.08);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(26, 47, 87, 0.05);
}

.management-secondary-strip span {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    padding: 0.48rem 0.68rem;
    border-radius: 999px;
    background: #f0f5fb;
    color: #53627a;
    font-size: 0.78rem;
}

.management-secondary-strip strong {
    color: var(--theme-navy-dark);
}

.management-panel {
    border-radius: 20px;
}

.management-chart-legend,
.management-heatmap-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    color: #5c6d88;
    font-size: 0.76rem;
    font-weight: 700;
}

.management-chart-legend span,
.management-heatmap-legend span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.management-chart-legend i {
    width: 18px;
    height: 4px;
    border-radius: 999px;
}

.management-chart-legend .planned i {
    background: #355cba;
}

.management-chart-legend .scheduled i {
    background: #0b9bc6;
}

.management-chart-legend .target i {
    background: #f0ad0e;
}

.management-line-chart {
    padding: 0.8rem 0.8rem 0.3rem;
    border: 1px solid rgba(40, 75, 143, 0.08);
    border-radius: 18px;
    background: linear-gradient(180deg, #fbfdff, #f2f6fc);
}

.management-line-chart svg {
    display: block;
    width: 100%;
    height: 280px;
    overflow: visible;
}

.management-line-chart polyline {
    fill: none;
    vector-effect: non-scaling-stroke;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.management-line-chart .grid-line {
    stroke: rgba(40, 75, 143, 0.1);
    stroke-width: 0.5;
    vector-effect: non-scaling-stroke;
}

.management-line-chart .planned-line {
    stroke: #355cba;
    stroke-width: 3;
}

.management-line-chart .scheduled-line {
    stroke: #0b9bc6;
    stroke-width: 3;
}

.management-line-chart .target-line {
    stroke: #f0ad0e;
    stroke-width: 2;
    stroke-dasharray: 5 4;
}

.management-line-chart .planned-point {
    fill: #355cba;
}

.management-line-chart .scheduled-point {
    fill: #0b9bc6;
}

.management-line-chart .target-point {
    fill: #f0ad0e;
}

.management-line-chart circle {
    vector-effect: non-scaling-stroke;
    stroke: #fff;
    stroke-width: 1.5;
}

.management-line-chart-labels {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    color: #65758e;
    font-size: 0.74rem;
    font-weight: 700;
    text-align: center;
}

.management-detail-disclosure {
    border-radius: 14px;
    background: #f7f9fc;
}

.management-detail-disclosure summary {
    padding: 0.8rem 0.95rem;
    color: #435573;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 800;
}

.management-detail-disclosure[open] {
    padding: 0 0.8rem 0.8rem;
}

.management-priority-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.management-priority-card {
    padding: 0.9rem;
    border: 1px solid rgba(40, 75, 143, 0.1);
    border-left-width: 4px;
    border-radius: 16px;
    background: #fbfcfe;
}

.management-priority-card.danger {
    border-left-color: #dc3545;
}

.management-priority-card.warning {
    border-left-color: #f0ad0e;
}

.management-priority-card.info {
    border-left-color: #0b9bc6;
}

.management-priority-card.success {
    border-left-color: #169c68;
}

.management-priority-title {
    color: #687791;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.management-reason-list {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin: 0.65rem 0 0;
    padding-left: 1.05rem;
    color: #53627a;
    font-size: 0.76rem;
}

.management-capacity-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.management-capacity-row {
    padding-bottom: 0.9rem;
    border-bottom: 1px dashed rgba(40, 75, 143, 0.12);
}

.management-capacity-row:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.management-capacity-heading {
    display: flex;
    justify-content: space-between;
    gap: 0.8rem;
    margin-bottom: 0.55rem;
}

.management-capacity-heading div {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.management-capacity-heading strong {
    overflow: hidden;
    color: var(--theme-navy-dark);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.management-capacity-heading span:not(.badge) {
    color: #70809a;
    font-size: 0.72rem;
}

.management-capacity-track {
    position: relative;
    height: 16px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(26, 47, 87, 0.07);
}

.management-capacity-track .need-bar,
.management-capacity-track .capacity-bar {
    position: absolute;
    left: 0;
    border-radius: 999px;
}

.management-capacity-track .need-bar {
    top: 2px;
    height: 12px;
    background: rgba(53, 92, 186, 0.2);
}

.management-capacity-track .capacity-bar {
    top: 5px;
    height: 6px;
    background: #169c68;
}

.management-capacity-track .capacity-bar.has-gap {
    background: #dc3545;
}

.management-capacity-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 1rem;
    margin-top: 0.45rem;
    color: #667791;
    font-size: 0.72rem;
}

.management-capacity-meta strong {
    color: #263a5e;
}

.management-waterfall {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.management-waterfall-row {
    display: grid;
    grid-template-columns: minmax(132px, 1fr) minmax(100px, 1.4fr) 58px;
    gap: 0.7rem;
    align-items: center;
}

.management-waterfall-label {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.management-waterfall-label strong {
    color: var(--theme-navy-dark);
    font-size: 0.8rem;
}

.management-waterfall-label span {
    color: #71809a;
    font-size: 0.68rem;
    line-height: 1.3;
}

.management-waterfall-track {
    height: 13px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(26, 47, 87, 0.07);
}

.management-waterfall-track div {
    height: 100%;
    border-radius: inherit;
}

.management-waterfall-row.base .management-waterfall-track div {
    background: #355cba;
}

.management-waterfall-row.positive .management-waterfall-track div {
    background: #169c68;
}

.management-waterfall-row.negative .management-waterfall-track div {
    background: #dc3545;
}

.management-waterfall-row.result .management-waterfall-track div {
    background: #0b9bc6;
}

.management-waterfall-value {
    color: #263a5e;
    font-size: 0.8rem;
    font-weight: 900;
    text-align: right;
}

.management-heatmap-legend span::before {
    content: '';
    width: 11px;
    height: 11px;
    border-radius: 3px;
}

.management-heatmap-legend .danger::before,
.management-heatmap-cell.danger {
    background: #dc3545;
}

.management-heatmap-legend .warning::before,
.management-heatmap-cell.warning {
    background: #f0ad0e;
}

.management-heatmap-legend .info::before,
.management-heatmap-cell.info {
    background: #0b9bc6;
}

.management-heatmap-legend .success::before,
.management-heatmap-cell.success {
    background: #169c68;
}

.management-heatmap-legend .empty::before,
.management-heatmap-cell.empty {
    background: #dbe3ee;
}

.management-heatmap-wrap {
    overflow-x: auto;
    padding-bottom: 0.3rem;
}

.management-heatmap {
    display: grid;
    grid-template-columns: 180px repeat(var(--heatmap-days), minmax(22px, 1fr));
    gap: 4px;
    min-width: 920px;
    align-items: center;
}

.management-heatmap-corner,
.management-heatmap-day {
    color: #687791;
    font-size: 0.68rem;
    font-weight: 800;
    text-align: center;
}

.management-heatmap-corner {
    text-align: left;
}

.management-heatmap-station {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding-right: 0.5rem;
}

.management-heatmap-station strong {
    overflow: hidden;
    color: #334766;
    font-size: 0.72rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.management-heatmap-station span {
    color: #7a879a;
    font-size: 0.64rem;
}

.management-heatmap-cell {
    width: 100%;
    min-width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.78);
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(26, 47, 87, 0.08);
}

.management-dumbbell-list {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.management-dumbbell-row {
    display: grid;
    grid-template-columns: minmax(110px, 0.8fr) minmax(160px, 1.6fr) minmax(104px, 0.8fr);
    gap: 0.7rem;
    align-items: center;
}

.management-dumbbell-label {
    display: flex;
    flex-direction: column;
}

.management-dumbbell-label strong {
    color: #334766;
    font-size: 0.78rem;
}

.management-dumbbell-label span {
    color: #7a879a;
    font-size: 0.68rem;
}

.management-dumbbell-track {
    position: relative;
    height: 16px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(220, 53, 69, 0.06), rgba(11, 155, 198, 0.08));
}

.management-dumbbell-track .range {
    position: absolute;
    top: 6px;
    height: 4px;
    border-radius: 999px;
    background: #89a2c8;
}

.management-dumbbell-track i {
    position: absolute;
    top: 3px;
    width: 10px;
    height: 10px;
    border: 2px solid #fff;
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 2px 6px rgba(26, 47, 87, 0.18);
}

.management-dumbbell-track .minimum {
    background: #dc3545;
}

.management-dumbbell-track .median {
    top: 1px;
    width: 14px;
    height: 14px;
    background: #f0ad0e;
}

.management-dumbbell-track .maximum {
    background: #0b9bc6;
}

.management-dumbbell-values {
    color: #334766;
    font-size: 0.76rem;
    font-weight: 800;
    text-align: right;
}

.management-dumbbell-values small {
    display: block;
    color: #7a879a;
    font-weight: 600;
}

.management-empty-state {
    padding: 1rem;
    border: 1px dashed rgba(40, 75, 143, 0.16);
    border-radius: 14px;
    background: #f7f9fc;
    color: #687791;
    font-size: 0.8rem;
}

@media (max-width: 1399.98px) {
    .report-filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .personel-dashboard-filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .personel-filter-toggle {
        grid-column: span 2;
    }
}

@media (max-width: 991.98px) {
    .personel-chart-grid {
        grid-template-columns: 1fr;
    }

    .personel-diverging-row {
        grid-template-columns: 1fr;
    }

    .personel-diverging-value {
        text-align: left;
    }

    .management-line-chart svg {
        height: 230px;
    }

    .management-dumbbell-row {
        grid-template-columns: minmax(100px, 0.8fr) minmax(150px, 1.5fr);
    }

    .management-dumbbell-values {
        grid-column: 2;
        text-align: left;
    }
}

@media (max-width: 767.98px) {
    .report-filter-grid {
        grid-template-columns: 1fr;
    }

    .personel-dashboard-filter-grid {
        grid-template-columns: 1fr;
    }

    .personel-filter-toggle {
        grid-column: auto;
    }

    .personel-ring-chart {
        width: 150px;
        height: 150px;
    }

    .personel-ring-chart::after {
        width: 92px;
        height: 92px;
    }

    .management-kpi-card {
        min-height: 158px;
    }

    .management-line-chart {
        padding-inline: 0.35rem;
    }

    .management-line-chart svg {
        height: 190px;
    }

    .management-waterfall-row,
    .management-dumbbell-row {
        grid-template-columns: 1fr;
    }

    .management-waterfall-value,
    .management-dumbbell-values {
        grid-column: auto;
        text-align: left;
    }

    .management-capacity-heading {
        align-items: flex-start;
    }
}

.ilce-accordion-item .accordion-button:not(.collapsed) {
    color: var(--theme-navy-dark);
    background: linear-gradient(180deg, rgba(235, 242, 251, 0.98), rgba(226, 236, 249, 0.98));
    box-shadow: none;
}

.planlama-overview-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.14);
    font-size: 1.05rem;
    margin-bottom: 0.7rem;
}

.planlama-overview-value {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.3rem;
}

.planlama-overview-label {
    font-size: 0.82rem;
    font-weight: 600;
    opacity: 0.95;
}

.planlama-toolbar-title {
    font-weight: 700;
    color: var(--theme-navy-dark);
}

.planlama-live-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.planlama-toolbar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.planlama-toolbar-button {
    min-height: 36px;
    border-radius: 999px;
    font-weight: 700;
    box-shadow: 0 10px 22px rgba(26, 47, 87, 0.10);
}

.planlama-live-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: #e8eef7;
    color: #3d4d68;
    font-size: 0.76rem;
    font-weight: 600;
}

.planlama-live-chip.planlama-quick-filter {
    border: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.planlama-live-chip.planlama-quick-filter:hover,
.planlama-live-chip.planlama-quick-filter:focus {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(26, 47, 87, 0.12);
    filter: saturate(1.08);
}

.planlama-live-chip.planlama-quick-filter.is-active {
    box-shadow: 0 0 0 2px rgba(26, 47, 87, 0.18), 0 10px 22px rgba(26, 47, 87, 0.14);
}

.planlama-page-fixed-layout {
    --planlama-sticky-top: 76px;
}

html:has(#planlamaListesi) {
    scroll-behavior: auto;
}

#planlamaListesi {
    scroll-margin-top: calc(var(--planlama-sticky-top) + 12px);
}

.planlama-live-chip strong {
    color: var(--theme-navy-dark);
}

.planlama-live-chip.success { background: rgba(25, 90, 64, 0.12); color: #1d5c45; }
.planlama-live-chip.warning { background: rgba(177, 128, 16, 0.16); color: #78570a; }
.planlama-live-chip.danger { background: rgba(124, 135, 147, 0.16); color: #56616d; }
.planlama-live-chip.neutral { background: rgba(85, 95, 110, 0.14); color: #43505f; }

.planlama-table-wrap {
    position: relative;
    max-width: 100%;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
}

.planlama-table-scroll {
    overflow: visible;
    max-height: none;
}

.planlama-table-wrap table {
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.planlama-table-wrap thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: linear-gradient(180deg, #f9fafb, #f1f3f5) !important;
    color: #4b5563;
    padding-top: 0.95rem;
    padding-bottom: 0.95rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.08);
    white-space: nowrap;
}

.planlama-th-title,
.planlama-th-unit {
    display: block;
}

.planlama-th-title {
    font-weight: 700;
}

.planlama-th-unit {
    margin-top: 0.12rem;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    opacity: 0.82;
}

.planlama-table-wrap tbody td {
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
    border-color: rgba(201, 212, 229, 0.82);
    background-clip: padding-box;
}

.planlama-table-wrap tbody tr + tr td {
    border-top: 2px solid rgba(207, 214, 224, 0.95);
}

.planlama-table-wrap tbody tr:nth-child(odd) td {
    background-color: rgba(243, 247, 252, 0.92);
}

.planlama-table-wrap tbody tr:nth-child(even) td {
    background-color: rgba(252, 253, 255, 0.98);
}

.planlama-table-wrap tbody tr:hover {
    box-shadow: inset 0 0 0 9999px rgba(26, 47, 87, 0.045);
}

.planlama-table-wrap tbody tr.table-danger td {
    background-color: rgba(124, 135, 147, 0.12);
}

.planlama-table-wrap tbody tr.table-warning td {
    background-color: rgba(184, 140, 26, 0.12);
}

.planlama-table-wrap tbody tr.table-success td {
    background-color: rgba(25, 90, 64, 0.10);
}

.planlama-table-wrap tbody tr.table-secondary td {
    background-color: rgba(85, 95, 110, 0.11);
}

.planlama-table-wrap tbody tr.table-light td {
    background-color: rgba(234, 239, 246, 0.96);
}

.planlama-station-summary-table {
    border-collapse: separate;
    border-spacing: 0;
}

.planlama-station-summary-table thead th {
    white-space: nowrap;
}

.planlama-station-summary-table tbody td.planlama-station-merged-cell {
    min-width: 260px;
    vertical-align: middle;
    background-image: linear-gradient(90deg, rgba(32, 55, 95, 0.08), rgba(32, 55, 95, 0.02));
    border-bottom: 3px solid rgba(205, 211, 220, 0.95);
}

.planlama-station-summary-table tbody tr.planlama-station-group-end td {
    border-bottom-width: 3px;
    border-bottom-color: rgba(205, 211, 220, 0.95);
}

.planlama-station-summary-table tbody tr.planlama-station-group-end + tr td {
    border-top-color: rgba(226, 230, 237, 0.92);
}

.planlama-person-cell {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    max-width: 200px;
    min-width: 0;
    overflow-wrap: anywhere;
}

.planlama-person-name {
    color: var(--theme-navy-dark);
    font-size: 0.92rem;
    letter-spacing: 0.01em;
    white-space: normal;
}

.planlama-devamsizlik-input {
    font-weight: 700;
    border-width: 2px;
}

.planlama-devamsizlik-input.izin {
    border-color: #d6a018;
    background: #fff;
    color: #6f4d00;
    box-shadow: inset 4px 0 0 rgba(214, 160, 24, 0.72);
}

.planlama-devamsizlik-input.rapor {
    border-color: #c93646;
    background: #fff;
    color: #a52332;
    box-shadow: inset 4px 0 0 rgba(201, 54, 70, 0.72);
}

.planlama-devamsizlik-input.egitim {
    border-color: #2f6fb7;
    background: #fff;
    color: #245a96;
    box-shadow: inset 4px 0 0 rgba(47, 111, 183, 0.72);
}

.planlama-devamsizlik-input:focus {
    box-shadow: 0 0 0 0.18rem rgba(32, 55, 95, 0.12);
}

.planlama-meta-line {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    margin: 0;
    line-height: 1.25;
    min-width: 0;
}

.planlama-meta-label {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 0.12rem 0.45rem;
    border-radius: 999px;
    background: rgba(32, 55, 95, 0.09);
    color: #45617f;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.planlama-meta-value {
    color: #49596d;
    font-size: 0.74rem;
    font-weight: 600;
}

.planlama-ek-bilgiler {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem 0.75rem;
    align-items: start;
    margin-top: 0.45rem;
}

.planlama-person-cell .planlama-ek-bilgiler {
    grid-template-columns: 1fr;
    gap: 0.25rem;
    margin-top: 0.45rem;
}

.planlama-ek-bilgi-input-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.planlama-ek-bilgiler .planlama-unvan-badge {
    min-width: 0;
    justify-content: flex-start;
}

.planlama-unvan-badge,
.planlama-status-badge {
    display: inline-flex;
    align-items: center;
    min-width: 112px;
    justify-content: center;
    padding: 0.48rem 0.8rem;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 8px 18px rgba(26, 47, 87, 0.08);
}

.planlama-unvan-badge.bg-primary,
.planlama-status-badge.bg-primary {
    background: linear-gradient(135deg, #274a87, #1d3763) !important;
}

.planlama-unvan-badge.bg-success,
.planlama-status-badge.bg-success {
    background: linear-gradient(135deg, #21664b, #174733) !important;
}

.planlama-unvan-badge.bg-info,
.planlama-status-badge.bg-info {
    background: linear-gradient(135deg, #2b6980, #1f4d5e) !important;
}

.planlama-unvan-badge.bg-danger,
.planlama-status-badge.bg-danger {
    background: linear-gradient(135deg, var(--theme-danger-button-bg), var(--theme-danger-button-bg-dark)) !important;
}

.planlama-unvan-badge.bg-secondary,
.planlama-status-badge.bg-secondary {
    background: linear-gradient(135deg, #667282, #4a5461) !important;
}

.planlama-unvan-badge.bg-dark {
    background: linear-gradient(135deg, #303844, #1f252d) !important;
}

.planlama-status-badge.bg-warning {
    background: linear-gradient(135deg, #cfad4f, #b0881f) !important;
    color: #2c2410 !important;
}

.planlama-status-badge.bg-light {
    background: linear-gradient(135deg, #eef2f7, #dbe3ee) !important;
    color: #334255 !important;
    border-color: rgba(26, 47, 87, 0.12) !important;
}

.planlama-unvan-badge {
    min-width: 82px;
}

.planlama-status-badge {
    min-width: 118px;
}

.planlama-note-cell {
    display: inline-block;
    max-width: 320px;
    line-height: 1.35;
}

.planlama-edit-input {
    min-width: 72px;
    border-radius: 12px;
    border-color: rgba(26, 47, 87, 0.14);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: inset 0 1px 2px rgba(26, 47, 87, 0.04);
}

.planlama-row-input-wrap {
    display: inline-flex;
    min-width: 84px;
    flex-direction: column;
    align-items: stretch;
    gap: 0.22rem;
}

.planlama-row-input-wrap-wide {
    width: 100%;
}

@media screen {
    .planlama-table-wrap {
        container-type: inline-size;
        overflow: visible;
    }

    #planlamaTablosu {
        --planlama-saat-kutulari: calc(82cqw - 518px - 5 * (0.5rem + 2px));
        --planlama-isme-aktarilan: calc(var(--planlama-saat-kutulari) / 10);
        table-layout: fixed;
        width: 100%;
    }

    #planlamaTablosu th:first-child {
        width: calc(200px + var(--planlama-isme-aktarilan));
    }
    #planlamaTablosu th:nth-child(n+2):nth-child(-n+6) {
        width: calc(var(--planlama-saat-kutulari) * 0.9 / 5 + 0.5rem + 2px);
    }
    #planlamaTablosu th:nth-child(7),
    #planlamaTablosu th:nth-child(8),
    #planlamaTablosu th:nth-child(9) { width: 52px; }
    #planlamaTablosu th:nth-child(10) { width: 100px; }
    #planlamaTablosu th:nth-child(11) { width: 18%; }
    #planlamaTablosu th:nth-child(12) { width: 62px; }

    #planlamaTablosu .planlama-row-input-wrap,
    #planlamaTablosu .planlama-edit-input,
    #planlamaTablosu .planlama-description-cell,
    #planlamaTablosu .planlama-status-badge {
        min-width: 0;
        max-width: 100%;
    }

    #planlamaTablosu .planlama-status-badge {
        padding-inline: 0.25rem;
        white-space: normal !important;
        overflow-wrap: anywhere;
    }

    #planlamaTablosu td {
        overflow-wrap: anywhere;
    }

    #planlamaTablosu .planlama-person-cell {
        max-width: 100%;
    }

    @container (max-width: 1200px) {
        #planlamaTablosu,
        #planlamaTablosu tbody {
            display: block;
        }

        #planlamaTablosu thead {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            overflow: hidden;
            clip-path: inset(50%);
        }

        #planlamaTablosu tr.satir {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            margin-bottom: 1rem;
        }

        #planlamaTablosu td {
            min-width: 0;
            border-top-width: 1px;
        }

        #planlamaTablosu td:first-child,
        #planlamaTablosu .planlama-description-cell {
            grid-column: 1 / -1;
        }

        #planlamaTablosu .planlama-row-input-wrap:not(.planlama-row-input-wrap-wide) .planlama-edit-input {
            width: 90%;
            align-self: center;
        }

        #planlamaTablosu [data-planlama-label]::before {
            content: attr(data-planlama-label);
            display: block;
            margin-bottom: 0.25rem;
            color: #516176;
            font-size: 0.7rem;
            font-weight: 700;
        }

        #planlamaTablosu .planlama-row-actions {
            flex-direction: row !important;
            flex-wrap: wrap;
        }
    }

    @container (max-width: 480px) {
        #planlamaTablosu tr.satir {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
    }
}

.planlama-table-wrap tbody td.planlama-description-cell {
    padding: 0.3rem;
    min-width: 340px;
}

.planlama-description-cell .planlama-row-input-wrap-wide {
    height: 100%;
}

.planlama-row-input-label {
    margin: 0;
    color: #516176;
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
}

.planlama-consistency-cell {
    position: relative;
}

.planlama-table-wrap tbody tr td.planlama-consistency-cell.planlama-consistency-cell-mismatch {
    background-color: #e04b59;
    box-shadow: inset 0 0 0 1px #bd2433;
}

.planlama-consistency-cell-mismatch .planlama-row-input-label,
.planlama-consistency-cell-mismatch .planlama-consistency-warning {
    color: #fff;
}

.planlama-consistency-cell-mismatch .planlama-edit-input {
    border-color: #ced4da;
    background-color: #fff;
    color: #212529;
}

.planlama-consistency-warning {
    position: absolute;
    top: 0.32rem;
    right: 0.32rem;
    display: inline-flex;
    width: 1.6rem;
    height: 1.6rem;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #b35c00;
    line-height: 1;
    z-index: 2;
    transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.planlama-consistency-warning:hover,
.planlama-consistency-warning:focus-visible {
    background: rgba(255, 193, 7, 0.2);
    color: #8f4900;
    box-shadow: 0 0 0 0.14rem rgba(255, 193, 7, 0.16);
    transform: scale(1.12);
}

.planlama-consistency-warning i {
    color: currentColor;
    font-size: 1.5rem;
    filter: drop-shadow(0 1px 1px rgba(96, 55, 0, 0.18));
}

.planlama-consistency-person {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.9rem;
}

.planlama-consistency-person strong {
    color: var(--theme-navy-dark);
    font-size: 1.05rem;
}

.planlama-consistency-person span {
    color: #516176;
    font-size: 0.85rem;
    font-weight: 700;
}

.planlama-consistency-explanation {
    color: #5f3d00;
    line-height: 1.45;
}

.planlama-consistency-metric {
    height: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(26, 47, 87, 0.1);
    border-radius: 14px;
    background: #f8fafc;
}

.planlama-consistency-metric span {
    display: block;
    margin-bottom: 0.3rem;
    color: #516176;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.planlama-consistency-metric strong {
    color: var(--theme-navy-dark);
    font-size: 1.2rem;
}

.planlama-consistency-metric.actual {
    border-color: rgba(25, 135, 84, 0.2);
    background: rgba(25, 135, 84, 0.06);
}

.planlama-consistency-metric.difference {
    border-color: rgba(255, 193, 7, 0.28);
    background: rgba(255, 193, 7, 0.1);
}

.planlama-consistency-records {
    display: grid;
    gap: 0.65rem;
}

.planlama-consistency-record {
    padding: 0.8rem 0.9rem;
    border: 1px solid rgba(26, 47, 87, 0.1);
    border-left: 4px solid #e0a800;
    border-radius: 12px;
    background: #fff;
}

.planlama-consistency-record-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.35rem;
}

.planlama-consistency-duty-detail {
    display: flex;
    min-width: 0;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.45rem 0.65rem;
}

.planlama-consistency-slot-list {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.3rem;
}

.planlama-consistency-slot-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.22rem 0.5rem;
    border-radius: 999px;
    background: #405a82;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.planlama-consistency-record-header > .badge,
#planlamaConsistencyKayitSayisi {
    font-size: 0.78rem;
}

.planlama-consistency-record p {
    color: #46566c;
    font-size: 0.86rem;
    line-height: 1.4;
}

.planlama-consistency-empty {
    display: flex;
    min-height: 150px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 1.25rem;
    border: 1px dashed rgba(26, 47, 87, 0.2);
    border-radius: 14px;
    background: #f8fafc;
    color: #516176;
    text-align: center;
}

.planlama-consistency-empty i {
    color: #b26a00;
    font-size: 1.65rem;
}

.planlama-consistency-effect {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    margin-top: 0.85rem;
    padding: 0.8rem 0.9rem;
    border: 1px solid rgba(13, 110, 253, 0.2);
    border-radius: 12px;
    background: rgba(13, 110, 253, 0.06);
    color: #17365f;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.45;
}

.planlama-consistency-effect i {
    margin-top: 0.1rem;
    color: #0d6efd;
}

.planlama-consistency-note {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    margin-top: 1rem;
    color: #516176;
    font-size: 0.78rem;
    line-height: 1.4;
}

.planlama-consistency-tooltip .tooltip-inner {
    max-width: 310px;
    padding: 0.55rem 0.7rem;
    text-align: left;
}

.planlama-edit-input:focus,
.planlama-tel-input:focus {
    border-color: rgba(26, 47, 87, 0.34);
    box-shadow: 0 0 0 0.22rem rgba(26, 47, 87, 0.09);
}

.planlama-tel-input {
    min-height: 34px;
    padding: 0.35rem 0.65rem;
    font-size: 0.92rem;
    border-radius: 12px;
    border-color: rgba(26, 47, 87, 0.14);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: inset 0 1px 2px rgba(26, 47, 87, 0.04);
}

.planlama-edit-input[data-field="aciklama"] {
    width: 100%;
    height: 100%;
    min-width: 180px;
    min-height: 96px;
    line-height: 1.35;
    resize: vertical;
    white-space: pre-wrap;
}

.planlama-input-locked {
    background: rgba(232, 237, 244, 0.96);
    border-color: rgba(26, 47, 87, 0.18);
    color: #5f6d7d;
    font-weight: 600;
    cursor: not-allowed;
}

.planlama-input-locked:focus {
    box-shadow: none;
}

.planlama-row-actions-cell {
    position: relative;
    vertical-align: middle !important;
}

.planlama-row-actions-stack {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.planlama-row-actions {
    background: rgba(236, 242, 249, 0.94);
    padding: 0.25rem;
    border-radius: 14px;
    box-shadow: inset 0 0 0 1px rgba(26, 47, 87, 0.08);
}

.planlama-row-save {
    min-width: 42px;
    min-height: 38px;
    border: none;
    background: linear-gradient(135deg, #1f3a69, #2a4d88) !important;
    box-shadow: 0 10px 18px rgba(26, 47, 87, 0.16);
}

.planlama-row-clear {
    min-width: 42px;
    min-height: 38px;
    border-color: rgba(26, 47, 87, 0.16);
    background: rgba(250, 252, 255, 0.94);
    color: #1f3a69;
}

.planlama-row-save:hover,
.planlama-row-clear:hover {
    transform: translateY(-1px);
}

.planlama-row-clear:hover,
.planlama-row-clear:focus {
    background: rgba(26, 47, 87, 0.08);
    border-color: rgba(26, 47, 87, 0.22);
    color: #172c50;
}

.planlama-row-feedback {
    position: absolute;
    left: 50%;
    bottom: 0.45rem;
    min-height: 24px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.7rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1;
    opacity: 0;
    transform: translate(-50%, 2px);
    transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.planlama-row-feedback.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

.planlama-row-feedback.feedback-success {
    color: #0f5132;
    background-color: #d1e7dd;
    box-shadow: inset 0 0 0 1px rgba(15, 81, 50, 0.15);
}

.planlama-row-feedback.feedback-danger {
    color: #4f5a66;
    background-color: #e6eaee;
    box-shadow: inset 0 0 0 1px rgba(88, 98, 109, 0.12);
}

.planlama-row-feedback.feedback-muted {
    color: #495057;
    background-color: #e9ecef;
    box-shadow: inset 0 0 0 1px rgba(73, 80, 87, 0.08);
}

.report-print-button {
    min-width: 136px;
}

.report-export-hint {
    padding-top: 0.35rem;
}

@page station-balance-report {
    size: A4 landscape;
    margin: 0;
}

@page nobet-list-report {
    size: A4 landscape;
    margin: 12mm 10mm;
}

@page nobet-short-report {
    size: A4 landscape;
    margin: 3mm 5mm;
}

.nobet-print-short-report {
    display: none;
}

@media print {
    .navbar,
    .app-topbar,
    .app-auth-topbar,
    .app-sidebar,
    .app-footer,
    .app-page-actions,
    .modal,
    .modal-backdrop,
    .offcanvas,
    .offcanvas-backdrop,
    .toast-container,
    .planlama-action-card form,
    .planlama-action-card .btn,
    .planlama-filtre-kart,
    .planlama-month-nav,
    .planlama-row-save,
    .planlama-row-feedback,
    .planlama-tel-durum,
    .report-export-actions,
    .report-export-hint {
        display: none !important;
    }

    body {
        background: #fff !important;
        overflow: visible !important;
    }

    .app-shell,
    .app-content-shell,
    .app-main,
    .app-page-shell {
        display: block !important;
        width: 100% !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    .table-responsive,
    .planlama-table-wrap,
    .planlama-table-scroll {
        max-height: none !important;
        overflow: visible !important;
    }

    body.nobet-list-print-mode {
        page: nobet-list-report;
    }

    body.nobet-list-short-print-mode {
        page: nobet-short-report;
        min-height: 0 !important;
    }

    body.station-balance-print-mode .app-topbar,
    body.station-balance-print-mode .app-sidebar,
    body.station-balance-print-mode .app-footer,
    body.station-balance-print-mode .app-page-header,
    body.station-balance-print-mode .planlama-page-fixed-layout > :not(.station-balance-print-report) {
        display: none !important;
    }

    body.station-balance-print-mode .app-shell,
    body.station-balance-print-mode .app-content-shell,
    body.station-balance-print-mode .app-main,
    body.station-balance-print-mode .app-page-shell,
    body.station-balance-print-mode .planlama-page-fixed-layout {
        display: block !important;
        width: 100% !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    body.station-balance-print-mode .station-balance-print-report {
        display: block !important;
        width: 100%;
        box-sizing: border-box;
        padding: 6mm;
        color: #111;
        background: #fff;
        page: station-balance-report;
    }

    body.station-balance-print-mode .station-balance-print-header {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 1rem;
        margin-bottom: 0.25rem;
    }

    body.station-balance-print-mode .station-balance-print-header h1 {
        margin: 0;
        font-size: 11pt;
        font-weight: 800;
        text-transform: uppercase;
    }

    body.station-balance-print-mode .station-balance-print-header p {
        margin: 0.12rem 0 0;
        font-size: 8pt;
    }

    body.station-balance-print-mode .station-balance-print-meta {
        display: flex;
        gap: 0.6rem;
        font-size: 7pt;
        white-space: nowrap;
    }

    body.station-balance-print-mode .station-balance-print-table {
        width: 100%;
        border-collapse: collapse;
        table-layout: fixed;
        font-size: 6.5pt;
    }

    body.station-balance-print-mode .station-balance-print-table th,
    body.station-balance-print-mode .station-balance-print-table td {
        padding: 0.1rem 0.18rem;
        border: 1px solid #222;
        vertical-align: middle;
        line-height: 1.1;
    }

    body.station-balance-print-mode .station-balance-print-table thead th,
    body.station-balance-print-mode .station-balance-print-table tfoot th,
    body.station-balance-print-mode .station-balance-print-table tfoot td {
        background: #e9ecef !important;
        font-weight: 800;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    body.station-balance-print-mode .station-balance-print-table thead {
        display: table-header-group;
    }

    body.station-balance-print-mode .station-balance-print-table tfoot {
        display: table-row-group;
    }

    body.station-balance-print-mode .station-balance-print-table tr {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    body.station-balance-print-mode .station-balance-print-table th:first-child {
        width: 18%;
        text-align: left;
    }

    body.station-balance-print-mode .station-balance-print-table th:nth-child(2) {
        width: 5%;
    }

    body.station-balance-print-mode .station-balance-print-table th:nth-child(3),
    body.station-balance-print-mode .station-balance-print-table th:nth-child(4) {
        width: 9%;
    }

    body.station-balance-print-mode .station-balance-print-table th:nth-child(5),
    body.station-balance-print-mode .station-balance-print-table th:nth-child(6),
    body.station-balance-print-mode .station-balance-print-table th:nth-child(7) {
        width: 7%;
    }

    body.station-balance-print-mode .station-balance-print-table th:nth-child(8) {
        width: 10%;
    }

    body.station-balance-print-mode .station-balance-print-table th:nth-child(9) {
        width: 21%;
    }

    body.station-balance-print-mode .station-balance-print-table .number {
        text-align: center;
        white-space: nowrap;
    }

    body.station-balance-print-mode .station-balance-print-table .number strong,
    body.station-balance-print-mode .station-balance-print-table .number span {
        display: block;
    }

    body.station-balance-print-mode .station-balance-print-table .number span {
        margin-top: 0.08rem;
        font-size: 6pt;
    }

    body.dashboard-compact-print-mode .app-topbar,
    body.dashboard-compact-print-mode .app-sidebar,
    body.dashboard-compact-print-mode .app-footer,
    body.dashboard-compact-print-mode .app-page-header,
    body.dashboard-compact-print-mode .app-page-shell > :not(#seciliGunDuzListeKart) {
        display: none !important;
    }

    body.dashboard-compact-print-mode #seciliGunDuzListeKart {
        width: 100%;
        margin: 0 !important;
        border: 0 !important;
        box-shadow: none !important;
        break-inside: auto !important;
        page-break-inside: auto !important;
    }

    body.dashboard-compact-print-mode .app-shell,
    body.dashboard-compact-print-mode .app-content-shell,
    body.dashboard-compact-print-mode .app-main,
    body.dashboard-compact-print-mode .app-page-shell {
        display: block !important;
        width: 100% !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body.dashboard-compact-print-mode #seciliGunDuzListeKart .card-header {
        display: none !important;
    }

    body.dashboard-compact-print-mode .dashboard-compact-print-title {
        display: flex;
        flex-direction: column;
        gap: 0.2rem;
        margin-bottom: 0.55rem;
        padding-bottom: 0.45rem;
        border-bottom: 2px solid #212529;
        font-size: 0.9rem;
    }

    body.dashboard-compact-print-mode .dashboard-compact-print-title strong {
        font-size: 1.05rem;
    }

    body.dashboard-compact-print-mode .dashboard-compact-row {
        grid-template-columns: 180px minmax(0, 1fr);
        gap: 0.6rem;
        padding: 0.35rem 0;
        break-inside: avoid;
        page-break-inside: avoid;
    }

    body.nobet-list-print-mode .app-topbar,
    body.nobet-list-print-mode .app-sidebar,
    body.nobet-list-print-mode .app-footer,
    body.nobet-list-print-mode .app-page-header,
    body.nobet-list-print-mode .nobet-year-overview-card,
    body.nobet-list-print-mode .app-page-shell > .row > .col-md-4,
    body.nobet-list-print-mode #nobetListContainer > :not(.nobet-list-card),
    body.nobet-list-print-mode .nobet-list-card .card-body > .border-bottom,
    body.nobet-list-print-mode .nobet-list-card .card-header .btn,
    body.nobet-list-print-mode .nobet-station-summary-trigger,
    body.nobet-list-print-mode .nobet-islem-hucresi,
    body.nobet-list-print-mode .nobet-list-standard-table thead th:last-child {
        display: none !important;
    }

    body.nobet-list-print-mode .app-shell,
    body.nobet-list-print-mode .app-content-shell,
    body.nobet-list-print-mode .app-main,
    body.nobet-list-print-mode .app-page-shell,
    body.nobet-list-print-mode .app-page-shell > .row,
    body.nobet-list-print-mode #nobetListContainer {
        display: block !important;
        width: 100% !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body.nobet-list-print-mode .nobet-list-card {
        width: 100%;
        margin: 0 !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    body.nobet-list-print-mode .nobet-list-card .card-header {
        display: flex !important;
        flex-wrap: nowrap;
        align-items: baseline;
        justify-content: space-between;
        gap: 1rem;
        color: #212529 !important;
        background: #fff !important;
        border-bottom: 2px solid #212529;
    }

    body.nobet-list-print-mode .nobet-list-card .card-header h5 {
        font-size: 1.1rem;
        line-height: 1.25;
    }

    body.nobet-list-print-mode .nobet-daily-list,
    body.nobet-list-print-mode .nobet-list-standard-table {
        display: none !important;
    }

    body.nobet-list-print-mode .nobet-print-detail-columns {
        display: flex;
        align-items: flex-start;
        gap: 6mm;
    }

    body.nobet-list-print-mode .nobet-print-detail-table {
        display: table !important;
        flex: 1 1 0;
        width: 50%;
        min-width: 0;
        margin: 0 !important;
        color: #212529;
        font-size: 0.74rem;
    }

    body.nobet-list-short-print-mode #nobetListResults {
        display: none !important;
    }

    body.nobet-list-short-print-mode .nobet-list-card .card-header {
        padding: 1mm 0;
        margin-bottom: 1mm;
    }

    body.nobet-list-short-print-mode .nobet-print-short-report {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 4mm;
        width: 100%;
    }

    body.nobet-list-short-print-mode .nobet-print-short-table {
        width: 100%;
        border-collapse: collapse;
        table-layout: fixed;
        font-size: 8pt;
        line-height: 1.15;
    }

    body.nobet-list-short-print-mode .nobet-print-short-table th,
    body.nobet-list-short-print-mode .nobet-print-short-table td {
        border: 1px solid #777;
        padding: 0.35mm 0.8mm;
        vertical-align: top;
        overflow-wrap: anywhere;
    }

    body.nobet-list-short-print-mode .nobet-print-short-table th:first-child {
        width: 24mm;
        font-size: 10pt;
    }

    body.nobet-list-short-print-mode .nobet-print-short-table tbody th {
        padding-bottom: 1.3mm;
    }

    body.nobet-list-short-print-mode .nobet-print-short-weekday {
        display: block;
        font-weight: 400;
    }

    body.nobet-list-short-print-mode .nobet-print-short-person {
        display: inline-block;
        max-width: 100%;
        margin-right: 1.5mm;
    }

    body.nobet-list-short-print-mode .nobet-print-short-table tbody tr {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    body.nobet-list-short-print-mode .nobet-print-short-table [hidden] {
        display: none !important;
    }

    body.nobet-list-print-mode .nobet-print-detail-table .nobet-print-row-hidden {
        display: none !important;
    }

    body.nobet-list-print-mode .nobet-print-detail-table tbody {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    body.nobet-list-print-mode .nobet-print-detail-table th,
    body.nobet-list-print-mode .nobet-print-detail-table td {
        padding: 0.18rem 0.35rem;
        border-color: #8a8a8a;
        vertical-align: middle;
    }

    body.nobet-list-print-mode .nobet-print-detail-table th {
        background: #f1f1f1 !important;
        color: #212529 !important;
    }

    body.nobet-list-print-mode .nobet-print-detail-table .nobet-print-team-row:not(.nobet-print-team-row-last) td:not([rowspan]) {
        border-bottom-width: 0;
    }

    body.nobet-list-print-mode .nobet-istasyon-hucresi,
    body.nobet-list-print-mode .nobet-slot-sure {
        display: none !important;
    }

    body.nobet-list-print-mode .nobet-print-station-name {
        display: block;
        flex: 0 1 auto;
        min-width: 0;
        margin: 0;
        text-align: right;
        font-size: 1.1rem;
        line-height: 1.25;
        font-weight: 700;
    }

    body.nobet-list-print-mode .nobet-list-title-group {
        flex: 1 1 auto;
        min-width: 0;
        text-align: left !important;
    }

    .container-fluid {
        margin-top: 0 !important;
    }

    .card,
    .planlama-table-wrap,
    .planlama-hero-card,
    .planlama-action-card {
        box-shadow: none !important;
        border: 1px solid #d7deea !important;
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .planlama-edit-input,
    .planlama-tel-input {
        border: none !important;
        background: transparent !important;
        box-shadow: none !important;
        padding: 0 !important;
    }

    .accordion-collapse {
        display: block !important;
        height: auto !important;
        visibility: visible !important;
    }

    .accordion-button {
        color: inherit !important;
        background: #f8fafc !important;
        box-shadow: none !important;
    }

    .accordion-button::after {
        display: none !important;
    }

    .table tr,
    .personel-report-card-wrap,
    .ilce-accordion-item {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}

@media (min-width: 1200px) {
    .planlama-table-wrap {
        display: flex;
        flex-direction: column;
        min-height: 0;
    }
}

/* İstatistik Kartları */
.stat-card {
    --stat-card-start: #3b63b8;
    --stat-card-end: #294d96;
    --stat-card-foreground: #fff;
    position: relative;
    overflow: hidden;
    min-height: 138px;
    padding: 1rem;
    border: 0;
    border-radius: 18px;
    color: var(--stat-card-foreground);
    background: linear-gradient(135deg, var(--stat-card-start), var(--stat-card-end));
    box-shadow: 0 14px 28px rgba(29, 52, 92, 0.16);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.stat-card::after {
    content: "";
    position: absolute;
    top: -34px;
    right: -28px;
    width: 104px;
    height: 104px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    transition: transform 0.22s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 34px rgba(29, 52, 92, 0.22);
}

.stat-card:hover::after {
    transform: scale(1.12) translate(-3px, 3px);
}

.stat-card-icon {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 0.65rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.15);
    font-size: 1.05rem;
}

.stat-card .stat-number {
    position: relative;
    z-index: 1;
    font-size: 1.85rem;
    font-weight: 800;
    line-height: 1;
    color: inherit;
    letter-spacing: -0.025em;
}

.stat-card .stat-label {
    position: relative;
    z-index: 1;
    margin-top: 0.45rem;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.2;
    color: inherit;
    opacity: 0.95;
}

.stat-card-blue {
    --stat-card-start: #3d67c1;
    --stat-card-end: #294d96;
}

.stat-card-cyan {
    --stat-card-start: #1ca3c8;
    --stat-card-end: #087ea7;
}

.stat-card-green {
    --stat-card-start: #23a46f;
    --stat-card-end: #117b50;
}

.stat-card-slate {
    --stat-card-start: #8795a8;
    --stat-card-end: #5f6d80;
}

.stat-card-amber {
    --stat-card-start: #ffbd18;
    --stat-card-end: #e49300;
    --stat-card-foreground: #172033;
}

.stat-card-violet {
    --stat-card-start: #8b67d8;
    --stat-card-end: #6546ad;
}

.stat-card-red {
    --stat-card-start: #e95d66;
    --stat-card-end: #bd3444;
}

.stat-card-emerald {
    --stat-card-start: #2baa78;
    --stat-card-end: #14714e;
}

.stat-card-muted {
    --stat-card-start: #98a3b1;
    --stat-card-end: #737f8d;
}

.stat-card .stat-number-empty {
    font-size: 1.18rem;
    line-height: 1.15;
    color: inherit;
    letter-spacing: 0.01em;
}

/* Modal */
.modal-header {
    background-color: var(--bs-danger);
    color: white;
}

.demo-info-modal-header {
    background: linear-gradient(180deg, #fff4c2, #ffe082);
    color: #5b3412;
    border-bottom-color: rgba(91, 52, 18, 0.12);
}

.demo-info-modal-header .modal-title {
    color: #5b3412;
}

.modal-header.demo-info-modal-header .btn-close {
    filter: none;
    opacity: 0.7;
}

.demo-info-modal-header .btn-close:hover,
.demo-info-modal-header .btn-close:focus {
    opacity: 1;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
}

/* Responsive */
@media (max-width: 991.98px) {
    .personel-desktop-list {
        display: none;
    }

    .personel-mobile-list {
        display: block;
    }
}

@media (max-width: 768px) {
    .personel-filter-grid {
        grid-template-columns: 1fr;
    }

    .personel-table-responsive {
        border-top: 1px solid rgba(0, 0, 0, 0.06);
    }

    .personel-page-row {
        --bs-gutter-x: 0;
        --bs-gutter-y: 1rem;
    }

    .personel-mobile-card {
        padding-left: 0.85rem;
        padding-right: 0.85rem;
    }

    .personel-mobile-card-actions {
        flex-direction: column;
    }

    .personel-mobile-card-actions .btn {
        width: 100%;
    }

    .calendar-weekday-full {
        display: none;
    }

    .calendar-weekday-short {
        display: inline;
    }

    .calendar-table td,
    .calendar-day-content {
        height: 70px;
        min-height: 70px;
    }

    .calendar-day-content {
        gap: 0.35rem;
        padding: 0.4rem;
    }

    .calendar-day-number {
        font-size: 1rem;
    }

    .calendar-gunluk-ozet {
        gap: 0.15rem;
    }

    .calendar-gunluk-chip {
        gap: 0.15rem;
        font-size: 0.68rem;
    }

    .calendar-gunluk-chip i {
        font-size: 0.68rem;
    }

    .calendar-day-status span,
    .calendar-bos-etiket span {
        display: none;
    }
    .planlama-targets {
        grid-template-columns: 1fr;
    }
    .planlama-live-summary {
        width: 100%;
    }
    .planlama-toolbar-actions {
        width: 100%;
    }
    .planlama-toolbar-button {
        flex: 1 1 0;
        justify-content: center;
    }
    .planlama-filter-grid {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }
    .planlama-filter-search,
    .planlama-filter-actions {
        grid-column: auto;
    }
    .planlama-filter-actions .btn {
        width: 100%;
    }
    .planlama-status-badge {
        min-width: 0;
    }
}

/* Modal İstasyon Kartları */
.nobet-istasyon-card {
    border: 1px solid rgba(214, 223, 236, 0.9);
    border-radius: 6px;
    padding: 0;
    margin-bottom: 12px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.98));
}

.nobet-istasyon-card:last-child {
    margin-bottom: 0;
}

.dashboard-compact-list-card {
    overflow: hidden;
}

.dashboard-compact-list-card .card-header small {
    display: block;
    margin-top: 0.15rem;
    opacity: 0.9;
}

.dashboard-compact-print-title {
    display: none;
}

#seciliGunDuzListeIcerik {
    font-size: 12px;
}

.dashboard-compact-row {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 0.6rem;
    align-items: baseline;
    padding: 0.48rem 0.75rem;
    border-bottom: 1px solid #d6d9dc;
}

.dashboard-compact-row:last-child {
    border-bottom: 0;
}

.dashboard-compact-station {
    display: flex;
    align-items: baseline;
    min-width: 0;
    color: #212529;
}

.dashboard-compact-station strong {
    font-size: inherit;
}

.dashboard-compact-station span {
    margin-left: 0.2rem;
    font-size: inherit;
}

.dashboard-compact-personnel {
    min-width: 0;
    color: #212529;
    font-size: inherit;
    line-height: 1.5;
}

.dashboard-compact-person {
    white-space: normal;
}

.dashboard-compact-person-missing {
    font-style: italic;
}

.dashboard-compact-separator {
    white-space: nowrap;
}

.dashboard-compact-unassigned,
.dashboard-compact-empty {
    color: #212529;
    font-size: inherit;
}

.dashboard-compact-empty {
    padding: 1rem;
    text-align: center;
}

@media (max-width: 767.98px) {
    .dashboard-compact-row {
        grid-template-columns: 1fr;
        gap: 0.2rem;
    }

    .dashboard-compact-separator {
        white-space: normal;
    }
}

.nobet-gunluk-ozet-kart {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(214, 223, 236, 0.9);
    background: linear-gradient(180deg, rgba(248, 250, 255, 0.98), rgba(241, 245, 255, 0.98));
}

.nobet-gunluk-ozet-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.nobet-gunluk-ozet-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 10px;
    background: white;
    border: 1px solid rgba(39, 74, 135, 0.12);
    color: #274a87;
}

.nobet-gunluk-ozet-item i {
    font-size: 0.95rem;
    flex-shrink: 0;
}

.nobet-gunluk-ozet-item strong {
    font-size: 1.05rem;
    line-height: 1.1;
}

.nobet-gunluk-ozet-item span {
    font-size: 0.78rem;
    color: #495057;
    line-height: 1.2;
}

.nobet-gunluk-uyari,
.nobet-gunluk-rol-ozet {
    margin-top: 10px;
    font-size: 0.82rem;
}

.nobet-gunluk-uyari {
    color: #b02a37;
    font-weight: 700;
}

.nobet-gunluk-sorun-kart {
    margin: 12px 0 18px;
    padding: 14px 16px;
    border: 1px solid rgba(176, 42, 55, 0.22);
    border-left: 5px solid #b02a37;
    border-radius: 12px;
    background: linear-gradient(180deg, #fff5f5, #ffe7e9);
    box-shadow: 0 10px 24px rgba(176, 42, 55, 0.08);
}

.nobet-gunluk-sorun-baslik {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: #8f1d2c;
    font-size: 0.88rem;
    font-weight: 700;
}

.nobet-gunluk-sorun-listesi {
    margin: 0;
    padding-left: 1.2rem;
    color: #7f1d1d;
    font-size: 0.82rem;
}

.nobet-gunluk-sorun-listesi li + li {
    margin-top: 0.35rem;
}

.nobet-sorun-li {
    display: flex;
    align-items: baseline;
    gap: 0.45rem;
}

.nobet-copilot-kopyala-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: none;
    border: 1px solid rgba(127, 29, 29, 0.22);
    border-radius: 4px;
    color: rgba(127, 29, 29, 0.55);
    cursor: pointer;
    padding: 1px 4px;
    line-height: 1;
    transition: color 0.15s, background 0.15s, border-color 0.15s;
}

.nobet-copilot-kopyala-btn:hover {
    color: #5a1a7a;
    border-color: #5a1a7a;
    background: rgba(90, 26, 122, 0.07);
}

.nobet-copilot-kopyala-btn.nobet-copilot-kopyala-ok {
    color: #198754;
    border-color: #198754;
    background: rgba(25, 135, 84, 0.1);
}

.nobet-copilot-kopyala-btn.nobet-copilot-kopyala-hata {
    color: #dc3545;
    border-color: #dc3545;
    background: rgba(220, 53, 69, 0.1);
}

.nobet-gunluk-sorun-link {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 0.12rem;
    font-weight: 600;
}

.nobet-gunluk-sorun-link:hover,
.nobet-gunluk-sorun-link:focus {
    color: #8f1d2c;
}

.nobet-istasyon-baslik {
    background: linear-gradient(135deg, #274a87, #1d3763);
    color: white;
    padding: 10px 16px;
    font-weight: 700;
    font-size: 0.9rem;
}

.nobet-istasyon-card {
    scroll-margin-top: 84px;
}

.dashboard-day-detail-card {
    scroll-margin-top: 84px;
}

.nobet-istasyon-card-highlight {
    border-color: rgba(176, 42, 55, 0.55);
    box-shadow: 0 0 0 3px rgba(176, 42, 55, 0.14), 0 12px 28px rgba(176, 42, 55, 0.12);
}

.nobet-year-view-panel {
    padding: 0.95rem 0.7rem 0.85rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    background:
        radial-gradient(circle at top right, rgba(85, 186, 183, 0.16), transparent 24%),
        linear-gradient(180deg, rgba(249, 250, 251, 0.98), rgba(241, 245, 249, 0.98));
}

.nobet-year-view-panel-standalone {
    border-bottom: 0;
    border-radius: 8px;
}

.nobet-year-overview-card {
    margin-bottom: 0.75rem;
}

.nobet-year-view-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.9rem;
}

.nobet-year-view-title {
    color: #22324b;
    font-size: 0.96rem;
    font-weight: 700;
}

.nobet-year-view-subtitle {
    margin-top: 0.2rem;
    color: #64748b;
    font-size: 0.78rem;
}

.nobet-year-view-legend {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nobet-year-view-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.32rem 0.65rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
}

.nobet-year-view-legend-item-tam {
    background: rgba(22, 163, 74, 0.12);
    color: #166534;
}

.nobet-year-view-legend-item-sorunlu {
    background: rgba(225, 29, 72, 0.12);
    color: #be123c;
}

.nobet-year-view-legend-item-bos {
    background: rgba(71, 85, 105, 0.12);
    color: #475569;
}

.nobet-year-view-track {
    display: grid;
    grid-template-columns: repeat(11, minmax(0, 1fr));
    align-items: center;
    gap: 0.45rem;
    overflow-x: auto;
    padding-top: 0.18rem;
    padding-bottom: 0.22rem;
}

.nobet-year-view-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 132px;
    padding: 0.72rem 0.7rem 0.62rem;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.nobet-year-view-card:hover,
.nobet-year-view-card:focus {
    transform: translateY(-2px);
    text-decoration: none;
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
}

.nobet-year-view-card-top {
    display: flex;
    flex-direction: column;
    gap: 0.08rem;
}

.nobet-year-view-card-period {
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.15;
}

.nobet-year-view-card-year {
    font-size: 0.74rem;
    font-weight: 600;
    opacity: 0.88;
}

.nobet-year-view-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.24rem;
    margin-top: 0.6rem;
}

.nobet-year-view-card-icon {
    font-size: 1.2rem;
    line-height: 1;
}

.nobet-year-view-card-summary {
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.22;
}

.nobet-year-view-card-meta {
    font-size: 0.72rem;
    font-weight: 600;
    opacity: 0.9;
}

.nobet-year-view-card-current {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    align-self: flex-start;
    margin-top: 0.6rem;
    padding: 0.28rem 0.58rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.08);
    color: #22324b;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.nobet-year-view-card-tam {
    border-color: rgba(22, 163, 74, 0.2);
    background: linear-gradient(180deg, rgba(240, 253, 244, 0.98), rgba(220, 252, 231, 0.98));
    color: #166534;
}

.nobet-year-view-card-tam .nobet-year-view-card-current {
    background: rgba(22, 163, 74, 0.14);
    color: #166534;
}

.nobet-year-view-card-sorunlu {
    border-color: rgba(225, 29, 72, 0.18);
    background: linear-gradient(180deg, rgba(255, 241, 242, 0.98), rgba(255, 228, 230, 0.98));
    color: #be123c;
}

.nobet-year-view-card-sorunlu .nobet-year-view-card-current {
    background: rgba(225, 29, 72, 0.14);
    color: #9f1239;
}

.nobet-year-view-card-bos {
    border-color: rgba(100, 116, 139, 0.18);
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(226, 232, 240, 0.98));
    color: #475569;
}

.nobet-year-view-card-bos .nobet-year-view-card-current {
    background: rgba(71, 85, 105, 0.12);
    color: #475569;
}

.nobet-year-view-card.is-active {
    min-height: 148px;
    border-width: 2px;
    border-color: rgba(34, 50, 75, 0.32);
    box-shadow: 0 0 0 3px rgba(85, 186, 183, 0.16), 0 16px 32px rgba(15, 23, 42, 0.12);
}

.nobet-islem-hucresi {
    white-space: nowrap;
    min-width: 104px;
}

.nobet-islem-grup {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: nowrap;
}

.nobet-islem-grup .btn {
    flex: 0 0 auto;
}

.nobet-personel-liste {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 12px;
    padding: 14px 16px 16px;
}

.nobet-personel-kart {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    min-height: 100%;
    padding: 12px;
    border: 1px solid rgba(214, 223, 236, 0.95);
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 255, 0.98));
    box-shadow: 0 6px 14px rgba(26, 47, 87, 0.05);
}

.nobet-personel-kart:hover {
    box-shadow: 0 10px 18px rgba(26, 47, 87, 0.08);
}

.nobet-personel-kart-eksik {
    border-style: dashed;
    border-color: rgba(220, 53, 69, 0.28);
    background: linear-gradient(180deg, rgba(255, 249, 249, 0.98), rgba(255, 241, 241, 0.98));
}

.nobet-gorev-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    min-width: 85px;
    justify-content: center;
}

.nobet-personel-isim {
    font-size: 0.9rem;
    font-weight: 500;
    color: #243754;
}

.nobet-personel-gorev {
    color: #5c6d86;
    font-weight: 500;
}

.nobet-personel-eksik-metin {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #b02a37;
    font-size: 0.9rem;
    font-weight: 600;
}

.nobet-personel-bilgi {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1 1 auto;
    min-width: 0;
}

.nobet-personel-kart-govde {
    display: flex;
    align-items: stretch;
    gap: 0.9rem;
    width: 100%;
}

.nobet-personel-sure {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #39506f;
    font-weight: 600;
}

.nobet-personel-telefon {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #5c6d86;
}

.nobet-personel-gecici-gorev {
    display: inline-flex;
    flex-direction: column;
    gap: 2px;
    padding: 0.1rem 0;
    color: #1f5f8b;
}

.nobet-personel-gecici-panel {
    display: flex;
    align-items: center;
    flex: 0 1 38%;
    min-width: 180px;
    max-width: 280px;
    padding: 0.2rem 0 0.2rem 0.95rem;
    border-left: 1px solid rgba(148, 163, 184, 0.7);
}

.nobet-personel-gecici-gorev-ust {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1.2;
}

.nobet-personel-gecici-gorev-istasyon {
    font-size: 0.76rem;
    color: #39506f;
    line-height: 1.3;
    white-space: normal;
}

@media (max-width: 767.98px) {
    .nobet-year-view-panel {
        padding: 0.85rem 0.6rem 0.75rem;
    }

    .nobet-year-view-track {
        grid-template-columns: repeat(11, minmax(112px, 1fr));
        gap: 0.4rem;
    }

    .nobet-personel-kart-govde {
        flex-direction: column;
        gap: 0.7rem;
    }

    .nobet-personel-gecici-panel {
        max-width: none;
        min-width: 0;
        padding: 0.75rem 0 0 0;
        border-left: 0;
        border-top: 1px solid rgba(148, 163, 184, 0.7);
    }
}

.nobet-ekip-etiket {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.76rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.86);
}

.nobet-print-detail-table {
    display: none;
}

.nobet-day-group + .nobet-day-group {
    border-top: 1px solid var(--bs-border-color);
}

.nobet-day-summary {
    display: grid;
    grid-template-columns: minmax(8rem, 1fr) 5.5rem 9rem 11rem 1rem;
    align-items: center;
    gap: 0.65rem;
    min-height: 48px;
    padding: 0.5rem 0.85rem;
    color: var(--bs-body-color);
    background: var(--bs-body-bg);
    font-size: 0.85rem;
    line-height: 1.3;
    list-style: none;
    cursor: pointer;
}

.nobet-day-summary::-webkit-details-marker {
    display: none;
}

.nobet-day-summary:hover {
    background: var(--bs-tertiary-bg);
}

.nobet-day-group[open] > .nobet-day-summary {
    --bs-success-rgb: 15, 81, 50;
    background: var(--bs-gray-300);
}

.nobet-daily-list:has(> .nobet-day-group[open])
    > .nobet-day-group:not([open])
    > .nobet-day-summary {
    --bs-body-color: #6d7278;
    --bs-secondary-color: var(--bs-body-color);
}

.nobet-day-summary:focus-visible {
    outline: 2px solid var(--bs-primary);
    outline-offset: -2px;
}

.nobet-day-date strong,
.nobet-day-weekday {
    display: block;
}

.nobet-day-weekday {
    color: var(--bs-secondary-color);
    font-size: 0.75rem;
}

.nobet-day-metric {
    white-space: nowrap;
}

.nobet-day-status {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    white-space: nowrap;
}

.nobet-day-chevron {
    justify-self: end;
}

.nobet-day-group[open] > .nobet-day-summary .nobet-day-chevron {
    transform: rotate(90deg);
}

.nobet-day-detail {
    border-top: 1px solid var(--bs-border-color);
}

.nobet-day-detail .nobet-list-standard-table {
    overflow-wrap: anywhere;
}

@media (max-width: 1199.98px) {
    .nobet-day-summary {
        grid-template-columns: minmax(0, 1fr) auto 1rem;
        gap: 0.3rem 0.6rem;
    }

    .nobet-day-date {
        grid-column: 1;
        grid-row: 1;
    }

    .nobet-day-personnel-count {
        grid-column: 2;
        grid-row: 1;
    }

    .nobet-day-station-count {
        grid-column: 1;
        grid-row: 2;
    }

    .nobet-day-status {
        grid-column: 2;
        grid-row: 2;
    }

    .nobet-day-chevron {
        grid-column: 3;
        grid-row: 1 / 3;
    }
}

.nobet-print-station-name {
    display: none;
}

.nobet-print-team-leader {
    display: inline;
    font-size: 0.72rem;
    font-weight: 700;
}

.nobet-slot-sure {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.18rem 0.5rem;
    border-radius: 999px;
    background: rgba(57, 80, 111, 0.08);
    color: #39506f;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1;
}

.nobet-personel-satiri {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nobet-personel-satiri-icerik {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    min-width: 0;
}

.nobet-manuel-satir-ikon {
    position: absolute;
    left: -0.35rem;
    top: 50%;
    transform: translate(-100%, -50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 999px;
    background: rgba(13, 202, 240, 0.14);
    color: #0b7f99;
    font-size: 0.72rem;
    pointer-events: none;
}

.nobet-istasyon-etiketler {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.nobet-ilce-etiket {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.76rem;
    font-weight: 700;
    color: #fff;
}

.nobet-detay-bos {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 1.1rem 1.25rem;
    color: #5c6d86;
    font-weight: 500;
}

#personelListCard [data-personel-list-header]:not(:last-child),
#stationListCard [data-station-list-header]:not(:last-child),
.nobet-list-card [data-nobet-list-header]:not(:last-child) {
    border-top-right-radius: 0 !important;
}

#personelListCard [data-personel-toolbar-action],
#stationListCard [data-station-create-trigger],
.nobet-list-card .nobet-station-summary-trigger {
    --danger-button-bg: var(--theme-header-red);
    --danger-button-bg-dark: var(--theme-header-red-dark);
    --danger-button-bg-hover: var(--theme-header-red-dark);
    --danger-button-border: var(--theme-header-red-dark);
    --danger-button-border-hover: var(--theme-header-red-dark);
    min-height: 44px;
    border-radius: 0 8px 0 0;
    border-left-color: rgba(255, 255, 255, 0.3) !important;
    box-shadow: none;
    transform: none;
    transition: none;
    animation: none;
}

#personelListCard [data-personel-toolbar-action]:focus-visible,
#stationListCard [data-station-create-trigger]:focus-visible,
.nobet-list-card .nobet-station-summary-trigger:focus-visible {
    outline: 2px solid #fff;
    outline-offset: -4px;
}

.personel-table-responsive,
.station-list-table-wrap {
    scrollbar-width: none;
}

.personel-table-responsive::-webkit-scrollbar,
.station-list-table-wrap::-webkit-scrollbar {
    width: 0;
    height: 0;
}

#personelListCard [data-personel-list-header],
.nobet-list-card [data-nobet-list-header] {
    min-width: 0;
}

#personelListCard [data-personel-toolbar-action]:not(:last-child) {
    border-radius: 0;
}

@media (max-width: 575.98px) {
    #personelListCard [data-personel-list-header],
    .nobet-list-card [data-nobet-list-header] {
        flex-basis: 100%;
        border-top-right-radius: 8px !important;
    }

    #personelListCard [data-personel-toolbar-action],
    .nobet-list-card .nobet-station-summary-trigger {
        flex: 1 1 0;
        min-width: 0;
        border-radius: 0;
    }
}

.station-template-selected {
    min-height: 48px;
}

.station-template-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.55rem 0.45rem 0.8rem;
    border-radius: 999px;
    background: linear-gradient(180deg, #4f6d8b, #3e5872);
    color: #fff;
    box-shadow: 0 8px 16px rgba(45, 71, 104, 0.18);
}

.station-template-chip-label {
    font-size: 0.84rem;
    font-weight: 600;
    line-height: 1.2;
}

.station-template-chip-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.45rem;
    height: 1.45rem;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.station-template-chip-remove:hover,
.station-template-chip-remove:focus {
    background: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.station-template-palette-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.8rem;
    border: none;
    border-radius: 999px;
    background: #eef3f8;
    color: #334a62;
    font-size: 0.83rem;
    font-weight: 600;
    box-shadow: inset 0 0 0 1px rgba(63, 81, 181, 0.14);
}

.station-template-palette-item:hover,
.station-template-palette-item:focus {
    background: #dde7f3;
    color: #223548;
}

.station-template-palette-item .bi,
.station-template-chip-remove .bi {
    font-size: 0.9rem;
}

.station-template-chip[data-role-key="att"],
.station-template-palette-item[data-role-name="ATT"] {
    background: linear-gradient(180deg, #e85d75, #d94963);
    color: #fff;
    box-shadow: 0 8px 16px rgba(217, 73, 99, 0.2);
}

.station-template-chip[data-role-key="aabt"],
.station-template-palette-item[data-role-name="AABT"] {
    background: linear-gradient(180deg, #32a676, #258a61);
    color: #fff;
    box-shadow: 0 8px 16px rgba(37, 138, 97, 0.2);
}

.station-template-chip[data-role-key="att surucu"],
.station-template-palette-item[data-role-name="ATT Sürücü"] {
    background: linear-gradient(180deg, #5f6ad4, #4955bc);
    color: #fff;
    box-shadow: 0 8px 16px rgba(73, 85, 188, 0.22);
}

.station-template-chip[data-role-key="aabt surucu"],
.station-template-palette-item[data-role-name="AABT Sürücü"] {
    background: linear-gradient(180deg, #1f8f9d, #177786);
    color: #fff;
    box-shadow: 0 8px 16px rgba(23, 119, 134, 0.22);
}

.station-template-chip[data-role-key="sofor"],
.station-template-chip[data-role-key="surucu"],
.station-template-chip[data-role-key="isci surucu"],
.station-template-palette-item[data-role-name="Şoför"],
.station-template-palette-item[data-role-name="Sürücü"],
.station-template-palette-item[data-role-name="İşçi Sürücü"] {
    background: linear-gradient(180deg, #6f7a86, #5b6671);
    color: #fff;
    box-shadow: 0 8px 16px rgba(91, 102, 113, 0.18);
}

.station-template-chip[data-role-key="tabip"],
.station-template-chip[data-role-key="doktor"],
.station-template-palette-item[data-role-name="Tabip"],
.station-template-palette-item[data-role-name="Doktor"] {
    background: linear-gradient(180deg, #8b63d9, #7449c8);
    color: #fff;
    box-shadow: 0 8px 16px rgba(116, 73, 200, 0.18);
}

.station-template-chip[data-role-key="ekip basi"],
.station-template-palette-item[data-role-name="Ekip Başı"] {
    background: linear-gradient(180deg, #f0a24a, #db7f18);
    color: #fff;
    box-shadow: 0 8px 16px rgba(219, 127, 24, 0.18);
}

.station-template-chip[data-role-key="paramedik"],
.station-template-palette-item[data-role-name="Paramedik"] {
    background: linear-gradient(180deg, #d98a2b, #c97816);
    color: #fff;
    box-shadow: 0 8px 16px rgba(201, 120, 22, 0.18);
}

.station-template-chip[data-role-key="tekniker"],
.station-template-palette-item[data-role-name="Tekniker"] {
    background: linear-gradient(180deg, #3a8bb5, #2b7398);
    color: #fff;
    box-shadow: 0 8px 16px rgba(43, 115, 152, 0.18);
}

.station-template-chip[data-role-key="memur"],
.station-template-palette-item[data-role-name="Memur"] {
    background: linear-gradient(180deg, #8b6d52, #73563e);
    color: #fff;
    box-shadow: 0 8px 16px rgba(115, 86, 62, 0.18);
}

.station-template-palette .station-template-palette-item {
    gap: 0.35rem;
    padding: 0.32rem 0.65rem;
    background: linear-gradient(180deg, #8a939d, #727b86);
    color: #fff;
    font-size: 0.74rem;
    font-weight: 600;
    box-shadow: 0 6px 12px rgba(90, 99, 108, 0.18);
}

.station-template-palette .station-template-palette-item:hover,
.station-template-palette .station-template-palette-item:focus {
    background: linear-gradient(180deg, #7d8690, #68717b);
    color: #fff;
}

.station-template-palette .station-template-palette-item .bi {
    font-size: 0.8rem;
}


/* Collapsible kart chevron animasyonu */
.collapse-chevron {
    transition: transform 0.25s ease;
    display: inline-block;
}

.ay-gorunumu-scroll {
    overflow: auto;
    max-width: 100%;
    max-height: calc(100vh - 270px);
    border: 1px solid #e3e7eb;
    border-radius: 16px;
    background: #fff;
}

.ay-gorunumu-istasyon-secimi {
    max-width: 560px;
}

.ay-gorunumu-table {
    min-width: max-content;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
}

.ay-gorunumu-table thead th {
    position: sticky;
    top: 0;
    z-index: 3;
    padding: 0.75rem 0.5rem;
    text-align: center;
    vertical-align: middle;
    background: #f8fafb;
    color: #495057;
    font-size: 0.85rem;
    border-top: 0;
    border-bottom: 1px solid #dee2e6;
    border-right: 1px solid #dee2e6;
}

.ay-gorunumu-table thead th.ay-gorunumu-current-day {
    background: #eaf2ff;
    box-shadow: inset 0 0 0 2px rgba(40, 75, 143, 0.45);
}

.ay-gorunumu-table thead th.ay-gorunumu-komsu-gun {
    background: #f1f3f5;
    color: #868e96;
}

.ay-gorunumu-sticky-col {
    position: sticky;
    left: 0;
    z-index: 5;
    background: #fff;
}

.ay-gorunumu-kose-hucre {
    z-index: 4 !important;
    min-width: 148px !important;
    text-align: left !important;
    background: #f8fafb !important;
}

.ay-gorunumu-satir-baslik {
    min-width: 148px;
    max-width: 148px;
    padding: 0.55rem 0.75rem !important;
    color: #495057;
    font-weight: 700;
    white-space: nowrap;
    border-top: 0 !important;
    border-bottom: 0 !important;
    box-shadow: 10px 0 10px -10px rgba(255, 255, 255, 0.98);
}

.ay-gorunumu-table tbody tr,
.ay-gorunumu-table tbody th,
.ay-gorunumu-table td {
    border: 0 !important;
}

.ay-gorunumu-table td {
    height: 48px;
    padding: 0.18rem;
    vertical-align: top;
    background: #fff;
}

.ay-gorunumu-gun {
    font-weight: 700;
    line-height: 1.1;
}

.ay-gorunumu-gun-adi {
    font-size: 0.72rem;
    color: #6c757d;
}

.ay-gorunumu-hucre-kayit {
    display: block;
    margin-bottom: 0.2rem;
    padding: 0.2rem 0.3rem;
    border-radius: 8px;
    background: #eef3ff;
    color: #2f407d;
    font-size: 0.76rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

.ay-gorunumu-hucre-kayit:last-child {
    margin-bottom: 0;
}

.ay-gorunumu-yardim-metin {
    padding-top: 1.75rem;
}

.ay-gorunumu-zaman-hucresi {
    padding: 0 !important;
}

.ay-gorunumu-row-canvas {
    position: relative;
    height: 48px;
    min-width: 100%;
    background-color: #fff;
    background-image: repeating-linear-gradient(
        to right,
        transparent 0,
        transparent calc(var(--day-width, 96px) - 1px),
        rgba(227, 231, 235, 0.95) calc(var(--day-width, 96px) - 1px),
        rgba(227, 231, 235, 0.95) var(--day-width, 96px)
    );
    background-repeat: repeat;
    background-size: var(--day-width, 96px) 100%;
    background-position: 0 0;
}

.ay-gorunumu-current-day-band {
    position: absolute;
    top: 0;
    bottom: 0;
    background: rgba(220, 233, 255, 0.65);
    border-left: 2px solid rgba(40, 75, 143, 0.22);
    border-right: 2px solid rgba(40, 75, 143, 0.22);
    pointer-events: none;
}

.ay-gorunumu-komsu-gun-band {
    position: absolute;
    top: 0;
    bottom: 0;
    background: rgba(241, 243, 245, 0.9);
    pointer-events: none;
}

.ay-gorunumu-span {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    height: 32px;
    display: flex;
    align-items: center;
    padding: 0 0.6rem;
    border-radius: 0;
    border-left: 1px solid #cfd6de;
    border-right: 1px solid #cfd6de;
    background: rgba(255, 255, 255, 0.88);
    color: #343a40;
    font-size: 0.76rem;
    font-weight: 400;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
    box-shadow: 0 0.2rem 0.45rem rgba(39, 52, 85, 0.08);
    transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}

.ay-gorunumu-span:hover,
.ay-gorunumu-span:focus-visible {
    background-color: #dce9ff;
    border-color: rgba(40, 75, 143, 0.55);
    box-shadow: inset 0 0 0 1px rgba(40, 75, 143, 0.35), 0 0.28rem 0.6rem rgba(39, 52, 85, 0.12);
    color: #1f3f75;
    outline: none;
}

.ay-gorunumu-span.is-selected {
    background-color: #dce9ff;
    border-left-color: rgba(40, 75, 143, 0.55);
    border-right-color: rgba(40, 75, 143, 0.55);
    box-shadow: inset 0 0 0 1px rgba(40, 75, 143, 0.35), 0 0.28rem 0.6rem rgba(39, 52, 85, 0.12);
    color: #1f3f75;
}

.ay-gorunumu-table.has-person-selection .ay-gorunumu-span:not(.is-selected) {
    opacity: 0.6;
}

.ay-gorunumu-span.is-missing {
    z-index: 1;
    background: rgba(255, 224, 224, 0.7);
    border-left-color: rgba(220, 53, 69, 0.35);
    border-right-color: rgba(220, 53, 69, 0.35);
    box-shadow: inset 0 0 0 1px rgba(220, 53, 69, 0.18);
}

.ay-gorunumu-span.is-missing:hover,
.ay-gorunumu-span.is-missing:focus-visible {
    background: rgba(255, 224, 224, 0.78);
    border-left-color: rgba(220, 53, 69, 0.45);
    border-right-color: rgba(220, 53, 69, 0.45);
    box-shadow: inset 0 0 0 1px rgba(220, 53, 69, 0.24);
    color: #343a40;
}

.ay-gorunumu-span.is-missing.is-selected {
    background: rgba(255, 224, 224, 0.78);
    border-left-color: rgba(220, 53, 69, 0.45);
    border-right-color: rgba(220, 53, 69, 0.45);
    box-shadow: inset 0 0 0 1px rgba(220, 53, 69, 0.24);
    color: #343a40;
}

.ay-gorunumu-span.is-temporary-duty {
    background: rgba(13, 202, 240, 0.16);
    border-left-color: rgba(13, 202, 240, 0.55);
    border-right-color: rgba(13, 202, 240, 0.55);
    box-shadow: inset 0 0 0 1px rgba(13, 202, 240, 0.22), 0 0.2rem 0.45rem rgba(39, 52, 85, 0.08);
    color: #0b6e86;
}

.ay-gorunumu-span.is-temporary-duty:hover,
.ay-gorunumu-span.is-temporary-duty:focus-visible,
.ay-gorunumu-span.is-temporary-duty.is-selected {
    background: rgba(13, 202, 240, 0.24);
    border-left-color: rgba(13, 202, 240, 0.7);
    border-right-color: rgba(13, 202, 240, 0.7);
    box-shadow: inset 0 0 0 1px rgba(13, 202, 240, 0.3), 0 0.28rem 0.6rem rgba(39, 52, 85, 0.12);
    color: #0a5e72;
}
.personel-detay-tetikleyici {
    display: inline-block;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-weight: 700;
    text-align: left;
    transition: transform 0.18s ease;
}

.personel-detay-tetikleyici:focus {
    color: inherit;
}

.personel-detay-tetikleyici:hover {
    color: inherit;
    transform: translateX(3px);
}

.personel-detay-tetikleyici:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.personel-detay-alan {
    padding: 0.9rem 1rem;
    border: 1px solid #dee2e6;
    border-radius: 0.65rem;
    background: #fff;
}

.personel-detay-alan-etiket {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.3rem;
    color: var(--theme-text-muted);
    font-size: 0.82rem;
}

.personel-detay-alan-deger {
    color: var(--theme-text);
    font-weight: 600;
    overflow-wrap: anywhere;
}

/* Devamsızlık Takvimi */
.absence-calendar-filter-card {
    display: grid;
    grid-template-columns: minmax(260px, 0.65fr) minmax(420px, 1.35fr);
    gap: 1rem;
    padding: 1rem;
    border: 1px solid rgba(40, 75, 143, 0.1);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(26, 47, 87, 0.07);
}

.absence-calendar-filter-card .form-label {
    margin-bottom: 0.35rem;
    color: var(--theme-text);
    font-size: 0.82rem;
    font-weight: 700;
}

.absence-calendar-station-form,
.absence-calendar-quick-filters {
    min-width: 0;
}

.absence-calendar-quick-filters {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) auto;
    gap: 1rem;
    align-items: end;
}

.absence-calendar-filter-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.85rem;
    min-height: 38px;
}

.absence-calendar-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.8rem;
    margin-bottom: 0.9rem;
}

.absence-calendar-summary-card {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    min-width: 0;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(40, 75, 143, 0.1);
    border-radius: 14px;
    background: linear-gradient(145deg, #fff, #f7f9fd);
}

.absence-calendar-summary-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(220, 53, 69, 0.1);
    color: var(--theme-header-red);
    font-size: 1.05rem;
}

.absence-calendar-summary-value,
.absence-calendar-summary-label {
    display: block;
}

.absence-calendar-summary-value {
    color: var(--theme-navy-dark);
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.1;
}

.absence-calendar-summary-label {
    margin-top: 0.18rem;
    color: var(--theme-text-muted);
    font-size: 0.78rem;
}

.absence-calendar-legend-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.9rem;
    padding: 0.9rem 1rem;
    border: 1px solid #e3e8ef;
    border-radius: 14px;
    background: #fff;
}

.absence-calendar-legend-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex: 1 1 auto;
    min-width: 0;
}

.absence-calendar-legend-title {
    color: var(--theme-text);
    font-weight: 700;
}

.absence-calendar-legend-note,
.absence-calendar-visible-summary {
    color: var(--theme-text-muted);
    font-size: 0.78rem;
}

.absence-calendar-visible-summary {
    white-space: nowrap;
}

.absence-calendar-legend-list {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.absence-calendar-legend-item {
    --absence-status-color: #6c757d;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 34px;
    padding: 0.35rem 0.55rem;
    border: 1px solid #e1e6ec;
    border-radius: 999px;
    background: #fff;
    color: var(--theme-text);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
}

.absence-calendar-legend-item input {
    margin: 0;
    accent-color: var(--absence-status-color);
}

.absence-calendar-legend-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--absence-status-color);
}

.absence-calendar-legend-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 21px;
    height: 21px;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: #f0f3f7;
    color: #4f5f75;
    font-size: 0.7rem;
}

.absence-calendar-scroll {
    max-width: 100%;
    max-height: none;
    overflow-x: auto;
    border: 1px solid #dde3ea;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(26, 47, 87, 0.08);
    scrollbar-color: #aeb9c8 #eef1f5;
    scrollbar-width: thin;
}

.absence-calendar-table {
    width: calc(250px + (var(--absence-day-count) * var(--absence-day-width)));
    min-width: calc(250px + (var(--absence-day-count) * var(--absence-day-width)));
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
}

.absence-calendar-table th,
.absence-calendar-table td {
    padding: 0;
    border: 0;
    border-bottom: 1px solid #edf0f4;
}

.absence-calendar-table thead th {
    position: sticky;
    top: 0;
    z-index: 4;
    background: #f8fafc;
    box-shadow: 0 1px 0 #dfe5ec;
}

.absence-calendar-personnel-column {
    position: sticky;
    left: 0;
    z-index: 3;
    width: 250px;
    min-width: 250px;
    max-width: 250px;
    background: #fff;
    box-shadow: 12px 0 18px -18px rgba(22, 35, 58, 0.75);
}

.absence-calendar-corner-cell {
    z-index: 6 !important;
    padding: 0 1rem !important;
    color: #44536a;
    text-align: left;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.absence-calendar-timeline-column {
    width: calc(var(--absence-day-count) * var(--absence-day-width));
    min-width: calc(var(--absence-day-count) * var(--absence-day-width));
    max-width: calc(var(--absence-day-count) * var(--absence-day-width));
}

.absence-calendar-day-grid,
.absence-calendar-track {
    display: grid;
    grid-template-columns: repeat(var(--absence-day-count), var(--absence-day-width));
}

.absence-calendar-day {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    border-right: 1px solid #e4e9ef;
    color: #4b5870;
}

.absence-calendar-day.is-weekend {
    background: #f2f5f8;
}

.absence-calendar-day.is-today {
    position: relative;
    background: #e9f2ff;
    color: #174f92;
    box-shadow: inset 0 0 0 2px rgba(40, 75, 143, 0.35);
}

.absence-calendar-day-number {
    font-size: 0.86rem;
    font-weight: 800;
    line-height: 1;
}

.absence-calendar-day-name {
    margin-top: 0.28rem;
    font-size: 0.66rem;
    font-weight: 500;
}

.absence-calendar-personnel-button {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    min-height: calc((var(--absence-lanes, 1) * 30px) + 14px);
    padding: 0.65rem 0.9rem;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
}

.absence-calendar-personnel-button:hover .absence-calendar-personnel-name,
.absence-calendar-personnel-button:focus-visible .absence-calendar-personnel-name {
    color: var(--theme-header-red);
}

.absence-calendar-personnel-button:focus-visible {
    outline: 2px solid rgba(40, 75, 143, 0.55);
    outline-offset: -3px;
}

.absence-calendar-personnel-name {
    display: block;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.absence-calendar-personnel-name {
    color: var(--theme-text);
    font-size: 0.86rem;
    font-weight: 700;
}

.absence-calendar-track {
    position: relative;
    grid-template-rows: repeat(var(--absence-lanes), 30px);
    min-height: calc((var(--absence-lanes) * 30px) + 14px);
    padding: 7px 0;
    overflow: hidden;
    background: #fff;
}

.absence-calendar-table [data-has-records="0"] .absence-calendar-personnel-column,
.absence-calendar-table [data-has-records="0"] .absence-calendar-track {
    background-color: #f1f3f5;
    background-image: repeating-linear-gradient(
        135deg,
        transparent 0,
        transparent 6px,
        #dfe3e8 6px,
        #dfe3e8 8px
    );
}

.absence-calendar-day-band {
    z-index: 0;
    margin: -7px 0;
    border-right: 1px solid #edf0f4;
    pointer-events: none;
}

.absence-calendar-day-band.is-weekend {
    background: rgba(234, 238, 243, 0.7);
}

.absence-calendar-day-band.is-today {
    background: rgba(220, 233, 255, 0.68);
    box-shadow: inset 2px 0 rgba(40, 75, 143, 0.18), inset -2px 0 rgba(40, 75, 143, 0.18);
}

.absence-calendar-bar {
    --absence-status-color: #6c757d;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    align-self: center;
    height: 24px;
    min-width: 0;
    margin: 0 2px;
    padding: 0 0.45rem;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
}

.absence-calendar-bar-fill {
    position: absolute;
    inset: 0;
    z-index: 0;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 7px;
    background: var(--absence-status-color);
    box-shadow: 0 4px 10px color-mix(in srgb, var(--absence-status-color) 28%, transparent);
    pointer-events: none;
}

.absence-calendar-bar:focus-visible {
    z-index: 3;
    outline: 2px solid rgba(255, 255, 255, 0.95);
    outline-offset: -3px;
}

.absence-calendar-bar[hidden] {
    display: none;
}

.absence-calendar-bar.is-continuing-before {
    position: relative;
    margin-left: 0;
    padding-left: 0.7rem;
}

.absence-calendar-bar.is-continuing-after {
    position: relative;
    margin-right: 0;
    padding-right: 0.7rem;
}

.absence-calendar-bar.is-continuing-before .absence-calendar-bar-fill {
    border-left: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    clip-path: polygon(
        5px 0,
        0 3px,
        5px 6px,
        0 9px,
        5px 12px,
        0 15px,
        5px 18px,
        0 21px,
        5px 100%,
        100% 100%,
        100% 0
    );
}

.absence-calendar-bar.is-continuing-after .absence-calendar-bar-fill {
    border-right: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    clip-path: polygon(
        0 0,
        calc(100% - 5px) 0,
        100% 3px,
        calc(100% - 5px) 6px,
        100% 9px,
        calc(100% - 5px) 12px,
        100% 15px,
        calc(100% - 5px) 18px,
        100% 21px,
        calc(100% - 5px) 100%,
        0 100%
    );
}

.absence-calendar-bar.is-continuing-before.is-continuing-after .absence-calendar-bar-fill {
    clip-path: polygon(
        5px 0,
        0 3px,
        5px 6px,
        0 9px,
        5px 12px,
        0 15px,
        5px 18px,
        0 21px,
        5px 100%,
        calc(100% - 5px) 100%,
        100% 21px,
        calc(100% - 5px) 18px,
        100% 15px,
        calc(100% - 5px) 12px,
        100% 9px,
        calc(100% - 5px) 6px,
        100% 3px,
        calc(100% - 5px) 0
    );
}

.absence-calendar-bar-label,
.absence-calendar-bar-duration {
    position: relative;
    z-index: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

.absence-calendar-detail-personnel {
    margin-bottom: 0.85rem;
    color: var(--theme-text);
    font-size: 1rem;
    font-weight: 700;
}

.absence-calendar-detail-status-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.absence-calendar-detail-status {
    --absence-status-color: #6c757d;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 32px;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: var(--absence-status-color);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
}

.absence-calendar-detail-status.is-izin {
    --absence-status-color: #d97706;
}

.absence-calendar-detail-status.is-rapor {
    --absence-status-color: #dc3545;
}

.absence-calendar-detail-status.is-egitim {
    --absence-status-color: #2563eb;
}

.absence-calendar-detail-status.is-asker {
    --absence-status-color: #198754;
}

.absence-calendar-detail-status.is-gorevlendirme {
    --absence-status-color: #0f766e;
}

.absence-calendar-detail-status.is-muafiyet {
    --absence-status-color: #7c3aed;
}

.absence-calendar-detail-duration {
    color: var(--theme-navy-dark);
    font-size: 1rem;
    font-weight: 800;
}

.absence-calendar-detail-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
    margin: 0;
}

.absence-calendar-detail-list > div {
    min-width: 0;
    padding: 0.75rem 0.85rem;
    border: 1px solid #e4e9ef;
    border-radius: 12px;
    background: #f9fbfd;
}

.absence-calendar-detail-list dt,
.absence-calendar-detail-description-label {
    margin-bottom: 0.22rem;
    color: var(--theme-text-muted);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.absence-calendar-detail-list dd {
    margin: 0;
    color: var(--theme-text);
    font-size: 0.86rem;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.absence-calendar-detail-description {
    margin-top: 0.8rem;
    padding: 0.85rem;
    border-left: 4px solid rgba(40, 75, 143, 0.35);
    border-radius: 0 12px 12px 0;
    background: #f5f8fc;
    color: var(--theme-text);
    font-size: 0.86rem;
    line-height: 1.5;
}

@media (max-width: 575.98px) {
    .absence-calendar-detail-list {
        grid-template-columns: 1fr;
    }
}

.absence-calendar-bar-duration {
    flex: 0 0 auto;
    opacity: 0.84;
    font-size: 0.64rem;
    font-weight: 500;
}

.absence-calendar-row-empty {
    z-index: 1;
    grid-column: 1 / -1;
    grid-row: 1;
    align-self: center;
    justify-self: start;
    margin-left: 0.75rem;
    color: #8995a6;
    font-size: 0.72rem;
}

.absence-calendar-legend-item.is-izin,
.absence-calendar-bar.is-izin {
    --absence-status-color: #d97706;
}

.absence-calendar-legend-item.is-rapor,
.absence-calendar-bar.is-rapor {
    --absence-status-color: #dc3545;
}

.absence-calendar-legend-item.is-egitim,
.absence-calendar-bar.is-egitim {
    --absence-status-color: #2563eb;
}

.absence-calendar-legend-item.is-asker,
.absence-calendar-bar.is-asker {
    --absence-status-color: #198754;
}

.absence-calendar-legend-item.is-gorevlendirme,
.absence-calendar-bar.is-gorevlendirme {
    --absence-status-color: #0f766e;
}

.absence-calendar-legend-item.is-muafiyet,
.absence-calendar-bar.is-muafiyet {
    --absence-status-color: #7c3aed;
}

.absence-calendar-filter-empty,
.absence-calendar-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 190px;
    padding: 2rem;
    border: 1px dashed #cfd7e2;
    border-radius: 16px;
    background: #fff;
    color: var(--theme-text-muted);
    text-align: center;
}

.absence-calendar-filter-empty {
    margin-top: 0.9rem;
}

.absence-calendar-filter-empty i,
.absence-calendar-empty i {
    margin-bottom: 0.25rem;
    color: #8190a5;
    font-size: 1.8rem;
}

.absence-calendar-filter-empty strong,
.absence-calendar-empty strong {
    color: var(--theme-text);
}

@media (max-width: 1199.98px) {
    .absence-calendar-filter-card,
    .absence-calendar-quick-filters {
        grid-template-columns: 1fr;
    }

    .absence-calendar-filter-actions {
        justify-content: space-between;
    }

    .absence-calendar-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .absence-calendar-legend-card,
    .absence-calendar-legend-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .absence-calendar-legend-list {
        justify-content: flex-start;
    }
}

@media (max-width: 575.98px) {
    .absence-calendar-summary-grid {
        grid-template-columns: 1fr;
    }

    .absence-calendar-filter-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .absence-calendar-filter-actions .btn {
        width: 100%;
    }

    .absence-calendar-personnel-column {
        width: 205px;
        min-width: 205px;
        max-width: 205px;
    }

    .absence-calendar-table {
        width: calc(205px + (var(--absence-day-count) * var(--absence-day-width)));
        min-width: calc(205px + (var(--absence-day-count) * var(--absence-day-width)));
    }
}
/* Operasyon Sorun Merkezi */
.operations-filter-card,
.operations-issue-section {
    border: 1px solid #dfe5e8;
    border-radius: 16px;
    background: var(--theme-surface);
    box-shadow: 0 10px 28px rgba(42, 51, 56, 0.06);
}

.operations-filter-card {
    display: grid;
    grid-template-columns: minmax(210px, 0.75fr) minmax(0, 2.25fr);
    gap: 1rem;
    padding: 1rem;
}

.operations-station-filter,
.operations-client-filters > div {
    min-width: 0;
}

.operations-filter-card .form-label {
    margin-bottom: 0.4rem;
    color: #3e4a51;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.operations-client-filters {
    display: grid;
    grid-template-columns: minmax(180px, 1.4fr) minmax(130px, 0.8fr) minmax(140px, 0.9fr) minmax(145px, 0.8fr);
    gap: 0.75rem;
}

.operations-filter-reset-wrap {
    display: flex;
    align-items: flex-end;
}

.operations-summary-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.8rem;
}

.operations-summary-card {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    min-height: 90px;
    padding: 1rem;
    border: 1px solid #e2e7ea;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(42, 51, 56, 0.05);
}

.operations-summary-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 13px;
    font-size: 1.15rem;
}

.operations-summary-card > div > strong,
.operations-summary-card > div > span {
    display: block;
}

.operations-summary-card strong {
    color: #263238;
    font-size: 1.45rem;
    line-height: 1.1;
}

.operations-summary-card div > span {
    margin-top: 0.25rem;
    color: #647178;
    font-size: 0.78rem;
    font-weight: 600;
}

.operations-summary-card.danger .operations-summary-icon {
    background: #fde7e8;
    color: #b4232d;
}

.operations-summary-card.warning .operations-summary-icon {
    background: #fff0cc;
    color: #946200;
}

.operations-summary-card.info .operations-summary-icon {
    background: #ddf2f5;
    color: #176a76;
}

.operations-summary-card.primary .operations-summary-icon {
    background: #e7eafc;
    color: #3648a0;
}

.operations-summary-card.neutral .operations-summary-icon {
    background: #edf0f2;
    color: #4f5d65;
}

.operations-issue-section {
    padding: 1rem;
}

.operations-issue-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.operations-issue-heading h2 {
    margin: 0 0 0.25rem;
    color: #27333a;
    font-size: 1.05rem;
    font-weight: 700;
}

.operations-issue-heading p {
    margin: 0;
    color: #69767d;
    font-size: 0.82rem;
}

.operations-visible-count {
    flex: 0 0 auto;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    background: #edf0f2;
    color: #4d5a62;
    font-size: 0.75rem;
    font-weight: 700;
}

.operations-issue-list {
    display: grid;
    gap: 0.75rem;
}

.operations-scan-status {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0.8rem 0.9rem;
    border: 1px solid #d7e2e7;
    border-radius: 13px;
    background: #f5f9fb;
    color: #3c555f;
}

.operations-scan-status.is-success {
    border-color: #b9ddc4;
    background: #edf8f0;
    color: #246438;
}

.operations-scan-status.is-error {
    border-color: #efc2c6;
    background: #fff1f2;
    color: #8f2630;
}

.operations-scan-status-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    font-size: 1rem;
}

.operations-scan-status > div {
    min-width: 0;
    flex: 1 1 auto;
}

.operations-scan-status strong,
.operations-scan-status div > span {
    display: block;
}

.operations-scan-status strong {
    font-size: 0.82rem;
}

.operations-scan-status div > span {
    margin-top: 0.15rem;
    font-size: 0.75rem;
}

.operations-issue-card {
    display: flex;
    gap: 0.9rem;
    padding: 1rem;
    border: 1px solid #e0e6e9;
    border-left-width: 5px;
    border-radius: 14px;
    background: #fff;
}

.operations-issue-card.severity-kritik {
    border-left-color: #c4313b;
}

.operations-issue-card.severity-uyari {
    border-left-color: #d99a18;
}

.operations-issue-card.severity-bilgi {
    border-left-color: #26879a;
}

.operations-issue-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 12px;
    background: #f3f5f6;
    color: #58666d;
    font-size: 1.05rem;
}

.severity-kritik .operations-issue-icon {
    background: #fde7e8;
    color: #b4232d;
}

.severity-uyari .operations-issue-icon {
    background: #fff0cc;
    color: #8a5c00;
}

.severity-bilgi .operations-issue-icon {
    background: #ddf2f5;
    color: #176a76;
}

.operations-issue-body {
    min-width: 0;
    flex: 1 1 auto;
}

.operations-issue-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.55rem;
}

.operations-severity-badge,
.operations-category-badge,
.operations-station-label,
.operations-count-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
}

.operations-severity-badge,
.operations-category-badge,
.operations-station-label {
    padding: 0.28rem 0.55rem;
}

.operations-severity-badge.kritik {
    background: #fde7e8;
    color: #9e202a;
}

.operations-severity-badge.uyari {
    background: #fff0cc;
    color: #785000;
}

.operations-severity-badge.bilgi {
    background: #ddf2f5;
    color: #145e69;
}

.operations-category-badge {
    background: #eceff1;
    color: #46535a;
}

.operations-station-label {
    background: #f5f7f8;
    color: #5a676e;
}

.operations-issue-body h3 {
    margin: 0 0 0.4rem;
    color: #263238;
    font-size: 1rem;
    font-weight: 700;
}

.operations-issue-body p {
    margin: 0;
    color: #5f6d74;
    font-size: 0.84rem;
    line-height: 1.55;
}

.operations-issue-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 0.8rem;
}

.operations-count-badge {
    padding: 0.35rem 0.65rem;
    background: #f0f3f4;
    color: #4c5960;
}

.operations-count-badge strong {
    color: #263238;
}

.operations-empty-state {
    padding: 2.5rem 1rem;
    text-align: center;
}

.operations-empty-state > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 0.8rem;
    border-radius: 18px;
    background: #edf0f2;
    color: #5d6a71;
    font-size: 1.4rem;
}

.operations-empty-state.is-success > span {
    background: #dff3e5;
    color: #25713b;
}

.operations-empty-state h3 {
    margin: 0 0 0.35rem;
    color: #2c383e;
    font-size: 1.05rem;
}

.operations-empty-state p {
    margin: 0;
    color: #6a767d;
    font-size: 0.84rem;
}

@media (max-width: 1199.98px) {
    .operations-filter-card {
        grid-template-columns: 1fr;
    }

    .operations-summary-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .operations-client-filters,
    .operations-summary-grid {
        grid-template-columns: 1fr;
    }

    .operations-summary-card {
        min-height: 78px;
    }

    .operations-issue-heading,
    .operations-issue-footer,
    .operations-scan-status {
        align-items: stretch;
        flex-direction: column;
    }

    .operations-visible-count {
        align-self: flex-start;
    }

    .operations-issue-card {
        gap: 0.7rem;
        padding: 0.85rem;
    }

    .operations-issue-icon {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }

    .operations-issue-footer .btn {
        width: 100%;
    }
}
.min-h-form-control {
    min-height: 38px;
}

/* Kapasite Yönetimi */
.capacity-management-page {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
}

.capacity-management-page > *,
.capacity-management-toolbar > *,
.capacity-management-section-heading > * {
    min-width: 0;
    max-width: 100%;
}

.capacity-management-assignments,
.capacity-management-related {
    border: 1px solid #dfe5e8;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(42, 51, 56, 0.06);
}

.capacity-management-workspace {
    background: transparent;
}

.capacity-management-toolbar p,
.capacity-management-section-heading p {
    margin: 0;
    color: #65727a;
    font-size: 0.84rem;
}

.capacity-management-readiness {
    display: flex;
    flex: 1.5;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    padding: 0.9rem 1rem;
    border: 1px solid;
    border-radius: 15px;
}

.capacity-management-readiness-content {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
}

.capacity-management-readiness.is-ready {
    border-color: #b9dfc6;
    background: #e7f6ec;
    color: #185d32;
}

.capacity-management-readiness.needs-attention {
    border-color: #efc0c4;
    background: #fff0f1;
    color: #8f1e27;
}

.capacity-management-readiness-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.75);
    font-size: 1.15rem;
}

.capacity-management-readiness-copy strong,
.capacity-management-readiness-copy > span {
    display: block;
}

.capacity-management-readiness-copy > span {
    margin-top: 0.15rem;
    font-size: 0.82rem;
}

.capacity-management-print-frame {
    position: fixed;
    left: -10000px;
    bottom: 0;
    width: 1px;
    height: 1px;
    border: 0;
    opacity: 0;
    pointer-events: none;
}

.capacity-management-kpis {
    display: flex;
    gap: 0.75rem;
}

.capacity-management-kpi-grid {
    display: grid;
    flex: 5;
    min-width: 0;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.75rem;
}

.capacity-management-kpi {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    padding: 0.9rem;
    border: 1px solid #e0e6e9;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 7px 20px rgba(42, 51, 56, 0.05);
}

.capacity-management-kpi-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 13px;
    background: #edf1f3;
    color: #4c5a62;
    font-size: 1.05rem;
}

.capacity-management-kpi.primary .capacity-management-kpi-icon {
    background: #e2eefb;
    color: #285d91;
}

.capacity-management-kpi.danger .capacity-management-kpi-icon {
    background: #fde5e7;
    color: #a91f29;
}

.capacity-management-kpi.success .capacity-management-kpi-icon {
    background: #ddf2e4;
    color: #216c3c;
}

.capacity-management-kpi.warning .capacity-management-kpi-icon {
    background: #fff0cc;
    color: #835700;
}

.capacity-management-kpi.info .capacity-management-kpi-icon {
    background: #dcf1f3;
    color: #176c76;
}

.capacity-management-kpi strong,
.capacity-management-kpi div > span,
.capacity-management-kpi small {
    display: block;
}

.capacity-management-kpi-icon i {
    display: block;
    line-height: 1;
}

.capacity-management-kpi strong {
    color: #27343a;
    font-size: 1.3rem;
    line-height: 1.05;
}

.capacity-management-kpi div > span {
    margin-top: 0.2rem;
    color: #4f5c63;
    font-size: 0.76rem;
    font-weight: 700;
}

.capacity-management-kpi small {
    margin-top: 0.2rem;
    color: #7a858b;
    font-size: 0.67rem;
}

.capacity-management-kpi-readiness {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 0.45rem 0.75rem;
}

.capacity-management-kpi-readiness > div:not(.capacity-management-kpi-progress) {
    min-width: 0;
}

.capacity-management-kpi-progress {
    grid-column: 1 / -1;
    height: 8px;
    overflow: hidden;
    border: 1px solid #e7bfc4;
    border-radius: 999px;
    background: #f8dfe2;
}

.capacity-management-kpi .capacity-management-kpi-progress > span {
    display: block;
    height: 100%;
    margin-top: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, #2f8a4c, #48a866);
}

.capacity-management-assignments {
    padding: 1rem;
}

.capacity-management-toolbar,
.capacity-management-section-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.capacity-management-toolbar h3,
.capacity-management-section-heading h3 {
    margin: 0 0 0.25rem;
    color: #29363c;
    font-size: 1.05rem;
    font-weight: 800;
}

.capacity-management-toolbar-controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.65rem;
    width: 100%;
}

.capacity-management-status-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.capacity-management-alphabetical-sort {
    margin-bottom: 0;
    white-space: nowrap;
    cursor: pointer;
}

.capacity-management-status-filters button,
.capacity-management-alphabetical-sort {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 38px;
    padding: 0.35rem 0.65rem;
    border: 1px solid #d9e0e3;
    border-radius: 10px;
    background: #f7f9fa;
    color: #4c5960;
    font-size: 0.73rem;
    font-weight: 700;
}

.capacity-management-status-filters button.is-active,
#capacityAlphabeticalSort:checked + .capacity-management-alphabetical-sort {
    border-color: #2f3d44;
    background: #2f3d44;
    color: #fff;
}

#capacityAlphabeticalSort:focus-visible + .capacity-management-alphabetical-sort {
    outline: 2px solid #2f3d44;
    outline-offset: 2px;
}

.capacity-management-status-filters button span {
    min-width: 20px;
    padding: 0.1rem 0.35rem;
    border-radius: 999px;
    background: rgba(127, 140, 147, 0.16);
    text-align: center;
}

.capacity-management-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.capacity-management-grid > *,
.capacity-management-station > * {
    min-width: 0;
    max-width: 100%;
}

.capacity-management-loading,
.capacity-management-empty,
.capacity-management-assignment-empty {
    padding: 2rem 1rem;
    color: #657279;
    text-align: center;
}

.capacity-management-empty i,
.capacity-management-empty strong,
.capacity-management-empty span {
    display: block;
}

.capacity-management-empty i {
    margin-bottom: 0.45rem;
    font-size: 1.5rem;
}

.capacity-management-station {
    display: grid;
    gap: 0.75rem;
    padding: 1rem;
    border: 1px solid #dfe5e8;
    border-top: 4px solid #87949a;
    border-radius: 15px;
    background: #fff;
}

.capacity-management-station.is-pinned {
    box-shadow: 0 0 0 2px rgba(47, 61, 68, 0.12), 0 10px 24px rgba(31, 45, 52, 0.08);
}

.capacity-management-station.critical {
    border-top-color: #c42d38;
}

.capacity-management-station.ready {
    border-top-color: #2b8a4b;
}

.capacity-management-station.undefined {
    border-top-color: #7a878e;
}

.capacity-management-station > header,
.capacity-management-station > footer,
.capacity-management-station > header > div {
    display: flex;
    align-items: center;
}

.capacity-management-station > header,
.capacity-management-station > footer {
    justify-content: space-between;
    gap: 0.75rem;
}

.capacity-management-station > header > div {
    min-width: 0;
    gap: 0.65rem;
}

.capacity-management-station-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    flex: 0 0 auto;
}

.capacity-management-pin-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    min-width: 34px;
    height: 34px;
    flex: 0 0 34px;
    padding: 0;
    border: 2px solid #aeb9be;
    border-radius: 50%;
    background: #f4f6f7;
    color: #536269;
}

.capacity-management-pin-button:hover,
.capacity-management-pin-button:focus-visible {
    border-color: #2f3d44;
    color: #2f3d44;
}

.capacity-management-pin-button.is-active {
    border-color: #2f3d44;
    background: #2f3d44;
    color: #fff;
}

.capacity-management-station > header > div > span:last-child {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    flex: 1 1 auto;
}

.capacity-management-station-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 12px;
    background: #edf1f3;
    color: #4e5d65;
}

.capacity-management-station h4 {
    overflow: hidden;
    margin: 0;
    color: #27343a;
    font-size: 0.98rem;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.capacity-management-station header small {
    display: block;
    margin-top: 0.18rem;
    color: #758087;
    font-size: 0.7rem;
}

.capacity-management-status {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    flex: 0 0 auto;
    padding: 0.32rem 0.55rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 800;
}

.capacity-management-status.critical {
    background: #fde5e7;
    color: #9f202a;
}

.capacity-management-status.ready {
    background: #ddf2e4;
    color: #216c3c;
}

.capacity-management-status.undefined {
    background: #edf0f2;
    color: #56636a;
}

.capacity-management-station-description {
    margin: 0;
    color: #5d6a71;
    font-size: 0.78rem;
}

.capacity-management-role-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.55rem;
}

.capacity-management-role {
    display: block;
    width: 100%;
    font: inherit;
    text-align: left;
    cursor: pointer;
    padding: 0.65rem;
    border: 1px solid #dfe5e8;
    border-radius: 11px;
    background: #edf1f3;
    color: #334047;
}

.capacity-management-role:focus-visible {
    outline: 3px solid #e63946;
    outline-offset: 3px;
}

.capacity-management-role-detail-hint {
    display: block;
    margin-top: 0.45rem;
    font-size: 0.68rem;
}

.capacity-management-role-personnel {
    width: 100%;
    table-layout: fixed;
    font-size: 0.875rem;
    overflow-wrap: anywhere;
}

.capacity-management-role-personnel th:first-child {
    width: auto;
}

.capacity-management-role-personnel th:nth-child(2) {
    width: 3.5rem;
}

.capacity-management-role-personnel th:nth-child(3) {
    width: 4rem;
}

.capacity-management-role-personnel th:nth-child(4) {
    width: 4.5rem;
}

.capacity-management-role-personnel .capacity-management-transfer-incoming {
    --bs-table-bg: #edf8f0;
}

.capacity-management-role-personnel .capacity-management-transfer-outgoing {
    --bs-table-bg: #fff1f2;
}

.capacity-management-role-personnel .capacity-management-role-summary-gap > td {
    height: 1rem;
    padding: 0;
    border: 0;
    background: #fff;
    box-shadow: none;
}

@supports (appearance: base-select) {
    .capacity-management-transfer-source,
    .capacity-management-transfer-source::picker(select) {
        appearance: base-select;
    }

    .capacity-management-transfer-source::picker-icon {
        display: none;
    }

    .capacity-management-transfer-source::picker(select) {
        width: anchor-size(width);
        max-width: calc(100vw - 2rem);
        max-height: 20rem;
        padding: 0.25rem 0;
        border: 1px solid #ced4da;
        border-radius: 0.5rem;
        background: #fff;
    }

    .capacity-management-transfer-source option {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.375rem 0.75rem;
        white-space: normal;
    }

    .capacity-management-transfer-source option > span:first-child {
        overflow-wrap: anywhere;
    }

    .capacity-management-transfer-surplus {
        margin-inline-start: auto;
        white-space: nowrap;
        font-variant-numeric: tabular-nums;
    }
}

.capacity-management-role-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.capacity-management-role-heading span,
.capacity-management-role-heading strong,
.capacity-management-role-heading small,
.capacity-management-role-heading b {
    display: block;
}

.capacity-management-role-heading strong {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: #334047;
    font-size: 0.77rem;
}

.capacity-management-role-heading strong > .bi {
    font-size: 1.3em;
    line-height: 1;
}

.capacity-management-role-heading .capacity-management-stethoscope-icon {
    width: 1.014rem;
    height: 1.014rem;
}

.capacity-management-role-heading small {
    color: inherit;
    font-size: 0.65rem;
}

.capacity-management-role-heading > span:last-child {
    text-align: right;
}

.capacity-management-role-heading b {
    color: #2d3a40;
    font-size: 0.82rem;
}

.capacity-management-role-balance {
    display: grid;
    gap: 0.15rem;
    margin-top: 0.65rem;
    padding: 0.55rem 0.65rem;
    border: 1px solid #dfe5e8;
    border-radius: 8px;
    background: #edf1f3;
    color: #334047;
}

.capacity-management-role-balance > span {
    font-size: 0.72rem;
    font-weight: 700;
}

.capacity-management-role-balance strong {
    font-size: 1.04rem;
    font-weight: 800;
    line-height: 1.3;
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
}

.capacity-management-role-balance small {
    font-size: 0.68rem;
}

.capacity-management-role.negative,
.capacity-management-role.negative .capacity-management-role-balance {
    border-color: #f1b0b7;
    background: #fde5e7;
    color: #9f202a;
}

.capacity-management-role.positive,
.capacity-management-role.positive .capacity-management-role-balance {
    border-color: #a3cfbb;
    background: #ddf2e4;
    color: #216c3c;
}

.capacity-management-role-track {
    display: block;
    overflow: hidden;
    height: 5px;
    margin-top: 0.45rem;
    border-radius: 999px;
    background: #e1e6e8;
}

.capacity-management-role-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #2d8b4c;
}

.capacity-management-role.negative .capacity-management-role-track span {
    background: #c4313b;
}

.capacity-management-impact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
}

.capacity-management-impact-button {
    font: inherit;
    text-align: left;
    cursor: pointer;
    background: #fff;
    min-width: 0;
    padding: 0.65rem;
    border: 1px solid #e2e7e9;
    border-radius: 11px;
}

.capacity-management-role:hover,
.capacity-management-impact-button:hover {
    border-color: #87949a;
}

.capacity-management-impact-button:focus-visible {
    outline: 3px solid #e63946;
    outline-offset: 3px;
}

#capacityImpactDetailContent .list-group-item {
    overflow-wrap: anywhere;
}

.capacity-management-impact-grid span,
.capacity-management-impact-grid strong,
.capacity-management-impact-grid small {
    display: block;
}

.capacity-management-impact-grid span {
    color: #758087;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
}

.capacity-management-impact-grid strong {
    margin-top: 0.2rem;
    color: #334047;
    font-size: 0.76rem;
}

.capacity-management-impact-grid small {
    overflow: hidden;
    margin-top: 0.2rem;
    color: #7a858b;
    font-size: 0.65rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.capacity-management-daily {
    display: grid;
    gap: 0.45rem;
    padding: 0.7rem;
    border: 1px solid #dfe6e9;
    border-radius: 11px;
    background: #f7f9fa;
}

.capacity-management-daily-title {
    color: #69767d;
    font-size: 0.67rem;
    font-weight: 800;
    text-transform: uppercase;
}

.capacity-management-daily-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 8rem;
}

.capacity-management-daily-scroll {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.3rem;
    scrollbar-color: #aebbc2 #e5eaed;
    scrollbar-width: thin;
    cursor: grab;
}

.capacity-management-daily-scroll.is-dragging {
    cursor: grabbing;
    user-select: none;
}

.capacity-management-daily-days {
    display: flex;
    width: max-content;
    gap: 0.3rem;
}

.capacity-management-daily-day {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.22rem;
    width: 100px;
    flex: 0 0 100px;
    padding: 0.32rem;
    border: 1px solid #dce3e6;
    border-radius: 9px;
    background: #fff;
    color: inherit;
    font: inherit;
    text-align: initial;
    cursor: pointer;
}

.capacity-management-daily-day.has-doctor {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 132px;
    flex-basis: 132px;
}

.capacity-management-daily-day.is-saturday {
    border-color: #b9d2e5;
    background: #e8f3fb;
}

.capacity-management-daily-day.is-sunday {
    border-color: #b9d2e5;
    background: #e8f3fb;
}

.capacity-management-daily-day.is-saturday .capacity-management-daily-date {
    border-bottom-color: #cbdfea;
}

.capacity-management-daily-day.is-sunday .capacity-management-daily-date {
    border-bottom-color: #cbdfea;
}

.capacity-management-daily-day.is-saturday .capacity-management-daily-date small {
    color: #245f88;
}

.capacity-management-daily-day.is-sunday .capacity-management-daily-date small {
    color: #245f88;
}

.capacity-management-daily-day:hover,
.capacity-management-daily-day:focus-visible {
    border-color: #8ba8be;
    box-shadow: 0 0 0 2px rgba(52, 120, 185, 0.12);
    outline: none;
}

.capacity-management-daily-date {
    display: flex;
    align-items: center;
    justify-content: space-between;
    grid-column: 1 / -1;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid #edf0f2;
}

.capacity-management-daily-date strong {
    color: #2f3c42;
    font-size: 0.82rem;
}

.capacity-management-daily-date small {
    color: #7a858b;
    font-size: 0.58rem;
    text-transform: uppercase;
}

.capacity-management-daily-day > .health,
.capacity-management-daily-day > .doctor,
.capacity-management-daily-day > .driver {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 0.2rem;
    font-size: 0.67rem;
}

.capacity-management-daily-role-value {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
}

.capacity-management-daily-day .health {
    color: #a5232d;
}

.capacity-management-daily-day .doctor {
    color: #6f42c1;
}

.capacity-management-daily-day .driver {
    color: #285d91;
}

.capacity-management-daily-day i {
    font-size: 0.68rem;
}

.capacity-management-stethoscope-icon {
    width: 0.78rem;
    height: 0.78rem;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.capacity-management-daily-role-value > strong {
    font-size: 0.75rem;
}

.capacity-management-daily-bar {
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    width: 12px;
    height: 30px;
    border-radius: 999px;
    background: #e5eaed;
}

.capacity-management-daily-bar > span {
    display: block;
    width: 100%;
    border-radius: inherit;
}

.capacity-management-daily-day .health .capacity-management-daily-bar > span {
    background: #c4313b;
}

.capacity-management-daily-day .doctor .capacity-management-daily-bar > span {
    background: #6f42c1;
}

.capacity-management-daily-day .driver .capacity-management-daily-bar > span {
    background: #3478b9;
}

.capacity-management-day-panel {
    --bs-offcanvas-width: min(544px, 100vw);
    width: min(544px, 100vw) !important;
}

.capacity-management-day-panel .offcanvas-body {
    display: flex;
    min-height: 0;
    flex-direction: column;
    overflow: hidden;
}

#capacityDayDetailContent {
    display: flex;
    min-height: 0;
    flex: 1 1 auto;
    flex-direction: column;
}

.capacity-management-day-overview {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    padding: 0.75rem;
    border: 1px solid;
    border-radius: 12px;
}

.capacity-management-day-overview.ready {
    border-color: #b9dfc6;
    background: #edf8f1;
    color: #216c3c;
}

.capacity-management-day-overview.critical {
    border-color: #efc0c4;
    background: #fff1f2;
    color: #9f202a;
}

.capacity-management-day-overview-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.75);
    font-size: 1rem;
}

.capacity-management-day-overview strong,
.capacity-management-day-overview div > span {
    display: block;
}

.capacity-management-day-overview strong {
    font-size: 0.82rem;
}

.capacity-management-day-overview div > span {
    margin-top: 0.15rem;
    font-size: 0.7rem;
}

.capacity-management-day-overview-metrics {
    display: flex;
    gap: 0.4rem;
}

.capacity-management-day-overview-metrics span {
    min-width: 72px;
    padding: 0.35rem 0.45rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.75);
    text-align: center;
}

.capacity-management-day-overview-metrics b {
    display: block;
    font-size: 0.82rem;
}

.capacity-management-day-summary {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    grid-auto-rows: 82px;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.capacity-management-day-summary > button {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    appearance: none;
    min-width: 0;
    flex-direction: column;
    padding: 0.65rem 0.45rem;
    border: 1px solid #e0e6e9;
    border-radius: 11px;
    background: #f7f9fa;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.capacity-management-day-summary > button:hover {
    transform: translateY(-1px);
    border-color: #aebdc5;
}

.capacity-management-day-summary > button:focus-visible {
    outline: 3px solid rgba(40, 93, 145, 0.24);
    outline-offset: 2px;
}

.capacity-management-day-summary > button[aria-pressed="true"] {
    border-color: #285d91;
    background: #edf4fb;
    box-shadow: 0 0 0 2px rgba(40, 93, 145, 0.12);
}

.capacity-management-day-summary span,
.capacity-management-day-summary strong,
.capacity-management-day-summary small {
    display: block;
}

.capacity-management-day-summary .capacity-management-day-filter-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
}

.capacity-management-day-summary .capacity-management-day-filter-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    color: #52636d;
    font-size: 0.8rem;
    line-height: 1;
}

.capacity-management-day-filter-icon .capacity-management-stethoscope-icon {
    width: 0.8rem;
    height: 0.8rem;
}

.capacity-management-day-summary span {
    color: #6c787f;
    font-size: 0.62rem;
    font-weight: 700;
}

.capacity-management-day-summary strong {
    margin-top: 0.2rem;
    color: #2f3c42;
    font-size: 1.05rem;
}

.capacity-management-day-summary small {
    margin-top: 0.15rem;
    color: #7a858b;
    font-size: 0.58rem;
}

.capacity-management-day-summary .health strong,
.capacity-management-day-summary .health .capacity-management-day-filter-icon,
.capacity-management-day-summary .leave strong,
.capacity-management-day-summary .leave .capacity-management-day-filter-icon,
.capacity-management-day-summary .report strong,
.capacity-management-day-summary .report .capacity-management-day-filter-icon,
.capacity-management-day-summary .exemption strong {
    color: #a5232d;
}

.capacity-management-day-summary .exemption .capacity-management-day-filter-icon {
    color: #a5232d;
}

.capacity-management-day-summary .doctor strong,
.capacity-management-day-summary .doctor .capacity-management-day-filter-icon {
    color: #6f42c1;
}

.capacity-management-day-summary .driver strong,
.capacity-management-day-summary .driver .capacity-management-day-filter-icon,
.capacity-management-day-summary .incoming strong {
    color: #285d91;
}

.capacity-management-day-summary .incoming .capacity-management-day-filter-icon {
    color: #285d91;
}

.capacity-management-day-summary .outgoing strong,
.capacity-management-day-summary .outgoing .capacity-management-day-filter-icon,
.capacity-management-day-summary .training strong {
    color: #7b5a12;
}

.capacity-management-day-summary .training .capacity-management-day-filter-icon {
    color: #7b5a12;
}

.capacity-management-day-groups {
    display: flex;
    min-height: 0;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 0.75rem;
    overflow: hidden;
}

.capacity-management-day-group {
    display: flex;
    min-width: 0;
    min-height: 0;
    flex: 1 1 0;
    flex-direction: column;
    overflow: hidden;
    padding: 0.75rem;
    border: 1px solid #e0e6e9;
    border-radius: 12px;
    background: #fff;
}

.capacity-management-day-group.duty {
    max-height: 45%;
    flex: 0 1 auto;
}

.capacity-management-day-group h6 {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0 0 0.6rem;
    color: #334047;
    font-size: 0.8rem;
    font-weight: 800;
}

.capacity-management-day-group h6 span {
    margin-left: auto;
    padding: 0.12rem 0.4rem;
    border-radius: 999px;
    background: #edf1f3;
    font-size: 0.68rem;
}

.capacity-management-day-group > p {
    margin: 0;
    color: #7a858b;
    font-size: 0.7rem;
}

.capacity-management-day-personnel {
    display: grid;
    min-height: 0;
    flex: 1 1 auto;
    grid-auto-rows: max-content;
    align-content: start;
    gap: 0.4rem;
    overflow-y: auto;
    padding-right: 0.2rem;
    scrollbar-gutter: stable;
}

.capacity-management-day-personnel > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.45rem 0.5rem;
    border-radius: 8px;
    background: #f6f8f9;
}

.capacity-management-day-personnel-name {
    color: #344148;
    font-size: 0.72rem;
    font-weight: 400;
}

.capacity-management-day-personnel-role {
    color: #78848a;
    font-size: 0.66rem;
    font-weight: 600;
}

.capacity-management-day-personnel-meta {
    display: grid;
    flex: 0 0 auto;
    justify-items: end;
    gap: 0.12rem;
}

.capacity-management-day-personnel em {
    color: #68757c;
    font-size: 0.62rem;
    font-style: normal;
    text-align: right;
}

.capacity-management-day-personnel .capacity-management-day-status-period {
    color: #4f5d64;
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
}

.capacity-management-coverage {
    color: #69767d;
    font-size: 0.68rem;
}

.capacity-management-coverage b {
    display: block;
    color: #2f3c42;
    font-size: 0.95rem;
}

.capacity-management-card-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.capacity-management-assignment-table thead th {
    color: #5a676e;
    font-size: 0.7rem;
    text-transform: uppercase;
}

.capacity-management-related {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: hidden;
}

.capacity-management-related a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    color: inherit;
    text-decoration: none;
}

.capacity-management-related a + a {
    border-left: 1px solid #e0e6e9;
}

.capacity-management-related i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 12px;
    background: #e8f1f2;
    color: #1d6f78;
}

.capacity-management-related strong,
.capacity-management-related small {
    display: block;
}

.capacity-management-related strong {
    color: #2b383e;
    font-size: 0.82rem;
}

.capacity-management-related small {
    margin-top: 0.15rem;
    color: #748087;
    font-size: 0.7rem;
}

.capacity-management-modal .modal-header {
    align-items: flex-start;
}

.capacity-management-modal-target {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    border-radius: 12px;
    background: #f2f5f6;
}

.capacity-management-modal-target strong {
    color: #2c393f;
}

.capacity-management-modal-target span {
    color: #68757c;
    font-size: 0.76rem;
}

.capacity-management-simulation-panel {
    --bs-offcanvas-width: min(544px, 100vw);
    width: min(544px, 100vw) !important;
}

.capacity-management-simulation-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem;
    border-top: 1px solid #dfe5e8;
    background: #fff;
}

.capacity-management-simulation-readonly {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #59676e;
    font-size: 0.75rem;
    font-weight: 700;
}

.capacity-management-simulation-status {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem;
    border: 1px solid;
    border-radius: 12px;
}

.capacity-management-simulation-status.complete {
    border-color: #b7dec2;
    background: #edf8f0;
    color: #21683a;
}

.capacity-management-simulation-status.warning {
    border-color: #efc3c7;
    background: #fff1f2;
    color: #a1242e;
}

.capacity-management-simulation-status > i {
    font-size: 1.35rem;
}

.capacity-management-simulation-status strong,
.capacity-management-simulation-status span {
    display: block;
}

.capacity-management-simulation-status span {
    margin-top: 0.15rem;
    color: #59676e;
    font-size: 0.74rem;
}

.capacity-management-simulation-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
    margin-top: 0.75rem;
}

.capacity-management-simulation-summary > div {
    padding: 0.75rem;
    border: 1px solid #dfe5e8;
    border-radius: 11px;
    background: #f7f9fa;
}

.capacity-management-simulation-summary span,
.capacity-management-simulation-summary strong {
    display: block;
}

.capacity-management-simulation-summary span {
    color: #69767d;
    font-size: 0.7rem;
}

.capacity-management-simulation-summary strong {
    margin-top: 0.15rem;
    color: #2f3c42;
    font-size: 1.15rem;
}

.capacity-management-simulation-summary .has-warning strong {
    color: #b22430;
}

.capacity-management-simulation-warnings {
    margin-top: 1rem;
}

.capacity-management-simulation-warnings h6 {
    margin-bottom: 0.55rem;
    color: #334148;
    font-size: 0.82rem;
}

.capacity-management-simulation-warnings {
    padding: 0.8rem;
    border: 1px solid #efd1d4;
    border-radius: 12px;
    background: #fff7f7;
}

.capacity-management-simulation-warnings ul {
    display: grid;
    gap: 0.35rem;
    margin: 0;
    padding-left: 1.2rem;
    color: #6b3539;
    font-size: 0.74rem;
}

.capacity-management-simulation-warnings li strong,
.capacity-management-simulation-warnings li span {
    display: block;
}

.capacity-management-simulation-warnings li strong {
    margin-bottom: 0.1rem;
    color: #9f2530;
}

.capacity-management-candidate-list {
    display: grid;
    gap: 0.55rem;
}

.capacity-management-candidate {
    overflow: hidden;
    border: 1px solid #dfe5e8;
    border-radius: 12px;
    background: #fff;
}

.capacity-management-candidate-select {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.65rem;
    padding: 0.75rem;
    cursor: pointer;
}

.capacity-management-candidate:has(
    > .capacity-management-candidate-select input:checked
) {
    border-color: #bf2934;
    background: #fff3f4;
}

.capacity-management-candidate-select > input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.capacity-management-candidate-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    border: 2px solid #bac4c8;
    border-radius: 50%;
    color: transparent;
}

.capacity-management-candidate:has(
    > .capacity-management-candidate-select input:checked
) .capacity-management-candidate-check {
    border-color: #bf2934;
    background: #bf2934;
    color: #fff;
}

.capacity-management-candidate strong,
.capacity-management-candidate small {
    display: block;
}

.capacity-management-candidate strong {
    color: #2c393f;
    font-size: 0.82rem;
}

.capacity-management-candidate small {
    color: #748087;
    font-size: 0.68rem;
}

.capacity-management-candidate-impact {
    text-align: right;
}

.capacity-management-candidate-impact b {
    display: block;
    color: #246b3b;
    font-size: 0.76rem;
}

.capacity-management-candidate-period {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 0.75rem;
    border-top: 1px solid #efd4d6;
    background: rgba(255, 255, 255, 0.72);
}

.capacity-management-period-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    padding-bottom: 0.45rem;
}

.capacity-management-period-options label {
    cursor: pointer;
}

.capacity-management-period-options .form-check-label {
    color: #59666d;
    font-size: 0.72rem;
    font-weight: 700;
}

.capacity-management-period-options .form-check-input:checked {
    border-color: #b9232e;
    background-color: #b9232e;
}

.capacity-management-candidate-dates {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    flex: 1 1 320px;
    gap: 0.6rem;
    max-width: 390px;
}

.capacity-management-candidate-dates label > span {
    display: block;
    margin-bottom: 0.25rem;
    color: #657279;
    font-size: 0.68rem;
    font-weight: 700;
}

@media (max-width: 1199.98px) {
    .capacity-management-kpis {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .capacity-management-kpi-grid {
        display: contents;
    }
}

@media (max-width: 991.98px) {
    .capacity-management-day-overview {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .capacity-management-day-overview-metrics {
        grid-column: 1 / -1;
        justify-content: stretch;
    }

    .capacity-management-day-overview-metrics span {
        flex: 1 1 0;
    }

    .capacity-management-toolbar,
    .capacity-management-section-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .capacity-management-toolbar-controls {
        justify-content: flex-start;
    }

    .capacity-management-alphabetical-sort {
        margin-left: auto;
    }

    .capacity-management-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 767.98px) {
    .capacity-management-day-summary {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .capacity-management-kpis,
    .capacity-management-related {
        grid-template-columns: 1fr;
    }

    .capacity-management-related a + a {
        border-top: 1px solid #e0e6e9;
        border-left: 0;
    }

    .capacity-management-toolbar-controls {
        width: 100%;
    }

    .capacity-management-status-filters {
        width: 100%;
    }

    .capacity-management-status-filters button {
        flex: 1 1 auto;
        justify-content: center;
    }

    .capacity-management-station > footer {
        align-items: stretch;
        flex-direction: column;
    }

    .capacity-management-card-actions {
        justify-content: stretch;
    }

    .capacity-management-card-actions .btn {
        flex: 1 1 auto;
    }

    .capacity-management-simulation-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .capacity-management-simulation-footer {
        align-items: stretch;
        flex-direction: column;
    }
}

@media (max-width: 575.98px) {
    .capacity-management-readiness {
        align-items: stretch;
        flex-direction: column;
    }

    .capacity-management-station > footer .btn {
        width: 100%;
    }

    .capacity-management-station > header,
    .capacity-management-station > footer,
    .capacity-management-impact-grid,
    .capacity-management-modal-target {
        align-items: stretch;
        flex-direction: column;
    }

    .capacity-management-station-actions {
        justify-content: space-between;
        width: 100%;
    }
}

/* Kapasite Yönetimi Yazdırma Raporu */
.capacity-print-report-page {
    margin: 0;
    color: #182126;
    background: #eef2f4;
    font-family: Arial, sans-serif;
}

.capacity-print-report {
    width: min(1120px, calc(100% - 32px));
    margin: 20px auto;
    padding: 24px;
    background: #fff;
}

.capacity-print-report-actions {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 16px;
}

.capacity-print-report-actions button {
    padding: 8px 14px;
    border: 1px solid #8f1e27;
    border-radius: 8px;
    color: #8f1e27;
    background: #fff;
    font-weight: 700;
    cursor: pointer;
}

.capacity-print-report-header {
    margin-bottom: 14px;
    text-align: center;
}

.capacity-print-report-header h1 {
    margin: 0;
    font-size: 20px;
}

.capacity-print-report-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 11px;
}

.capacity-print-report-table th,
.capacity-print-report-table td {
    padding: 6px;
    border: 1px solid #9da8ae;
    text-align: center;
    vertical-align: middle;
}

.capacity-print-report-table th {
    color: #fff;
    background: #33434b;
    font-size: 10px;
    font-weight: 800;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

.capacity-print-report-table tbody tr:first-child td {
    border-top: 2px solid #33434b;
}

.capacity-print-report-table .station-name {
    text-align: left;
    font-weight: 700;
}

.capacity-print-report-table .difference {
    font-weight: 800;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

.capacity-print-report-table .difference.eksik {
    color: #c00000;
}

.capacity-print-report-table .difference.fazla {
    color: #216c3c;
}

.capacity-print-report-table .difference.denk {
    color: #46545b;
}

@page capacity-report {
    size: A4 landscape;
    margin: 0;
}

@media print {
    .capacity-print-report-page {
        page: capacity-report;
        background: #fff;
    }

    .capacity-print-report {
        width: 100%;
        margin: 0;
        padding: 8mm;
        box-sizing: border-box;
    }

    .capacity-print-report-actions {
        display: none;
    }

    .capacity-print-report-table tbody {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}

@media (max-width: 575.98px) {
    .capacity-management-role-list,
    .capacity-management-impact-grid {
        display: grid;
        grid-template-columns: 1fr;
    }

    .capacity-management-status {
        align-self: flex-start;
    }

    .capacity-management-candidate-select {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .capacity-management-candidate-impact {
        grid-column: 2;
        text-align: left;
    }

}
