.page-intro {
    margin-bottom: 1rem;
}

.page-intro h1 {
    font-size: 1.25rem;
    margin: 0 0 0.25rem;
}

.kicker {
    margin: 0;
    font-size: 0.75rem;
    color: var(--bs-secondary-color);
}

.muted {
    color: var(--bs-secondary-color);
}

.split {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1rem;
}

.module-grid,
.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.module-card,
.stat-card {
    display: block;
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    padding: 0.75rem 1rem;
    color: inherit;
    text-decoration: none;
}

.module-card strong,
.stat-card strong {
    display: block;
    font-size: 1.25rem;
}

.module-card small,
.stat-card span {
    color: var(--bs-secondary-color);
}

.board {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.stack-card {
    margin-bottom: 1rem;
}

.official-note {
    border-left: 4px solid var(--bs-info);
    background: var(--bs-tertiary-bg);
    padding: 0.75rem 1rem;
    border-radius: var(--bs-border-radius);
    margin-bottom: 1rem;
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.75rem;
}

.filter-chip {
    display: inline-block;
    border: 1px solid var(--bs-border-color);
    background: var(--bs-body-bg);
    color: inherit;
    text-decoration: none;
    border-radius: 50rem;
    padding: 0.2rem 0.7rem;
    font-size: 0.85rem;
}

.filter-chip.is-active {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
    color: #fff;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 50rem;
    padding: 0.15rem 0.55rem;
    font-size: 0.75rem;
    font-weight: 700;
    background: var(--bs-secondary-bg);
}

.status-new, .status-progress { background: #cfe2ff; color: #084298; }
.status-waiting, .status-review { background: #fff3cd; color: #664d03; }
.status-preparing, .status-done, .status-approved { background: #d1e7dd; color: #0f5132; }
.status-closed, .status-draft { background: #e2e3e5; color: #41464b; }
.status-cancelled { background: #f8d7da; color: #842029; }
.status-hold { background: #e2e3e5; color: #41464b; }
.status-correction { background: #e2d9f3; color: #432874; }

.stage-track {
    display: flex;
    gap: 0.4rem;
    list-style: none;
    padding: 0;
    margin: 0;
    overflow-x: auto;
}

.stage-track li {
    flex: 1 0 100px;
    background: var(--bs-tertiary-bg);
    border-radius: var(--bs-border-radius);
    padding: 0.45rem 0.35rem;
    text-align: center;
    font-size: 0.8rem;
}

.stage-track li.is-done { background: #d1e7dd; }
.stage-track li.is-current { background: var(--bs-primary); color: #fff; font-weight: 700; }

.side-banner {
    margin-bottom: 0.75rem;
    padding: 0.6rem 0.75rem;
    border-radius: var(--bs-border-radius);
    background: #fff3cd;
    font-weight: 700;
}

.severity-Hata { color: var(--bs-danger); font-weight: 700; }
.severity-Uyarı { color: var(--bs-warning-text-emphasis, #997404); font-weight: 700; }
.severity-Bilgi { color: var(--bs-primary); font-weight: 700; }

.check-list,
.timeline {
    list-style: none;
    padding: 0;
    margin: 0;
}

.check-list li,
.timeline li {
    padding: 0.45rem 0;
    border-bottom: 1px solid var(--bs-border-color);
}

.transition-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.file-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.meta-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 0.75rem;
}

@media (max-width: 980px) {
    .module-grid,
    .stat-grid,
    .board,
    .split,
    .meta-grid {
        grid-template-columns: 1fr;
    }
}

.legislation-body { white-space: pre-wrap; line-height: 1.6; }
.rule-condition { font-family: var(--bs-font-monospace); font-size: .8rem; white-space: pre-wrap; margin: 0; }

.print-grid th, .signature-grid th { width: 16%; background: var(--bs-tertiary-bg); font-weight: 600; }
.signature-grid td { height: 2.5rem; }
.check-col { width: 2.5rem; text-align: center; }

@media print {
    .app-header, .app-sidebar, .app-footer, .no-print { display: none !important; }
    .app-wrapper, .app-main { display: block !important; margin: 0 !important; padding: 0 !important; }
    .print-sheet { max-width: none; padding: 0; font-size: 10pt; }
    .print-sheet table { page-break-inside: auto; }
    .print-sheet tr { page-break-inside: avoid; }
    .official-note { border-left-color: #000; }
}

#guide-tour-btn {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 1050;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    border: none;
    background: #0d3c78;
    color: #fff;
    font-size: 1.25rem;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.3);
}

#guide-tour-panel {
    position: fixed;
    right: 1rem;
    bottom: 4.25rem;
    z-index: 1050;
    width: min(24rem, calc(100vw - 2rem));
}

.guide-progress {
    height: 0.375rem;
    background: var(--bs-tertiary-bg);
    border-radius: 0.25rem;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.guide-progress > div {
    height: 100%;
    width: 0;
    background: #0d3c78;
    transition: width 0.2s ease;
}

.guide-highlight {
    outline: 3px solid #14aef0 !important;
    outline-offset: 2px;
    border-radius: 0.25rem;
}

/* ================================================================
   Modern yönetim paneli teması (sınıflar aynı, yalnız görünüm).
   ================================================================ */

:root {
    --ops-navy: #0b2a4a;
    --ops-navy-2: #0d3c78;
    --ops-blue: #0b5fd8;
    --ops-amber: #14aef0;
    --ops-amber-2: #0a78e8;
    --ops-ink: #1c2b3a;
    --ops-muted: #64748b;
    --ops-line: #e3eaf3;
    --ops-shadow: 0 1px 2px rgba(11, 42, 74, 0.04), 0 8px 24px rgba(11, 42, 74, 0.07);
    --ops-shadow-hover: 0 2px 4px rgba(11, 42, 74, 0.05), 0 16px 36px rgba(11, 42, 74, 0.12);
}

body {
    -webkit-font-smoothing: antialiased;
}

.app-main {
    background: radial-gradient(60rem 22rem at 100% 0%, rgba(29, 95, 168, 0.1), transparent 60%),
        radial-gradient(40rem 20rem at 0% 100%, rgba(20, 174, 240, 0.06), transparent 60%),
        #eef2f8;
    background-attachment: fixed;
}

/* İçerik girişi: kartlar sırayla yükselir */
@keyframes ops-rise {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
}

.app-content > .container-fluid > * {
    animation: ops-rise 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.app-content > .container-fluid > *:nth-child(2) { animation-delay: 0.05s; }
.app-content > .container-fluid > *:nth-child(3) { animation-delay: 0.1s; }
.app-content > .container-fluid > *:nth-child(4) { animation-delay: 0.15s; }
.app-content > .container-fluid > *:nth-child(5) { animation-delay: 0.2s; }
.app-content > .container-fluid > *:nth-child(6) { animation-delay: 0.25s; }
.app-content > .container-fluid > *:nth-child(n+7) { animation-delay: 0.3s; }

/* ---------- Yan menü ---------- */
.app-sidebar {
    background: radial-gradient(22rem 14rem at 0% 0%, rgba(56, 189, 248, 0.16), transparent 70%),
        radial-gradient(18rem 16rem at 100% 100%, rgba(20, 174, 240, 0.1), transparent 70%),
        linear-gradient(180deg, #081d38 0%, #0c3260 50%, #081d38 100%) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.sidebar-brand {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.sidebar-brand .brand-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #fff;
    text-decoration: none;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 0.65rem;
    background: linear-gradient(135deg, #4cc6f7, var(--ops-amber-2));
    color: var(--ops-navy);
    font-size: 1.05rem;
    box-shadow: 0 0 1.2rem rgba(20, 174, 240, 0.45);
}

.sidebar-brand .brand-text {
    font-weight: 400;
    letter-spacing: 0.01em;
    color: #fff;
}

.sidebar-brand .brand-text b {
    font-weight: 800;
    color: #7dd6fb;
}

.app-sidebar .nav-header {
    color: rgba(255, 255, 255, 0.36) !important;
    font-size: 0.66rem !important;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 1rem 1.4rem 0.35rem !important;
}

.app-sidebar .sidebar-menu .nav-link {
    position: relative;
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.74);
    border-radius: 0.7rem;
    margin: 1px 0.7rem;
    padding: 0.42rem 0.6rem;
    width: auto;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.app-sidebar .sidebar-menu .nav-link .nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 1.95rem;
    height: 1.95rem;
    margin-right: 0.6rem;
    border-radius: 0.55rem;
    background: rgba(255, 255, 255, 0.06);
    font-size: 0.95rem;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.app-sidebar .sidebar-menu .nav-link p {
    margin: 0;
    font-weight: 600;
    font-size: 0.9rem;
}

.app-sidebar .sidebar-menu .nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(3px);
}

.app-sidebar .sidebar-menu .nav-link:hover .nav-icon {
    background: rgba(255, 255, 255, 0.14);
}

.app-sidebar .sidebar-menu .nav-link.active {
    color: #fff;
    background: linear-gradient(90deg, rgba(20, 174, 240, 0.22), rgba(20, 174, 240, 0.03));
    box-shadow: none;
}

.app-sidebar .sidebar-menu .nav-link.active::before {
    content: "";
    position: absolute;
    left: -0.7rem;
    top: 20%;
    bottom: 20%;
    width: 4px;
    border-radius: 0 4px 4px 0;
    background: var(--ops-amber);
    box-shadow: 0 0 12px rgba(20, 174, 240, 0.8);
}

.app-sidebar .sidebar-menu .nav-link.active .nav-icon {
    background: linear-gradient(135deg, #4cc6f7, var(--ops-amber-2));
    color: var(--ops-navy);
    box-shadow: 0 0.35rem 0.9rem rgba(10, 120, 232, 0.45);
}

.sidebar-user {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 1.2rem 0.9rem 1rem;
    padding: 0.65rem 0.75rem;
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
}

.sidebar-user .who {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.2;
}

.sidebar-user .who b {
    font-size: 0.85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-user .who small {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.72rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ops-amber), var(--ops-amber-2));
    color: var(--ops-navy);
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 0.02em;
}

/* ---------- Üst bar ---------- */
.app-header.navbar {
    background: rgba(255, 255, 255, 0.86) !important;
    backdrop-filter: saturate(160%) blur(10px);
    border-bottom: 1px solid rgba(11, 42, 74, 0.07);
    box-shadow: 0 4px 18px rgba(11, 42, 74, 0.05);
}

.app-header .nav-link {
    color: var(--ops-navy);
    font-weight: 600;
}

.hdr-search {
    position: relative;
    margin-left: 0.5rem;
}

.hdr-search > i {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: #8a9bb0;
    font-size: 0.9rem;
}

.hdr-search input {
    width: 22rem;
    max-width: 40vw;
    height: 2.4rem;
    border-radius: 2rem;
    border: 1px solid transparent;
    background: #eef3f9;
    padding: 0 2.6rem 0 2.3rem;
    font-size: 0.88rem;
    color: var(--ops-ink);
    transition: background 0.2s, border-color 0.2s, box-shadow 0.2s, width 0.3s;
}

.hdr-search input:focus {
    outline: none;
    background: #fff;
    border-color: var(--ops-navy-2);
    box-shadow: 0 0 0 0.2rem rgba(13, 60, 120, 0.12);
    width: 26rem;
}

.hdr-search kbd {
    position: absolute;
    right: 0.7rem;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    color: #7a8899;
    border: 1px solid var(--ops-line);
    border-radius: 0.35rem;
    padding: 0 0.4rem;
    font-size: 0.72rem;
    box-shadow: none;
}

.hdr-clock {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--ops-muted);
    background: #eef3f9;
    border-radius: 2rem;
    padding: 0.35rem 0.85rem;
}

.hdr-new {
    background: linear-gradient(135deg, #4cc6f7, var(--ops-amber-2));
    color: var(--ops-navy) !important;
    font-weight: 800;
    border: none;
    border-radius: 2rem;
    padding: 0.4rem 0.95rem;
    box-shadow: 0 0.4rem 1rem rgba(10, 120, 232, 0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.hdr-new:hover {
    transform: translateY(-1px);
    box-shadow: 0 0.6rem 1.3rem rgba(10, 120, 232, 0.5);
}

.hdr-user {
    display: inline-flex !important;
    align-items: center;
    gap: 0.5rem;
}

.hdr-user .avatar {
    width: 2rem;
    height: 2rem;
    background: linear-gradient(135deg, var(--ops-navy-2), var(--ops-blue));
    color: #fff;
}

.dropdown-menu {
    border: 1px solid var(--ops-line);
    border-radius: 0.9rem;
    box-shadow: 0 1rem 2.5rem rgba(11, 42, 74, 0.15);
    padding: 0.4rem;
}

.dropdown-item {
    border-radius: 0.55rem;
    padding: 0.45rem 0.75rem;
}

.dropdown-item:hover {
    background: #eef3f9;
}

/* ---------- Sayfa başlığı ---------- */
.app-content-header {
    padding-top: 1.2rem !important;
    padding-bottom: 0.4rem !important;
}

.page-banner {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.page-banner-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 2.9rem;
    height: 2.9rem;
    border-radius: 0.9rem;
    background: linear-gradient(135deg, var(--ops-navy), var(--ops-blue));
    color: #7dd6fb;
    font-size: 1.3rem;
    box-shadow: 0 0.6rem 1.4rem rgba(11, 42, 74, 0.25);
}

.page-banner-text {
    min-width: 0;
}

.page-banner-kicker {
    display: block;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #b07800;
}

.page-banner-kicker i {
    font-size: 0.6rem;
}

.app-content-header h3 {
    font-weight: 800;
    font-size: 1.45rem;
    color: var(--ops-navy);
    letter-spacing: -0.015em;
}

.page-banner-hint {
    margin-left: auto;
    font-size: 0.8rem;
    color: var(--ops-muted);
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid var(--ops-line);
    border-radius: 2rem;
    padding: 0.3rem 0.9rem;
}

.page-intro h1 {
    font-weight: 800;
    color: var(--ops-navy);
}

/* Başlık zaten sayfa bandında; giriş bloğunda yalnız açıklama ve düğmeler kalır. */
.app-content .page-intro > .kicker,
.app-content .page-intro > h1,
.app-content .page-intro > div > .kicker,
.app-content .page-intro > div > h1,
.app-content .file-head > div:first-child > h1,
.app-content .file-head > div:first-child > p.muted {
    display: none;
}

.app-content .file-head {
    justify-content: flex-end;
}

.app-content .page-intro {
    color: #4b6079;
}

.page-intro .kicker {
    color: #b07800;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* ---------- Kartlar ---------- */
.app-main .card {
    border: 1px solid rgba(11, 42, 74, 0.05);
    border-radius: 1rem;
    box-shadow: var(--ops-shadow);
    transition: box-shadow 0.25s ease;
    margin-bottom: 1.25rem;
}

.app-main .card:hover {
    box-shadow: var(--ops-shadow-hover);
}

.app-main .card-header {
    background: transparent;
    border-bottom: 1px solid #edf1f7;
    padding: 0.85rem 1.15rem;
    font-weight: 700;
    color: var(--ops-navy);
}

.app-main .card-title {
    font-weight: 800;
    font-size: 1rem;
    color: var(--ops-navy);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.app-main .card-header:has(> .card-tools) {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.app-main .card-header > .card-tools {
    float: none;
    margin: -0.25rem 0 -0.25rem auto;
}

.app-main .card-title:not(:has(.card-title-icon))::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 1.05em;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--ops-amber), var(--ops-amber-2));
}

.card-title-icon {
    font-size: 1.05rem;
}

.app-main .card-footer {
    background: #f8fafd;
    border-top: 1px solid #edf1f7;
    border-radius: 0 0 1rem 1rem;
}

.btn-tool {
    color: var(--ops-blue) !important;
    font-weight: 700;
    font-size: 0.82rem;
    border-radius: 2rem;
}

.btn-tool:hover {
    background: #eef3f9;
}

/* ---------- Tablolar ---------- */
.app-main .table {
    --bs-table-striped-bg: #f8fafd;
    margin-bottom: 0;
}

.app-main .table > thead th {
    background: #f3f6fb;
    color: #5a7088;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-bottom: 1px solid #dfe7f1;
    white-space: nowrap;
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
}

.app-main .table > tbody td,
.app-main .table > tbody th {
    vertical-align: middle;
    border-color: #eef2f7;
    padding-top: 0.62rem;
    padding-bottom: 0.62rem;
}

.app-main .table > tbody tr {
    transition: background 0.15s ease;
}

.app-main .table > tbody tr:hover > * {
    background: #f2f7fd;
}

.app-main .table a:not(.btn) {
    font-weight: 700;
    color: var(--ops-navy-2);
    text-decoration: none;
}

.app-main .table a:not(.btn):hover {
    color: var(--ops-amber-2);
}

/* ---------- Formlar ---------- */
.app-main .form-label,
.app-main label.col-form-label {
    font-weight: 700;
    font-size: 0.82rem;
    color: #2b3f55;
}

.app-main .form-control,
.app-main .form-select {
    border-radius: 0.65rem;
    border-color: #d3deeb;
    background-color: #fbfcfe;
    transition: border-color 0.15s, box-shadow 0.15s, background-color 0.15s;
}

.app-main .form-control:hover,
.app-main .form-select:hover {
    border-color: #b8c8dc;
}

.app-main .form-control:focus,
.app-main .form-select:focus {
    background-color: #fff;
    border-color: var(--ops-navy-2);
    box-shadow: 0 0 0 0.22rem rgba(13, 60, 120, 0.13);
}

.form-check-input:checked {
    background-color: var(--ops-navy-2);
    border-color: var(--ops-navy-2);
}

/* ---------- Düğmeler ---------- */
.btn {
    border-radius: 0.65rem;
    font-weight: 600;
    transition: transform 0.12s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:active {
    transform: translateY(1px);
}

.btn-primary {
    --bs-btn-bg: #0d3c78;
    --bs-btn-border-color: #0d3c78;
    --bs-btn-hover-bg: #0b2a4a;
    --bs-btn-hover-border-color: #0b2a4a;
    --bs-btn-active-bg: #0b2a4a;
    --bs-btn-active-border-color: #0b2a4a;
    background: linear-gradient(135deg, #0d3c78, #0b5fd8);
    border-color: #0d3c78;
    box-shadow: 0 0.35rem 0.9rem rgba(13, 60, 120, 0.25);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0b2a4a, #0d3c78);
    box-shadow: 0 0.5rem 1.2rem rgba(13, 60, 120, 0.35);
}

.btn-warning {
    background: linear-gradient(135deg, #ffd23f, #ff9d0a);
    border-color: #ffb020;
    color: var(--ops-navy);
    font-weight: 700;
}

.btn-success {
    background: linear-gradient(135deg, #15803d, #22c55e);
    border-color: #16a34a;
}

.btn-danger {
    background: linear-gradient(135deg, #b91c1c, #ef4444);
    border-color: #dc2626;
}

.btn-outline-primary {
    --bs-btn-color: #0d3c78;
    --bs-btn-border-color: #b9cbe2;
    --bs-btn-hover-bg: #0d3c78;
    --bs-btn-hover-border-color: #0d3c78;
}

.btn-sm {
    border-radius: 0.55rem;
}

/* ---------- Uyarılar, rozetler, sekmeler ---------- */
.app-main .alert {
    border: none;
    border-left: 4px solid currentColor;
    border-radius: 0.8rem;
    box-shadow: 0 4px 14px rgba(11, 42, 74, 0.06);
}

.app-main .badge {
    border-radius: 2rem;
    font-weight: 700;
    padding: 0.35em 0.7em;
}

.app-main .nav-tabs {
    border-bottom: none;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.app-main .nav-tabs .nav-link {
    border: 1px solid var(--ops-line);
    border-radius: 2rem;
    background: #fff;
    color: #3d5470;
    font-weight: 600;
    font-size: 0.86rem;
    padding: 0.35rem 0.95rem;
}

.app-main .nav-tabs .nav-link:hover {
    border-color: #b9cbe2;
}

.app-main .nav-tabs .nav-link.active {
    background: linear-gradient(135deg, #0d3c78, #0b5fd8);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 0.35rem 0.9rem rgba(13, 60, 120, 0.25);
}

.pagination .page-link {
    border-radius: 0.55rem !important;
    margin: 0 0.15rem;
    border-color: var(--ops-line);
    color: var(--ops-navy-2);
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #0d3c78, #0b5fd8);
    border-color: transparent;
}

.official-note {
    border-left-color: var(--ops-blue);
    background: linear-gradient(90deg, #e9f1fb, #f6f9fd);
    border-radius: 0.8rem;
}

/* Durum hapı: renkli nokta + yumuşak zemin */
.status-pill {
    gap: 0.35rem;
    padding: 0.22rem 0.65rem 0.22rem 0.55rem;
    font-size: 0.74rem;
    white-space: nowrap;
}

.status-pill::before {
    content: "";
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.85;
}

.status-new { background: #dbeafe; color: #1d4ed8; }
.status-progress { background: #e0f2fe; color: #0369a1; }
.status-waiting { background: #fef3c7; color: #b45309; }
.status-review { background: #fef9c3; color: #a16207; }
.status-preparing { background: #d1fae5; color: #047857; }
.status-approved, .status-done { background: #dcfce7; color: #15803d; }
.status-closed, .status-draft, .status-hold { background: #eef2f7; color: #475569; }
.status-cancelled { background: #fee2e2; color: #b91c1c; }
.status-correction { background: #ede9fe; color: #6d28d9; }

/* Filtre çipleri */
.filter-chip {
    border-color: #d6e0ec;
    background: #fff;
    font-weight: 600;
    color: #3d5470;
    padding: 0.28rem 0.85rem;
    transition: border-color 0.15s, color 0.15s, background 0.15s, transform 0.15s;
}

.filter-chip:hover {
    border-color: var(--ops-navy-2);
    color: var(--ops-navy-2);
    transform: translateY(-1px);
}

.filter-chip.is-active {
    background: linear-gradient(135deg, #0d3c78, #0b5fd8);
    border-color: transparent;
    box-shadow: 0 0.3rem 0.8rem rgba(13, 60, 120, 0.25);
}

/* Aşama izi: ok biçimli adımlar */
.stage-track {
    gap: 0.2rem;
}

.stage-track li {
    background: #e8eef6;
    color: #4b6079;
    font-weight: 600;
    border-radius: 0;
    clip-path: polygon(0 0, calc(100% - 0.7rem) 0, 100% 50%, calc(100% - 0.7rem) 100%, 0 100%, 0.7rem 50%);
    padding: 0.55rem 0.9rem;
}

.stage-track li:first-child {
    clip-path: polygon(0 0, calc(100% - 0.7rem) 0, 100% 50%, calc(100% - 0.7rem) 100%, 0 100%);
    border-radius: 0.6rem 0 0 0.6rem;
}

.stage-track li.is-done {
    background: linear-gradient(135deg, #bbf7d0, #dcfce7);
    color: #166534;
}

.stage-track li.is-current {
    background: linear-gradient(135deg, #0d3c78, #0b5fd8);
    color: #7dd6fb;
}

.meta-grid > div {
    background: #f6f9fd;
    border: 1px solid #edf1f7;
    border-radius: 0.7rem;
    padding: 0.5rem 0.75rem;
    font-weight: 600;
    color: var(--ops-navy);
}

.meta-grid > div > span {
    display: block;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ops-muted);
}

.side-banner {
    background: linear-gradient(90deg, #fff3cd, #fff9e6);
    border-left: 4px solid var(--ops-amber);
    border-radius: 0.7rem;
}

/* Bilgi kutuları (AdminLTE) */
.info-box {
    border-radius: 1rem;
    box-shadow: var(--ops-shadow);
    border: 1px solid rgba(11, 42, 74, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.info-box:hover {
    transform: translateY(-2px);
    box-shadow: var(--ops-shadow-hover);
}

.info-box .info-box-icon {
    border-radius: 0.8rem;
}

.small-box {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 0.6rem 1.4rem rgba(11, 42, 74, 0.14);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.small-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 1rem 2rem rgba(11, 42, 74, 0.2);
}

/* ---------- Ana panel ---------- */
.dash-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1.5rem;
    align-items: center;
    padding: 1.6rem 1.9rem;
    margin-bottom: 1.25rem;
    border-radius: 1.25rem;
    color: #fff;
    background: linear-gradient(125deg, #081d38 0%, #0d3c78 55%, #0b5fd8 100%);
    box-shadow: 0 1.2rem 2.6rem rgba(11, 42, 74, 0.28);
}

.dash-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 2rem 2rem;
    mask-image: linear-gradient(90deg, transparent, #000 60%);
}

.dash-glow {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    filter: blur(50px);
}

.dash-glow.g1 {
    width: 18rem;
    height: 18rem;
    right: 6rem;
    top: -8rem;
    background: rgba(56, 189, 248, 0.45);
    animation: dash-drift 14s ease-in-out infinite alternate;
}

.dash-glow.g2 {
    width: 14rem;
    height: 14rem;
    left: 30%;
    bottom: -9rem;
    background: rgba(10, 120, 232, 0.35);
    animation: dash-drift 18s ease-in-out infinite alternate-reverse;
}

@keyframes dash-drift {
    from { transform: translate(0, 0); }
    to { transform: translate(-3rem, 2rem); }
}

.dash-date {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: #7dd6fb;
    background: rgba(20, 174, 240, 0.12);
    border: 1px solid rgba(20, 174, 240, 0.35);
    border-radius: 2rem;
    padding: 0.25rem 0.8rem;
    margin-bottom: 0.7rem;
}

.dash-hero h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 0.35rem;
}

.dash-summary {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.1rem;
}

.dash-summary b {
    color: #7dd6fb;
    font-size: 1.08em;
}

.dash-summary .sep {
    opacity: 0.4;
    margin: 0 0.35rem;
}

.dash-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.qa {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.95rem;
    border-radius: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    font-weight: 700;
    font-size: 0.86rem;
    text-decoration: none;
    backdrop-filter: blur(4px);
    transition: background 0.2s, transform 0.2s, border-color 0.2s;
}

.qa:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(125, 214, 251, 0.6);
    color: #fff;
    transform: translateY(-2px);
}

.qa-primary {
    background: linear-gradient(135deg, #4cc6f7, var(--ops-amber-2));
    border-color: transparent;
    color: var(--ops-navy);
    box-shadow: 0 0.5rem 1.2rem rgba(10, 120, 232, 0.4);
}

.qa-primary:hover {
    background: linear-gradient(135deg, #ffe066, #ffab2e);
    color: var(--ops-navy);
}

.dash-ring {
    position: relative;
    text-align: center;
    width: 9rem;
}

.dash-ring svg {
    width: 9rem;
    height: 9rem;
    transform: rotate(-90deg);
}

.dash-ring .ring-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.12);
    stroke-width: 10;
}

.dash-ring .ring-fg {
    fill: none;
    stroke: #14aef0;
    stroke-width: 10;
    stroke-linecap: round;
    stroke-dashoffset: var(--ring-off);
    filter: drop-shadow(0 0 6px rgba(20, 174, 240, 0.6));
    animation: ring-fill 1.4s 0.3s cubic-bezier(0.3, 0.7, 0.2, 1) backwards;
}

@keyframes ring-fill {
    from { stroke-dashoffset: 326.7; }
}

.ring-label {
    position: absolute;
    top: 4.5rem;
    left: 50%;
    transform: translate(-50%, -50%);
    line-height: 1.1;
}

.ring-label strong {
    display: block;
    font-size: 1.7rem;
    font-weight: 900;
}

.ring-label span {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.7);
}

.dash-ring small {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.6);
}

/* KPI kutuları */
.kpi-row {
    margin-bottom: 0.25rem;
}

.small-box.kpi {
    position: relative;
    color: #fff;
    border: none;
    margin-bottom: 1rem;
}

.small-box.kpi::after {
    content: "";
    position: absolute;
    width: 9rem;
    height: 9rem;
    right: -2.5rem;
    top: -3rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    pointer-events: none;
}

.small-box.kpi .inner {
    padding: 1rem 1.15rem 0.6rem;
    position: relative;
    z-index: 1;
}

.small-box.kpi .inner h3 {
    font-size: 2.35rem;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
    margin-bottom: 0.1rem;
}

.small-box.kpi .inner p {
    font-weight: 600;
    opacity: 0.9;
}

.small-box.kpi .small-box-icon {
    color: rgba(255, 255, 255, 0.28);
    transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.3, 1.4);
}

.small-box.kpi:hover .small-box-icon {
    transform: scale(1.12) rotate(-8deg);
}

.small-box.kpi .small-box-footer {
    position: relative;
    z-index: 1;
    display: block;
    background: rgba(0, 0, 0, 0.12);
    color: #fff;
    font-weight: 700;
    font-size: 0.84rem;
    text-decoration: none;
    padding: 0.4rem;
}

.small-box.kpi .small-box-footer:hover {
    background: rgba(0, 0, 0, 0.2);
}

.small-box.kpi .small-box-footer i {
    transition: transform 0.2s;
}

.small-box.kpi .small-box-footer:hover i {
    transform: translateX(4px);
}

.kpi-cyan { background: linear-gradient(135deg, #0891b2, #22d3ee); }
.kpi-green { background: linear-gradient(135deg, #15803d, #34d399); }
.kpi-amber { background: linear-gradient(135deg, #f59e0b, #fcd34d); }
.kpi-navy { background: linear-gradient(135deg, #0b2a4a, #0b5fd8); }

.small-box.kpi-amber,
.small-box.kpi-amber .small-box-footer {
    color: #3d2a00;
}

.small-box.kpi-amber .small-box-icon {
    color: rgba(61, 42, 0, 0.18);
}

/* Dikkat isteyenler */
.attn-row {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.9rem;
    margin-bottom: 1.25rem;
}

.attn {
    --tone: #3b82f6;
    --tone-bg: #dbeafe;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.95rem 1rem;
    border-radius: 1rem;
    background: #fff;
    border: 1px solid rgba(11, 42, 74, 0.05);
    box-shadow: var(--ops-shadow);
    color: var(--ops-ink);
    text-decoration: none;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.attn::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--tone);
}

.attn:hover {
    transform: translateY(-3px);
    box-shadow: var(--ops-shadow-hover);
    color: var(--ops-ink);
}

.attn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 2.7rem;
    height: 2.7rem;
    border-radius: 0.8rem;
    background: var(--tone-bg);
    color: var(--tone);
    font-size: 1.25rem;
}

.attn-body {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    min-width: 0;
}

.attn-body strong {
    font-size: 1.55rem;
    font-weight: 900;
    color: var(--ops-navy);
}

.attn-body span {
    font-size: 0.8rem;
    color: var(--ops-muted);
    font-weight: 600;
}

.attn.is-hot::after {
    content: "";
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: var(--tone);
    animation: attn-pulse 1.8s infinite;
}

@keyframes attn-pulse {
    0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--tone) 60%, transparent); }
    70% { box-shadow: 0 0 0 0.6rem transparent; }
    100% { box-shadow: 0 0 0 0 transparent; }
}

.tone-amber { --tone: #d97706; --tone-bg: #fef3c7; }
.tone-red { --tone: #dc2626; --tone-bg: #fee2e2; }
.tone-blue { --tone: #2563eb; --tone-bg: #dbeafe; }
.tone-violet { --tone: #7c3aed; --tone-bg: #ede9fe; }

/* Dosya akışı */
.pipe-bar {
    display: flex;
    gap: 3px;
    height: 0.85rem;
    border-radius: 1rem;
    overflow: hidden;
    background: #eef2f7;
    transform-origin: left;
    animation: pipe-grow 1s 0.2s cubic-bezier(0.3, 0.7, 0.2, 1) backwards;
}

.pipe-bar > span {
    min-width: 6px;
}

.pipe-bar .pipe-empty {
    flex: 1;
    font-size: 0.65rem;
    color: var(--ops-muted);
    text-align: center;
    line-height: 0.85rem;
}

@keyframes pipe-grow {
    from { transform: scaleX(0); }
}

.pipe-steps {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 0.6rem;
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.pipe-steps li {
    position: relative;
}

.pipe-steps li:not(:last-child)::after {
    content: "\203A";
    position: absolute;
    right: -0.55rem;
    top: 50%;
    transform: translateY(-50%);
    color: #b6c4d6;
    font-size: 1.1rem;
    font-weight: 800;
    z-index: 1;
}

.filter-chip.pipe-step {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    border-radius: 0.8rem;
    border: 1px solid var(--ops-line);
    border-top: 3px solid var(--tone);
    padding: 0.55rem 0.7rem;
    background: #fff;
}

.filter-chip.pipe-step b {
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--ops-navy);
    line-height: 1.1;
}

.filter-chip.pipe-step span {
    font-size: 0.74rem;
    color: var(--ops-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.side-chip .dot {
    display: inline-block;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--tone);
    margin-right: 0.2rem;
}

.chart-card svg {
    display: block;
    width: 100%;
    height: auto;
}

/* Pano parçaları seçici */
details.widget-picker > summary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    cursor: pointer;
    border-bottom: none;
}

details.widget-picker > summary::-webkit-details-marker {
    display: none;
}

details.widget-picker > summary::after {
    content: "\25BE";
    color: var(--ops-muted);
    transition: transform 0.2s;
}

details.widget-picker[open] > summary {
    border-bottom: 1px solid #edf1f7;
}

details.widget-picker[open] > summary::after {
    transform: rotate(180deg);
}

.widget-opt {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--ops-line);
    border-radius: 2rem;
    padding: 0.3rem 0.8rem;
    font-size: 0.85rem;
    font-weight: 600;
    background: #fff;
    cursor: pointer;
}

.widget-opt:has(input:checked) {
    border-color: var(--ops-navy-2);
    background: #eef4fc;
    color: var(--ops-navy-2);
}

/* Liste kartları */
.list-card .table td {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
}

.file-no {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.85rem;
    white-space: nowrap;
}

.who-cell {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.mini-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 0.55rem;
    background: linear-gradient(135deg, #dbeafe, #e0e7ff);
    color: var(--ops-navy-2);
    font-weight: 800;
    font-size: 0.78rem;
}

.type-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: #f1f5fb;
    color: #3d5470;
    border-radius: 0.5rem;
    padding: 0.15rem 0.55rem;
    font-size: 0.76rem;
    font-weight: 700;
    white-space: nowrap;
}

.count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.6rem;
    height: 1.35rem;
    padding: 0 0.45rem;
    border-radius: 2rem;
    background: #eef3f9;
    color: var(--ops-navy-2);
    font-size: 0.72rem;
    font-weight: 800;
}

.empty-cell {
    text-align: center;
    color: var(--ops-muted) !important;
    padding: 1.6rem 1rem !important;
}

.empty-cell i {
    display: block;
    font-size: 1.6rem;
    color: #b6c4d6;
    margin-bottom: 0.3rem;
}

.rule-code {
    background: #f1f5fb;
    color: var(--ops-navy-2);
    border-radius: 0.4rem;
    padding: 0.1rem 0.4rem;
    font-size: 0.78rem;
}

.activity {
    list-style: none;
    padding: 0;
    margin: 0;
}

.activity li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.65rem 1.1rem;
    border-bottom: 1px solid #eef2f7;
    font-size: 0.88rem;
}

.activity li:last-child {
    border-bottom: none;
}

.activity .act-body {
    flex: 1;
    min-width: 0;
}

.activity time {
    flex: 0 0 auto;
    font-size: 0.75rem;
    color: var(--ops-muted);
}

@media (max-width: 1199.98px) {
    .attn-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .pipe-steps {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .pipe-steps li:nth-child(4n)::after {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .dash-hero {
        grid-template-columns: 1fr;
        padding: 1.3rem;
    }

    .dash-ring {
        display: none;
    }

    .attn-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pipe-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pipe-steps li::after {
        display: none;
    }

    .page-banner-icon {
        width: 2.4rem;
        height: 2.4rem;
        font-size: 1.1rem;
    }

    .app-content-header h3 {
        font-size: 1.2rem;
    }
}

/* Kaydırma çubuğu */
.app-main ::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.app-main ::-webkit-scrollbar-thumb {
    background: #c9d6e6;
    border-radius: 10px;
    border: 2px solid #eef2f8;
}

/* ---------- Giriş ve kayıt ekranları ---------- */
.login-page {
    background: radial-gradient(40rem 24rem at 85% 0%, rgba(56, 189, 248, 0.3), transparent 60%),
        radial-gradient(34rem 22rem at 0% 100%, rgba(10, 120, 232, 0.22), transparent 60%),
        linear-gradient(160deg, #081d38 0%, #0d3c78 100%) !important;
}

.login-page .login-logo a {
    color: #fff !important;
}

.login-page .card {
    border: none;
    border-radius: 1.1rem;
    box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.35);
}

/* ---------- Rehber turu: sayfada kaybolmasın ---------- */
#guide-tour-btn {
    background: linear-gradient(135deg, #14aef0 0%, #0a78e8 100%);
    color: #0b2a4a;
    width: 3.2rem;
    height: 3.2rem;
    font-size: 1.6rem;
    border: 2px solid #fff;
    box-shadow: 0 0.5rem 1.25rem rgba(10, 120, 232, 0.55);
    animation: guide-pulse 2.4s infinite;
}

#guide-tour-btn.quiet {
    animation: none;
}

@keyframes guide-pulse {
    0% { box-shadow: 0 0 0 0 rgba(20, 174, 240, 0.6); }
    70% { box-shadow: 0 0 0 1rem rgba(20, 174, 240, 0); }
    100% { box-shadow: 0 0 0 0 rgba(20, 174, 240, 0); }
}

#guide-tour-panel {
    border: 2px solid #14aef0;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 1.5rem 3.5rem rgba(11, 42, 74, 0.4);
}

#guide-tour-panel .card-header {
    background: #0b2a4a;
    color: #fff;
    border-bottom: none;
}

#guide-tour-close {
    color: #fff !important;
}

#guide-tour-panel .guide-progress {
    background: #e6ecf4;
}

#guide-tour-bar {
    background: linear-gradient(90deg, #14aef0, #0a78e8) !important;
}

.guide-highlight {
    outline-color: #0a78e8 !important;
    box-shadow: 0 0 0 4px rgba(10, 120, 232, 0.35);
}

@media (prefers-reduced-motion: reduce) {
    .app-content > .container-fluid > *,
    .dash-glow,
    .dash-ring .ring-fg,
    .pipe-bar,
    .attn.is-hot::after,
    #guide-tour-btn {
        animation: none !important;
    }
}

@media print {
    .app-main {
        background: #fff !important;
    }

    .page-banner-icon,
    .page-banner-hint,
    .page-banner-kicker {
        display: none !important;
    }

    .app-content > .container-fluid > * {
        animation: none !important;
    }
}


/* ---------- Abonelik ---------- */
.hdr-trial {
    display: inline-flex; align-items: center; gap: .35rem;
    padding: .3rem .7rem; border-radius: 999px; font-size: .8rem; font-weight: 600;
    background: #e0f2fe; color: #075985; text-decoration: none; white-space: nowrap;
}
.hdr-trial:hover { background: #bae6fd; color: #0c4a6e; }
.hdr-trial.is-urgent { background: #fee2e2; color: #991b1b; animation: ops-trial-pulse 2s ease-in-out infinite; }
@keyframes ops-trial-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, .35); } 50% { box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); } }
.billing-status { border-left: 4px solid var(--ops-blue); }
.billing-status.billing-active { border-left-color: #10b981; }
.billing-status.billing-expired { border-left-color: #ef4444; }
.billing-status.billing-exempt { border-left-color: #94a3b8; }
.billing-status-icon {
    width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
    font-size: 1.5rem; color: #fff; background: linear-gradient(135deg, var(--ops-blue), var(--ops-navy));
}
.billing-active .billing-status-icon { background: linear-gradient(135deg, #10b981, #047857); }
.billing-expired .billing-status-icon { background: linear-gradient(135deg, #ef4444, #991b1b); }
.plan-card { position: relative; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.plan-card:hover { transform: translateY(-3px); box-shadow: var(--ops-shadow-hover); }
.plan-card.plan-featured { border: 2px solid var(--ops-amber); }
.plan-card.plan-current { outline: 2px solid #10b981; outline-offset: -2px; }
.plan-ribbon {
    position: absolute; top: 14px; right: -34px; transform: rotate(35deg);
    background: var(--ops-amber); color: #04294a; font-size: .72rem; font-weight: 700;
    padding: .25rem 2.4rem; letter-spacing: .02em;
}
.plan-name { font-weight: 700; color: var(--ops-muted); text-transform: uppercase; font-size: .8rem; letter-spacing: .06em; }
.plan-price { font-size: 2.6rem; font-weight: 800; color: var(--ops-navy); line-height: 1.1; margin: .35rem 0 .5rem; }
.plan-currency { font-size: 1.3rem; vertical-align: top; margin-right: .1rem; }
.plan-period { font-size: 1rem; font-weight: 500; color: var(--ops-muted); }
.plan-list { list-style: none; padding: 0; margin: 0 0 1.1rem; }
.plan-list li { padding: .25rem 0; }
.plan-list i { color: #10b981; margin-right: .35rem; }
.plan-try { font-size: 1.05rem; color: var(--ops-ink); }
.bank-box { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: .75rem 1.25rem; padding: .85rem 1rem; border-radius: 12px; background: #f6f9fd; border: 1px dashed #c9d8ea; }
.billing-countdown { border: 0; background: linear-gradient(135deg, #041e3a 0%, #0b5fd8 55%, #14aef0 100%); color: #fff; overflow: hidden; }
.billing-countdown .text-muted, .billing-countdown .small { color: rgba(255,255,255,.78) !important; }
.billing-countdown-digits { display: flex; flex-wrap: wrap; gap: .85rem 1.25rem; margin-top: .35rem; }
.billing-countdown-digits span { display: flex; flex-direction: column; min-width: 3.2rem; }
.billing-countdown-digits strong { font-size: 2rem; line-height: 1; font-variant-numeric: tabular-nums; }
.billing-countdown-digits small { font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; opacity: .8; }
.billing-countdown-ring {
    width: 88px; height: 88px; border-radius: 50%;
    border: 3px solid rgba(255,255,255,.35);
    display: grid; place-content: center; text-align: center;
    background: rgba(255,255,255,.08);
}
.billing-countdown-ring strong { font-size: 1.6rem; line-height: 1; display: block; }
.billing-countdown-ring span { font-size: .7rem; text-transform: uppercase; opacity: .85; }
.billing-countdown-ring.is-urgent { border-color: #fca5a5; background: rgba(239,68,68,.25); animation: ops-trial-pulse 2s ease-in-out infinite; }

/* ---------- Marka (GümrükNova logosu) ---------- */
.sidebar-brand .brand-link { padding: .35rem 0; }
.brand-logo { height: 36px; width: auto; max-width: 100%; display: block; }
.login-page .login-logo { margin-bottom: 1.25rem; }
.auth-logo { height: 52px; width: auto; max-width: 100%; filter: drop-shadow(0 6px 18px rgba(20, 174, 240, .25)); }
.btn-brand {
    background: linear-gradient(135deg, #4cc6f7, #0a78e8);
    border: none;
    color: #fff;
    box-shadow: 0 .4rem 1rem rgba(10, 120, 232, .35);
}
.btn-brand:hover, .btn-brand:focus { background: linear-gradient(135deg, #14aef0, #0b5fd8); color: #fff; }
