:root {
    --navy: #0b1d32;
    --navy-soft: #123253;
    --blue: #1967d2;
    --blue-light: #eaf2ff;
    --cyan: #18a7b5;
    --green: #1c9b69;
    --red: #c63f48;
    --ink: #152033;
    --muted: #6f7d90;
    --line: #e4eaf1;
    --surface: #ffffff;
    --page: #f4f7fb;
    --shadow: 0 24px 70px rgba(14, 31, 53, .12);
}

* { box-sizing: border-box; }

html { min-height: 100%; }

body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    background: var(--page);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
button, input { font: inherit; }

.login-body {
    background:
        radial-gradient(circle at 80% 10%, rgba(25, 103, 210, .12), transparent 28rem),
        #eef3f9;
}

.login-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(420px, 1.1fr) minmax(420px, .9fr);
}

.login-visual {
    position: relative;
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    padding: 48px clamp(40px, 7vw, 108px);
    color: #fff;
    background:
        linear-gradient(135deg, rgba(7, 27, 50, .97), rgba(13, 57, 91, .9)),
        var(--navy);
}

.login-visual::before,
.login-visual::after {
    position: absolute;
    content: "";
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 50%;
}

.login-visual::before {
    width: 540px;
    height: 540px;
    right: -220px;
    top: -120px;
}

.login-visual::after {
    width: 320px;
    height: 320px;
    left: -150px;
    bottom: 60px;
}

.visual-brand, .brand {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.brand-mark {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(145deg, #2b7ee8, #18a7b5);
    font-size: 24px;
    font-weight: 800;
    box-shadow: 0 12px 30px rgba(20, 132, 190, .32);
}

.visual-brand strong, .brand strong {
    display: block;
    font-size: 18px;
    letter-spacing: .1em;
}

.visual-brand small, .brand small {
    display: block;
    margin-top: 2px;
    color: rgba(255, 255, 255, .62);
    font-size: 10px;
    letter-spacing: .16em;
}

.visual-content {
    position: relative;
    z-index: 1;
    max-width: 660px;
}

.visual-content h1 {
    max-width: 620px;
    margin: 14px 0 22px;
    font-size: clamp(40px, 5vw, 68px);
    line-height: 1.04;
    letter-spacing: -.045em;
}

.visual-content > p:not(.eyebrow) {
    max-width: 610px;
    color: rgba(255, 255, 255, .72);
    font-size: 17px;
    line-height: 1.75;
}

.eyebrow {
    margin: 0 0 7px;
    color: var(--blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .16em;
}

.eyebrow.light { color: #7ddbe5; }

.visual-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 34px;
}

.visual-features span {
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 999px;
    color: rgba(255, 255, 255, .78);
    background: rgba(255, 255, 255, .06);
    font-size: 12px;
}

.visual-footer {
    position: relative;
    z-index: 1;
    margin: 0;
    color: rgba(255, 255, 255, .45);
    font-size: 12px;
}

.login-panel {
    display: flex;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 28px;
    padding: 40px;
}

.login-card, .setup-card {
    width: min(100%, 470px);
    padding: 42px;
    border: 1px solid rgba(219, 227, 237, .85);
    border-radius: 26px;
    background: rgba(255, 255, 255, .96);
    box-shadow: var(--shadow);
}

.login-card h2, .setup-card h1 {
    margin: 17px 0 7px;
    font-size: 32px;
    letter-spacing: -.03em;
}

.beta-badge {
    display: inline-flex;
    padding: 7px 10px;
    border-radius: 999px;
    color: #1659aa;
    background: var(--blue-light);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
}

.muted {
    margin: 0 0 26px;
    color: var(--muted);
    line-height: 1.6;
}

form label {
    display: block;
    margin-bottom: 18px;
}

form label > span {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 700;
}

input {
    width: 100%;
    min-height: 50px;
    padding: 0 15px;
    border: 1px solid #d7e0ea;
    border-radius: 12px;
    outline: none;
    color: var(--ink);
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
}

input:focus {
    border-color: #6aa2ea;
    box-shadow: 0 0 0 4px rgba(25, 103, 210, .1);
}

.password-field { position: relative; }
.password-field input { padding-right: 76px; }

.password-toggle {
    position: absolute;
    right: 9px;
    top: 8px;
    min-height: 34px;
    border: 0;
    color: var(--blue);
    background: transparent;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.primary-button {
    display: inline-flex;
    width: 100%;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 13px;
    color: #fff;
    background: linear-gradient(135deg, #1967d2, #1556ad);
    box-shadow: 0 12px 25px rgba(25, 103, 210, .22);
    font-weight: 750;
    text-decoration: none;
    cursor: pointer;
}

.support-note {
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.6;
    text-align: center;
}

.login-copyright { color: #8995a6; font-size: 11px; }

.alert {
    margin: 18px 0;
    padding: 13px 15px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.55;
}

.alert-error { color: #8e2831; background: #fff0f1; border: 1px solid #f5cfd3; }
.alert-success { color: #126844; background: #ebf8f2; border: 1px solid #bce7d3; }

.setup-body {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 32px;
    background: radial-gradient(circle at top, #eaf2ff, #f5f7fa 50%);
}

.setup-card { width: min(100%, 560px); }
.setup-card.centered { text-align: center; }
.error-code { display: block; color: var(--blue); font-size: 62px; font-weight: 850; }
.link-button { margin-top: 20px; }

.app-shell { display: grid; min-height: 100vh; grid-template-columns: 270px 1fr; }

.sidebar {
    position: sticky;
    top: 0;
    display: flex;
    height: 100vh;
    flex-direction: column;
    padding: 28px 22px 22px;
    color: #fff;
    background: var(--navy);
}

.brand { padding: 0 6px 26px; }
.brand .brand-mark { width: 42px; height: 42px; font-size: 20px; }
.brand strong { font-size: 16px; }

.nav-list { display: flex; flex: 1; flex-direction: column; gap: 6px; }

.nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-radius: 10px;
    color: rgba(255, 255, 255, .73);
    font-size: 13px;
    font-weight: 650;
    text-decoration: none;
}

.nav-link:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.nav-link.is-disabled { opacity: .48; pointer-events: none; }
.nav-link em { font-size: 9px; font-style: normal; letter-spacing: .07em; }
.nav-section { margin: 23px 14px 7px; color: rgba(255, 255, 255, .36); font-size: 9px; font-weight: 800; letter-spacing: .15em; }

.sidebar-footer {
    padding: 17px 14px 0;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.sidebar-footer span, .sidebar-footer small { display: block; }
.sidebar-footer span { font-size: 13px; font-weight: 750; }
.sidebar-footer small { margin-top: 4px; color: rgba(255, 255, 255, .5); font-size: 10px; }
.sidebar-footer form { margin-top: 13px; }

.logout-button {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 9px;
    color: rgba(255, 255, 255, .7);
    background: rgba(255, 255, 255, .05);
    font-size: 11px;
    cursor: pointer;
}

.main-content { min-width: 0; padding: 32px clamp(24px, 4vw, 58px) 60px; }

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.topbar h1 { margin: 0; font-size: 28px; letter-spacing: -.03em; }

.status-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border: 1px solid #dbe7e1;
    border-radius: 999px;
    color: #34745a;
    background: #f4fbf8;
    font-size: 11px;
    font-weight: 700;
}

.status-pill span { width: 7px; height: 7px; border-radius: 50%; background: #23a46e; box-shadow: 0 0 0 4px rgba(35, 164, 110, .12); }

.welcome-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 34px;
    border-radius: 22px;
    color: #fff;
    background: linear-gradient(135deg, var(--navy-soft), #164b72);
    box-shadow: 0 20px 45px rgba(13, 48, 76, .16);
}

.welcome-banner.compact { padding: 28px 32px; }
.welcome-banner h2 { margin: 4px 0 8px; font-size: 28px; letter-spacing: -.03em; }
.welcome-banner p:not(.eyebrow) { max-width: 720px; margin: 0; color: rgba(255, 255, 255, .68); line-height: 1.65; }
.banner-badge { padding: 10px 13px; border: 1px solid rgba(255, 255, 255, .15); border-radius: 999px; background: rgba(255, 255, 255, .08); font-size: 10px; font-weight: 800; letter-spacing: .13em; }

.stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.stat-card, .content-card, .empty-state {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: 0 10px 30px rgba(20, 37, 57, .05);
}

.stat-card { padding: 22px; }
.stat-card span, .stat-card small { display: block; color: var(--muted); }
.stat-card span { font-size: 11px; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.stat-card strong { display: block; margin: 12px 0 5px; font-size: 28px; }
.stat-card small { font-size: 11px; }
.text-success { color: var(--green); }

.content-card { margin-top: 20px; padding: 28px; }
.card-heading h2 { margin: 0; font-size: 21px; }

.module-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }

.module-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 17px;
    border: 1px solid var(--line);
    border-radius: 14px;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}

.module-card:hover { transform: translateY(-2px); border-color: #bfd4ef; box-shadow: 0 12px 25px rgba(20, 48, 80, .08); }
.module-card div { min-width: 0; flex: 1; }
.module-card strong, .module-card small { display: block; }
.module-card small { margin-top: 4px; color: var(--muted); font-size: 11px; }
.module-card b { color: var(--blue); font-size: 18px; }
.module-icon { display: grid; width: 45px; height: 45px; flex: 0 0 45px; place-items: center; border-radius: 12px; color: var(--blue); background: var(--blue-light); font-size: 12px; font-weight: 850; }

.empty-state { margin-top: 20px; padding: 64px 30px; text-align: center; }
.empty-icon { display: grid; width: 58px; height: 58px; margin: 0 auto 18px; place-items: center; border-radius: 18px; color: var(--blue); background: var(--blue-light); font-size: 28px; }
.empty-state h2 { margin: 0 0 8px; font-size: 25px; }
.empty-state p { max-width: 590px; margin: 0 auto; color: var(--muted); line-height: 1.7; }

@media (max-width: 980px) {
    .login-shell { grid-template-columns: 1fr; }
    .login-visual { min-height: 44vh; padding: 34px; }
    .visual-content { margin: 70px 0 50px; }
    .visual-content h1 { font-size: clamp(34px, 8vw, 52px); }
    .login-panel { min-height: 56vh; }
    .app-shell { grid-template-columns: 86px 1fr; }
    .sidebar { padding: 24px 13px; }
    .brand span:not(.brand-mark), .nav-link, .nav-section, .sidebar-footer span, .sidebar-footer small { font-size: 0; }
    .brand { justify-content: center; padding-left: 0; padding-right: 0; }
    .nav-link { min-height: 44px; justify-content: center; }
    .nav-link::before { content: "•"; font-size: 22px; }
    .nav-link em { display: none; }
    .logout-button { padding: 10px 4px; font-size: 0; }
    .logout-button::after { content: "Çık"; font-size: 10px; }
}

@media (max-width: 680px) {
    .login-visual { min-height: auto; padding: 26px 22px; }
    .visual-content { margin: 54px 0 34px; }
    .visual-content h1 { font-size: 37px; }
    .visual-features { display: none; }
    .login-panel { padding: 24px 16px 32px; }
    .login-card, .setup-card { padding: 28px 22px; border-radius: 20px; }
    .app-shell { display: block; }
    .sidebar { position: relative; width: 100%; height: auto; padding: 16px; }
    .brand { justify-content: flex-start; padding-bottom: 14px; }
    .brand span:not(.brand-mark) { font-size: initial; }
    .nav-list { flex-direction: row; overflow-x: auto; }
    .nav-link { min-width: max-content; padding: 9px 12px; font-size: 11px; }
    .nav-link::before { display: none; }
    .nav-section, .sidebar-footer { display: none; }
    .main-content { padding: 24px 16px 45px; }
    .topbar { align-items: flex-start; }
    .status-pill { display: none; }
    .welcome-banner { align-items: flex-start; flex-direction: column; padding: 25px 22px; }
    .welcome-banner h2 { font-size: 24px; }
    .stat-grid, .module-grid { grid-template-columns: 1fr; }
}
/* =========================================================
   PORTAL FORM SİSTEMİ
   ========================================================= */

button,
input,
select,
textarea {
    font: inherit;
}

.form-card {
    margin-top: 24px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--surface);
    box-shadow: 0 10px 30px rgba(20, 37, 57, .05);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.form-field {
    display: block;
    margin: 0;
}

.form-field.full {
    grid-column: 1 / -1;
}

.form-field > span {
    display: block;
    margin-bottom: 8px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
}

.form-control,
form select,
form textarea {
    width: 100%;
    min-height: 50px;
    padding: 0 15px;
    border: 1px solid #d7e0ea;
    border-radius: 12px;
    outline: none;
    color: var(--ink);
    background: #fff;
    transition:
        border-color .2s,
        box-shadow .2s,
        background-color .2s;
}

form select {
    appearance: auto;
    cursor: pointer;
}

form textarea {
    min-height: 130px;
    padding: 14px 15px;
    line-height: 1.55;
    resize: vertical;
}

.form-control:focus,
form select:focus,
form textarea:focus {
    border-color: #6aa2ea;
    box-shadow: 0 0 0 4px rgba(25, 103, 210, .1);
}

.form-help {
    display: block;
    margin-top: 7px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.5;
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
}

.secondary-button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    border: 1px solid #d7e0ea;
    border-radius: 13px;
    color: var(--ink);
    background: #fff;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition:
        border-color .2s,
        background-color .2s,
        transform .2s;
}

.secondary-button:hover {
    border-color: #bfd4ef;
    background: #f8fbff;
}

@media (max-width: 680px) {
    .form-card {
        padding: 22px 18px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-field.full {
        grid-column: auto;
    }

    .form-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .form-actions .primary-button,
    .form-actions .secondary-button {
        width: 100%;
    }
}

/* =========================================================
   İZİN YÖNETİMİ
   ========================================================= */

.page-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.primary-action {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(135deg, #1967d2, #1556ad);
    box-shadow: 0 10px 22px rgba(25, 103, 210, .18);
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
    transition:
        transform .2s,
        box-shadow .2s;
}

.primary-action:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(25, 103, 210, .22);
}

.section-block {
    margin-top: 32px;
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 16px;
}

.section-heading h2 {
    margin: 0;
    font-size: 23px;
    letter-spacing: -.02em;
}

.leave-type-code {
    font-size: 18px !important;
}

.table-card {
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: 0 10px 30px rgba(20, 37, 57, .05);
}

.portal-table {
    width: 100%;
    min-width: 850px;
    border-collapse: collapse;
}

.portal-table th {
    padding: 15px 18px;
    color: var(--muted);
    background: #f8fafc;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    text-align: left;
    text-transform: uppercase;
}

.portal-table td {
    padding: 17px 18px;
    border-top: 1px solid var(--line);
    font-size: 13px;
    vertical-align: middle;
}

.portal-table tbody tr {
    transition: background-color .2s;
}

.portal-table tbody tr:hover {
    background: #fafcff;
}

.table-action {
    color: var(--blue);
    font-size: 12px;
    font-weight: 750;
    text-decoration: none;
    white-space: nowrap;
}

.table-action:hover {
    text-decoration: underline;
}

.leave-status {
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
}

.leave-status.pending {
    color: #8a6516;
    background: #fff7dd;
}

.leave-status.approved {
    color: #16714b;
    background: #eaf8f1;
}

.leave-status.rejected {
    color: #9a3038;
    background: #fff0f1;
}

.leave-status.cancelled {
    color: #596779;
    background: #edf1f5;
}

@media (max-width: 680px) {

    .page-actions {
        justify-content: stretch;
    }

    .primary-action {
        width: 100%;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Tüm izin talepleri */

.results-count {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    background: #fff;
    font-size: 11px;
    font-weight: 750;
}

.table-subtext {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 10px;
}

/* =========================================================
   İZİN TAKVİMİ
   ========================================================= */

.calendar-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 28px;
}

.calendar-toolbar h2 {
    margin: 0;
    font-size: 25px;
    letter-spacing: -.03em;
}

.calendar-navigation {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.calendar-stats {
    margin-top: 22px;
}

.calendar-month-stat {
    font-size: 20px !important;
}

.calendar-card {
    margin-top: 24px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--surface);
    box-shadow: 0 10px 30px rgba(20, 37, 57, .05);
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    border-bottom: 1px solid var(--line);
    background: #f8fafc;
}

.calendar-weekdays div {
    padding: 14px 10px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .06em;
    text-align: center;
    text-transform: uppercase;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.calendar-day {
    min-width: 0;
    min-height: 145px;
    padding: 10px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.calendar-day:nth-child(7n) {
    border-right: 0;
}

.calendar-day.is-outside {
    background: #f8fafc;
}

.calendar-day.is-outside .calendar-day-number {
    color: #b2bdca;
}

.calendar-day.is-today {
    background: #f7fbff;
    box-shadow: inset 0 0 0 2px rgba(25, 103, 210, .18);
}

.calendar-day-header {
    display: flex;
    min-height: 27px;
    align-items: center;
    justify-content: space-between;
    gap: 7px;
    margin-bottom: 8px;
}

.calendar-day-number {
    display: inline-flex;
    width: 27px;
    height: 27px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: var(--ink);
    font-size: 12px;
    font-weight: 800;
}

.calendar-day.is-today .calendar-day-number {
    color: #fff;
    background: var(--blue);
}

.calendar-today-label {
    color: var(--blue);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.calendar-events {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 6px;
}

.calendar-event {
    display: block;
    min-width: 0;
    padding: 8px 9px;
    border: 1px solid #d7e7fb;
    border-radius: 9px;
    color: #174d89;
    background: #eef6ff;
    text-decoration: none;
    transition:
        transform .15s,
        border-color .15s,
        background-color .15s;
}

.calendar-event:hover {
    transform: translateY(-1px);
    border-color: #a9cbed;
    background: #e5f1ff;
}

.calendar-event strong,
.calendar-event small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.calendar-event strong {
    font-size: 10px;
}

.calendar-event small {
    margin-top: 3px;
    color: #5e7b9a;
    font-size: 9px;
}

.calendar-empty-note {
    margin-top: 18px;
    padding: 16px 18px;
    border: 1px dashed #cad5e1;
    border-radius: 13px;
    color: var(--muted);
    background: rgba(255, 255, 255, .55);
    font-size: 12px;
    text-align: center;
}

@media (max-width: 980px) {

    .calendar-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .calendar-card {
        overflow-x: auto;
    }

    .calendar-weekdays,
    .calendar-grid {
        min-width: 900px;
    }
}

@media (max-width: 680px) {

    .calendar-navigation {
        width: 100%;
    }

    .calendar-navigation .secondary-button {
        flex: 1;
        min-width: 120px;
    }
}
/* =========================================================
   İZİN SÜRE HESAPLAMA
   ========================================================= */

.leave-duration-section {
    margin-top: 26px;
    padding-top: 26px;
    border-top: 1px solid var(--line);
}

.leave-duration-section[hidden] {
    display: none;
}

.leave-calculation-box {
    display: flex;
    margin-top: 18px;
    min-height: 94px;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    padding: 18px 20px;
    border: 1px solid #d9e7f8;
    border-radius: 14px;
    background: #f5f9ff;
}

.leave-calculation-box span,
.leave-calculation-box small {
    display: block;
}

.leave-calculation-box span {
    color: var(--blue);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.leave-calculation-box strong {
    display: block;
    margin: 6px 0 4px;
    color: var(--ink);
    font-size: 22px;
}

.leave-calculation-box small {
    color: var(--muted);
    font-size: 11px;
}

.leave-reason-field {
    margin-top: 26px;
}

/* =========================================================
   PERSONEL PROFİLİ
   ========================================================= */

.profile-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.profile-info-item {
    min-width: 0;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fafcff;
}

.profile-info-item span,
.profile-info-item strong,
.profile-info-item small {
    display: block;
}

.profile-info-item span {
    margin-bottom: 7px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.profile-info-item strong {
    color: var(--ink);
    font-size: 14px;
    line-height: 1.5;
}

.profile-info-item small {
    margin-top: 4px;
    color: var(--muted);
    font-size: 10px;
}

@media (max-width: 680px) {
    .profile-info-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   SIDEBAR NAVIGATION
   ========================================================= */

.nav-section {
    display: block;
    margin: 22px 12px 8px;
    color: rgba(255,255,255,.38);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.nav-sub-link {
    padding-left: 22px;
    font-size: 12px;
}

.nav-link.is-active {
    background: rgba(255,255,255,.10);
    color: #fff;
}

.nav-link.is-active::before {
    content: "";
    width: 3px;
    height: 18px;
    border-radius: 999px;
    background: currentColor;
    flex: 0 0 auto;
}

.nav-link.is-disabled {
    opacity: .45;
    cursor: default;
    pointer-events: none;
}

.nav-link em {
    margin-left: auto;
    font-size: 9px;
    font-style: normal;
    opacity: .65;
}

/* =========================================================
   SIDEBAR - SABİT YÜKSEKLİK VE SCROLL DÜZELTMESİ
   ========================================================= */

.app-shell {
    min-height: 100vh;
}

.sidebar {
    position: sticky;
    top: 0;

    height: 100vh;
    min-height: 0;

    display: flex;
    flex-direction: column;

    overflow: hidden;
}

.brand {
    flex: 0 0 auto;
}

.sidebar-scroll {
    flex: 1 1 auto;

    min-height: 0;

    overflow-y: auto;
    overflow-x: hidden;

    padding-bottom: 18px;

    scrollbar-width: thin;
}

.nav-list {
    min-height: 0;
}

.sidebar-footer {
    flex: 0 0 auto;

    margin-top: 0;

    background: inherit;

    position: relative;

    z-index: 2;
}


/* Scrollbar - Chrome / Edge */

.sidebar-scroll::-webkit-scrollbar {
    width: 5px;
}

.sidebar-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-scroll::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,.16);
    border-radius: 999px;
}


/* =========================================================
   ACTIVE NAV
   ========================================================= */

.nav-link.is-active {
    background: rgba(255,255,255,.10);
    color: #fff;
}

.nav-link.is-active::before {
    content: "";

    width: 3px;
    height: 18px;

    flex: 0 0 3px;

    border-radius: 999px;

    background: #fff;
}


/* =========================================================
   MOBİL
   ========================================================= */

@media (max-width: 900px) {

    .sidebar {
        height: auto;
        min-height: auto;

        overflow: visible;

        position: relative;
    }

    .sidebar-scroll {
        overflow: visible;
    }
}

/* =========================================================
   SIDEBAR FINAL FIX
   app.css dosyasının EN ALTINA ekleyin.
   ========================================================= */

/* Desktop: sidebar viewport'a sabit, içerik sağda */
.app-shell {
    display: block;
    min-height: 100vh;
}

.sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 50;

    width: 270px;
    height: 100vh;
    height: 100dvh;
    min-height: 0;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    padding: 28px 22px 22px;
    color: #fff;
    background: var(--navy);
}

.brand {
    flex: 0 0 auto;
}

.sidebar-scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding-bottom: 14px;
    overscroll-behavior: contain;
    scrollbar-width: thin;
}

/* Eski .nav-list { flex: 1 } kuralını etkisizleştiriyoruz. */
.sidebar .nav-list {
    display: flex;
    flex: none;
    min-height: max-content;
    flex-direction: column;
    gap: 6px;
}

.sidebar-footer {
    flex: 0 0 auto;
    margin-top: 0;
    padding: 17px 14px 0;
    border-top: 1px solid rgba(255,255,255,.10);
    background: var(--navy);
}

.main-content {
    min-width: 0;
    min-height: 100vh;
    margin-left: 270px;
}

.sidebar-scroll::-webkit-scrollbar {
    width: 5px;
}

.sidebar-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-scroll::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,.18);
    border-radius: 999px;
}

/* Aktif satır */
.nav-link.is-active {
    color: #fff;
    background: rgba(255,255,255,.10);
}

.nav-link.is-active::before {
    content: "";
    width: 3px;
    height: 18px;
    flex: 0 0 3px;
    border-radius: 999px;
    background: #fff;
}

.nav-sub-link {
    padding-left: 22px;
    font-size: 12px;
}

/* Tablet */
@media (max-width: 980px) {
    .sidebar {
        width: 86px;
        padding: 24px 13px;
    }

    .main-content {
        margin-left: 86px;
    }

    .sidebar .nav-list {
        flex: none;
    }
}

/* Mobil */
@media (max-width: 680px) {
    .app-shell {
        display: block;
    }

    .sidebar {
        position: relative;
        inset: auto;
        width: 100%;
        height: auto;
        min-height: 0;
        overflow: visible;
        padding: 16px;
    }

    .sidebar-scroll {
        overflow-x: auto;
        overflow-y: visible;
        padding-bottom: 0;
    }

    .sidebar .nav-list {
        flex-direction: row;
        min-height: 0;
        width: max-content;
    }

    .main-content {
        margin-left: 0;
    }
}

/* =========================================================
   SIDEBAR SCROLLBAR GİZLE
   Menü kayabilir, scrollbar görünmez.
   ========================================================= */

.sidebar-scroll {
    overflow-y: auto;
    overflow-x: hidden;

    /* Firefox */
    scrollbar-width: none;

    /* Eski Edge / IE */
    -ms-overflow-style: none;
}

/* Chrome / Edge / Safari */
.sidebar-scroll::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

/* =========================================================
   SIDEBAR ACCORDION + HOVER SCROLLBAR
   ========================================================= */

.sidebar-scroll {
    flex: 1 1 auto;
    min-height: 0;

    overflow-y: auto;
    overflow-x: hidden;

    padding-right: 4px;
    padding-bottom: 14px;

    overscroll-behavior: contain;

    scrollbar-width: thin;
    scrollbar-color: transparent transparent;

    scrollbar-gutter: stable;
}


/* Firefox */

.sidebar-scroll:hover {
    scrollbar-color:
        rgba(255, 255, 255, .22)
        transparent;
}


/* Chrome / Edge / Safari */

.sidebar-scroll::-webkit-scrollbar {
    width: 5px;
}

.sidebar-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-scroll::-webkit-scrollbar-thumb {
    background: transparent;
    border-radius: 999px;

    transition: background .2s ease;
}

.sidebar-scroll:hover::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, .22);
}

.sidebar-scroll:hover::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, .38);
}


/* =========================================================
   NAV GROUP
   ========================================================= */

.sidebar .nav-list {
    display: flex;
    flex: none;
    min-height: max-content;

    flex-direction: column;

    gap: 6px;
}


.nav-group {
    display: block;
    width: 100%;

    margin-top: 8px;
}


.nav-group:first-child {
    margin-top: 0;
}


/* Sabit Genel başlığı */

.nav-group-title {
    padding: 12px 12px 8px;

    color: rgba(255,255,255,.42);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: .14em;

    text-transform: uppercase;
}


/* Açılır grup başlığı */

.nav-group-toggle {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    padding: 12px;

    border: 0;
    border-radius: 11px;

    background: transparent;

    color: rgba(255,255,255,.55);

    font: inherit;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .10em;

    text-align: left;
    text-transform: uppercase;

    cursor: pointer;

    transition:
        background .18s ease,
        color .18s ease;
}


.nav-group-toggle:hover {
    color: #fff;

    background:
        rgba(255,255,255,.055);
}


.nav-group-chevron {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 20px;
    height: 20px;

    font-size: 20px;
    line-height: 1;

    transform: rotate(0deg);

    transition:
        transform .2s ease;
}


.nav-group.is-open
.nav-group-chevron {
    transform: rotate(90deg);
}


/* =========================================================
   SUB MENU
   ========================================================= */

.nav-group-content {
    display: grid;

    grid-template-rows: 0fr;

    opacity: 0;

    overflow: hidden;

    transition:
        grid-template-rows .22s ease,
        opacity .18s ease;
}


.nav-group-content > * {
    min-height: 0;
}


.nav-group.is-open
.nav-group-content {
    grid-template-rows: 1fr;

    opacity: 1;
}


.nav-group-content .nav-link {
    margin-top: 4px;

    padding-left: 18px;
}


.nav-group-static
.nav-group-content {
    display: block;

    opacity: 1;

    overflow: visible;
}


/* Aktif satır */

.nav-link.is-active {
    color: #fff;

    background:
        rgba(255,255,255,.10);
}


.nav-link.is-active::before {
    content: "";

    width: 3px;
    height: 18px;

    flex: 0 0 3px;

    border-radius: 999px;

    background: #fff;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 680px) {

    .sidebar-scroll {
        scrollbar-width: none;
    }

    .sidebar-scroll::-webkit-scrollbar {
        display: none;
    }

}
/* =========================================================
   SIDEBAR ACCORDION - COMPACT FINAL
   ========================================================= */

.sidebar .nav-list {
    display: flex;
    flex-direction: column;

    justify-content: flex-start;
    align-items: stretch;

    flex: none;

    min-height: 0;
    height: auto;

    gap: 2px;
}


/* =========================================================
   GRUPLAR ARASI BOŞLUK
   ========================================================= */

.nav-group {
    width: 100%;
    margin: 0;
}

.nav-group + .nav-group {
    margin-top: 4px;
}


/* GENEL gibi sabit başlık */

.nav-group-title {
    padding: 10px 12px 6px;

    color: rgba(255,255,255,.42);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: .13em;
    text-transform: uppercase;
}


/* =========================================================
   ACCORDION BAŞLIĞI
   ========================================================= */

.nav-group-toggle {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 10px;

    padding: 10px 12px;

    border: 0;
    border-radius: 10px;

    background: transparent;

    color: rgba(255,255,255,.55);

    font: inherit;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .10em;

    text-align: left;
    text-transform: uppercase;

    cursor: pointer;

    transition:
        background .18s ease,
        color .18s ease;
}

.nav-group-toggle:hover {
    background: rgba(255,255,255,.055);
    color: #fff;
}


/* Ok */

.nav-group-chevron {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 18px;
    height: 18px;

    font-size: 18px;

    transition: transform .18s ease;
}

.nav-group.is-open .nav-group-chevron {
    transform: rotate(90deg);
}


/* =========================================================
   ACCORDION İÇERİĞİ
   =========================================================
   Önceki grid yöntemi kapalı menüde de yükseklik bırakabiliyordu.
   max-height ile gerçek anlamda kapatıyoruz.
   ========================================================= */

.nav-group-content {
    display: flex;
    flex-direction: column;

    gap: 2px;

    max-height: 0;

    opacity: 0;

    overflow: hidden;

    pointer-events: none;

    transition:
        max-height .22s ease,
        opacity .16s ease;
}


.nav-group.is-open .nav-group-content {
    max-height: 500px;

    opacity: 1;

    pointer-events: auto;

    padding-bottom: 4px;
}


/* Genel bölümü sürekli açık */

.nav-group-static .nav-group-content {
    max-height: none;

    opacity: 1;

    overflow: visible;

    pointer-events: auto;
}


/* Alt menü satırları */

.nav-group-content .nav-link {
    margin: 0;

    padding-left: 18px;
    min-height: 38px;
}


/* =========================================================
   SCROLL ALANI
   ========================================================= */

.sidebar-scroll {
    flex: 1 1 auto;

    min-height: 0;

    overflow-y: auto;
    overflow-x: hidden;

    padding-right: 3px;
    padding-bottom: 10px;

    overscroll-behavior: contain;

    /*
     * Boş yere scrollbar alanı ayırma.
     */
    scrollbar-gutter: auto;

    /*
     * Firefox:
     * Scroll yoksa zaten hiçbir şey görünmez.
     * Scroll varsa JS is-scrollable class'ını verecek.
     */
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
}


/*
 * Önceden tanımlanan hover scrollbar'ı sıfırla.
 * Sadece is-scrollable olduğunda gösterilecek.
 */

.sidebar-scroll:hover {
    scrollbar-color: transparent transparent;
}


/* Gerçekten scroll gerekiyorsa ve mouse sidebar üzerindeyse */

.sidebar-scroll.is-scrollable:hover {
    scrollbar-color:
        rgba(255,255,255,.20)
        transparent;
}


/* Chrome / Edge / Safari */

.sidebar-scroll::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

.sidebar-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-scroll::-webkit-scrollbar-thumb {
    background: transparent;

    border-radius: 999px;
}


/* Scroll ihtiyacı VAR + kullanıcı menünün üzerinde */

.sidebar-scroll.is-scrollable:hover::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,.20);
}


/* Scrollbar'ın bizzat üzerine gelince */

.sidebar-scroll.is-scrollable:hover::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,.38);
}


/* =========================================================
   ACTIVE LINK
   ========================================================= */

.nav-link.is-active {
    color: #fff;

    background: rgba(255,255,255,.10);
}

.nav-link.is-active::before {
    content: "";

    width: 3px;
    height: 18px;

    flex: 0 0 3px;

    border-radius: 999px;

    background: #fff;
}
/* =========================================================
   ORGANİZASYON ŞEMASI
   ========================================================= */

.org-company-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;

    width: max-content;
    min-width: 280px;

    margin: 30px auto 18px;
    padding: 18px 24px;

    border: 1px solid rgba(20, 80, 140, .12);
    border-radius: 18px;

    background: #fff;

    box-shadow:
        0 14px 36px rgba(16, 42, 67, .08);
}

.org-company-card h2,
.org-company-card p {
    margin: 0;
}

.org-company-mark {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    border-radius: 14px;

    background: var(--primary, #1769d2);
    color: #fff;

    font-size: 22px;
    font-weight: 800;
}


.org-department-section {
    margin-top: 22px;
    padding: 22px;

    border: 1px solid rgba(20, 80, 140, .10);
    border-radius: 20px;

    background: #fff;

    box-shadow:
        0 14px 36px rgba(16, 42, 67, .055);
}


.org-department-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;

    padding-bottom: 18px;
    border-bottom: 1px solid rgba(20, 80, 140, .08);
}

.org-department-header h2,
.org-department-header p {
    margin-bottom: 0;
}


.org-chart-scroll {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;

    padding: 12px 6px 20px;

    scrollbar-width: thin;
    scrollbar-color:
        rgba(40, 80, 120, .20)
        transparent;
}

.org-chart-scroll::-webkit-scrollbar {
    height: 6px;
}

.org-chart-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.org-chart-scroll::-webkit-scrollbar-thumb {
    background: rgba(40, 80, 120, .18);
    border-radius: 999px;
}


.org-tree {
    display: flex;
    justify-content: center;

    width: max-content;
    min-width: 100%;

    padding: 10px 10px 0;
}


.org-tree ul {
    position: relative;

    display: flex;
    justify-content: center;

    margin: 0;
    padding: 24px 0 0;

    white-space: nowrap;
}


.org-tree li {
    position: relative;

    list-style: none;
    text-align: center;

    padding: 24px 10px 0;
}


/* Yatay bağlantılar */

.org-tree li::before,
.org-tree li::after {
    content: "";

    position: absolute;
    top: 0;

    width: 50%;
    height: 24px;

    border-top: 1px solid rgba(60, 95, 125, .28);
}


.org-tree li::before {
    right: 50%;
}


.org-tree li::after {
    left: 50%;

    border-left: 1px solid rgba(60, 95, 125, .28);
}


.org-tree li:only-child::before,
.org-tree li:only-child::after {
    display: none;
}


.org-tree li:first-child::before,
.org-tree li:last-child::after {
    border: 0;
}


.org-tree li:last-child::before {
    border-right: 1px solid rgba(60, 95, 125, .28);
    border-radius: 0 10px 0 0;
}


.org-tree li:first-child::after {
    border-radius: 10px 0 0 0;
}


/* Üst düğümden çocuklara inen dikey bağlantı */

.org-tree ul ul::before {
    content: "";

    position: absolute;
    top: 0;
    left: 50%;

    width: 0;
    height: 24px;

    border-left: 1px solid rgba(60, 95, 125, .28);
}


.org-root-list {
    padding-top: 0 !important;
}


.org-root-list > li {
    padding-top: 0;
}


.org-root-list > li::before,
.org-root-list > li::after {
    display: none;
}


.org-person-card {
    position: relative;
    z-index: 1;

    display: flex;
    align-items: center;
    gap: 12px;

    width: 250px;
    min-height: 86px;

    margin: 0 auto;
    padding: 14px;

    border: 1px solid rgba(20, 80, 140, .12);
    border-radius: 15px;

    background: #fff;

    color: inherit;
    text-align: left;
    text-decoration: none;

    white-space: normal;

    box-shadow:
        0 10px 24px rgba(16, 42, 67, .065);

    transition:
        transform .18s ease,
        border-color .18s ease,
        box-shadow .18s ease;
}


.org-person-card:hover {
    transform: translateY(-2px);

    border-color: rgba(23, 105, 210, .30);

    box-shadow:
        0 14px 30px rgba(16, 42, 67, .10);
}


.org-person-card.is-department-manager {
    border-color: rgba(23, 105, 210, .28);

    background:
        linear-gradient(
            180deg,
            rgba(23, 105, 210, .055),
            rgba(23, 105, 210, .015)
        );
}


.org-person-avatar {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 42px;

    width: 42px;
    height: 42px;

    border-radius: 13px;

    background: rgba(23, 105, 210, .10);
    color: var(--primary, #1769d2);

    font-size: 17px;
    font-weight: 800;
}


.org-person-body {
    display: flex;
    flex-direction: column;

    min-width: 0;
}


.org-person-body strong {
    overflow: hidden;

    font-size: 13px;

    text-overflow: ellipsis;
}


.org-person-body small {
    margin-top: 3px;

    color: var(--muted, #718096);

    font-size: 10px;
    line-height: 1.35;
}


.org-person-kicker {
    margin-top: 0 !important;

    color: var(--primary, #1769d2) !important;

    font-size: 8px !important;
    font-weight: 800;

    letter-spacing: .09em;
    text-transform: uppercase;
}


.org-person-meta {
    opacity: .8;
}


.org-warning-box {
    margin-top: 18px;
    padding: 16px;

    border: 1px solid rgba(190, 120, 0, .16);
    border-radius: 14px;

    background: rgba(255, 190, 70, .08);
}


.org-warning-box p {
    margin: 6px 0 0;
}


.org-warning-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    margin-top: 12px;
}


.org-warning-links a {
    padding: 6px 10px;

    border-radius: 999px;

    background: rgba(255, 255, 255, .75);

    text-decoration: none;
}


.org-empty-state {
    margin-top: 18px;
}


@media (max-width: 900px) {

    .org-department-section {
        padding: 16px;
    }

    .org-department-header {
        flex-direction: column;
    }

    .org-company-card {
        width: 100%;
        min-width: 0;

        justify-content: flex-start;
    }

}

/* =========================================================
   GÖZBİR PORTAL · CAM PRİM
   Beta modül görünümü
   ========================================================= */

.cp-hero,
.cp-page-hero {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background:
        radial-gradient(circle at 82% 14%, rgba(255,255,255,.17), transparent 28%),
        linear-gradient(135deg, #071d34 0%, #0d3356 58%, #115f73 100%);
    color: #fff;
    box-shadow: 0 24px 60px rgba(7, 29, 52, .18);
}

.cp-hero {
    min-height: 350px;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
    align-items: center;
    gap: 40px;
    padding: 52px;
}

.cp-hero::after,
.cp-page-hero::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
    right: -110px;
    bottom: -150px;
}

.cp-hero-copy,
.cp-page-hero > * {
    position: relative;
    z-index: 2;
}

.cp-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(255,255,255,.72);
}

.cp-kicker::before {
    content: "";
    width: 24px;
    height: 2px;
    border-radius: 99px;
    background: currentColor;
}

.cp-kicker-dark {
    color: #537089;
}

.cp-hero h2,
.cp-page-hero h2 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(30px, 4vw, 50px);
    line-height: 1.05;
    letter-spacing: -.045em;
}

.cp-hero p,
.cp-page-hero p {
    max-width: 720px;
    margin: 20px 0 0;
    color: rgba(255,255,255,.76);
    font-size: 15px;
    line-height: 1.8;
}

.cp-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.cp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.cp-button:hover {
    transform: translateY(-2px);
}

.cp-button-primary {
    color: #08223b;
    background: #fff;
    box-shadow: 0 10px 24px rgba(0,0,0,.14);
}

.cp-button-ghost {
    color: #fff;
    border: 1px solid rgba(255,255,255,.24);
    background: rgba(255,255,255,.08);
}

.cp-hero-visual {
    position: relative;
    min-height: 250px;
}

.cp-score-card {
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    width: min(260px, 90%);
    padding: 28px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 24px;
    background: rgba(255,255,255,.10);
    backdrop-filter: blur(14px);
    box-shadow: 0 24px 54px rgba(0,0,0,.18);
}

.cp-score-card span,
.cp-score-card small {
    display: block;
    color: rgba(255,255,255,.64);
}

.cp-score-card strong {
    display: block;
    margin: 8px 0;
    font-size: 34px;
    letter-spacing: -.04em;
}

.cp-orbit {
    position: absolute;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 50%;
}

.cp-orbit-one {
    width: 240px;
    height: 240px;
    top: 6px;
    left: 26px;
}

.cp-orbit-two {
    width: 170px;
    height: 170px;
    right: 8px;
    bottom: 0;
}

.cp-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.cp-kpi-card {
    min-height: 155px;
    padding: 24px;
    border: 1px solid #e5ecf2;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(27, 55, 79, .07);
}

.cp-kpi-card strong,
.cp-kpi-card small,
.cp-kpi-label {
    display: block;
}

.cp-kpi-label {
    margin-bottom: 18px;
    color: #71869a;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.cp-kpi-card strong {
    color: #102b42;
    font-size: 28px;
    letter-spacing: -.04em;
}

.cp-kpi-card small {
    margin-top: 8px;
    color: #7e91a3;
    line-height: 1.5;
}

.cp-kpi-featured {
    border-color: transparent;
    background: linear-gradient(135deg, #eff8f8, #eef4fb);
}

.cp-section {
    margin-top: 30px;
}

.cp-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 16px;
}

.cp-section-heading h2 {
    margin: 0;
    color: #102b42;
    font-size: 24px;
    letter-spacing: -.025em;
}

.cp-section-note {
    color: #8a9aaa;
    font-size: 12px;
    font-weight: 700;
}

.cp-action-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.cp-action-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;
    padding: 22px;
    border: 1px solid #e4ebf1;
    border-radius: 20px;
    color: inherit;
    text-decoration: none;
    background: #fff;
    box-shadow: 0 10px 28px rgba(23, 52, 77, .05);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.cp-action-card:hover {
    transform: translateY(-3px);
    border-color: #bfd4df;
    box-shadow: 0 18px 34px rgba(23, 52, 77, .10);
}

.cp-action-index {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: #eef5f7;
    color: #14556a;
    font-weight: 900;
}

.cp-action-card strong {
    display: block;
    color: #102b42;
    font-size: 16px;
}

.cp-action-card p {
    margin: 5px 0 0;
    color: #75899b;
    font-size: 13px;
    line-height: 1.6;
}

.cp-arrow {
    color: #55788e;
    font-size: 24px;
}

.cp-process-panel {
    padding: 28px;
    border: 1px solid #e5ecf2;
    border-radius: 24px;
    background: linear-gradient(180deg, #fff, #fbfdfe);
}

.cp-process {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 16px;
}

.cp-process-step {
    text-align: center;
}

.cp-process-step > span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: #0d385b;
    color: #fff;
    font-weight: 900;
}

.cp-process-step strong,
.cp-process-step small {
    display: block;
}

.cp-process-step strong {
    color: #14324a;
}

.cp-process-step small {
    margin-top: 6px;
    color: #7a8ea0;
    line-height: 1.45;
}

.cp-process-line {
    width: 54px;
    height: 1px;
    background: #dce7ed;
}

.cp-page-hero {
    min-height: 210px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 38px 42px;
}

.cp-page-hero h2 {
    font-size: clamp(26px, 3vw, 38px);
}

.cp-page-badge {
    flex: 0 0 auto;
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,.20);
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.82);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
}

.cp-placeholder {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
    padding: 28px;
    border: 1px dashed #cbd9e2;
    border-radius: 22px;
    background: #fff;
}

.cp-placeholder-icon {
    display: grid;
    place-items: center;
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: #edf6f8;
    color: #0d5870;
    font-size: 22px;
    font-weight: 900;
}

.cp-placeholder h3 {
    margin: 0;
    color: #102b42;
}

.cp-placeholder p {
    margin: 6px 0 0;
    color: #71869a;
    line-height: 1.65;
}

@media (max-width: 1100px) {
    .cp-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cp-hero {
        grid-template-columns: 1fr;
    }

    .cp-hero-visual {
        display: none;
    }
}

@media (max-width: 820px) {
    .cp-hero,
    .cp-page-hero {
        padding: 30px;
        border-radius: 22px;
    }

    .cp-action-grid,
    .cp-kpi-grid {
        grid-template-columns: 1fr;
    }

    .cp-process {
        grid-template-columns: 1fr;
    }

    .cp-process-line {
        width: 1px;
        height: 24px;
        margin: 0 auto;
    }

    .cp-page-hero {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .cp-hero {
        min-height: 0;
        padding: 26px 22px;
    }

    .cp-hero h2 {
        font-size: 32px;
    }

    .cp-hero-actions {
        flex-direction: column;
    }

    .cp-button {
        width: 100%;
    }

    .cp-action-card {
        grid-template-columns: auto 1fr;
    }

    .cp-arrow {
        display: none;
    }
}


/* =========================================================
   KAPSAMLI MODÜL YETKİ MATRİSİ
   ========================================================= */

.permission-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.permission-bulk-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex: 0 0 auto;
}

.permission-bulk-button {
    min-height: 40px;
    padding: 9px 14px;
}

.permission-table-wrap {
    overflow-x: auto;
    overscroll-behavior-inline: contain;
}

.permission-matrix {
    min-width: 980px;
}

.permission-matrix th,
.permission-matrix td {
    vertical-align: middle;
}

.permission-center {
    width: 96px;
    text-align: center;
    white-space: nowrap;
}

.permission-check {
    width: 19px;
    height: 19px;
    margin: 0;
    accent-color: #2563eb;
    cursor: pointer;
}

.permission-row-all {
    accent-color: #0f766e;
}

.permission-note {
    margin: 14px 0 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.55;
}

.permission-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 28px;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.permission-status-on {
    color: #166534;
    background: #dcfce7;
    border: 1px solid #bbf7d0;
}

.permission-status-off {
    color: #64748b;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
}


/* =========================================================
   PAROLA İŞLEMLERİ
   ========================================================= */

.password-input-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: stretch;
}

.password-input-row input {
    min-width: 0;
}

.password-inline-button {
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #f8fafc;
    color: #334155;
    padding: 0 14px;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.password-inline-button:hover {
    background: #eef2f7;
}

.temporary-password-tools {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.temporary-password-tools small,
.temporary-password-tools p {
    flex: 1 1 320px;
}


@media (max-width: 760px) {
    .permission-heading {
        display: block;
    }

    .permission-bulk-actions {
        margin-top: 14px;
    }

    .permission-bulk-button {
        flex: 1 1 140px;
    }

    .password-input-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .password-inline-button {
        min-height: 42px;
    }
}

/* =========================================================
   MODÜL YETKİLERİ - TOPLU SÜTUN SEÇİMİ
   ========================================================= */
.permission-column-all {
    width: 17px;
    height: 17px;
    margin-top: 6px;
    accent-color: currentColor;
    cursor: pointer;
}

.permission-matrix th.permission-center {
    vertical-align: middle;
}

.permission-bulk-actions {
    flex-wrap: wrap;
}


.portal-app-footer{margin-top:20px;padding:0 24px 24px}.portal-app-footer__inner{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;padding:14px 18px;border:1px solid #dce5ef;border-radius:16px;background:linear-gradient(180deg,#fbfdff 0%,#f4f7fb 100%);color:#5d7489;box-shadow:0 8px 24px rgba(15,23,42,.04)}.portal-app-footer__inner p{margin:0;font-size:12px;font-weight:700;color:#29445d}.portal-app-footer__inner small{font-size:11px;color:#74889b}.portal-app-footer__inner a{color:#1d5fe3;text-decoration:none;font-weight:800}.portal-app-footer__inner a:hover{text-decoration:underline}@media (max-width: 720px){.portal-app-footer{padding:0 14px 16px}.portal-app-footer__inner{align-items:flex-start;flex-direction:column}}


/* 2026-09-04 Update banner and fixed footer bar */
.main-content{padding-bottom:94px}
.topbar-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap}
.update-pill{display:flex;align-items:center;gap:12px;padding:12px 16px;border:1px solid #dbe7f6;border-radius:18px;background:linear-gradient(135deg,#f8fbff 0%,#eef5ff 100%);box-shadow:0 14px 34px rgba(25,103,210,.08);color:#1f4f8d}
.update-pill__icon{display:inline-flex;width:34px;height:34px;align-items:center;justify-content:center;border-radius:12px;background:#dce9ff;color:#1d5fe3;font-size:18px;font-weight:900;box-shadow:inset 0 1px 0 rgba(255,255,255,.65)}
.update-pill__content{display:flex;flex-direction:column;line-height:1.15}
.update-pill__content strong{font-size:12px;font-weight:900;letter-spacing:.03em;color:#18406f}
.update-pill__content small{margin-top:3px;font-size:11px;color:#5f7690}
.update-pill em{display:inline-flex;align-items:center;height:24px;padding:0 10px;border-radius:999px;background:#1d5fe3;color:#fff;font-style:normal;font-size:10px;font-weight:900;letter-spacing:.12em;box-shadow:0 8px 18px rgba(29,95,227,.2)}
.status-pill{box-shadow:0 10px 22px rgba(28,155,105,.08)}
.portal-app-footer{position:fixed;left:0;right:0;bottom:0;z-index:60;margin-top:0;padding:0;pointer-events:none}
.portal-app-footer__inner{pointer-events:auto;display:flex;align-items:center;justify-content:center;gap:18px;min-height:52px;padding:10px 24px;border-radius:0;border:none;border-top:1px solid rgba(77,108,137,.22);background:linear-gradient(90deg,rgba(10,29,50,.97) 0%,rgba(18,50,83,.96) 45%,rgba(28,83,126,.96) 100%);box-shadow:0 -10px 28px rgba(11,29,50,.16);color:rgba(255,255,255,.82);backdrop-filter:blur(10px)}
.portal-app-footer__inner p{margin:0;font-size:12px;font-weight:700;color:#f6fbff}
.portal-app-footer__inner small{font-size:11px;color:rgba(255,255,255,.7)}
.portal-app-footer__inner a{color:#7ac4ff;font-weight:800;text-decoration:none}.portal-app-footer__inner a:hover{text-decoration:underline}
@media (max-width:980px){.topbar{align-items:flex-start}.topbar-actions{width:100%;justify-content:flex-start}.update-pill{width:100%}.portal-app-footer__inner{justify-content:flex-start;flex-wrap:wrap;min-height:auto;padding:10px 16px}}
@media (max-width:720px){.main-content{padding-bottom:108px}.update-pill{padding:11px 14px;border-radius:16px}.update-pill__icon{width:30px;height:30px;font-size:16px}.update-pill__content strong{font-size:11px}.update-pill__content small,.portal-app-footer__inner p,.portal-app-footer__inner small{font-size:10px}.status-pill{display:flex}.portal-app-footer__inner{gap:6px;padding:9px 12px}}

/* 2026-09-04 Sabit footer/sidebar çakışma düzeltmesi */
@media (min-width:901px){
  .app-body.sidebar-pinned .portal-app-footer{
    left:var(--portal-sidebar-expanded,288px);
    right:0;
    width:auto;
  }
  .app-body.sidebar-desktop-collapsed .portal-app-footer{
    left:var(--portal-sidebar-collapsed,64px);
    right:0;
    width:auto;
  }
}
@media (max-width:900px){
  .portal-app-footer{
    left:0;
    right:0;
    width:auto;
  }
}


/* 2026-09-04 Mobil sabit menü erişimi */
.mobile-floating-menu-button{display:none}
@media(max-width:1100px){
  .mobile-floating-menu-button{position:fixed;right:14px;bottom:68px;z-index:85;display:flex;align-items:center;gap:7px;min-height:44px;padding:0 14px;border:1px solid rgba(255,255,255,.22);border-radius:999px;background:linear-gradient(135deg,#123253,#1f628f);color:#fff;box-shadow:0 12px 30px rgba(11,29,50,.28);font-size:12px;font-weight:850;cursor:pointer;transition:.18s ease}
  .mobile-floating-menu-button span{font-size:17px;line-height:1}.mobile-floating-menu-button b{font:inherit}
  body.sidebar-open .mobile-floating-menu-button{opacity:0;pointer-events:none;transform:translateY(8px)}
}
@media(max-width:720px){.mobile-floating-menu-button{right:12px;bottom:74px;min-height:42px;padding:0 13px}}


/* 2026-09-04 Mobil footer kompakt */
@media(max-width:720px){
  .portal-app-footer__inner{min-height:42px!important;padding:8px 12px!important;justify-content:center!important;flex-wrap:nowrap!important}
  .portal-app-footer__inner small{display:none!important}
  .portal-app-footer__inner p{font-size:10px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center;width:100%}
  .mobile-floating-menu-button{bottom:54px!important}
  .main-content{padding-bottom:64px!important}
}


/* 2026-09-04 Geri bildirim bağlantısı sidebar altı + mobil menü erişimi */
.sidebar-feedback-link{display:flex;align-items:center;gap:9px;margin:0 0 14px;padding:10px 11px;border:1px solid rgba(122,196,255,.22);border-radius:11px;background:rgba(122,196,255,.07);color:rgba(255,255,255,.82);text-decoration:none;font-size:10px;font-weight:850}.sidebar-feedback-link>span{display:inline-flex;width:22px;height:22px;align-items:center;justify-content:center;border-radius:7px;background:rgba(122,196,255,.12);color:#7ac4ff;font-size:12px}.sidebar-feedback-link b{font:inherit}.sidebar-feedback-link:hover,.sidebar-feedback-link.is-active{background:rgba(122,196,255,.14);color:#fff}
@media(max-width:1100px){.mobile-floating-menu-button{display:flex!important;visibility:visible!important;opacity:1}.sidebar-feedback-link{margin-bottom:12px}}

/* 2026-09-04 Mobil üst erişim iyileştirmesi: yüzen menü yerine sticky header */
@media (max-width: 720px) {
  .topbar {
    position: sticky;
    top: 8px;
    z-index: 84;
    margin: 0 0 14px;
    padding: 10px 12px;
    border: 1px solid #dbe5ee;
    border-radius: 16px;
    background: rgba(248, 250, 252, .96);
    box-shadow: 0 8px 22px rgba(15, 23, 42, .08);
    backdrop-filter: blur(10px);
  }
  .topbar .mobile-menu-button {
    order: 2;
    margin-left: auto;
    flex: 0 0 auto;
  }
  .topbar .topbar-title {
    min-width: 0;
    flex: 1 1 auto;
  }
  .topbar .topbar-title h1 {
    font-size: 20px;
    line-height: 1.18;
  }
  .topbar .topbar-title .eyebrow {
    margin-bottom: 4px;
  }
  .mobile-floating-menu-button {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

/* 2026-09-04 Mobil menü: her zaman sağ üstte sabit erişim */
@media(max-width:720px){
  .topbar .mobile-menu-button{display:none!important}
  .mobile-floating-menu-button{
    display:flex!important;
    position:fixed!important;
    top:12px!important;
    right:12px!important;
    bottom:auto!important;
    z-index:120!important;
    min-height:44px!important;
    padding:0 14px!important;
    border-radius:999px!important;
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
    transform:none!important;
  }
  body.sidebar-open .mobile-floating-menu-button{
    opacity:0!important;
    pointer-events:none!important;
  }
  .topbar{padding-right:86px!important}
}

/* Portal Güncelleme 3 · bildirim çubuğu */
.portal-notification-bar{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;margin:-10px 0 18px;padding:12px 14px;border:1px solid #f1d28c;border-radius:15px;background:linear-gradient(135deg,#fff9e9,#fff3cf);box-shadow:0 10px 26px rgba(176,122,20,.10);color:#5d4618}.portal-notification-bar[hidden]{display:none!important}.portal-notification-icon{display:grid;width:34px;height:34px;place-items:center;border-radius:11px;background:#f4b942;color:#fff;font-size:18px;font-weight:950;box-shadow:0 7px 16px rgba(208,150,28,.2)}.portal-notification-copy{display:grid;gap:2px;min-width:0}.portal-notification-copy strong{font-size:13px;color:#634812}.portal-notification-copy span{font-size:12px;color:#725d31;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.portal-notification-copy small{font-size:10px;color:#9b7c3d}.portal-notification-actions{display:flex;align-items:center;gap:7px}.portal-notification-actions a,.portal-notification-actions button{appearance:none;border:1px solid #e5c36e;border-radius:10px;padding:8px 10px;background:#fffaf0;color:#76561d;font-size:10px;font-weight:900;text-decoration:none;cursor:pointer}.portal-notification-actions [data-notification-read]{background:#8a651d;border-color:#8a651d;color:#fff}.portal-notification-actions [data-notification-hide]{width:32px;padding:8px 0}.portal-notification-bar.is-pulse{animation:portalNotificationPulse .55s ease}@keyframes portalNotificationPulse{0%{transform:translateY(-3px);opacity:.65}100%{transform:none;opacity:1}}@media(max-width:720px){.portal-notification-bar{grid-template-columns:auto minmax(0,1fr);margin:0 0 12px;padding:10px}.portal-notification-actions{grid-column:1/-1;justify-content:flex-end}.portal-notification-copy span{white-space:normal;line-height:1.35}}

/* Portal Güncelleme 3.1 · görünür bildirim merkezi */
.topbar-actions{display:flex;align-items:center;gap:10px;margin-left:auto}.portal-notification-bell{position:relative;display:grid;width:40px;height:40px;place-items:center;border:1px solid #d7e2eb;border-radius:13px;background:#fff;color:#38566e;text-decoration:none;box-shadow:0 5px 16px rgba(15,23,42,.05);font-size:18px}.portal-notification-bell:hover{background:#f5f9fc}.portal-notification-bell b{position:absolute;right:-5px;top:-6px;display:grid;min-width:19px;height:19px;padding:0 5px;place-items:center;border:2px solid #f4f7fb;border-radius:999px;background:#d84e45;color:#fff;font-size:9px;font-weight:900}.portal-notification-bell.is-due{border-color:#e9c56d;background:#fff8e4;animation:portalBellPulse 1.8s ease-in-out infinite}@keyframes portalBellPulse{0%,100%{box-shadow:0 5px 16px rgba(15,23,42,.05)}50%{box-shadow:0 0 0 6px rgba(229,174,47,.13)}}@media(max-width:720px){.topbar-actions{gap:7px}.portal-notification-bell{width:38px;height:38px;border-radius:12px}.status-pill{display:none!important}}

/* 6.85 · Genel/Görev ve Cari Karne bildirim kanalları + Web Push */
.portal-notification-bell.is-general-channel{border-color:#cbdceb;background:#fff;color:#235f95}
.portal-notification-bell.is-general-channel.is-due{border-color:#79aee0;background:#eef7ff;animation:portalBellGeneralPulse 1.8s ease-in-out infinite}
.portal-notification-bell.is-cari-channel{border-color:#ecd89f;background:#fffdf7;color:#9a6810}
.portal-notification-bell.is-cari-channel.is-due{border-color:#e5b944;background:#fff7df;animation:portalBellCariPulse 1.8s ease-in-out infinite}
.portal-notification-bell.is-cari-channel b{background:#d99416}
@keyframes portalBellGeneralPulse{0%,100%{box-shadow:0 5px 16px rgba(15,23,42,.05)}50%{box-shadow:0 0 0 6px rgba(54,132,204,.13)}}
@keyframes portalBellCariPulse{0%,100%{box-shadow:0 5px 16px rgba(15,23,42,.05)}50%{box-shadow:0 0 0 6px rgba(226,169,34,.15)}}
.portal-push-toggle{display:flex;align-items:center;gap:6px;min-height:40px;padding:0 10px;border:1px solid #d7e2eb;border-radius:13px;background:#fff;color:#47677f;font:inherit;font-size:10px;font-weight:900;cursor:pointer;box-shadow:0 5px 16px rgba(15,23,42,.04)}
.portal-push-toggle small{font-size:9px;font-weight:900;white-space:nowrap}.portal-push-toggle[data-state="on"]{border-color:#a9d9bf;background:#eefbf4;color:#1d7b4e}.portal-push-toggle[data-state="denied"]{border-color:#efc4bf;background:#fff5f4;color:#a14b41}.portal-push-toggle:hover{filter:brightness(.985)}
.portal-notification-bar.is-general{border-color:#bcd6ed;background:linear-gradient(135deg,#f6fbff,#eaf5ff);color:#234f73}.portal-notification-bar.is-general .portal-notification-icon{background:#3a82c4;box-shadow:0 7px 16px rgba(58,130,196,.2)}.portal-notification-bar.is-general .portal-notification-copy strong{color:#23557f}.portal-notification-bar.is-general .portal-notification-copy span{color:#496b86}.portal-notification-bar.is-general .portal-notification-copy small{color:#6f8799}.portal-notification-bar.is-general .portal-notification-actions a,.portal-notification-bar.is-general .portal-notification-actions button{border-color:#bdd5e9;background:#f9fcff;color:#2c628f}.portal-notification-bar.is-general .portal-notification-actions [data-notification-read]{background:#2f6fa7;border-color:#2f6fa7;color:#fff}
.portal-notification-bar.is-cari{border-color:#f1d28c;background:linear-gradient(135deg,#fff9e9,#fff3cf);color:#5d4618}
@media(max-width:900px){.portal-push-toggle small{display:none}.portal-push-toggle{width:40px;padding:0;justify-content:center}.topbar-actions{gap:6px}}
@media(max-width:720px){.portal-notification-bell,.portal-push-toggle{width:36px;height:36px;min-height:36px;border-radius:11px;font-size:16px}.topbar{padding-right:86px!important}.topbar-actions{gap:5px}}
