:root {
    --iadk-primary: #0d9488;
    --iadk-primary-dark: #0f766e;
    --iadk-primary-light: #ecfdf5;
    --iadk-primary-soft: #ccfbf1;
    --iadk-blue: #2563eb;
    --iadk-blue-dark: #1d4ed8;
    --iadk-blue-light: #eff6ff;
    --iadk-blue-soft: #dbeafe;
    --iadk-teal: #06b6d4;
    --iadk-navy: #1a2332;
    --iadk-text: #1e293b;
    --iadk-muted: #64748b;
    --iadk-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    --sidebar-width: 17.5rem;
    --sidebar-bg: #1a2332;
    --sidebar-text: #94a3b8;
    --sidebar-text-active: #fff;
    --sidebar-brand: #22d3ee;
    --bs-primary: #0d9488;
    --bs-primary-rgb: 13, 148, 136;
    --bs-info: #2563eb;
    --bs-info-rgb: 37, 99, 235;
    --bs-link-color: #2563eb;
    --bs-link-hover-color: #1d4ed8;
}

body {
    min-height: 100vh;
    background-color: #eef2f6;
    color: var(--iadk-text);
}

body.app-body {
    margin: 0;
}

footer {
    margin-top: auto;
}

/* Linke & theksime — kaltër moderne */
a:not(.btn):not(.sidebar-link):not(.sidebar-brand-link):not(.nav-link):not(.dropdown-item):not(.page-link):not(.list-group-item) {
    color: var(--iadk-blue);
}

a:not(.btn):not(.sidebar-link):not(.sidebar-brand-link):not(.nav-link):not(.dropdown-item):not(.page-link):not(.list-group-item):hover {
    color: var(--iadk-blue-dark);
}

.text-info {
    color: var(--iadk-blue) !important;
}

.bg-info {
    background-color: var(--iadk-blue) !important;
}

.badge.bg-info {
    background-color: var(--iadk-blue) !important;
}

.btn-outline-info {
    --bs-btn-color: #2563eb;
    --bs-btn-border-color: #2563eb;
    --bs-btn-hover-bg: #2563eb;
    --bs-btn-hover-border-color: #2563eb;
    --bs-btn-active-bg: #1d4ed8;
    --bs-btn-active-border-color: #1d4ed8;
}

.btn-info {
    --bs-btn-bg: #2563eb;
    --bs-btn-border-color: #2563eb;
    --bs-btn-hover-bg: #1d4ed8;
    --bs-btn-hover-border-color: #1d4ed8;
    --bs-btn-active-bg: #1e40af;
    --bs-btn-active-border-color: #1e40af;
}

.stat-card {
    border: 1px solid #e5e7eb;
    border-radius: 0.9rem;
    box-shadow: var(--iadk-shadow);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    background: #fff;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(31, 138, 76, 0.12);
}

.stat-card .text-primary,
.stat-card .display-6.text-primary,
.stat-card .h3.text-primary {
    color: var(--iadk-blue) !important;
}

.stat-card .small.text-success {
    color: #1f8a4c !important;
}

.stat-card a.small,
.card-section a.small,
.card-section .btn-link {
    color: var(--iadk-blue) !important;
}

.stat-card a.small:hover,
.card-section a.small:hover {
    color: var(--iadk-blue-dark) !important;
}

.table a:not(.btn) {
    color: var(--iadk-blue);
    font-weight: 500;
}

.table a:not(.btn):hover {
    color: var(--iadk-blue-dark);
}

.btn-primary {
    --bs-btn-bg: #1f8a4c;
    --bs-btn-border-color: #1f8a4c;
    --bs-btn-hover-bg: #166b3a;
    --bs-btn-hover-border-color: #166b3a;
    --bs-btn-active-bg: #145c32;
    --bs-btn-active-border-color: #145c32;
    --bs-btn-disabled-bg: #1f8a4c;
    --bs-btn-disabled-border-color: #1f8a4c;
    box-shadow: 0 4px 12px rgba(31, 138, 76, 0.25);
}

.btn-outline-primary {
    --bs-btn-color: #1f8a4c;
    --bs-btn-border-color: #1f8a4c;
    --bs-btn-hover-bg: #1f8a4c;
    --bs-btn-hover-border-color: #1f8a4c;
    --bs-btn-active-bg: #166b3a;
    --bs-btn-active-border-color: #166b3a;
    --bs-btn-hover-color: #fff;
}

.text-primary {
    color: #1f8a4c !important;
}

.bg-primary {
    background-color: #1f8a4c !important;
}

.badge.bg-primary {
    background-color: #1f8a4c !important;
}

.page-header h1,
.page-header .h3,
.module-page > h4 {
    color: #0f3d24;
}

.card-section {
    border: 1px solid #e5e7eb;
    border-radius: 0.9rem;
    box-shadow: var(--iadk-shadow);
    overflow: hidden;
}

.card-section > .card-header {
    border-bottom-color: #e8f6ee;
    color: #0f3d24;
}

.table thead.table-light th,
.table > thead > tr > th {
    background: #f4faf6 !important;
    color: #374151;
    border-bottom-color: #d4f0e0 !important;
}

.form-control:focus,
.form-select:focus {
    border-color: #4ade80;
    box-shadow: 0 0 0 0.2rem rgba(31, 138, 76, 0.15);
}

.leave-stat-card {
    background: #fff;
    border-radius: 0.9rem;
    padding: 0.85rem 1rem;
    box-shadow: var(--iadk-shadow);
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-height: 4.5rem;
}

.leave-stat-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
    font-weight: 600;
}

.leave-stat-value {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f3d24;
    line-height: 1.2;
}

.leave-stat-card--total {
    background: linear-gradient(135deg, #e8f6ee, #fff);
    border: 1px solid #d4f0e0;
}

.leave-stat-card--remaining {
    background: linear-gradient(135deg, #ecfdf5, #fff);
    border: 1px solid #a7f3d0;
}

.leave-stat-card--accent {
    background: linear-gradient(135deg, #fff7ed, #fff);
    border: 1px solid #fed7aa;
}

.employee-dashboard .employee-stat-card {
    background: #fff;
    border-radius: 0.75rem;
    padding: 1rem 1.1rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.06);
    min-height: 5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.employee-stat-label {
    font-size: 0.75rem;
    color: #64748b;
    margin-bottom: 0.25rem;
}

.employee-stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.1;
}

.employee-stat-card--remaining {
    background: linear-gradient(135deg, #f0fdf4, #fff);
    border: 1px solid #bbf7d0;
}

.employee-period-link {
    color: #2563eb;
}

.employee-period-link:hover {
    color: #1d4ed8;
}

.employee-profile-dl dt {
    font-weight: 500;
}

.employee-attendance-row {
    gap: 0.75rem;
}

.employee-table thead th {
    font-size: 0.7rem;
    letter-spacing: 0.04em;
    color: #64748b;
}

.leave-request-context {
    background: #fff;
    border-radius: 0.75rem;
    padding: 0.85rem 1.1rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.05);
}

.leave-summary-dl .leave-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.45rem 0;
    border-bottom: 1px solid #f1f5f9;
    gap: 1rem;
}

.leave-summary-dl dt {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
    margin: 0;
}

.leave-summary-dl dd {
    margin: 0;
    font-size: 0.9rem;
}

.leave-summary-row--total {
    border-top: 2px solid #e2e8f0;
    margin-top: 0.25rem;
    padding-top: 0.65rem;
}

.leave-summary-row--remaining {
    border-bottom: none;
}

.leave-report-document {
    max-width: 52rem;
    margin: 0 auto;
    padding: 2rem;
}

.leave-report-org {
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
}

.leave-report-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0.5rem 0;
    letter-spacing: 0.02em;
}

.leave-report-meta {
    font-size: 0.85rem;
    color: #64748b;
}

.leave-report-section {
    margin-bottom: 1.5rem;
}

.leave-report-section-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #475569;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 0.35rem;
    margin-bottom: 0.75rem;
}

.leave-report-table .label {
    width: 40%;
    color: #64748b;
}

.leave-report-balance td {
    padding: 0.35rem 0.5rem;
}

.leave-report-signature {
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 1rem;
    min-height: 5.5rem;
}

/* R-6.2.2-9 — Formular zyrtar i kërkesës për pushim */
.leave-form-r9 {
    max-width: 52rem;
    margin: 0 auto;
    padding: 1rem 1.25rem 1.5rem;
    background: #fff;
    color: #111;
    border: 1px solid #111;
    font-size: 0.82rem;
    line-height: 1.35;
}

.leave-form-r9-header {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0.65rem;
}

.leave-form-r9-header td {
    border: 1px solid #111;
    padding: 0.4rem 0.55rem;
    vertical-align: middle;
}

.leave-form-r9-logo {
    width: 18%;
    text-align: center;
}

.leave-form-r9-logo img {
    max-height: 48px;
    max-width: 100%;
    object-fit: contain;
}

.leave-form-r9-logo-fallback {
    font-weight: 700;
    letter-spacing: 0.06em;
    font-size: 1.1rem;
}

.leave-form-r9-title-cell {
    text-align: center;
    width: 54%;
}

.leave-form-r9-doc-title {
    font-weight: 700;
    font-size: 0.95rem;
}

.leave-form-r9-ver {
    font-size: 0.75rem;
    margin-top: 0.15rem;
}

.leave-form-r9-meta-cell {
    width: 28%;
    text-align: right;
    font-size: 0.78rem;
    white-space: nowrap;
}

.leave-form-r9-subtitle {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: baseline;
    font-weight: 600;
    margin: 0.35rem 0 0.55rem;
    font-size: 0.88rem;
}

.leave-form-r9-nr {
    white-space: nowrap;
    font-weight: 700;
}

.leave-form-r9-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0;
}

.leave-form-r9-table td {
    border: 1px solid #111;
    padding: 0.4rem 0.55rem;
    vertical-align: top;
}

.leave-form-r9-label {
    width: 42%;
    background: #fafafa;
}

.leave-form-r9-en,
.leave-form-r9-hint {
    font-size: 0.72rem;
    color: #333;
    font-weight: 400;
}

.leave-form-r9-period {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.leave-form-r9-check {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-right: 1.25rem;
    margin-bottom: 0.25rem;
    font-weight: 400;
}

.leave-form-r9-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 0.95rem;
    height: 0.95rem;
    border: 1px solid #111;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
    flex-shrink: 0;
    text-transform: lowercase;
}

.leave-form-r9-sig-date {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    min-height: 1.6rem;
}

.leave-form-r9-sig-line {
    display: inline-block;
    border-bottom: 1px solid #111;
    min-width: 8rem;
    height: 1.25rem;
    flex: 1;
}

.leave-form-r9-sig-line--wide {
    min-width: 12rem;
    width: 14rem;
    margin-bottom: 0.25rem;
}

.leave-form-r9-approval {
    margin-top: 0.65rem;
}

.leave-form-r9-dept {
    font-weight: 600;
}

.leave-form-r9-status {
    padding: 0.55rem !important;
}

.leave-form-r9-status .leave-form-r9-check {
    display: flex;
    margin-right: 0;
    margin-bottom: 0.35rem;
}

.leave-form-r9-reason-title {
    margin-top: 0.65rem;
    padding: 0.4rem 0.55rem;
    border: 1px solid #111;
    border-bottom: none;
    font-size: 0.78rem;
    font-weight: 600;
}

.leave-form-r9-reason-box {
    min-height: 4.5rem;
    border: 1px solid #111;
    padding: 0.5rem 0.55rem;
    white-space: pre-wrap;
}

.leave-form-r9-director {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    margin-top: 1rem;
    padding: 0 0.25rem;
}

.leave-form-r9-director-date {
    white-space: nowrap;
    padding-bottom: 0.15rem;
}

.leave-form-r9-law {
    margin: 0.85rem 0 0.65rem;
    font-size: 0.68rem;
    line-height: 1.35;
    color: #222;
}

.leave-form-r9-footer {
    display: grid;
    grid-template-columns: 1.2fr 1.4fr 1fr;
    gap: 0.75rem;
    border-top: 1px solid #111;
    padding-top: 0.55rem;
    font-size: 0.72rem;
    align-items: start;
}

.leave-form-r9-footer-center {
    text-align: center;
    font-style: italic;
}

.leave-form-r9-footer-right {
    text-align: right;
}

.leave-form-r9-doc-title--en {
    font-size: 0.78rem;
    font-weight: 600;
    margin-top: 0.1rem;
}

.vendim-meta--inline {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin: 0.35rem 0 0.45rem;
    font-size: 0.78rem;
}

.vendim-dispozitiv {
    margin: 0 0 0.45rem;
    text-align: justify;
    font-size: 0.78rem;
}

.vendim-arsyetim-list {
    margin: 0 0 0.35rem 1rem;
    padding: 0;
}

.vendim-arsyetim-list > li {
    margin-bottom: 0.35rem;
    padding-left: 0.15rem;
}

.vendim-bilingual p {
    margin: 0 0 0.12rem;
    text-align: justify;
    font-size: 0.74rem;
    line-height: 1.28;
}

.vendim-sq {
    font-weight: 600;
}

.vendim-en {
    font-weight: 400;
    font-style: italic;
    color: #222;
}

.vendim-keshille-block {
    margin-bottom: 0.35rem;
}

.vendim-force {
    margin: 0.35rem 0 0.55rem;
    font-size: 0.74rem;
    text-align: justify;
}

.vendim-force .vendim-sq {
    display: block;
}

.vendim-force .vendim-en {
    display: block;
    margin-top: 0.1rem;
}

/* Vendim zyrtar për pushim — kompakt, 1 faqe A4 */
.vendim-doc {
    max-width: 52rem;
    margin: 0 auto;
    padding: 0.5rem 0.75rem 0.65rem;
    background: #fff;
    color: #111;
    font-size: 0.78rem;
    line-height: 1.28;
}

.vendim-header {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0.4rem;
}

.vendim-header td {
    border: 1px solid #111;
    padding: 0.25rem 0.4rem;
    vertical-align: middle;
}

.vendim-header-logo {
    width: 16%;
    text-align: center;
}

.vendim-header-logo img {
    max-height: 36px;
    max-width: 100%;
    object-fit: contain;
}

.vendim-header-center {
    text-align: center;
    width: 64%;
}

.vendim-org-name {
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.vendim-org-sub {
    font-size: 0.68rem;
    margin-top: 0;
    line-height: 1.2;
}

.vendim-org-dept {
    font-size: 0.7rem;
    font-weight: 600;
    margin-top: 0.05rem;
}

.vendim-header-meta {
    width: 20%;
    text-align: right;
    font-size: 0.68rem;
    white-space: nowrap;
}

.vendim-meta {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin: 0.35rem 0 0.4rem;
    font-size: 0.78rem;
}

.vendim-title {
    text-align: center;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin: 0.25rem 0 0.4rem;
}

.vendim-address {
    margin-bottom: 0.4rem;
    font-size: 0.78rem;
}

.vendim-address > div {
    margin-bottom: 0.05rem;
}

.vendim-intro {
    margin-bottom: 0.35rem;
    text-align: justify;
}

.vendim-points {
    margin: 0 0 0.4rem 1rem;
    padding: 0;
}

.vendim-points li {
    margin-bottom: 0.22rem;
    text-align: justify;
    padding-left: 0.15rem;
}

.vendim-section-title {
    text-align: center;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin: 0.4rem 0 0.25rem;
}

.vendim-arsyetim p,
.vendim-keshille {
    text-align: justify;
    margin-bottom: 0.25rem;
}

.vendim-signatures {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 0.65rem;
    page-break-inside: avoid;
}

.vendim-sig {
    width: 42%;
    text-align: center;
}

.vendim-sig-line {
    border-bottom: 1px solid #111;
    height: 1.35rem;
    margin-bottom: 0.2rem;
}

.vendim-sig-role {
    font-size: 0.68rem;
    font-weight: 600;
}

.vendim-sig-name {
    font-size: 0.72rem;
    margin-top: 0.05rem;
}

.vendim-sig-date {
    font-size: 0.68rem;
    margin-top: 0.05rem;
    color: #333;
}

.vendim-footer {
    margin-top: 0.65rem;
    padding-top: 0.35rem;
    border-top: 1px solid #111;
    font-size: 0.65rem;
    display: grid;
    gap: 0.1rem;
    text-align: center;
    line-height: 1.25;
}

.leave-report--aktvendim .leave-report-document {
    border: 2px solid #334155;
    padding: 1rem 1.25rem;
}

.leave-report--aktvendim .leave-report-title {
    font-size: 1.15rem;
    margin: 0.25rem 0;
}

.leave-report--aktvendim .leave-report-org,
.leave-report--aktvendim .leave-report-meta {
    font-size: 0.78rem;
    line-height: 1.3;
}

.leave-report--aktvendim .leave-report-section {
    margin-bottom: 0.65rem;
}

.leave-report--aktvendim .leave-report-section-title {
    font-size: 0.72rem;
    margin-bottom: 0.35rem;
    padding-bottom: 0.2rem;
}

.leave-report--aktvendim .leave-report-table td,
.leave-report--aktvendim .leave-report-balance td {
    padding: 0.12rem 0.35rem;
    font-size: 0.82rem;
    line-height: 1.25;
}

.leave-report--aktvendim .leave-report-signature {
    padding: 0.5rem 0.65rem;
    min-height: 3.25rem;
    font-size: 0.82rem;
}

.leave-report--aktvendim .leave-report-footer {
    font-size: 0.75rem;
}

.leave-report--aktvendim .leave-report-balance {
    max-width: 20rem;
}

.avans-signature-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.avans-signature-block {
    width: 33%;
    min-width: 9rem;
}

.avans-signature-line {
    border-bottom: 1px solid #334155;
    height: 1.75rem;
    margin-bottom: 0.25rem;
}

.report-body {
    background: #fff;
    padding: 1.5rem;
}

@media print {
    .no-print { display: none !important; }
    .leave-report-document { box-shadow: none !important; }
    .leave-form-r9 {
        border: none !important;
        max-width: 100% !important;
        padding: 0 !important;
        font-size: 0.78rem !important;
    }
    .leave-form-r9-reason-box {
        min-height: 3.5rem !important;
    }
    .vendim-doc {
        max-width: 100% !important;
        padding: 0 !important;
        font-size: 0.74rem !important;
        line-height: 1.25 !important;
    }
    .vendim-signatures {
        margin-top: 0.55rem !important;
    }
    .vendim-sig-line {
        height: 1.1rem !important;
    }
    .vendim-footer {
        margin-top: 0.45rem !important;
    }
    .leave-report--vendim .no-print {
        display: none !important;
    }
    .leave-report--aktvendim .leave-report-document,
    .leave-report--vendim .leave-report-document {
        border: 1px solid #334155 !important;
        padding: 0.5rem 0.75rem !important;
        max-width: 100% !important;
    }
    .leave-report--aktvendim .leave-report-title {
        font-size: 1rem !important;
    }
    .leave-report--aktvendim .leave-report-section {
        margin-bottom: 0.45rem !important;
        page-break-inside: avoid;
    }
    .leave-report--aktvendim .leave-report-table td,
    .leave-report--aktvendim .leave-report-balance td {
        padding: 0.08rem 0.25rem !important;
        font-size: 0.75rem !important;
    }
    .leave-report--aktvendim .leave-report-signature {
        padding: 0.35rem 0.5rem !important;
        min-height: 2.75rem !important;
    }
    .leave-report--aktvendim .leave-report-compact-row > [class*="col-"],
    .leave-report--aktvendim .leave-report-bottom-row > [class*="col-"] {
        flex: 0 0 auto;
        width: 50%;
    }
    .leave-report--aktvendim .leave-report-bottom-row > .col-md-5 {
        width: 42%;
    }
    .leave-report--aktvendim .leave-report-bottom-row > .col-md-7 {
        width: 58%;
    }
    .report-body {
        padding: 0 !important;
    }
    @page {
        margin: 8mm;
        size: A4;
    }
    body { background: #fff !important; }
}

.page-header {
    margin-bottom: 1.5rem;
}

/* Dashboard hero — Paneli Kryesor */
.dash-hero {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    padding: 1.35rem 1.5rem;
    background: linear-gradient(135deg, #2563eb 0%, #0891b2 52%, #0d9488 100%);
    color: #fff;
    box-shadow: 0 14px 36px rgba(37, 99, 235, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dash-hero__glow {
    position: absolute;
    top: -40%;
    right: -5%;
    width: 18rem;
    height: 18rem;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.14) 0%, transparent 68%);
    pointer-events: none;
}

.dash-hero__content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem 1.25rem;
}

.dash-hero__eyebrow {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 0.35rem;
}

.dash-hero__title {
    margin: 0;
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.dash-hero__subtitle {
    margin: 0.4rem 0 0;
    max-width: 36rem;
    font-size: 0.875rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.82);
}

.dash-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
}

.dash-hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 2.5rem;
    padding: 0.55rem 1rem;
    border-radius: 0.65rem;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.dash-hero__btn:hover {
    transform: translateY(-1px);
    text-decoration: none;
}

.dash-hero__btn--primary {
    background: #fff;
    color: #1e40af;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.dash-hero__btn--primary:hover {
    background: #f0f9ff;
    color: #1e40af;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
}

.dash-hero__btn--secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.32);
    backdrop-filter: blur(4px);
}

.dash-hero__btn--secondary:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.45);
}

@media (max-width: 575.98px) {
    .dash-hero {
        padding: 1.15rem 1.1rem;
    }

    .dash-hero__actions {
        width: 100%;
    }

    .dash-hero__btn {
        flex: 1 1 calc(50% - 0.3rem);
        min-width: 0;
        padding-inline: 0.75rem;
        font-size: 0.8125rem;
    }
}

/* Dashboard stat cards */
.dash-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

@media (max-width: 991.98px) {
    .dash-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 575.98px) {
    .dash-stat-grid { grid-template-columns: 1fr; }
}

.dash-stat-card {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.9rem;
    padding: 1rem 1.1rem;
    box-shadow: var(--iadk-shadow);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.dash-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.dash-stat-card__icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dash-stat-card__icon--teal { background: #ccfbf1; color: #0d9488; }
.dash-stat-card__icon--orange { background: #ffedd5; color: #ea580c; }
.dash-stat-card__icon--green { background: #dcfce7; color: #16a34a; }
.dash-stat-card__icon--purple { background: #ede9fe; color: #7c3aed; }
.dash-stat-card__icon--blue { background: #dbeafe; color: #2563eb; }

.dash-stat-card__label {
    font-size: 0.75rem;
    color: var(--iadk-muted);
    margin-bottom: 0.15rem;
}

.dash-stat-card__value {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.1;
    color: #0f172a;
}

.dash-stat-card__meta {
    font-size: 0.75rem;
    margin-top: 0.2rem;
}

.dash-stat-card__meta--success { color: #16a34a; }
.dash-stat-card__meta--warning { color: #d97706; }

.dash-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

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

.dash-info-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.9rem;
    padding: 1rem 1.15rem;
    box-shadow: var(--iadk-shadow);
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.dash-info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    color: inherit;
}

.dash-info-card__icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dash-info-card__icon--blue { background: #dbeafe; color: #2563eb; }
.dash-info-card__icon--purple { background: #ede9fe; color: #7c3aed; }

.dash-info-card__title {
    font-weight: 600;
    font-size: 0.95rem;
    color: #0f172a;
    margin-bottom: 0.15rem;
}

.dash-info-card__link {
    font-size: 0.75rem;
    color: var(--iadk-blue);
    font-weight: 500;
}

/* Evidenca panel */
.evidenca-panel {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.9rem;
    padding: 1.15rem 1.25rem;
    box-shadow: var(--iadk-shadow);
    margin-bottom: 1.25rem;
}

.evidenca-panel__head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.evidenca-panel__title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0;
}

.evidenca-panel__date {
    font-size: 0.8rem;
    color: var(--iadk-muted);
    margin: 0.15rem 0 0;
    text-transform: capitalize;
}

.evidenca-panel__clock {
    font-size: 2rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: #0f172a;
    line-height: 1;
}

.evidenca-panel__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
}

.evidenca-panel__actions .btn-teal {
    background: #0d9488;
    border-color: #0d9488;
    color: #fff;
}

.evidenca-panel__actions .btn-teal:hover {
    background: #0f766e;
    border-color: #0f766e;
    color: #fff;
}

.evidenca-panel__log {
    margin-top: 0.85rem;
    padding-top: 0.75rem;
    border-top: 1px solid #f1f5f9;
    font-size: 0.75rem;
    color: var(--iadk-muted);
}

.table-actions .btn {
    margin-right: 0.25rem;
}

.badge-status {
    font-size: 0.85rem;
}

.card-section {
    border: none;
    border-radius: 0.75rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.module-page {
    padding: 0;
}

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 70% 55% at 12% 8%, rgba(37, 99, 235, 0.22) 0%, transparent 55%),
        radial-gradient(ellipse 60% 50% at 88% 92%, rgba(6, 182, 212, 0.18) 0%, transparent 50%),
        linear-gradient(160deg, #1e293b 0%, #151c28 45%, #111827 100%);
}

.login-page__glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(60px);
}

.login-page__glow--1 {
    width: 22rem;
    height: 22rem;
    top: -6rem;
    left: -4rem;
    background: rgba(37, 99, 235, 0.25);
}

.login-page__glow--2 {
    width: 18rem;
    height: 18rem;
    bottom: -5rem;
    right: -3rem;
    background: rgba(6, 182, 212, 0.2);
}

.login-card-split {
    width: 420px;
    max-width: 100%;
    background: #fff;
    border-radius: 1.25rem;
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.login-card-header {
    background: linear-gradient(135deg, #2563eb 0%, #0891b2 52%, #0d9488 100%);
    padding: 2rem 1.75rem 1.75rem;
    text-align: center;
    color: #fff;
    position: relative;
}

.login-card-header::after {
    content: "";
    position: absolute;
    top: -30%;
    right: -15%;
    width: 12rem;
    height: 12rem;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.14) 0%, transparent 68%);
    pointer-events: none;
}

.login-brand-box {
    display: inline-flex;
    justify-content: center;
    margin: 0 auto 1.15rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.97);
    border-radius: 0.85rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
    position: relative;
    z-index: 1;
}

.login-brand-logo-row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-align: left;
}

.login-brand-as {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.65rem;
    background: linear-gradient(135deg, #22d3ee 0%, #2563eb 100%);
    color: #fff;
    font-weight: 700;
    font-size: 0.82rem;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.login-brand-logo {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.65rem;
    object-fit: contain;
}

.login-brand-text-block {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.login-brand-title {
    color: #0f172a;
    font-weight: 700;
    font-size: 0.95rem;
}

.login-brand-tagline {
    color: #64748b;
    font-size: 0.68rem;
    margin-top: 0.15rem;
}

.login-card-header--logo-only {
    padding: 1.75rem 1.75rem 1.5rem;
}

.login-brand-box--solo {
    margin: 0 auto;
    padding: 0.85rem 1rem;
}

.login-brand-logo--solo {
    width: auto;
    max-width: 11rem;
    height: 3.25rem;
    border-radius: 0;
    object-fit: contain;
}

.login-brand-as--solo {
    width: 3.25rem;
    height: 3.25rem;
    font-size: 1rem;
}

.login-card-company {
    margin: 0 0 0.35rem;
    font-size: 1.65rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
}

.login-card-subtitle {
    margin: 0;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.82);
    position: relative;
    z-index: 1;
}

.login-card-body {
    padding: 1.75rem 1.75rem 1.5rem;
    background: #fff;
}

.login-form .login-field {
    margin-bottom: 1rem;
}

.login-label {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 600;
    font-size: 0.8rem;
    color: #334155;
}

.login-input {
    display: block;
    width: 100%;
    padding: 0.72rem 0.95rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 0.75rem;
    background: #f8fafc;
    font-size: 0.95rem;
    color: #0f172a;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.login-input::placeholder {
    color: #94a3b8;
}

.login-input:focus {
    outline: none;
    border-color: #0d9488;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

.login-error-summary {
    color: #dc2626;
    font-size: 0.82rem;
    margin-bottom: 1rem;
    padding: 0.65rem 0.75rem;
    background: #fef2f2;
    border-radius: 0.65rem;
    border: 1px solid #fecaca;
}

.login-remember {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.login-checkbox {
    width: 1rem;
    height: 1rem;
    accent-color: #0d9488;
}

.login-remember-label {
    margin: 0;
    font-size: 0.85rem;
    color: #64748b;
}

.login-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.85rem 1.25rem;
    border: none;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, #0891b2 0%, #0d9488 100%);
    color: #fff;
    font-weight: 650;
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.32);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.login-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(13, 148, 136, 0.38);
    color: #fff;
}

.login-footer-link {
    text-align: center;
    font-size: 0.82rem;
    color: #64748b;
    margin: 1.15rem 0 0;
}

.login-footer-link a {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
}

.login-footer-link a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.faza-pipeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.75rem;
}

.faza-item {
    border: 1px solid #dee2e6;
    border-radius: 0.75rem;
    padding: 0.75rem;
    background: #fff;
    min-height: 110px;
}

.faza-item.faza-aktuale {
    border-color: #1f8a4c;
    box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.15);
    background: #f8fbff;
}

.faza-item.faza-perfunduar {
    border-color: #198754;
    background: #f6fff9;
}

.faza-item.faza-ne-pritje {
    opacity: 0.85;
}

.procurement-workflow-steps .workflow-step {
    flex: 1 1 8rem;
    text-align: center;
    padding: 0.75rem 0.5rem;
    border-radius: 0.5rem;
    border: 1px solid #dee2e6;
    background: #f8f9fa;
    min-width: 7rem;
}

.workflow-step-num {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 999px;
    background: #e9ecef;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.workflow-step-label {
    font-size: 0.75rem;
    line-height: 1.2;
}

.workflow-step--done {
    border-color: #198754;
    background: #f6fff9;
}

.workflow-step--done .workflow-step-num {
    background: #198754;
    color: #fff;
}

.workflow-step--active {
    border-color: #1f8a4c;
    background: #e8f6ee;
}

.workflow-step--active .workflow-step-num {
    background: #1f8a4c;
    color: #fff;
}

.workflow-step--pending {
    opacity: 0.75;
}

.workflow-step--danger {
    border-color: #dc3545;
    background: #fff5f5;
}

.workflow-step--danger .workflow-step-num {
    background: #dc3545;
    color: #fff;
}

.blerje-workflow-print .workflow-step {
    flex: 1 1 7rem;
    min-width: 6rem;
}

.blerje-hapi-aktual {
    border-left: 4px solid #1f8a4c;
}

@media print {
    .blerje-workflow-print .workflow-step--active {
        border-width: 2px;
        font-weight: 600;
    }

    .blerje-hapat-table .table-primary {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}

.faza-numri {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 999px;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.faza-aktuale .faza-numri {
    background: #1f8a4c;
    color: #fff;
}

.faza-perfunduar .faza-numri {
    background: #198754;
    color: #fff;
}

.faza-perfunduar .faza-numri {
    background: #198754;
    color: #fff;
}

.faza-emri {
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    min-height: 2.6rem;
}

.projekt-te-dhenat th,
.projekt-te-dhenat td {
    vertical-align: middle;
}

.projekt-form-header {
    background: #f8f9fa;
}

/* ---- App shell & sidebar (Worksuite style) ---- */

.app-shell {
    min-height: 100vh;
    background: #eef2f6;
    background-image:
        radial-gradient(at 0% 0%, rgba(37, 99, 235, 0.04) 0, transparent 50%),
        radial-gradient(at 100% 0%, rgba(6, 182, 212, 0.05) 0, transparent 45%);
}

.app-layout-row {
    display: flex;
    min-height: 100vh;
    position: relative;
}

.sidebar-panel {
    width: var(--sidebar-width);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    color: var(--sidebar-text);
    background-color: var(--sidebar-bg);
    background-image: linear-gradient(180deg, #1e293b 0%, #151c28 55%, #111827 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 4px 0 32px -12px rgba(15, 23, 42, 0.35);
    z-index: 1040;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4.25rem;
    padding: 0 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
}

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

.sidebar-brand-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, #22d3ee 0%, #2563eb 100%);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.35);
    flex-shrink: 0;
}

.sidebar-brand-logo {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    object-fit: contain;
    background: #fff;
    padding: 0.15rem;
    flex-shrink: 0;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.sidebar-brand-name {
    font-weight: 700;
    font-size: 1.05rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-close,
.sidebar-open {
    border: none;
    background: transparent;
    color: inherit;
    padding: 0.35rem;
    border-radius: 0.5rem;
    line-height: 0;
}

.sidebar-close {
    color: #94a3b8;
}

.sidebar-open {
    color: #475569;
}

.sidebar-nav {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 0.75rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.12) transparent;
}

.sidebar-nav::-webkit-scrollbar {
    width: 4px;
}

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

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.625rem 0.75rem;
    margin-bottom: 0.125rem;
    border-radius: 0.75rem;
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 600;
    position: relative;
    transition: background 0.2s, color 0.2s;
}

.sidebar-link--idle {
    color: #94a3b8;
}

.sidebar-link--idle:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #f1f5f9;
}

.sidebar-link--active {
    color: #fff;
    background: linear-gradient(90deg, rgba(6, 182, 212, 0.35) 0%, rgba(37, 99, 235, 0.22) 100%);
    box-shadow: inset 0 0 0 1px rgba(34, 211, 238, 0.25);
}

.sidebar-link--sub {
    padding: 0.5rem 0.625rem;
    font-weight: 500;
    border-radius: 0.5rem;
}

.sidebar-link-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    flex-shrink: 0;
    transition: background 0.2s, color 0.2s;
}

.sidebar-link-icon--idle {
    background: rgba(255, 255, 255, 0.04);
    color: #64748b;
}

.sidebar-link--idle:hover .sidebar-link-icon--idle {
    background: rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
}

.sidebar-link-icon--active {
    background: rgba(6, 182, 212, 0.28);
    color: #67e8f9;
}

.sidebar-link-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #3f6b52;
    flex-shrink: 0;
    margin-left: 0.35rem;
}

.sidebar-link-dot--active {
    background: #22d3ee;
    box-shadow: 0 0 8px rgba(34, 211, 238, 0.6);
}

.sidebar-link-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sidebar-link-glow {
    position: absolute;
    inset-block: 0.25rem;
    inset-inline-start: 0;
    width: 2px;
    border-radius: 999px;
    background: linear-gradient(180deg, #67e8f9 0%, #2563eb 100%);
    box-shadow: 0 0 12px rgba(34, 211, 238, 0.5);
}

.sidebar-nav-group {
    padding: 0.125rem 0;
}

.sidebar-nav-toggle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.625rem 0.75rem;
    margin-bottom: 0.125rem;
    border: none;
    border-radius: 0.75rem;
    background: transparent;
    color: #94a3b8;
    font-size: 0.8125rem;
    font-weight: 600;
    text-align: left;
    transition: background 0.2s, color 0.2s;
}

.sidebar-nav-toggle:hover,
.sidebar-nav-toggle.is-open {
    background: rgba(255, 255, 255, 0.04);
    color: #f1f5f9;
}

.sidebar-nav-toggle-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    color: #22d3ee;
    flex-shrink: 0;
    transition: background 0.2s;
}

.sidebar-nav-toggle.is-open .sidebar-nav-toggle-icon {
    background: rgba(6, 182, 212, 0.22);
    color: #67e8f9;
}

.sidebar-nav-toggle-label {
    flex: 1;
    min-width: 0;
}

.sidebar-nav-toggle-chevron {
    flex-shrink: 0;
    color: #475569;
    transition: transform 0.2s;
}

.sidebar-nav-toggle.is-open .sidebar-nav-toggle-chevron {
    transform: rotate(180deg);
    color: #94a3b8;
}

.sidebar-submenu {
    display: none;
    margin: 0.25rem 0 0.5rem 1.25rem;
    padding-left: 0.75rem;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-submenu.is-open {
    display: block;
}

.sidebar-nav-group--nested {
    margin: 0.15rem 0 0.35rem 0.5rem;
}

.sidebar-nav-toggle--sub {
    width: 100%;
    padding: 0.35rem 0.5rem;
    font-size: 0.82rem;
    color: #94a3b8;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.35rem;
}

.sidebar-submenu--nested {
    margin-left: 0.75rem;
    padding-left: 0.5rem;
}

.sidebar-footer {
    padding: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
}

.sidebar-user {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.5rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
}

.sidebar-user-avatar {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #22d3ee, #2563eb);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.78rem;
    flex-shrink: 0;
}

.sidebar-user-role {
    display: block;
    color: #64748b;
    font-size: 0.68rem;
    font-weight: 500;
}

.sidebar-theme-switch {
    display: flex;
    gap: 0.35rem;
    padding: 0.35rem;
    margin-bottom: 0.65rem;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 0.65rem;
}

.sidebar-theme-btn {
    flex: 1;
    border: none;
    background: transparent;
    color: #94a3b8;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.4rem 0.5rem;
    border-radius: 0.5rem;
    transition: background 0.15s, color 0.15s;
}

.sidebar-theme-btn.is-active {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.35), rgba(37, 99, 235, 0.3));
    color: #fff;
}

.sidebar-user-meta {
    min-width: 0;
}

.sidebar-user-name {
    display: block;
    color: #e2e8f0;
    font-size: 0.8rem;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sidebar-logout-btn {
    border: none;
    background: none;
    padding: 0;
    color: #f87171;
    font-size: 0.75rem;
    cursor: pointer;
}

.sidebar-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.55);
    z-index: 1035;
}

.app-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.app-topbar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    height: 4.25rem;
    padding: 0 1.25rem;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 1020;
}

.app-topbar-title {
    flex: 1;
    font-weight: 700;
    font-size: 1.1rem;
    color: #0f172a;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.app-topbar-user-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    padding: 0.25rem 0.65rem 0.25rem 0.3rem;
    background: #fff;
    color: #334155;
    font-size: 0.8125rem;
    font-weight: 500;
    text-decoration: none;
}

.app-topbar-user-pill:hover {
    background: #f8fafc;
    color: #0f172a;
}

.app-topbar-avatar {
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #22d3ee, #2563eb);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.68rem;
    font-weight: 700;
    flex-shrink: 0;
}

.app-topbar-user {
    font-size: 0.875rem;
    color: #64748b;
}

/* PWA install — topbar dropdown (admin) */
.pwa-install-topbar .pwa-install-topbar__trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-color: #cbd5e1;
    color: #334155;
}

.pwa-install-menu {
    min-width: 17rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 0;
}

.pwa-install-menu__body {
    padding: 0.85rem 1rem 0.75rem;
}

.pwa-install-menu__title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0f3d24;
}

.pwa-install-hint-sm {
    margin: 0 0 0.35rem;
    font-size: 0.75rem;
    line-height: 1.4;
    color: #64748b;
}

.app-topbar-logout {
    white-space: nowrap;
}

.notif-bell-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.1rem;
    padding: 0.25rem 0.45rem;
}

.notif-badge {
    position: absolute;
    top: -0.2rem;
    right: -0.25rem;
    min-width: 1.05rem;
    height: 1.05rem;
    padding: 0 0.28rem;
    border-radius: 999px;
    background: #1f8a4c;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 1.05rem;
    text-align: center;
}

.notif-menu {
    width: min(360px, calc(100vw - 1.5rem));
    padding: 0;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    overflow: hidden;
}

.notif-menu-header {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #eef2f7;
    background: #fff;
}

.notif-menu-header a {
    text-decoration: none;
}

.notif-list {
    max-height: 22rem;
    overflow-y: auto;
    background: #fff;
}

.notif-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid #f1f5f9;
}

.notif-item:hover {
    background: #f8fafc;
}

.notif-item--unread {
    background: #f0f7ff;
}

.notif-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    flex-shrink: 0;
    background: #e2e8f0 center / 0.9rem no-repeat;
}

.notif-icon--alarm {
    background-color: #fee2e2;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23dc2626'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126zM12 15.75h.007v.008H12v-.008z'/%3E%3C/svg%3E");
}

.notif-icon--afat {
    background-color: #dbeafe;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%232563eb'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M12 6v6h4.5m4.5 0a9 9 0 11-18 0 9 9 0 0118 0z'/%3E%3C/svg%3E");
}

.notif-icon--info {
    background-color: #e0e7ff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%234f46e5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19.5 14.25v-2.625a3.375 3.375 0 00-3.375-3.375h-1.5A1.125 1.125 0 0113.5 7.125v-1.5a3.375 3.375 0 00-3.375-3.375H8.25m0 12.75h7.5m-7.5 3H12M10.5 2.25H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 00-9-9z'/%3E%3C/svg%3E");
}

.notif-body {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.notif-title {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.3;
}

.notif-msg {
    font-size: 0.8rem;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notif-time {
    font-size: 0.75rem;
    color: #94a3b8;
}

.notif-menu-footer {
    border-top: 1px solid #eef2f7;
    background: #f8fafc;
}

.notif-footer-link {
    display: block;
    text-align: center;
    padding: 0.7rem 1rem;
    font-size: 0.85rem;
    text-decoration: none;
    color: #1f8a4c;
    font-weight: 500;
}

.notif-footer-link:hover {
    background: #f1f5f9;
}

.dash-deadline-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.dash-deadline-item:last-child {
    border-bottom: none;
}

.dash-deadline-meta {
    font-size: 0.8rem;
    color: #64748b;
}

.app-content {
    flex: 1;
    padding: 1.25rem 1.5rem 1.5rem;
}

.app-footer {
    padding: 0.75rem 1.5rem;
    text-align: center;
    font-size: 0.8rem;
    border-top: 1px solid #e2e8f0;
    background: rgba(255, 255, 255, 0.5);
}

@media (max-width: 991.98px) {
    .sidebar-panel {
        position: fixed;
        inset-block: 0;
        inset-inline-start: 0;
        transform: translateX(-100%);
        transition: transform 0.25s ease;
    }

    .sidebar-panel.is-mobile-open {
        transform: translateX(0);
    }

    .sidebar-backdrop.is-visible {
        display: block;
    }
}

/* Prania — pasqyra mujore */
.attendance-page .attendance-filters .form-label {
    font-size: 0.75rem;
    font-weight: 500;
}

.attendance-grid-card {
    overflow: hidden;
}

.attendance-legend {
    background: #f8fafc;
    padding: 1rem 1.25rem;
}

.attendance-legend-title {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #64748b;
    margin: 0;
}

.attendance-legend-items {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    font-size: 0.8rem;
    color: #475569;
}

.attendance-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.attendance-grid-scroll {
    overflow: auto;
    max-height: calc(100vh - 22rem);
}

.attendance-grid {
    min-width: max-content;
    border-collapse: separate;
    border-spacing: 0;
}

.attendance-grid-head th {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
    white-space: nowrap;
    vertical-align: bottom;
    padding: 0.55rem 0.35rem;
}

.attendance-grid-employee {
    position: sticky;
    left: 0;
    z-index: 2;
    min-width: 220px;
    background: #fff;
    border-right: 1px solid #e2e8f0;
    padding: 0.65rem 1rem !important;
}

.attendance-grid-total {
    position: sticky;
    right: 0;
    z-index: 2;
    min-width: 72px;
    text-align: center;
    background: #fff;
    border-left: 1px solid #e2e8f0;
    padding: 0.65rem 0.75rem !important;
    font-size: 0.85rem;
}

.attendance-grid-day-head {
    width: 2.1rem;
    min-width: 2.1rem;
    text-align: center;
    padding: 0.55rem 0.15rem !important;
}

.attendance-grid-day {
    text-align: center;
    vertical-align: middle;
    padding: 0.35rem 0.15rem !important;
    border-bottom: 1px solid #f1f5f9;
}

.attendance-employee-cell {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.attendance-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: #e0e7ff;
    color: #4338ca;
    font-size: 0.72rem;
    font-weight: 700;
    flex-shrink: 0;
}

.attendance-employee-name {
    font-weight: 600;
    font-size: 0.85rem;
    color: #0f172a;
}

.attendance-employee-role {
    font-size: 0.72rem;
    color: #64748b;
}

.attendance-day-link {
    display: inline-flex;
    text-decoration: none;
}

.attendance-day-link:hover {
    opacity: 0.8;
}

.attendance-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 0.45rem;
}

.attendance-icon svg {
    width: 0.95rem;
    height: 0.95rem;
}

.attendance-icon--empty {
    color: #cbd5e1;
    font-size: 0.8rem;
}

.attendance-icon--present {
    background: #d1fae5;
    color: #059669;
}

.attendance-icon--late {
    background: #eff6ff;
    color: #2563eb;
}

.attendance-icon--half_day {
    background: #e8f6ee;
    color: #166b3a;
}

.attendance-icon--absent {
    background: #f1f5f9;
    color: #94a3b8;
}

.attendance-icon--leave {
    background: #ffe4e6;
    color: #e11d48;
}

.attendance-icon--holiday {
    background: #fef3c7;
    color: #d97706;
}

.attendance-grid tbody tr:hover .attendance-grid-employee,
.attendance-grid tbody tr:hover .attendance-grid-total {
    background: #f8fafc;
}

.attendance-view-switcher {
    display: inline-flex;
    align-items: center;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    padding: 0.2rem;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.attendance-view-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
    color: #64748b;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

.attendance-view-btn svg {
    width: 1.1rem;
    height: 1.1rem;
}

.attendance-view-btn:hover:not(.is-disabled) {
    background: #f1f5f9;
    color: #1f8a4c;
}

.attendance-view-btn.is-active {
    background: #1f8a4c;
    color: #fff;
}

.attendance-view-btn.is-disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.attendance-legend-note {
    font-size: 0.8rem;
    color: #475569;
}

.attendance-grid-day-abbr {
    font-size: 0.62rem !important;
    letter-spacing: 0.02em;
}

.attendance-grid-day-sub {
    font-size: 0.68rem !important;
    font-weight: 600 !important;
    color: #94a3b8 !important;
    padding-top: 0 !important;
}

.attendance-hour-cell {
    display: inline-block;
    min-width: 2rem;
    padding: 0.15rem 0.2rem;
    font-size: 0.72rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: #1e293b;
    text-decoration: none;
    border-radius: 0.35rem;
}

.attendance-hour-cell:hover {
    background: #eff6ff;
}

.attendance-hour-cell--absent {
    color: #e11d48;
}

.attendance-hour-cell--empty {
    color: #cbd5e1;
}

.attendance-map-card {
    padding: 0;
}

.attendance-map-hint {
    background: #f0f9ff;
    color: #0369a1;
    font-size: 0.75rem;
    text-align: center;
    padding: 0.55rem 1rem;
    border-bottom: 1px solid #e0f2fe;
}

.attendance-map {
    height: 500px;
    width: 100%;
    background: #f1f5f9;
}

.attendance-map-empty {
    border-top: 1px solid #e2e8f0;
    padding: 1rem;
    text-align: center;
    font-size: 0.875rem;
    color: #64748b;
}

/* Këshillat agronomike */
.keshilla-card { transition: box-shadow 0.15s; }
.keshilla-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.keshilla-card-img { width: 100%; height: 160px; object-fit: cover; border-radius: 0.75rem 0.75rem 0 0; }
.keshilla-hero-img { max-height: 380px; object-fit: cover; }
.keshilla-content { line-height: 1.75; font-size: 0.95rem; }
.keshilla-editor { font-family: inherit; }

.keshilla-koment {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    margin-bottom: 0.75rem;
}
.keshilla-koment--fermer { background: #f0fdf4; border-left: 3px solid #22c55e; }
.keshilla-koment--admin  { background: #eff6ff; border-left: 3px solid #2563eb; }
.keshilla-koment--pergjigje { margin-left: 1.5rem; border-left: 3px solid #86efac; }
.keshilla-koment-header { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.35rem; }

.keshilla-info-dl dt { font-size: 0.8rem; color: #64748b; font-weight: 600; margin-top: 0.5rem; }
.keshilla-info-dl dd { margin-bottom: 0; }

/* Farmer portal */
.farmer-keshilla-page { max-width: 1100px; }

.keshilla-fermer-card {
    border-radius: 0.75rem;
    transition: box-shadow 0.15s, transform 0.15s;
    color: inherit;
    display: flex;
    flex-direction: column;
}
.keshilla-fermer-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.12); transform: translateY(-2px); color: inherit; }
.keshilla-fermer-card--urgent { border: 2px solid #fca5a5; }

.keshilla-fermer-img { width: 100%; height: 140px; object-fit: cover; border-radius: 0.75rem 0.75rem 0 0; }
.keshilla-fermer-placeholder {
    width: 100%; height: 100px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 0.75rem 0.75rem 0 0;
}

.kategoria-card { transition: box-shadow 0.15s; }
.kategoria-card:hover { box-shadow: 0 4px 14px rgba(0,0,0,0.1); }

/* Raportet e pushimit — print A4 landscape */
.raport-pushim-page .raport-pushim-print-header { display: none; }

@media print {
    .raport-pushim-page .raport-pushim-no-print,
    .raport-pushim-page .alert,
    .raport-pushim-page .raport-pushim-edit-col,
    .raport-pushim-page form.d-none {
        display: none !important;
    }

    .raport-pushim-page .sidebar-panel,
    .raport-pushim-page .topbar {
        display: none !important;
    }

    body:has(.raport-pushim-page) .sidebar-panel,
    body:has(.raport-pushim-page) .topbar {
        display: none !important;
    }

    .raport-pushim-page .raport-pushim-print-header {
        display: block !important;
        margin-bottom: 0.35rem;
    }

    .raport-pushim-page .raport-pushim-print,
    .raport-pushim-page .raport-pushim-footer {
        border: none !important;
        box-shadow: none !important;
        margin-bottom: 0.25rem !important;
    }

    .raport-pushim-page .table-responsive {
        overflow: visible !important;
    }

    .raport-pushim-page .raport-pushim-tabela,
    .raport-pushim-page .raport-evidence-tabela,
    .raport-pushim-page .raport-mjekesor-tabela {
        width: 100% !important;
        table-layout: fixed;
        border-collapse: collapse !important;
        white-space: normal !important;
    }

    .raport-pushim-page .raport-pushim-tabela {
        font-size: 8pt !important;
    }

    .raport-pushim-page .raport-evidence-tabela {
        font-size: 5.5pt !important;
    }

    .raport-pushim-page .raport-mjekesor-tabela {
        font-size: 6.5pt !important;
    }

    .raport-pushim-page .raport-pushim-tabela th,
    .raport-pushim-page .raport-pushim-tabela td,
    .raport-pushim-page .raport-evidence-tabela th,
    .raport-pushim-page .raport-evidence-tabela td,
    .raport-pushim-page .raport-mjekesor-tabela th,
    .raport-pushim-page .raport-mjekesor-tabela td {
        padding: 1px 2px !important;
        line-height: 1.1;
        overflow: hidden;
        word-break: break-word;
        min-width: 0 !important;
    }

    .raport-pushim-page .raport-pushim-tabela input {
        border: none !important;
        background: transparent !important;
        padding: 0 !important;
        font-size: inherit !important;
        box-shadow: none !important;
        -webkit-appearance: none;
        appearance: none;
    }

    .raport-pushim-page .raport-pushim-tabela thead,
    .raport-pushim-page .raport-evidence-tabela thead,
    .raport-pushim-page .raport-mjekesor-tabela thead {
        display: table-header-group;
    }

    .raport-pushim-page .raport-evidence-tabela tr,
    .raport-pushim-page .raport-mjekesor-tabela tr,
    .raport-pushim-page .raport-pushim-tabela tr {
        page-break-inside: avoid;
    }
}

/* Manuali i përdorimit */
.help-manual .help-section-title {
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.help-manual .help-toc-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
    counter-reset: help-toc;
}

.help-manual .help-toc-list li {
    counter-increment: help-toc;
    margin-bottom: 0.35rem;
}

.help-manual .help-toc-list li a {
    text-decoration: none;
    color: inherit;
}

.help-manual .help-toc-list li a:hover {
    color: var(--bs-primary, #1f8a4c);
}

.help-manual .help-toc-list li::before {
    content: counter(help-toc) ". ";
    color: #6c757d;
}

.help-manual .help-section {
    scroll-margin-top: 1rem;
}

.help-manual .help-tip {
    background: #f8f9fa;
    border-left: 3px solid #1f8a4c;
    padding: 0.65rem 0.85rem;
    border-radius: 0 0.35rem 0.35rem 0;
    font-size: 0.925rem;
}

.help-manual .help-shot {
    margin: 1rem 0 1.25rem;
    padding: 0;
}

.help-manual .help-shot img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.06);
    background: #fff;
}

.help-manual .help-shot--mobile img {
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
}

.help-manual .help-shot figcaption {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #6c757d;
    text-align: center;
}

.help-manual h6 {
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.help-manual h6:first-of-type {
    margin-top: 0.5rem;
}

.help-manual .help-section .card-body > p:last-child,
.help-manual .help-section .card-body > ul:last-child,
.help-manual .help-section .card-body > ol:last-child {
    margin-bottom: 0;
}

@media print {
    .help-manual .help-toc {
        display: none !important;
    }

    .help-manual .help-section {
        break-inside: avoid;
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }

    .help-manual .help-shot img {
        max-height: 9cm;
        width: auto;
        margin: 0 auto;
        box-shadow: none !important;
    }

    .help-manual .help-shot--mobile img {
        max-height: 12cm;
        max-width: 6cm;
    }
}

