:root {
    --btp-navy: #102a43;
    --btp-navy-2: #0b1f33;
    --btp-blue: #007fa3;
    --btp-orange: #008faa;
    --btp-orange-2: #45d4e7;
    --btp-white: #ffffff;
    --btp-bg: #f4f7fb;
    --btp-text: #1d2939;
    --btp-muted: #667085;
    --btp-border: #dbe4ee;
    --btp-shadow: 0 18px 50px rgba(16, 42, 67, 0.12);
}

.audit-table-enhanced .audit-table-head,
.audit-table-enhanced .audit-table-cell {
    font-size: 9px;
    line-height: 1.1;
    min-width: 74px;
    max-width: 90px;
    padding: 4px 6px;
    vertical-align: middle;
    white-space: nowrap;
}

.audit-table-enhanced .audit-table-head {
    background: #eef7fb;
    color: #16324f;
    font-size: 9px;
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
}

.audit-table-cell strong,
.audit-table-cell small {
    display: block;
    line-height: 1.1;
}

.audit-table-cell strong {
    font-size: 9px;
    color: #06182b;
}

.audit-table-cell small {
    margin-top: 2px;
    font-size: 9px;
    color: #5d6f86;
}

.audit-created {
    background: #ecfdf5;
    border-left: 3px solid #10b981;
}

.audit-updated {
    background: #fff7ed;
    border-left: 3px solid #f59e0b;
}

.audit-user {
    background: #eff6ff;
    border-left: 3px solid #0ea5e9;
}

.audit-table-enhanced tbody td {
    padding-top: 5px;
    padding-bottom: 5px;
    vertical-align: middle;
}

.audit-table-enhanced tbody tr {
    min-height: 42px;
}

.audit-table-enhanced th:last-child,
.audit-table-enhanced td:last-child {
    position: sticky;
    right: 0;
    z-index: 2;
}

.audit-table-enhanced th:last-child {
    background: #fff;
}

.audit-table-enhanced td:last-child {
    background: inherit;
}

.audit-table-enhanced td:last-child > div,
.audit-table-enhanced td:last-child > form {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: flex-end;
}

.audit-table-enhanced td:last-child a,
.audit-table-enhanced td:last-child button {
    height: 28px;
    min-height: 28px;
    min-width: 28px;
    padding: 4px;
    width: 28px;
}

.audit-table-enhanced .audit-actions-hidden {
    display: none !important;
}

.audit-table-summary {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    justify-content: flex-end;
    margin: 0 0 8px;
    min-height: 25px;
}

.audit-table-summary[hidden],
.audit-summary-chip[hidden] {
    display: none !important;
}

.audit-summary-chip {
    align-items: center;
    background: #f3f7fa;
    border: 1px solid #d7e5ee;
    border-radius: 999px;
    color: #40576a;
    display: inline-flex;
    font-size: 10px;
    font-weight: 500;
    gap: 3px;
    line-height: 1;
    padding: 6px 9px;
    white-space: nowrap;
}

.audit-summary-chip.created {
    background: #eaf8ef;
    border-color: #bfe8cd;
    color: #16703a;
}

.audit-summary-chip.updated {
    background: #fff0ef;
    border-color: #f5c7c2;
    color: #b42318;
}

.audit-summary-chip.user {
    background: #edf5ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
}

.audit-summary-value {
    font-weight: 500;
}

* {
    box-sizing: border-box;
}

html {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    margin: 0;
    max-width: 100%;
    overflow-x: hidden;
    color: var(--btp-text);
    background: var(--btp-bg);
    font-family: "Segoe UI", Arial, sans-serif;
    letter-spacing: 0;
    -webkit-font-smoothing: antialiased;
}

img,
svg,
video,
canvas {
    max-width: 100%;
}

input,
button,
select,
textarea {
    font: inherit;
    max-width: 100%;
}

a {
    text-decoration: none;
}

.site-navbar {
    padding: 14px 0;
    background: rgba(11, 31, 51, 0.94);
    backdrop-filter: blur(14px);
    box-shadow: 0 12px 28px rgba(11, 31, 51, 0.18);
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--btp-white) !important;
    font-weight: 800;
}

.brand-logo {
    display: block;
    width: auto;
    height: 48px;
    max-width: 220px;
    padding: 4px 8px;
    border-radius: 8px;
    background: var(--btp-white);
    object-fit: contain;
}

.brand-icon {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    color: var(--btp-navy);
    background: var(--btp-orange);
}

.site-navbar .nav-link {
    color: rgba(255, 255, 255, 0.82);
    font-weight: 600;
    font-size: 0.95rem;
}

.site-navbar .nav-link.active,
.site-navbar .nav-link:hover {
    color: var(--btp-orange);
}

.btn-admin-link,
.btn-site-primary,
.btn-site-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 8px;
    font-weight: 700;
}

.btn-admin-link {
    color: var(--btp-navy);
    background: var(--btp-orange);
    border: 0;
}

.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    direction: ltr;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
}

.language-switcher a {
    display: inline-grid;
    place-items: center;
    min-width: 36px;
    min-height: 30px;
    padding: 4px 8px;
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.78rem;
    font-weight: 850;
}

.language-switcher a:hover,
.language-switcher a.active {
    color: var(--btp-navy);
    background: var(--btp-orange);
}

.login-language .language-switcher,
.dashboard-language-switcher {
    border-color: var(--btp-border);
    background: #f8fafc;
}

.login-language .language-switcher a,
.dashboard-language-switcher a {
    color: var(--btp-navy);
}

.login-language .language-switcher a:hover,
.login-language .language-switcher a.active,
.dashboard-language-switcher a:hover,
.dashboard-language-switcher a.active {
    color: var(--btp-navy);
    background: var(--btp-orange);
}

.btn-site-primary {
    color: var(--btp-navy);
    background: var(--btp-orange);
    border: 1px solid var(--btp-orange);
    padding: 12px 18px;
}

.btn-site-primary:hover {
    color: var(--btp-navy);
    background: var(--btp-orange-2);
    border-color: var(--btp-orange-2);
}

.btn-site-outline {
    color: var(--btp-white);
    border: 1px solid rgba(255, 255, 255, 0.7);
    padding: 12px 18px;
}

.btn-site-outline:hover {
    color: var(--btp-navy);
    background: var(--btp-white);
}

.public-hero {
    position: relative;
    min-height: 88vh;
    overflow: hidden;
    color: var(--btp-white);
}

.hero-media,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-media {
    background-size: cover;
    background-position: center;
    transform: scale(1.03);
}

.hero-overlay {
    background: linear-gradient(90deg, rgba(11, 31, 51, 0.92), rgba(11, 31, 51, 0.72), rgba(242, 140, 40, 0.32));
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 95px;
}

.min-vh-75 {
    min-height: 75vh;
}

.public-hero h1 {
    max-width: 780px;
    font-size: clamp(2.7rem, 5vw, 5.4rem);
    font-weight: 900;
    line-height: 0.95;
}

.public-hero .lead {
    max-width: 640px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.2rem;
    margin: 22px 0 28px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-dashboard-preview {
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 22px;
    background: rgba(255, 255, 255, 0.13);
    box-shadow: var(--btp-shadow);
    backdrop-filter: blur(18px);
}

.preview-bar {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

.preview-bar span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--btp-orange);
}

.preview-metric {
    display: flex;
    align-items: end;
    gap: 14px;
}

.preview-metric strong {
    font-size: 4rem;
    line-height: 1;
}

.preview-metric span {
    color: rgba(255, 255, 255, 0.82);
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 24px 0;
}

.preview-grid div {
    height: 70px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.18);
}

.preview-progress {
    height: 10px;
    overflow: hidden;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.18);
}

.preview-progress span {
    display: block;
    height: 100%;
    background: var(--btp-orange);
}

.section-pad {
    padding: 86px 0;
}

.bg-soft {
    background: #eef4f9;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 42px;
    text-align: center;
}

.section-heading span,
.section-copy span {
    display: block;
    color: var(--btp-orange);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.section-heading h2,
.section-copy h2 {
    color: var(--btp-navy);
    font-weight: 850;
    line-height: 1.08;
}

.section-heading p,
.section-copy p {
    color: var(--btp-muted);
}

.feature-card,
.service-card,
.contact-panel,
.contact-form {
    height: 100%;
    border: 1px solid var(--btp-border);
    border-radius: 8px;
    padding: 28px;
    background: var(--btp-white);
    box-shadow: 0 12px 32px rgba(16, 42, 67, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover,
.service-card:hover,
.project-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--btp-shadow);
}

.feature-card i,
.service-card i {
    display: inline-grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 8px;
    color: var(--btp-navy);
    background: rgba(242, 140, 40, 0.18);
    font-size: 1.35rem;
    margin-bottom: 18px;
}

.feature-card h3,
.service-card h2 {
    color: var(--btp-navy);
    font-size: 1.25rem;
    font-weight: 800;
}

.feature-card p,
.service-card p {
    color: var(--btp-muted);
    margin-bottom: 0;
}

.image-stack {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--btp-shadow);
}

.image-stack img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.check-list {
    padding: 0;
    margin: 24px 0 0;
    list-style: none;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--btp-navy);
    font-weight: 650;
}

.check-list i {
    color: var(--btp-orange);
}

.page-hero {
    position: relative;
    min-height: 390px;
    display: flex;
    align-items: end;
    padding: 150px 0 70px;
    color: var(--btp-white);
    background-size: cover;
    background-position: center;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(11, 31, 51, 0.88), rgba(16, 42, 67, 0.62));
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 900;
}

.page-hero p {
    max-width: 640px;
    color: rgba(255, 255, 255, 0.84);
}

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

.about-grid div {
    border-radius: 8px;
    padding: 28px;
    background: var(--btp-navy);
    color: var(--btp-white);
}

.about-grid strong {
    display: block;
    color: var(--btp-orange);
    font-size: 1.55rem;
}

.about-grid span {
    color: rgba(255, 255, 255, 0.78);
}

.project-card {
    overflow: hidden;
    border-radius: 8px;
    background: var(--btp-white);
    box-shadow: 0 12px 32px rgba(16, 42, 67, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.project-card div {
    padding: 22px;
}

.project-card span {
    color: var(--btp-orange);
    font-weight: 800;
    font-size: 0.82rem;
    text-transform: uppercase;
}

.project-card h2 {
    color: var(--btp-navy);
    font-size: 1.25rem;
    font-weight: 800;
    margin: 8px 0 0;
}

.contact-panel {
    background: var(--btp-navy);
    color: var(--btp-white);
}

.contact-panel p {
    color: rgba(255, 255, 255, 0.74);
}

.contact-line {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 14px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-line i {
    color: var(--btp-orange);
}

.contact-form label,
.login-form label {
    color: var(--btp-navy);
    font-weight: 700;
}

.form-control {
    min-height: 46px;
    border-radius: 8px;
    border-color: var(--btp-border);
}

.form-control:focus {
    border-color: var(--btp-orange);
    box-shadow: 0 0 0 0.2rem rgba(242, 140, 40, 0.18);
}

.site-footer {
    padding: 34px 0;
    background: var(--btp-navy-2);
    color: var(--btp-white);
}

.site-footer p {
    margin: 6px 0 0;
    color: rgba(255, 255, 255, 0.7);
}

.site-footer a {
    color: rgba(255, 255, 255, 0.78);
    margin-left: 18px;
}

.site-footer a:hover {
    color: var(--btp-orange);
}

.admin-body {
    min-height: 100vh;
    background: #edf2f7;
}

.login-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    background:
        linear-gradient(135deg, rgba(11, 31, 51, 0.93), rgba(16, 42, 67, 0.78)),
        url("https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=1800&q=85") center / cover;
}

.login-card {
    width: min(980px, 100%);
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    overflow: hidden;
    border-radius: 8px;
    background: var(--btp-white);
    box-shadow: var(--btp-shadow);
}

.login-visual {
    position: relative;
    padding: 46px;
    color: var(--btp-white);
    background: linear-gradient(155deg, var(--btp-navy), var(--btp-blue));
    overflow: hidden;
}

.login-mark {
    display: grid;
    place-items: center;
    width: 66px;
    height: 66px;
    border-radius: 8px;
    color: var(--btp-navy);
    background: var(--btp-orange);
    font-size: 1.8rem;
    margin-bottom: 28px;
}

.login-brand-logo {
    position: relative;
    z-index: 2;
    display: block;
    width: min(340px, 100%);
    height: auto;
    padding: 12px 16px;
    border-radius: 8px;
    background: var(--btp-white);
    margin-bottom: 28px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
    object-fit: contain;
}

.login-visual h1 {
    font-weight: 900;
}

.login-visual p {
    position: relative;
    z-index: 2;
    color: rgba(255, 255, 255, 0.74);
}

.login-building-logo {
    position: absolute;
    left: 50%;
    bottom: 34px;
    z-index: 1;
    display: block;
    width: min(190px, 34%);
    height: auto;
    max-height: 150px;
    margin: 0;
    object-fit: contain;
    opacity: .34;
    transform: translateX(-50%);
    filter:
        drop-shadow(0 0 1px rgba(255, 255, 255, .55))
        drop-shadow(0 10px 18px rgba(35, 132, 214, .2))
        brightness(1.08)
        saturate(1.08);
    pointer-events: none;
}

.login-form {
    padding: 46px;
}

.login-form h2 {
    color: var(--btp-navy);
    font-weight: 850;
}

.btn-login {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    border-radius: 8px;
    color: var(--btp-navy);
    background: var(--btp-orange);
    font-weight: 800;
}

.admin-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 278px;
    padding: 20px 16px;
    overflow-y: auto;
    background: var(--btp-navy-2);
    color: var(--btp-white);
    z-index: 30;
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--btp-white);
    padding: 6px 6px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-brand:hover {
    color: var(--btp-white);
}

.admin-brand span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    color: var(--btp-navy);
    background: var(--btp-orange);
}

.admin-brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 8px;
    object-fit: contain;
    background: var(--btp-white);
}

.admin-nav {
    display: grid;
    gap: 8px;
    padding-top: 18px;
}

.admin-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 650;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.admin-nav a i {
    width: 22px;
    color: var(--btp-orange);
    text-align: center;
}

.admin-nav a.active,
.admin-nav a:hover {
    color: var(--btp-white);
    background: rgba(255, 255, 255, 0.11);
    transform: translateX(2px);
}

.admin-main {
    min-height: 100vh;
    margin-left: 278px;
    padding: 24px;
}

[dir="rtl"] body,
[dir="rtl"] input,
[dir="rtl"] textarea,
[dir="rtl"] select,
[dir="rtl"] table {
    direction: rtl;
}

[dir="rtl"] .site-navbar .navbar-nav {
    margin-left: 0 !important;
    margin-right: auto !important;
}

[dir="rtl"] .site-footer .text-md-end {
    text-align: left !important;
}

[dir="rtl"] .site-footer a {
    margin-left: 0;
    margin-right: 18px;
}

[dir="rtl"] .admin-sidebar {
    inset: 0 0 0 auto;
}

[dir="rtl"] .admin-main {
    margin-left: 0;
    margin-right: 278px;
}

[dir="rtl"] .admin-nav a:hover {
    transform: translateX(-2px);
}

[dir="rtl"] .admin-nav a i {
    text-align: center;
}

[dir="rtl"] .ms-auto {
    margin-left: 0 !important;
    margin-right: auto !important;
}

[dir="rtl"] .me-auto {
    margin-right: 0 !important;
    margin-left: auto !important;
}

.admin-topbar {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
    padding: 18px 20px;
    border: 1px solid var(--btp-border);
    border-radius: 8px;
    background: var(--btp-white);
    box-shadow: 0 10px 28px rgba(16, 42, 67, 0.07);
}

.admin-topbar h1 {
    margin: 0;
    color: var(--btp-navy);
    font-size: 1.55rem;
    font-weight: 850;
}

.admin-topbar p {
    margin: 2px 0 0;
    color: var(--btp-muted);
}

.sidebar-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 8px;
    color: var(--btp-navy);
    background: rgba(242, 140, 40, 0.18);
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 22px;
}

.kpi-card {
    min-height: 138px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 8px;
    padding: 18px;
    color: var(--btp-white);
    box-shadow: 0 14px 30px rgba(16, 42, 67, 0.13);
}

.kpi-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.18);
    font-size: 1.15rem;
}

.kpi-card span {
    display: block;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.83rem;
    font-weight: 700;
}

.kpi-card strong {
    display: block;
    margin-top: 3px;
    font-size: clamp(1.3rem, 1.8vw, 1.72rem);
    line-height: 1.08;
    font-weight: 900;
}

.tone-blue { background: linear-gradient(135deg, #1f5f99, #154a76); }
.tone-orange { background: linear-gradient(135deg, #f28c28, #c96a11); }
.tone-green { background: linear-gradient(135deg, #16a085, #0d7562); }
.tone-yellow { background: linear-gradient(135deg, #f6bd26, #b98305); }
.tone-red { background: linear-gradient(135deg, #e55353, #a92727); }
.tone-navy { background: linear-gradient(135deg, #102a43, #061526); }

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.dashboard-panel {
    min-width: 0;
    border: 1px solid var(--btp-border);
    border-radius: 8px;
    padding: 20px;
    background: var(--btp-white);
    box-shadow: 0 12px 28px rgba(16, 42, 67, 0.07);
}

.panel-wide {
    grid-column: span 2;
}

.panel-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.panel-title h2 {
    margin: 0;
    color: var(--btp-navy);
    font-size: 1.05rem;
    font-weight: 850;
}

.panel-title span {
    color: var(--btp-orange);
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
}

.chart-box {
    position: relative;
    width: 100%;
    height: 320px;
}

.dashboard-panel:not(.panel-wide) .chart-box {
    height: 300px;
}

.progress-list {
    display: grid;
    gap: 18px;
}

.progress-item strong {
    color: var(--btp-navy);
    font-size: 0.92rem;
}

.progress-item span {
    color: var(--btp-orange);
    font-weight: 850;
}

.progress-item small {
    display: block;
    color: var(--btp-muted);
    margin: 4px 0 8px;
}

.progress {
    height: 10px;
    background: #e7edf4;
    border-radius: 999px;
}

.progress-bar {
    border-radius: 999px;
    background: linear-gradient(90deg, var(--btp-orange), var(--btp-blue));
}

.admin-table {
    margin-bottom: 0;
}

.admin-table thead th {
    color: var(--btp-muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    border-bottom-color: var(--btp-border);
}

.admin-table tbody td {
    color: var(--btp-text);
    font-size: 0.92rem;
}

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

@media (max-width: 1100px) {
    .admin-sidebar {
        transform: translateX(-100%);
        transition: transform 0.2s ease;
    }

    [dir="rtl"] .admin-sidebar {
        transform: translateX(100%);
    }

    .admin-body.sidebar-open .admin-sidebar {
        transform: translateX(0);
    }

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

    [dir="rtl"] .admin-main {
        margin-right: 0;
    }

    .sidebar-toggle {
        display: inline-grid;
        place-items: center;
    }

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

    .panel-wide {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .site-navbar {
        background: var(--btp-navy-2);
    }

    .brand-logo {
        height: 42px;
        max-width: 174px;
    }

    .public-hero h1 {
        font-size: 2.8rem;
    }

    .hero-dashboard-preview {
        margin-top: 28px;
    }

    .section-pad {
        padding: 58px 0;
    }

    .about-grid,
    .login-card,
    .kpi-grid {
        grid-template-columns: 1fr;
    }

    .login-visual,
    .login-form {
        padding: 30px;
    }

    .admin-main {
        padding: 14px;
    }

    .admin-topbar {
        align-items: flex-start;
    }

    .admin-topbar .btn {
        padding: 8px 10px;
        font-size: 0.82rem;
    }

    .chart-box {
        height: 270px;
    }
}

/* Palette ERP commune aux cartes statistiques de toutes les pages admin. */
.erp-kpi-colored {
    --erp-kpi-accent: #0f766e;
    --erp-kpi-bg: #ecfdf5;
    background: var(--erp-kpi-bg) !important;
    border-color: color-mix(in srgb, var(--erp-kpi-accent) 30%, #ffffff) !important;
    border-left: 5px solid var(--erp-kpi-accent) !important;
    box-shadow: 0 10px 24px color-mix(in srgb, var(--erp-kpi-accent) 10%, transparent) !important;
}

.erp-kpi-tone-2 { --erp-kpi-accent: #c26401; --erp-kpi-bg: #fff7ed; }
.erp-kpi-tone-3 { --erp-kpi-accent: #1d5fbf; --erp-kpi-bg: #eff6ff; }
.erp-kpi-tone-4 { --erp-kpi-accent: #c72c41; --erp-kpi-bg: #fff1f2; }
.erp-kpi-tone-5 { --erp-kpi-accent: #087f8c; --erp-kpi-bg: #ecfeff; }

.erp-kpi-colored > span,
.erp-kpi-colored > small {
    color: var(--erp-kpi-accent) !important;
}

.list-bulk-form {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    flex-wrap: wrap;
}

.list-bulk-form .list-bulk-btn {
    min-width: 0;
    height: 28px;
    padding: 0 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}

.list-bulk-form .list-bulk-btn.active {
    color: #fff;
    background: #0891b2;
    border-color: #0891b2;
}

.list-bulk-form .list-bulk-count {
    min-width: 16px;
    font-size: 10px;
    font-weight: 800;
    color: #64748b;
    text-align: center;
}

.list-row-check,
.kh-bulk-check {
    width: 13px;
    height: 13px;
    margin: 0;
    cursor: pointer;
}

.list-select-cell,
.kh-bulk-cell,
.kh-bulk-head-cell {
    width: 30px;
    min-width: 30px;
    text-align: center;
    padding-left: 6px !important;
    padding-right: 6px !important;
}
