﻿:root {
    --fo-sidebar-width: 264px;
    --fo-sidebar-collapsed-width: 76px;
    --fo-topbar-height: 68px;
    --fo-navy-950: #071426;
    --fo-navy-900: #0a1b31;
    --fo-navy-800: #0f2a47;
    --fo-blue-700: #1f66d1;
    --fo-blue-600: #2f7eea;
    --fo-blue-100: #e8f1ff;
    --fo-cyan-500: #12b8db;
    --fo-cyan-100: #dcf8ff;
    --fo-slate-900: #111827;
    --fo-slate-700: #334155;
    --fo-slate-600: #64748b;
    --fo-slate-500: #7b8aa0;
    --fo-slate-100: #eef3f8;
    --fo-slate-050: #f7f9fc;
    --fo-white: #ffffff;
    --fo-success: #16a34a;
    --fo-warning: #d97706;
    --fo-danger: #dc2626;
    --fo-border: #dbe5f0;
    --fo-border-soft: #e8eef6;
    --fo-shadow-sm: 0 6px 16px rgba(15, 23, 42, .05);
    --fo-shadow-md: 0 14px 30px rgba(15, 23, 42, .08);
    --fo-radius-sm: 8px;
    --fo-radius: 8px;
    --fo-radius-lg: 8px;
    --fo-focus: 0 0 0 .2rem rgba(18, 184, 219, .22);
}

html {
    min-height: 100%;
}

body {
    min-height: 100vh;
    margin: 0;
    background: var(--fo-slate-050);
    color: var(--fo-slate-900);
    font-family: "Segoe UI", Tahoma, Arial, sans-serif;
    font-size: 15px;
}

body.fileora-body {
    background: var(--fo-slate-050);
}

a {
    color: var(--fo-blue-700);
}

a:hover {
    color: var(--fo-navy-800);
}

.fileora-app,
.fileora-layout {
    min-height: 100vh;
}

.fileora-layout {
    display: grid;
    grid-template-columns: var(--fo-sidebar-width) minmax(0, 1fr);
    transition: grid-template-columns .22s ease;
}

body.fileora-sidebar-collapsed .fileora-layout {
    grid-template-columns: var(--fo-sidebar-collapsed-width) minmax(0, 1fr);
}

.fileora-main {
    min-width: 0;
    padding: 18px 24px 30px;
}

.fileora-content {
    width: 100%;
    max-width: 1480px;
    margin: 0 auto;
}

.fileora-page,
.fileora-dashboard-page {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.fileora-page-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
}

.fileora-page-title {
    margin: 0;
    color: var(--fo-navy-950);
    font-size: 30px;
    font-weight: 760;
    letter-spacing: 0;
    line-height: 1.18;
}

.fileora-page-subtitle {
    margin-top: 7px;
    color: var(--fo-slate-600);
    font-size: 14px;
    line-height: 1.6;
}

.fileora-page-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.fileora-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    width: var(--fo-sidebar-width);
    overflow-y: auto;
    color: #dce9f8;
    background: linear-gradient(180deg, #071426 0%, #0a1b31 100%);
    border-inline-end: 1px solid rgba(255, 255, 255, .08);
    box-shadow: none;
    padding: 14px 10px;
    z-index: 1040;
    transition: width .22s ease, transform .22s ease;
}

.fileora-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 8px 14px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    min-height: 68px;
}

.fileora-logo-mark {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 42px;
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .18), transparent),
        linear-gradient(135deg, var(--fo-blue-600), var(--fo-cyan-500));
    color: #fff;
    font-weight: 800;
    letter-spacing: 0;
    box-shadow: none;
}

.fileora-logo-img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    flex: 0 0 42px;
}

.fileora-sidebar-brand-copy {
    min-width: 0;
    flex: 1 1 auto;
}

.fileora-logo-full {
    display: block;
    width: min(174px, 100%);
    height: 42px;
    object-fit: contain;
    object-position: left center;
    padding: 5px 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .96);
    box-shadow: none;
}

[dir="rtl"] .fileora-logo-full {
    object-position: right center;
}

.fileora-sidebar-title {
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1.1;
}

.fileora-sidebar-subtitle {
    margin-top: 4px;
    color: rgba(220, 233, 248, .72);
    font-size: 12px;
    line-height: 1.35;
}

.fileora-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding-bottom: 18px;
}

.fileora-nav-group-title {
    margin: 16px 10px 7px;
    color: rgba(220, 233, 248, .52);
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.fileora-nav-link {
    position: relative;
    min-height: 39px;
    display: flex !important;
    align-items: center;
    gap: 11px;
    padding: 9px 11px;
    border-radius: 8px;
    border: 1px solid transparent;
    color: rgba(240, 247, 255, .82) !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.25;
    transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}

.fileora-live-badge,
.fileora-topbar-notification b {
    min-width: 20px;
    height: 20px;
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    padding: 0 6px;
    background: #0ea5e9;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}

.fileora-live-badge {
    margin-inline-start: auto;
}

.fileora-live-badge[hidden],
.fileora-topbar-notification b[hidden] {
    display: none;
}

.fileora-nav-link i {
    width: 20px;
    min-width: 20px;
    color: rgba(160, 198, 236, .78);
    font-size: 17px;
    text-align: center;
}

.fileora-nav-link:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .08);
}

.fileora-nav-link:hover i,
.fileora-nav-link.active i {
    color: #8feaff;
}

.fileora-nav-link.active {
    color: #fff !important;
    background: rgba(18, 184, 219, .14);
    border-color: rgba(143, 234, 255, .2);
    box-shadow: inset 3px 0 0 var(--fo-cyan-500);
}

[dir="rtl"] .fileora-nav-link.active {
    box-shadow: inset -3px 0 0 var(--fo-cyan-500);
}

body.fileora-sidebar-collapsed .fileora-sidebar {
    width: var(--fo-sidebar-collapsed-width);
    padding-inline: 10px;
}

body.fileora-sidebar-collapsed .fileora-sidebar-brand {
    justify-content: center;
    padding-inline: 4px;
}

body.fileora-sidebar-collapsed .fileora-sidebar-brand-copy,
body.fileora-sidebar-collapsed .fileora-nav-link span {
    width: 0;
    opacity: 0;
    overflow: hidden;
    white-space: nowrap;
    pointer-events: none;
}

body.fileora-sidebar-collapsed .fileora-logo-mark {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
}

body.fileora-sidebar-collapsed .fileora-nav-group-title {
    height: 1px;
    margin: 15px 12px 8px;
    padding: 0;
    overflow: hidden;
    color: transparent;
    background: rgba(255, 255, 255, .13);
}

body.fileora-sidebar-collapsed .fileora-nav-link {
    justify-content: center;
    gap: 0;
    padding-inline: 10px;
}

body.fileora-sidebar-collapsed .fileora-nav-link i {
    margin: 0;
}

.fileora-topbar {
    min-height: var(--fo-topbar-height);
    margin-bottom: 18px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: #fff;
    border: 1px solid var(--fo-border);
    border-radius: 8px;
    box-shadow: var(--fo-shadow-sm);
}

.fileora-topbar-start {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
}

.fileora-sidebar-toggle {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--fo-border);
    border-radius: 8px;
    background: #fff;
    color: var(--fo-navy-900);
}

.fileora-topbar-kicker {
    color: var(--fo-cyan-500);
    font-size: 12px;
    font-weight: 750;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.fileora-topbar-title {
    margin-top: 2px;
    color: var(--fo-navy-950);
    font-size: 19px;
    font-weight: 760;
    line-height: 1.25;
}

.fileora-topbar-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.fileora-user-chip,
.fileora-topbar-notification,
.fileora-topbar .dropdown-toggle,
.fileora-logout-btn {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid var(--fo-border);
    border-radius: 8px;
    background: #fff;
    color: var(--fo-slate-700);
    font-size: 14px;
    font-weight: 650;
    text-decoration: none;
    box-shadow: none;
}

.fileora-topbar-notification {
    position: relative;
    width: 40px;
    justify-content: center;
    padding: 8px;
}

.fileora-topbar-notification b {
    position: absolute;
    top: -5px;
    right: -5px;
}

.fileora-logout-btn:hover,
.fileora-topbar .dropdown-toggle:hover {
    color: var(--fo-navy-900);
    background: var(--fo-slate-050);
}

.fileora-card,
.card {
    background: var(--fo-white);
    border: 1px solid var(--fo-border-soft) !important;
    border-radius: 8px !important;
    box-shadow: var(--fo-shadow-sm) !important;
}

.fileora-card {
    position: relative;
    overflow: hidden;
}

.fileora-card > * {
    position: relative;
    z-index: 1;
}

.fileora-bg-worker::after,
.fileora-bg-whatsapp::after,
.fileora-bg-files::after,
.fileora-bg-rate::after,
.fileora-bg-jobs::after,
.fileora-bg-completed::after,
.fileora-bg-pending::after,
.fileora-bg-failed::after,
.fileora-bg-sent::after,
.fileora-bg-delivered::after,
.fileora-bg-read::after,
.fileora-bg-failed-message::after {
    content: none !important;
    display: none !important;
}

.fileora-panel-card {
    padding: 18px;
}

.fileora-panel-header,
.card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.card-header {
    background: #fff !important;
    border-bottom: 1px solid var(--fo-border-soft) !important;
}

.fileora-panel-title {
    color: var(--fo-navy-950);
    font-size: 17px;
    font-weight: 760;
}

.fileora-panel-subtitle {
    margin-top: 3px;
    color: var(--fo-slate-600);
    font-size: 13px;
}

.fileora-panel-badge {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--fo-cyan-100);
    color: #0e7490;
    font-size: 12px;
    font-weight: 760;
}

.fileora-stat-card,
.fileora-mini-stat-card {
    min-height: 132px;
    padding: 18px;
}

.fileora-mini-stat-card {
    display: grid;
    align-content: start;
    gap: 7px;
    padding-inline-end: 18px;
}

.fileora-mini-stat-card .fileora-stat-icon {
    margin-bottom: 2px;
}

.fileora-stat-icon,
.fileora-empty-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: var(--fo-blue-100);
    color: var(--fo-blue-700);
    font-size: 19px;
}

.fileora-stat-icon .bi,
.fileora-empty-icon .bi {
    width: 24px;
    height: 24px;
    font-size: 21px;
}

.fileora-stat-label,
.fileora-mini-stat-title {
    color: var(--fo-slate-600);
    font-size: 13px;
    font-weight: 720;
}

.fileora-stat-value,
.fileora-mini-stat-value {
    margin-top: 4px;
    color: var(--fo-navy-950);
    font-size: 28px;
    font-weight: 780;
    line-height: 1.1;
}

.fileora-stat-foot,
.fileora-mini-stat-note {
    margin-top: 4px;
    color: var(--fo-slate-600);
    font-size: 13px;
    line-height: 1.45;
}

.fileora-stat-card-success .fileora-stat-icon {
    background: #e8f8ef;
    color: var(--fo-success);
}

.fileora-stat-card-warning .fileora-stat-icon {
    background: #fff4df;
    color: var(--fo-warning);
}

.fileora-stat-card-danger .fileora-stat-icon,
.fileora-mini-stat-danger .fileora-stat-icon {
    background: #feecec;
    color: var(--fo-danger);
}

.fileora-mini-stat-danger {
    border-color: #f8caca !important;
}

.fileora-chart-wrap {
    position: relative;
    min-height: 280px;
}

.fileora-chart-wrap-donut {
    min-height: 250px;
}

.fileora-btn-primary,
.btn-primary {
    border-color: var(--fo-blue-700) !important;
    background: linear-gradient(135deg, var(--fo-blue-700), var(--fo-cyan-500)) !important;
    color: #fff !important;
    border-radius: 8px;
    font-weight: 700;
    box-shadow: 0 10px 22px rgba(31, 102, 209, .18);
}

.fileora-btn-primary:hover,
.btn-primary:hover {
    filter: brightness(.97);
    color: #fff !important;
}

.fileora-btn-secondary,
.fileora-btn-outline,
.btn-outline-primary,
.btn-outline-secondary,
.btn-light {
    border: 1px solid var(--fo-border) !important;
    background: #fff !important;
    color: var(--fo-navy-900) !important;
    border-radius: 8px;
    font-weight: 650;
}

.fileora-btn-secondary:hover,
.fileora-btn-outline:hover,
.btn-outline-primary:hover,
.btn-outline-secondary:hover,
.btn-light:hover {
    background: var(--fo-slate-050) !important;
    color: var(--fo-navy-950) !important;
}

.btn,
.form-control,
.form-select,
.input-group-text,
.dropdown-menu,
.modal-content,
.alert,
.badge {
    border-radius: 8px;
}

.btn {
    font-weight: 650;
}

.fileora-form,
form.fileora-form {
    display: block;
}

.fileora-form .form-label,
.form-label {
    color: var(--fo-slate-700);
    font-size: 13px;
    font-weight: 700;
}

.form-control,
.form-select {
    border-color: var(--fo-border);
    color: var(--fo-slate-900);
    min-height: 40px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--fo-cyan-500);
    box-shadow: var(--fo-focus);
}

.fileora-table,
.table {
    margin-bottom: 0;
    color: var(--fo-slate-700);
}

.fileora-table thead th,
.table thead th {
    background: #f8fbff;
    color: var(--fo-slate-600);
    border-bottom: 1px solid var(--fo-border);
    font-size: 12px;
    font-weight: 760;
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.fileora-table tbody td,
.table tbody td {
    border-color: #edf2f7;
    vertical-align: middle;
}

.table-hover > tbody > tr:hover > * {
    background-color: #f8fbff;
}

.fileora-badge,
.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 23px;
    padding: 5px 9px;
    font-size: 12px;
    font-weight: 720;
    border-radius: 8px;
}

.fileora-badge.info {
    background: var(--fo-cyan-100);
    color: #0e7490;
}

.fileora-badge.success {
    background: #e8f8ef;
    color: #15803d;
}

.fileora-badge.warning {
    background: #fff4df;
    color: #a16207;
}

.fileora-badge.danger {
    background: #feecec;
    color: #b91c1c;
}

.fileora-modal .modal-content,
.modal-content {
    border: 1px solid var(--fo-border-soft);
    border-radius: 8px;
    box-shadow: var(--fo-shadow-md);
}

.modal-header,
.modal-footer {
    border-color: var(--fo-border-soft);
}

.fileora-activity-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fileora-activity-item {
    display: grid;
    grid-template-columns: 10px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: start;
    padding: 11px 0;
    border-bottom: 1px solid var(--fo-border-soft);
}

.fileora-activity-item:last-child {
    border-bottom: 0;
}

.fileora-activity-dot {
    width: 9px;
    height: 9px;
    margin-top: 7px;
    border-radius: 999px;
    background: var(--fo-cyan-500);
    box-shadow: 0 0 0 5px rgba(18, 184, 219, .13);
}

.fileora-activity-title {
    color: var(--fo-navy-900);
    font-weight: 720;
}

.fileora-activity-subtitle,
.fileora-activity-time {
    color: var(--fo-slate-600);
    font-size: 13px;
}

.fileora-activity-time {
    white-space: nowrap;
}

.fileora-empty-state {
    min-height: 175px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    padding: 28px;
    border: 1px dashed #ced9e7;
    border-radius: 8px;
    background: #fbfdff;
    color: var(--fo-slate-600);
    text-align: center;
}

.fileora-error-text {
    max-width: 360px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Compatibility for existing Razor classes that used dotted FILEORA names. */
.FILEORA\.page-title {
    margin: 0 0 6px;
    color: var(--fo-navy-950);
    font-size: 30px;
    font-weight: 760;
}

.FILEORA\.page-subtitle {
    color: var(--fo-slate-600);
    font-size: 14px;
}

.FILEORA\.section-title {
    color: var(--fo-navy-950);
    font-size: 22px;
    font-weight: 760;
    margin-bottom: 16px;
}

.FILEORA\.form-card {
    padding: 20px;
}

.FILEORA\.table {
    margin-bottom: 0;
}

.FILEORA\.btn-primary {
    border-color: var(--fo-blue-700) !important;
    background: linear-gradient(135deg, var(--fo-blue-700), var(--fo-cyan-500)) !important;
    color: #fff !important;
    border-radius: 8px;
    font-weight: 700;
}

.FILEORA\.btn-outline {
    border: 1px solid var(--fo-border) !important;
    background: #fff !important;
    color: var(--fo-navy-900) !important;
    border-radius: 8px;
    font-weight: 650;
}

.FILEORA\.badge,
[class*="FILEORA.badge-"] {
    display: inline-flex;
    align-items: center;
    min-height: 23px;
    padding: 5px 9px;
    border-radius: 8px;
    background: var(--fo-blue-100);
    color: var(--fo-blue-700);
    font-size: 12px;
    font-weight: 720;
}

[class*="FILEORA.badge-completed"],
[class*="FILEORA.badge-delivered"],
[class*="FILEORA.badge-success"] {
    background: #e8f8ef;
    color: #15803d;
}

[class*="FILEORA.badge-pending"],
[class*="FILEORA.badge-processing"],
[class*="FILEORA.badge-warning"] {
    background: #fff4df;
    color: #a16207;
}

[class*="FILEORA.badge-failed"],
[class*="FILEORA.badge-error"],
[class*="FILEORA.badge-deadletter"] {
    background: #feecec;
    color: #b91c1c;
}

.FILEORA\.error-text {
    max-width: 360px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--fo-slate-600);
}

.fileora-log-console {
    height: 650px;
    overflow: auto;
    padding: 18px;
    background: #071426;
    color: #dce9f8;
    font-family: Consolas, "Courier New", monospace;
    font-size: 13px;
    line-height: 1.6;
}

.fileora-log-row {
    margin-bottom: 7px;
}

.fileora-log-time {
    color: #8aa1bd;
}

.fileora-log-worker {
    color: #8feaff;
}

.fileora-log-details {
    color: #8aa1bd;
    margin-inline-start: 30px;
}

.fileora-embed {
    width: 100%;
    height: 780px;
    border: 0;
    border-radius: 8px;
    background: #fff;
}

.fileora-login-body {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    background:
        linear-gradient(140deg, rgba(7, 20, 38, .96), rgba(15, 42, 71, .92)),
        var(--fo-navy-950);
}

.fileora-login-shell {
    width: min(1040px, 100%);
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(340px, .72fr);
    background: #fff;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0, 0, 0, .22);
}

.fileora-login-brand {
    padding: 44px;
    color: #fff;
    background:
        linear-gradient(180deg, rgba(18, 184, 219, .14), transparent),
        linear-gradient(135deg, var(--fo-navy-950), var(--fo-navy-800));
}

.fileora-login-logo-wrap {
    width: min(360px, 100%);
    padding: 12px 14px;
    margin-bottom: 26px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 18px 36px rgba(0, 0, 0, .16);
}

.fileora-login-logo {
    display: block;
    width: 100%;
    height: auto;
}

.fileora-login-brand-name {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: .1em;
}

.fileora-login-brand-copy {
    margin-top: 18px;
    max-width: 420px;
    color: rgba(240, 247, 255, .78);
    line-height: 1.7;
}

.fileora-login-panel {
    padding: 42px;
}

.fileora-login-title {
    color: var(--fo-navy-950);
    font-size: 25px;
    font-weight: 780;
}

.fileora-login-subtitle {
    margin-top: 6px;
    color: var(--fo-slate-600);
}

.fileora-kiosk-page {
    width: min(980px, 100%);
    min-height: min(920px, calc(100vh - 48px));
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 18px;
}

.fileora-kiosk-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: #fff;
}

.fileora-kiosk-brand-logo {
    width: 92px;
    height: 54px;
    object-fit: contain;
    border-radius: 8px;
    background: rgba(255, 255, 255, .96);
    padding: 7px;
}

.fileora-kiosk-brand-name {
    font-size: 24px;
    font-weight: 850;
    letter-spacing: .08em;
}

.fileora-kiosk-brand-subtitle {
    color: rgba(240, 247, 255, .78);
    font-size: 14px;
}

.fileora-kiosk-workspace {
    display: flex;
    align-items: center;
    justify-content: center;
}

.fileora-kiosk-card {
    width: min(760px, 100%);
    padding: clamp(22px, 4vw, 38px);
    background: #fff;
    border: 1px solid rgba(220, 231, 245, .92);
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(8, 23, 45, .22);
}

.fileora-kiosk-entry-card {
    display: grid;
    gap: 20px;
}

.fileora-kiosk-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.fileora-kiosk-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 8px;
    background: linear-gradient(135deg, #0ea5e9, #0f766e);
    color: #fff;
    font-size: 28px;
}

.fileora-kiosk-title {
    margin: 0;
    color: var(--fo-navy-950);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 850;
}

.fileora-kiosk-subtitle {
    margin: 6px 0 0;
    color: var(--fo-slate-600);
    font-size: clamp(15px, 2vw, 18px);
}

.fileora-kiosk-success {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 58px;
    padding: 12px 16px;
    border: 1px solid rgba(20, 184, 166, .34);
    border-radius: 8px;
    background: #ecfdf5;
    color: #047857;
    font-size: 18px;
    font-weight: 750;
}

.fileora-kiosk-form {
    display: grid;
    gap: 16px;
}

.fileora-kiosk-label {
    color: var(--fo-slate-700);
    font-size: 16px;
    font-weight: 800;
}

.fileora-kiosk-input {
    min-height: clamp(74px, 10vh, 92px);
    border: 2px solid #cfe0f3;
    border-radius: 8px;
    font-size: clamp(32px, 6vw, 54px);
    font-weight: 850;
    text-align: center;
    letter-spacing: .04em;
    color: var(--fo-navy-950);
    background: #f8fbff;
}

.fileora-kiosk-input:focus {
    border-color: #06b6d4;
    box-shadow: 0 0 0 4px rgba(6, 182, 212, .18);
}

.fileora-keypad {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(10px, 2vw, 14px);
}

.fileora-keypad-key {
    min-height: clamp(70px, 11vh, 96px);
    border: 1px solid #d7e4f3;
    border-radius: 8px;
    background: #ffffff;
    color: var(--fo-navy-950);
    font-size: clamp(28px, 5vw, 44px);
    font-weight: 850;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .08);
    transition: transform .12s ease, background .12s ease, border-color .12s ease;
}

.fileora-keypad-key:hover,
.fileora-keypad-key:focus {
    background: #e8f7ff;
    border-color: #38bdf8;
}

.fileora-keypad-key:active {
    transform: translateY(1px) scale(.99);
}

.fileora-keypad-muted {
    background: #f1f5f9;
    color: var(--fo-slate-700);
}

.fileora-kiosk-optional {
    border: 1px solid var(--fo-border);
    border-radius: 8px;
    padding: 12px 14px;
    background: #fbfdff;
}

.fileora-kiosk-optional summary {
    cursor: pointer;
    color: var(--fo-slate-700);
    font-weight: 760;
}

.fileora-kiosk-consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    border: 1px solid #d9e5f3;
    border-radius: 8px;
    background: #f8fbff;
    color: var(--fo-slate-700);
    font-size: 17px;
    font-weight: 700;
}

.fileora-kiosk-consent .form-check-input {
    width: 24px;
    height: 24px;
    margin: 0;
    flex: 0 0 auto;
}

.fileora-kiosk-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
}

.fileora-kiosk-submit,
.fileora-kiosk-clear {
    min-height: 62px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 820;
}

[dir="rtl"] .fileora-sidebar {
    box-shadow: -10px 0 30px rgba(15, 23, 42, .12);
}

[dir="rtl"] .dropdown-menu-end {
    right: auto;
    left: 0;
}

[dir="rtl"] .fileora-activity-item {
    grid-template-columns: 10px minmax(0, 1fr) auto;
}

@media (max-width: 1100px) {
    .fileora-layout {
        display: block;
    }

    .fileora-sidebar {
        position: fixed;
        inset-block: 0;
        inset-inline-start: 0;
        transform: translateX(-104%);
        transition: transform .2s ease;
    }

    body.fileora-sidebar-collapsed .fileora-sidebar {
        width: var(--fo-sidebar-width);
        padding: 14px 10px;
    }

    body.fileora-sidebar-collapsed .fileora-sidebar-brand {
        justify-content: flex-start;
        padding: 8px 8px 14px;
    }

    body.fileora-sidebar-collapsed .fileora-sidebar-brand-copy,
    body.fileora-sidebar-collapsed .fileora-nav-link span {
        width: auto;
        opacity: 1;
        overflow: visible;
        pointer-events: auto;
    }

    body.fileora-sidebar-collapsed .fileora-nav-group-title {
        height: auto;
        margin: 18px 10px 7px;
        overflow: visible;
        color: rgba(220, 233, 248, .52);
        background: transparent;
    }

    body.fileora-sidebar-collapsed .fileora-nav-link {
        justify-content: flex-start;
        gap: 11px;
        padding: 9px 11px;
    }

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

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

    body.fileora-sidebar-open::before {
        content: "";
        position: fixed;
        inset: 0;
        z-index: 1030;
        background: rgba(7, 20, 38, .46);
        backdrop-filter: blur(2px);
    }

    .fileora-sidebar-toggle {
        display: inline-flex;
    }

    .fileora-main {
        padding: 16px;
    }
}

@media (max-width: 768px) {
    .fileora-topbar,
    .fileora-page-header,
    .fileora-panel-header,
    .card-header {
        align-items: stretch;
        flex-direction: column;
    }

    .fileora-topbar-actions,
    .fileora-page-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .fileora-page-actions .btn,
    .fileora-topbar-actions > * {
        width: 100%;
        justify-content: center;
    }

    .fileora-page-title {
        font-size: 25px;
    }

    .fileora-login-shell {
        grid-template-columns: 1fr;
    }

    .fileora-login-brand,
    .fileora-login-panel {
        padding: 28px;
    }

    .fileora-login-brand-copy {
        display: none;
    }

    .fileora-kiosk-page {
        min-height: auto;
        gap: 12px;
    }

    .fileora-kiosk-brand {
        align-items: center;
        justify-content: flex-start;
        padding-inline: 4px;
    }

    .fileora-kiosk-brand-logo {
        width: 74px;
        height: 46px;
    }

    .fileora-kiosk-header {
        align-items: flex-start;
    }

    .fileora-kiosk-actions {
        grid-template-columns: 1fr;
    }
}

