:root {
    --app-bg: #f4f7fb;
    --app-dark: #0f1f3d;
    --app-primary: #0d6efd;
    --app-warning: #ffc107;
    --app-text: #5f6b7a;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Cairo", Tahoma, sans-serif;
    background: var(--app-bg);
    color: #172033;
    max-width: 100%;
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

html {
    max-width: 100%;
    overflow-x: hidden;
}

img,
svg,
video,
canvas {
    display: block;
    max-width: 100%;
    height: auto;
}

header,
section,
footer,
nav,
.container,
.container-fluid {
    max-width: 100%;
}

.app-navbar {
    background: linear-gradient(135deg, #081529 0%, #15305e 100%);
    padding: 1rem 0;
}

.app-navbar .nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

.app-navbar .nav-link:hover,
.app-navbar .nav-link:focus {
    color: #fff;
}

.app-navbar .navbar-toggler-icon {
    filter: invert(1);
}

.marketing-nav {
    position: sticky;
    top: 0;
    z-index: 1025;
    backdrop-filter: blur(10px);
    box-shadow: 0 18px 40px rgba(8, 21, 41, 0.18);
}

.marketing-actions .btn {
    min-height: 42px;
}

.marketing-actions {
    align-items: center;
    flex-wrap: wrap;
}

.marketing-dropdown-menu {
    min-width: min(760px, calc(100vw - 2rem));
    padding: 1rem;
    border: 1px solid rgba(13, 110, 253, 0.08);
    border-radius: 22px;
    box-shadow: 0 18px 40px rgba(14, 31, 61, 0.14);
}

.marketing-menu-group + .marketing-menu-group {
    margin-top: 0.9rem;
    padding-top: 0.9rem;
    border-top: 1px solid #edf2f9;
}

.marketing-menu-label {
    display: block;
    color: var(--app-dark);
    font-size: 0.92rem;
    font-weight: 800;
    margin-bottom: 0.65rem;
}

.marketing-menu-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.marketing-menu-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 40px;
    padding: 0.55rem 0.9rem;
    border-radius: 14px;
    color: var(--app-dark);
    background: #f8fbff;
    border: 1px solid #e4eefb;
    font-weight: 700;
}

.marketing-menu-link:hover,
.marketing-menu-link:focus {
    color: var(--app-primary);
    background: #eef5ff;
}

.app-shell-nav {
    position: relative;
    z-index: 50;
    padding: 0.72rem 0;
    background:
        radial-gradient(circle at top right, rgba(92, 157, 255, 0.2), transparent 28%),
        linear-gradient(135deg, #081529 0%, #15305e 58%, #1d4f96 100%);
    box-shadow: 0 12px 28px rgba(8, 21, 41, 0.18);
    backdrop-filter: blur(12px);
}

.app-shell-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.app-shell-brand-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.app-shell-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: #fff;
    flex-shrink: 0;
}

.brand-mark-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.app-shell-brand strong,
.app-shell-user-chip strong,
.app-shell-user-card strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.app-shell-brand small,
.app-shell-user-chip small,
.app-shell-user-card small {
    display: block;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.78rem;
    overflow-wrap: anywhere;
}

.app-shell-brand-icon,
.app-shell-avatar {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.app-shell-avatar-sm {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: 0.9rem;
}

.app-shell-brand-icon {
    overflow: hidden;
    box-shadow: 0 16px 28px rgba(8, 21, 41, 0.22);
}

.app-shell-current-page {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0.42rem 0.8rem;
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-weight: 700;
    font-size: 0.88rem;
}

.app-shell-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.app-shell-user-chip,
.app-shell-user-card {
    display: flex;
    align-items: center;
    gap: 0.62rem;
    padding: 0.42rem 0.6rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
}

.app-shell-brand > span:last-child,
.app-shell-user-chip > div,
.app-shell-user-card > div {
    min-width: 0;
}

.app-shell-user-card {
    padding: 0.7rem 0.82rem;
    border-radius: 18px;
}

.app-shell-avatar {
    background: linear-gradient(135deg, #0d6efd, #7ab0ff);
    color: #fff;
    font-weight: 800;
}

.app-shell-menu {
    position: relative;
}

.app-shell-menu summary {
    list-style: none;
}

.app-shell-menu summary::-webkit-details-marker {
    display: none;
}

.app-shell-menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 38px;
    padding: 0.55rem 0.82rem;
    border-radius: 14px;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-weight: 800;
    font-size: 0.88rem;
    cursor: pointer;
    user-select: none;
}

.app-shell-menu[open] .app-shell-menu-toggle {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.24);
}

.app-shell-dropdown {
    position: absolute;
    top: calc(100% + 0.75rem);
    inset-inline-end: 0;
    width: min(880px, calc(100vw - 2rem));
    max-height: min(75vh, 720px);
    overflow: auto;
    padding: 1rem;
    border-radius: 26px;
    background: rgba(8, 21, 41, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 44px rgba(8, 21, 41, 0.28);
    backdrop-filter: blur(16px);
}

.app-shell-logout {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 38px;
    padding: 0.55rem 0.82rem;
    border-radius: 14px;
    color: #172033;
    background: linear-gradient(135deg, #ffc107, #ffd969);
    font-weight: 800;
    font-size: 0.88rem;
    box-shadow: 0 10px 20px rgba(255, 193, 7, 0.18);
}

.app-shell-groups {
    display: grid;
    gap: 0.8rem;
}

.app-nav-group {
    display: block;
    padding: 0.2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.app-nav-group:last-child {
    border-bottom: 0;
}

.app-nav-group summary {
    list-style: none;
}

.app-nav-group summary::-webkit-details-marker {
    display: none;
}

.app-nav-group-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.65rem 0;
    cursor: pointer;
    user-select: none;
}

.app-nav-group-label {
    min-width: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.95rem;
    font-weight: 700;
}

.app-nav-group-summary i {
    color: rgba(255, 255, 255, 0.68);
    transition: transform 0.2s ease;
}

.app-nav-group[open] .app-nav-group-summary i {
    transform: rotate(180deg);
}

.app-nav-pills {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    flex: 1;
    padding: 0.2rem 0 0.45rem;
}

.app-nav-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 42px;
    padding: 0.58rem 0.88rem;
    border-radius: 14px;
    color: rgba(255, 255, 255, 0.84);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-weight: 700;
    transition: 0.2s ease;
}

.app-nav-pill:hover,
.app-nav-pill:focus {
    color: #fff;
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.18);
}

.app-nav-pill.is-active {
    color: #172033;
    background: linear-gradient(135deg, #ffffff, #dbe9ff);
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 12px 24px rgba(8, 21, 41, 0.16);
}

.app-nav-pill i {
    font-size: 0.95rem;
}

.app-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    color: var(--app-text);
}

.app-breadcrumb-link,
.app-breadcrumb-current {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 38px;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    font-weight: 700;
}

.app-breadcrumb-link {
    color: var(--app-text);
    background: rgba(13, 110, 253, 0.08);
    border: 1px solid rgba(13, 110, 253, 0.12);
}

.app-breadcrumb-link:hover,
.app-breadcrumb-link:focus {
    color: var(--app-primary);
    background: rgba(13, 110, 253, 0.12);
}

.app-breadcrumb-current {
    color: #fff;
    background: linear-gradient(135deg, #0d6efd, #5c9dff);
    box-shadow: 0 12px 24px rgba(13, 110, 253, 0.18);
}

.app-breadcrumb-separator {
    color: #a0aec0;
    font-size: 0.85rem;
}

.hero-section {
    background: linear-gradient(135deg, #081529 0%, #1b3b72 100%);
    color: #fff;
    padding: 6rem 0 5rem;
}

.hero-badge {
    background: rgba(255, 193, 7, 0.16);
    color: #ffe08a;
    border: 1px solid rgba(255, 193, 7, 0.32);
    padding: 0.7rem 1rem;
}

.hero-panel {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 24px;
    padding: 1.25rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
}

.hero-panel-header {
    display: flex;
    gap: 0.45rem;
    margin-bottom: 1rem;
}

.hero-panel-header span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
}

.hero-panel-body {
    display: grid;
    gap: 1rem;
}

.hero-actions .btn {
    min-width: 170px;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    margin-top: 1.5rem;
}

.hero-metric-card {
    padding: 1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-metric-card strong {
    display: block;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 800;
}

.hero-metric-card span {
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.92rem;
}

.hero-floating-card {
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px dashed rgba(255, 255, 255, 0.26);
}

.hero-floating-card span {
    display: block;
    color: #ffe08a;
    margin-bottom: 0.35rem;
    font-size: 0.92rem;
}

.hero-floating-card strong {
    color: #fff;
    font-size: 1rem;
}

.panel-card,
.mini-card,
.stat-box,
.feature-card,
.timeline-card,
.cta-card {
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 12px 40px rgba(14, 31, 61, 0.08);
}

.panel-card {
    color: #16213d;
    padding: 1.25rem;
}

.panel-card small,
.mini-card small {
    display: block;
    color: var(--app-text);
    margin-bottom: 0.35rem;
}

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

.mini-card {
    color: #16213d;
    padding: 1rem;
}

.stats-section {
    margin-top: -2rem;
    padding-bottom: 2rem;
}

.trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.trust-strip span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.68rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(13, 110, 253, 0.08);
    color: var(--app-dark);
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(14, 31, 61, 0.06);
}

.stat-box {
    padding: 1.5rem 1rem;
    height: 100%;
}

.stat-value {
    color: var(--app-primary);
    font-size: 2rem;
    font-weight: 800;
}

.stat-label {
    color: var(--app-text);
    font-size: 0.95rem;
}

.section-space {
    padding: 5rem 0;
    content-visibility: auto;
    contain-intrinsic-size: 1px 900px;
}

.section-muted {
    background: #eef4fb;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 2.5rem;
}

.section-heading h2 {
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--app-dark);
    margin-bottom: 0.75rem;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(13, 110, 253, 0.08);
    color: var(--app-primary);
    font-size: 0.9rem;
    font-weight: 800;
    margin-bottom: 0.85rem;
}

.section-heading p {
    color: var(--app-text);
    font-size: 1.05rem;
    margin-bottom: 0;
}

.feature-card {
    padding: 1.75rem;
    height: 100%;
    border: 1px solid rgba(13, 110, 253, 0.08);
}

.feature-icon {
    width: 68px;
    height: 68px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--app-primary);
    background: rgba(13, 110, 253, 0.1);
}

.feature-card h3,
.compact-info-card h3,
.timeline-card h3,
.cta-card h3 {
    color: var(--app-dark);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.feature-card p,
.compact-info-card p,
.cta-card p {
    color: var(--app-text);
    margin-bottom: 0;
    line-height: 1.9;
}

.compact-info-card,
.checklist-card {
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 12px 40px rgba(14, 31, 61, 0.08);
    border: 1px solid rgba(13, 110, 253, 0.08);
}

.compact-info-card {
    padding: 1.35rem;
    height: 100%;
}

.compact-info-icon {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    margin-bottom: 0.9rem;
    font-size: 1.2rem;
    color: var(--app-primary);
    background: rgba(13, 110, 253, 0.1);
}

.checklist-card {
    padding: 1.2rem;
    display: grid;
    gap: 0.85rem;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 0.95rem 1rem;
    border-radius: 18px;
    background: #f8fbff;
    border: 1px solid #e4eefb;
}

.checklist-number {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, #0d6efd, #6aa7ff);
    color: #fff;
    font-weight: 800;
}

.checklist-item strong {
    display: block;
    color: var(--app-dark);
}

.timeline-card {
    padding: 2rem;
    height: 100%;
}

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

.process-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 18px;
    margin-bottom: 1rem;
    background: rgba(13, 110, 253, 0.1);
    color: var(--app-primary);
    font-weight: 800;
    font-size: 1.1rem;
}

.process-card p {
    color: var(--app-text);
    margin-bottom: 0;
    line-height: 1.9;
}

.timeline-card ul {
    margin: 0;
    padding-right: 1.25rem;
    color: var(--app-text);
    line-height: 2;
}

.database-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.database-list span {
    background: #fff;
    color: var(--app-dark);
    border: 1px solid rgba(15, 31, 61, 0.08);
    border-radius: 999px;
    padding: 0.6rem 1rem;
    font-weight: 600;
}

.cta-card {
    padding: 2rem;
}

.cta-card .btn + .btn {
    margin-top: 0.35rem;
}

.footer {
    background: var(--app-dark);
    color: rgba(255, 255, 255, 0.84);
}

.footer-links {
    display: flex;
    gap: 1.25rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.84);
}

.auth-body,
.dashboard-body {
    min-height: 100vh;
    background: linear-gradient(180deg, #f4f7fb 0%, #e9f0fb 100%);
}

.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 3rem 0;
    position: relative;
}

.auth-wrapper::before,
.auth-wrapper::after {
    content: "";
    position: absolute;
    inset: auto;
    border-radius: 50%;
    filter: blur(24px);
    opacity: 0.5;
    pointer-events: none;
}

.auth-wrapper::before {
    width: 280px;
    height: 280px;
    top: 60px;
    right: 8%;
    background: rgba(13, 110, 253, 0.14);
}

.auth-wrapper::after {
    width: 220px;
    height: 220px;
    bottom: 80px;
    left: 10%;
    background: rgba(92, 157, 255, 0.16);
}

.auth-layout {
    position: relative;
    z-index: 1;
}

.auth-card,
.auth-showcase {
    background: #fff;
    border-radius: 28px;
    box-shadow: 0 24px 60px rgba(14, 31, 61, 0.12);
    border: 1px solid rgba(13, 110, 253, 0.08);
}

.auth-card {
    padding: 2rem;
}

.auth-showcase {
    padding: 2.2rem;
    background:
        radial-gradient(circle at top right, rgba(92, 157, 255, 0.18), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
    height: 100%;
}

.auth-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--app-dark);
    font-size: 1.35rem;
    font-weight: 800;
}

.auth-brand-logo {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    box-shadow: 0 16px 28px rgba(11, 94, 215, 0.18);
    flex-shrink: 0;
}

.marketing-brand-logo {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    box-shadow: 0 14px 24px rgba(8, 21, 41, 0.18);
    flex-shrink: 0;
}

.brand-text {
    display: inline-flex;
    flex-direction: column;
    gap: 0.08rem;
    line-height: 1.15;
}

.brand-text small {
    font-size: 0.72rem;
    font-weight: 700;
    opacity: 0.78;
}

.auth-title {
    color: var(--app-dark);
    font-size: 2rem;
    font-weight: 800;
}

.auth-subtitle {
    color: var(--app-text);
    margin-bottom: 0;
}

.auth-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    background: rgba(13, 110, 253, 0.08);
    color: var(--app-primary);
    font-weight: 700;
    margin-bottom: 1rem;
}

.auth-form .form-control {
    border-radius: 16px;
    border-color: #d9e3f1;
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
    box-shadow: none;
}

.auth-form .form-control:focus {
    border-color: rgba(13, 110, 253, 0.35);
    box-shadow: 0 0 0 0.24rem rgba(13, 110, 253, 0.12);
}

.auth-form-note {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 1rem;
    color: var(--app-text);
    font-size: 0.95rem;
}

.auth-form-note i {
    color: var(--app-primary);
}

.auth-showcase h2 {
    color: var(--app-dark);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.auth-showcase p {
    color: var(--app-text);
    line-height: 1.9;
}

.auth-stat-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    margin: 1.5rem 0;
}

.auth-stat {
    background: #fff;
    border: 1px solid #e4eefb;
    border-radius: 20px;
    padding: 1rem;
}

.auth-stat strong {
    display: block;
    color: var(--app-dark);
    font-size: 1.35rem;
    font-weight: 800;
}

.auth-stat span {
    color: var(--app-text);
    font-size: 0.92rem;
}

.auth-feature-list {
    display: grid;
    gap: 0.85rem;
    margin-top: 1.5rem;
}

.auth-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1rem 1.05rem;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid #e4eefb;
    border-radius: 20px;
}

.auth-feature-item i {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(13, 110, 253, 0.1);
    color: var(--app-primary);
    flex-shrink: 0;
}

.auth-feature-item strong {
    display: block;
    color: var(--app-dark);
    margin-bottom: 0.25rem;
}

.auth-feature-item span {
    color: var(--app-text);
    line-height: 1.7;
}

.demo-box {
    background: #f8fbff;
    border: 1px dashed #bfd2f3;
    border-radius: 18px;
    padding: 1rem 1.1rem;
    color: var(--app-text);
    line-height: 1.9;
}

.demo-box span {
    color: var(--app-dark);
    font-weight: 700;
}

.demo-box strong {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--app-dark);
}

.dashboard-main {
    min-height: calc(100vh - 64px);
}

.dashboard-hero {
    background: #fff;
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: 0 14px 40px rgba(14, 31, 61, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.dashboard-hero h1 {
    color: var(--app-dark);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
}

.dashboard-hero p {
    color: var(--app-text);
    margin-bottom: 0;
}

.dashboard-user-card,
.dashboard-stat-card,
.dashboard-panel {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 14px 40px rgba(14, 31, 61, 0.08);
}

.dashboard-user-card {
    min-width: 220px;
    padding: 1.1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.dashboard-user-card small,
.dashboard-user-card span {
    color: var(--app-text);
}

.dashboard-user-card strong {
    color: var(--app-dark);
    font-size: 1.2rem;
}

.dashboard-hero-immersive {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.22), transparent 26%),
        linear-gradient(135deg, #081529 0%, #15305e 60%, #1f59a7 100%);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 56px rgba(8, 21, 41, 0.22);
}

.dashboard-hero-immersive::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    left: -60px;
    bottom: -90px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    filter: blur(18px);
    pointer-events: none;
}

.dashboard-hero-immersive h1,
.dashboard-hero-immersive p,
.dashboard-hero-immersive small,
.dashboard-hero-immersive span,
.dashboard-hero-immersive strong {
    color: inherit;
}

.dashboard-hero-copy,
.dashboard-hero-side {
    position: relative;
    z-index: 1;
}

.dashboard-hero-copy {
    max-width: 720px;
}

.dashboard-hero-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #ffd45d;
    font-size: 0.88rem;
    font-weight: 800;
    margin-bottom: 0.85rem;
}

.dashboard-hero-immersive p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.9;
}

.dashboard-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.15rem;
}

.dashboard-hero-actions .btn {
    min-height: 46px;
}

.dashboard-hero-side {
    display: grid;
    gap: 1rem;
    min-width: min(100%, 280px);
}

.dashboard-user-card-premium,
.dashboard-health-card {
    padding: 1.2rem 1.25rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    box-shadow: none;
}

.dashboard-user-card-premium strong,
.dashboard-health-card strong {
    font-size: 1.35rem;
    font-weight: 800;
}

.dashboard-user-card-premium small,
.dashboard-user-card-premium span,
.dashboard-health-card span,
.dashboard-health-card p {
    color: rgba(255, 255, 255, 0.78);
}

.dashboard-health-card p {
    margin: 0.45rem 0 0;
    line-height: 1.8;
}

.dashboard-user-card-premium span,
.dashboard-health-card p {
    overflow-wrap: anywhere;
}

.dashboard-kpi-card,
.dashboard-focus-card,
.dashboard-action-card {
    position: relative;
    background: #fff;
    border-radius: 24px;
    border: 1px solid rgba(13, 110, 253, 0.08);
    box-shadow: 0 14px 40px rgba(14, 31, 61, 0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.dashboard-kpi-card,
.dashboard-focus-card {
    padding: 1.35rem;
    height: 100%;
}

.dashboard-kpi-card:hover,
.dashboard-focus-card:hover,
.dashboard-action-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 44px rgba(14, 31, 61, 0.12);
    border-color: rgba(13, 110, 253, 0.16);
}

.dashboard-kpi-card {
    display: flex;
    align-items: flex-start;
    gap: 0.95rem;
}

.dashboard-kpi-icon,
.dashboard-focus-icon,
.dashboard-action-icon {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.dashboard-kpi-copy small {
    display: block;
    color: var(--app-text);
    margin-bottom: 0.35rem;
    font-weight: 700;
}

.dashboard-kpi-copy strong {
    display: block;
    color: var(--app-dark);
    font-size: 1.9rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0.4rem;
}

.dashboard-kpi-copy p {
    color: var(--app-text);
    line-height: 1.75;
    margin: 0;
}

.tone-primary .dashboard-kpi-icon,
.tone-primary .dashboard-focus-icon,
.tone-primary .dashboard-action-icon {
    background: rgba(13, 110, 253, 0.12);
    color: #0d6efd;
}

.tone-success .dashboard-kpi-icon,
.tone-success .dashboard-focus-icon,
.tone-success .dashboard-action-icon {
    background: rgba(25, 135, 84, 0.12);
    color: #198754;
}

.tone-warning .dashboard-kpi-icon,
.tone-warning .dashboard-focus-icon,
.tone-warning .dashboard-action-icon {
    background: rgba(255, 193, 7, 0.18);
    color: #9a6b00;
}

.tone-danger .dashboard-kpi-icon,
.tone-danger .dashboard-focus-icon,
.tone-danger .dashboard-action-icon {
    background: rgba(220, 53, 69, 0.12);
    color: #dc3545;
}

.tone-info .dashboard-kpi-icon,
.tone-info .dashboard-focus-icon,
.tone-info .dashboard-action-icon {
    background: rgba(13, 202, 240, 0.12);
    color: #0c8ca6;
}

.dashboard-focus-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.dashboard-focus-top strong {
    color: var(--app-dark);
    font-size: 1.9rem;
    font-weight: 800;
}

.dashboard-focus-card h3 {
    color: var(--app-dark);
    font-size: 1.08rem;
    margin-bottom: 0.45rem;
}

.dashboard-focus-card p {
    color: var(--app-text);
    line-height: 1.8;
    margin-bottom: 0.8rem;
}

.dashboard-focus-card a,
.dashboard-action-card strong {
    font-weight: 800;
}

.dashboard-focus-card a {
    color: var(--app-primary);
}

.dashboard-action-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    height: 100%;
    padding: 1.2rem;
    color: var(--app-dark);
}

.dashboard-action-card span:last-child {
    color: var(--app-text);
    line-height: 1.75;
}

.panel-heading-note {
    color: var(--app-text);
    font-size: 0.92rem;
    font-weight: 700;
}

.chart-wrapper-lg {
    min-height: 360px;
}

.dashboard-list-badges {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.dashboard-alert-list-item,
.dashboard-activity-item {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.dashboard-document-stack {
    display: grid;
    gap: 0.85rem;
}

.dashboard-document-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.05rem;
    background: #f8fbff;
    border: 1px solid #e4eefb;
    border-radius: 20px;
}

.dashboard-document-card h3 {
    font-size: 1rem;
    color: var(--app-dark);
    margin-bottom: 0.35rem;
}

.dashboard-document-card p {
    color: var(--app-text);
    margin-bottom: 0;
}

.alerts-category-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.alerts-category-pill {
    padding: 0.9rem 1rem;
    border-radius: 18px;
    background: #f8fbff;
    border: 1px solid #e4eefb;
    min-width: 180px;
}

.alerts-category-pill strong,
.alerts-category-pill span {
    display: block;
}

.alerts-category-pill strong {
    color: var(--app-dark);
    margin-bottom: 0.25rem;
}

.alerts-category-pill span {
    color: var(--app-text);
}

.alert-card-premium {
    border-width: 1px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.alert-card-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 44px rgba(14, 31, 61, 0.12);
}

.alert-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.alert-card-premium.tone-high,
.alert-card-premium.tone-danger {
    border-color: rgba(220, 53, 69, 0.18);
}

.alert-card-premium.tone-medium,
.alert-card-premium.tone-warning {
    border-color: rgba(255, 193, 7, 0.24);
}

.alert-card-premium.tone-low,
.alert-card-premium.tone-success {
    border-color: rgba(25, 135, 84, 0.18);
}

.alert-card-footer {
    margin-top: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
    color: var(--app-text);
    font-size: 0.92rem;
}

.alert-card-footer a {
    color: var(--app-primary);
    font-weight: 700;
}

.auth-wrapper-premium::before {
    width: 320px;
    height: 320px;
    top: 40px;
    right: 7%;
}

.auth-card-premium,
.auth-showcase-premium {
    overflow: hidden;
}

.auth-form-premium .form-label {
    color: var(--app-dark);
    font-weight: 700;
}

.auth-input-wrap {
    position: relative;
}

.auth-input-icon {
    position: absolute;
    top: 50%;
    inset-inline-start: 1rem;
    transform: translateY(-50%);
    color: #7b8aa0;
    z-index: 2;
}

.auth-form-premium .form-control {
    padding-inline-start: 2.95rem;
    padding-inline-end: 2.95rem;
}

.auth-password-toggle {
    position: absolute;
    top: 50%;
    inset-inline-end: 0.75rem;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #7b8aa0;
}

.auth-password-toggle:hover {
    background: rgba(13, 110, 253, 0.08);
    color: var(--app-primary);
}

.auth-showcase-premium {
    background:
        radial-gradient(circle at top right, rgba(92, 157, 255, 0.24), transparent 32%),
        linear-gradient(180deg, #ffffff 0%, #f3f8ff 100%);
}

.auth-stat-strip-premium .auth-stat strong {
    font-size: 1.15rem;
}

.auth-preview-stage {
    margin: 1.6rem 0;
    padding: 1rem;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid #dce8fb;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.auth-preview-stage img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 18px;
}

.dashboard-stat-card {
    padding: 1.15rem 1rem;
    height: 100%;
    border: 1px solid rgba(13, 110, 253, 0.06);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.dashboard-stat-card:hover,
.dashboard-user-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(14, 31, 61, 0.12);
    border-color: rgba(13, 110, 253, 0.14);
}

.dashboard-stat-card span {
    display: block;
    color: var(--app-text);
    margin-bottom: 0.35rem;
    font-size: 0.9rem;
}

.dashboard-stat-card strong {
    color: var(--app-primary);
    font-size: 1.6rem;
    font-weight: 800;
}

.dashboard-panel {
    padding: 1.5rem;
    border: 1px solid rgba(13, 110, 253, 0.06);
    content-visibility: auto;
    contain-intrinsic-size: 1px 460px;
}

.panel-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.panel-heading h2 {
    color: var(--app-dark);
    font-size: 1.3rem;
    font-weight: 800;
    margin: 0;
}

.panel-heading a {
    color: var(--app-primary);
    font-weight: 700;
}

.panel-heading .btn,
.panel-heading .table-actions a {
    min-height: 40px;
}

.dashboard-list-item {
    padding-right: 0;
    padding-left: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    border-color: #edf2f9;
}

.dashboard-list-item h3 {
    font-size: 1rem;
    color: var(--app-dark);
    margin-bottom: 0.35rem;
}

.dashboard-list-item p {
    color: var(--app-text);
    margin-bottom: 0;
}

.chart-wrapper {
    position: relative;
    min-height: 320px;
}

.quick-link-card {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 14px 40px rgba(14, 31, 61, 0.08);
    padding: 1.4rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--app-dark);
    height: 100%;
    border: 1px solid rgba(13, 110, 253, 0.06);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.quick-link-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(14, 31, 61, 0.12);
    border-color: rgba(13, 110, 253, 0.18);
}

.quick-link-card i {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: rgba(13, 110, 253, 0.1);
    color: var(--app-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.quick-link-card strong,
.quick-link-card span {
    display: block;
}

.quick-link-card span {
    color: var(--app-text);
    margin-top: 0.25rem;
}

.landing-hero {
    position: relative;
    overflow: hidden;
}

.landing-hero::before,
.landing-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(24px);
    pointer-events: none;
}

.landing-hero::before {
    width: 280px;
    height: 280px;
    top: 30px;
    right: -40px;
    background: rgba(255, 193, 7, 0.12);
}

.landing-hero::after {
    width: 320px;
    height: 320px;
    left: -80px;
    bottom: -80px;
    background: rgba(92, 157, 255, 0.16);
}

.landing-hero-title {
    font-size: clamp(2.2rem, 4vw, 3.65rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.landing-hero-text {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.08rem;
    line-height: 2;
    margin-bottom: 0;
}

.landing-preview-card {
    position: relative;
    padding: 1.3rem;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(12px);
}

.landing-preview-top {
    display: flex;
    gap: 0.45rem;
    margin-bottom: 1rem;
}

.landing-preview-top span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
}

.landing-preview-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr);
    gap: 1rem;
}

.landing-preview-main,
.landing-preview-stat {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 22px;
    padding: 1.1rem;
    color: var(--app-dark);
}

.landing-preview-main small,
.landing-preview-stat span {
    display: block;
    color: var(--app-text);
    margin-bottom: 0.35rem;
}

.landing-preview-main strong,
.landing-preview-stat strong {
    display: block;
    color: var(--app-dark);
    font-size: 1.25rem;
    font-weight: 800;
}

.landing-preview-main p {
    color: var(--app-text);
    margin: 0.65rem 0 0;
    line-height: 1.85;
}

.landing-preview-side {
    display: grid;
    gap: 0.85rem;
}

.landing-preview-note {
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: #fff;
    font-weight: 700;
}

.landing-preview-note i {
    color: #ffd45d;
}

.landing-trust {
    position: relative;
    z-index: 1;
}

.landing-solution-card,
.landing-benefit-card,
.faq-card,
.pricing-card,
.showcase-image-card {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 14px 40px rgba(14, 31, 61, 0.08);
    border: 1px solid rgba(13, 110, 253, 0.08);
    content-visibility: auto;
    contain-intrinsic-size: 1px 320px;
}

.landing-solution-card,
.landing-benefit-card,
.faq-card {
    padding: 1.6rem;
    height: 100%;
}

.landing-solution-icon,
.landing-benefit-icon {
    width: 62px;
    height: 62px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    margin-bottom: 1rem;
    font-size: 1.35rem;
    color: var(--app-primary);
    background: rgba(13, 110, 253, 0.1);
}

.landing-solution-card h3,
.landing-benefit-card h3,
.faq-card h3,
.pricing-card h3 {
    color: var(--app-dark);
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.7rem;
}

.landing-solution-card p,
.landing-benefit-card p,
.faq-card p {
    color: var(--app-text);
    margin-bottom: 0;
    line-height: 1.9;
}

.landing-feature-card,
.landing-module-card,
.landing-process-card {
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.landing-feature-card:hover,
.landing-module-card:hover,
.landing-process-card:hover,
.landing-solution-card:hover,
.landing-benefit-card:hover,
.pricing-card:hover,
.faq-card:hover,
.showcase-image-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 44px rgba(14, 31, 61, 0.12);
    border-color: rgba(13, 110, 253, 0.18);
}

.showcase-image-card {
    padding: 1rem;
    height: 100%;
}

.showcase-image-frame {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: linear-gradient(180deg, #f8fbff 0%, #edf4ff 100%);
    border: 1px solid #dfeafc;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
    aspect-ratio: 16 / 11;
    padding: 0.85rem;
}

.showcase-image-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.showcase-image-copy {
    padding: 1rem 0.35rem 0.2rem;
}

.showcase-image-copy h3 {
    color: var(--app-dark);
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 0.55rem;
}

.showcase-image-copy p {
    color: var(--app-text);
    margin-bottom: 0;
    line-height: 1.85;
}

.pricing-card {
    padding: 1.55rem;
    height: 100%;
    position: relative;
}

.pricing-card.is-featured {
    background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
    border-color: rgba(13, 110, 253, 0.18);
    box-shadow: 0 24px 52px rgba(13, 110, 253, 0.14);
}

.pricing-card-head {
    margin-bottom: 1.2rem;
}

.pricing-badge {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(13, 110, 253, 0.08);
    color: var(--app-primary);
    font-size: 0.88rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
}

.pricing-card-head strong {
    display: block;
    color: var(--app-primary);
    font-size: 1.8rem;
    font-weight: 800;
}

.pricing-list {
    display: grid;
    gap: 0.85rem;
    margin-bottom: 1.3rem;
}

.pricing-item {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    color: var(--app-text);
    line-height: 1.8;
}

.pricing-item i {
    width: 22px;
    height: 22px;
    margin-top: 0.15rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(13, 110, 253, 0.1);
    color: var(--app-primary);
    font-size: 0.72rem;
    flex-shrink: 0;
}

.landing-final-cta {
    padding-top: 0;
}

.landing-final-card {
    padding: 2.4rem;
    border-radius: 32px;
    background: linear-gradient(135deg, #081529 0%, #15305e 58%, #1d4f96 100%);
    color: #fff;
    text-align: center;
    box-shadow: 0 26px 60px rgba(8, 21, 41, 0.2);
}

.landing-final-card h2 {
    max-width: 920px;
    margin: 0 auto 1rem;
    font-size: clamp(1.9rem, 3vw, 2.8rem);
    font-weight: 800;
}

.landing-final-card p {
    max-width: 760px;
    margin: 0 auto 1.5rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.95;
}

.employee-table thead th {
    color: var(--app-dark);
    background: #f6f9ff;
    border-bottom: 1px solid #e3ebf8;
    white-space: nowrap;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.employee-table tbody td {
    vertical-align: middle;
    border-color: #edf2f9;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.employee-table tbody tr {
    transition: background-color 0.18s ease, transform 0.18s ease;
}

.employee-table tbody tr:hover {
    background: #f8fbff;
}

.employee-form .form-control,
.employee-form .form-select {
    border-radius: 16px;
    border-color: #d9e3f1;
    min-height: 50px;
    box-shadow: none;
}

.btn {
    min-height: 42px;
    padding: 0.56rem 0.95rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.94rem;
    line-height: 1.25;
    transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.btn:hover,
.btn:focus {
    transform: translateY(-1px);
}

.btn-sm {
    min-height: 34px;
    padding: 0.38rem 0.72rem;
    border-radius: 10px;
    font-size: 0.82rem;
}

.btn-primary {
    box-shadow: 0 10px 20px rgba(13, 110, 253, 0.16);
}

.alert {
    border-radius: 18px;
    border-width: 1px;
    box-shadow: 0 12px 28px rgba(14, 31, 61, 0.06);
}

.alert-success {
    background: #f1fbf5;
    border-color: #cdeed7;
    color: #1d6b3f;
}

.alert-danger {
    background: #fff4f4;
    border-color: #f3d0d4;
    color: #9f2f3f;
}

.alert-info {
    background: #eef6ff;
    border-color: #cfe1ff;
    color: #234a82;
}

.app-textarea {
    min-height: 120px;
    border-radius: 16px;
    border-color: #d9e3f1;
}

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

.table-actions a,
.table-actions .btn,
.table-actions button {
    min-height: 34px;
    padding: 0.38rem 0.72rem;
    border-radius: 10px !important;
    font-size: 0.82rem;
}

.filter-panel {
    margin-bottom: 1.25rem;
    padding: 0.9rem;
    background: linear-gradient(180deg, #fafcff 0%, #f4f8ff 100%);
    border: 1px solid #e4eefb;
    border-radius: 18px;
}

.filter-panel-compact {
    margin-bottom: 0;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
}

.filter-panel-compact .form-label {
    color: rgba(255, 255, 255, 0.86);
}

.filter-panel-compact .form-control,
.filter-panel-compact .form-select {
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(255, 255, 255, 0.28);
}

.filter-panel .form-label {
    font-weight: 700;
    color: var(--app-dark);
}

.filter-panel .btn {
    min-height: 44px;
}

.filter-panel .btn-outline-secondary {
    background: #fff;
}

.filter-panel .d-flex.gap-2.flex-wrap {
    align-items: end;
}

.filter-panel .row {
    row-gap: 0.75rem;
}

.filter-panel .col-md-2.d-flex.align-items-end,
.filter-panel .col-md-3.d-flex.align-items-end,
.filter-panel .col-md-4.d-flex.align-items-end,
.filter-panel .col-md-6.d-flex.align-items-end {
    align-items: stretch !important;
}

.filter-panel .form-control,
.filter-panel .form-select,
.filter-panel .btn {
    width: 100%;
}

.filter-panel .form-control,
.filter-panel .form-select {
    min-height: 44px;
    border-radius: 12px;
    font-size: 0.92rem;
}

.dashboard-panel .table-responsive {
    border: 1px solid #edf2f9;
    border-radius: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    background: #fff;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.dashboard-panel .table-responsive > .table {
    min-width: 760px;
    margin-bottom: 0;
}

.table-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.table-toolbar-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 38px;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: #f8fbff;
    border: 1px solid #e4eefb;
    color: var(--app-dark);
    font-size: 0.92rem;
    font-weight: 700;
}

.table-toolbar-chip i {
    color: var(--app-primary);
}

.payroll-table {
    min-width: 1320px !important;
}

.payroll-breakdown {
    min-width: 170px;
    padding: 0.75rem 0.85rem;
    border: 1px solid #dfe9f7;
    border-radius: 16px;
    background: linear-gradient(180deg, #fbfdff 0%, #f5f9ff 100%);
}

.payroll-breakdown summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    list-style: none;
    cursor: pointer;
    font-weight: 800;
    color: var(--app-dark);
}

.payroll-breakdown summary::-webkit-details-marker {
    display: none;
}

.payroll-breakdown[open] summary {
    margin-bottom: 0.65rem;
    padding-bottom: 0.55rem;
    border-bottom: 1px dashed #d7e4fb;
}

.payroll-breakdown summary strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    background: #eaf3ff;
    color: #0d4fa6;
    font-size: 0.86rem;
}

.payroll-breakdown-line,
.payroll-breakdown-note {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.payroll-breakdown-line + .payroll-breakdown-line,
.payroll-breakdown-note + .payroll-breakdown-note,
.payroll-breakdown-line + .payroll-breakdown-note,
.payroll-breakdown-note + .payroll-breakdown-line {
    margin-top: 0.45rem;
}

.payroll-breakdown-line span,
.payroll-breakdown-note {
    color: #526173;
    font-size: 0.84rem;
}

.payroll-breakdown-line strong {
    color: var(--app-dark);
    font-size: 0.86rem;
}

.payroll-breakdown-note {
    padding-top: 0.42rem;
    border-top: 1px dotted #e4eefb;
    line-height: 1.7;
}

.mobile-id-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 32px;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    background: rgba(13, 110, 253, 0.1);
    color: var(--app-primary);
    font-weight: 800;
}

.soft-alert {
    border: 1px solid transparent;
    border-radius: 18px;
    padding: 1rem 1.1rem;
}

.soft-alert-info {
    background: #eef6ff;
    border-color: #cfe1ff;
    color: #234a82;
}

.password-tips {
    display: grid;
    gap: 1rem;
}

.tip-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1rem;
    border: 1px solid #edf2f9;
    border-radius: 18px;
    background: #f8fbff;
}

.tip-item i {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: var(--app-primary);
    background: rgba(13, 110, 253, 0.12);
    flex-shrink: 0;
}

.tip-item span {
    color: var(--app-text);
    line-height: 1.8;
}

.profile-hero {
    background: #fff;
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: 0 14px 40px rgba(14, 31, 61, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.profile-main {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.profile-avatar {
    width: 84px;
    height: 84px;
    border-radius: 22px;
    background: linear-gradient(135deg, #0d6efd, #5c9dff);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    flex-shrink: 0;
}

.profile-hero h1 {
    margin-bottom: 0.35rem;
    color: var(--app-dark);
    font-size: 2rem;
    font-weight: 800;
}

.profile-hero p {
    color: var(--app-text);
    margin-bottom: 0.75rem;
}

.profile-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

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

.info-item {
    background: #f8fbff;
    border: 1px solid #e4eefb;
    border-radius: 18px;
    padding: 1rem;
}

.info-item span {
    display: block;
    color: var(--app-text);
    margin-bottom: 0.4rem;
}

.info-item strong {
    color: var(--app-dark);
}

.document-card {
    background: #f8fbff;
    border: 1px solid #e4eefb;
    border-radius: 20px;
    padding: 1rem;
    height: 100%;
}

.document-type {
    display: inline-block;
    margin-bottom: 0.75rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(13, 110, 253, 0.1);
    color: var(--app-primary);
    font-weight: 700;
    font-size: 0.9rem;
}

.document-status {
    display: inline-block;
    margin-inline-start: 0.4rem;
    margin-bottom: 0.75rem;
}

.document-card h3 {
    color: var(--app-dark);
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
}

.document-card p,
.document-card small {
    color: var(--app-text);
    display: block;
    margin-bottom: 0.4rem;
}

.document-actions {
    margin-top: 0.85rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.document-actions form {
    margin: 0;
}

.document-actions form .btn {
    width: 100%;
}

.date-filter-form {
    min-width: min(100%, 320px);
}

.date-filter-form .form-control {
    min-width: 180px;
    border-radius: 16px;
    border-color: #d9e3f1;
}

.empty-state {
    background: #f8fbff;
    border: 1px dashed #bfd2f3;
    border-radius: 18px;
    padding: 1rem 1.25rem;
    color: var(--app-text);
}

.app-empty-state {
    background: linear-gradient(180deg, #fbfdff 0%, #f5f9ff 100%);
    border: 1px dashed #bfd2f3;
    border-radius: 22px;
    padding: 1.5rem;
    text-align: center;
    color: var(--app-text);
}

.app-empty-state-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: rgba(13, 110, 253, 0.12);
    color: var(--app-primary);
    font-size: 1.35rem;
}

.app-empty-state h3 {
    margin-bottom: 0.4rem;
    color: var(--app-dark);
    font-size: 1.15rem;
}

.app-empty-state p {
    max-width: 540px;
    margin: 0 auto 1rem;
    line-height: 1.8;
}

.form-page-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.8fr);
    gap: 1.5rem;
    align-items: start;
}

.form-shell {
    display: grid;
    gap: 1.5rem;
}

.form-sidebar {
    display: grid;
    gap: 1rem;
}

.form-sidebar-card {
    background: #fff;
    border: 1px solid #e4eefb;
    border-radius: 24px;
    padding: 1.35rem;
    box-shadow: 0 14px 40px rgba(14, 31, 61, 0.07);
}

.form-sidebar-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
    color: var(--app-dark);
}

.form-sidebar-card p {
    color: var(--app-text);
    margin-bottom: 0;
}

.form-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(13, 110, 253, 0.1);
    color: var(--app-primary);
    font-weight: 700;
    font-size: 0.92rem;
}

.form-sidebar-metric {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.9rem 0;
    border-bottom: 1px solid #edf2f9;
    color: var(--app-text);
}

.form-sidebar-metric:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.form-sidebar-metric strong {
    color: var(--app-dark);
    font-size: 1.05rem;
}

.form-tips-list {
    display: grid;
    gap: 0.85rem;
    margin-top: 1rem;
}

.form-tip {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.95rem 1rem;
    background: #f8fbff;
    border: 1px solid #e4eefb;
    border-radius: 18px;
}

.form-tip i {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(13, 110, 253, 0.12);
    color: var(--app-primary);
    flex-shrink: 0;
}

.form-tip strong {
    display: block;
    margin-bottom: 0.2rem;
    color: var(--app-dark);
}

.form-tip span {
    color: var(--app-text);
    line-height: 1.75;
}

.form-section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--app-dark);
}

.form-section-title i {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(13, 110, 253, 0.12);
    color: var(--app-primary);
}

.form-section-title h3 {
    margin: 0;
    font-size: 1.05rem;
}

.form-helper-note {
    margin-top: 0.45rem;
    color: var(--app-text);
    font-size: 0.92rem;
}

.form-actions {
    padding-top: 0.5rem;
    border-top: 1px solid #edf2f9;
}

@media (max-width: 991.98px) {
    .marketing-nav {
        position: relative;
        top: auto;
    }

    .app-navbar .container,
    .app-shell-nav .container {
        padding-inline: 1rem;
    }

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

    .auth-showcase {
        margin-top: 1rem;
    }

    .auth-stat-strip {
        grid-template-columns: 1fr;
    }

    .app-shell-main {
        align-items: stretch;
    }

    .app-shell-main,
    .app-nav-group-summary {
        flex-direction: column;
        align-items: stretch;
    }

    .app-shell-actions {
        width: 100%;
        justify-content: stretch;
    }

    .app-shell-user-chip,
    .app-shell-logout,
    .app-shell-current-page,
    .app-shell-menu-toggle {
        width: 100%;
        justify-content: center;
    }

    .app-shell-menu {
        position: static;
        width: 100%;
    }

    .app-shell-dropdown {
        position: static;
        inset: auto;
        top: auto;
        width: 100%;
        max-width: 100%;
        margin-top: 0.75rem;
        max-height: min(68vh, 560px);
    }

    .app-nav-group-label {
        min-width: auto;
    }

    .hero-section {
        padding-top: 4rem;
    }

    .landing-preview-grid {
        grid-template-columns: 1fr;
    }

    .marketing-actions {
        margin-top: 0.85rem;
        width: 100%;
    }

    .marketing-actions .btn,
    .marketing-actions .dropdown {
        width: 100%;
    }

    .marketing-dropdown-menu {
        position: static !important;
        inset: auto !important;
        transform: none !important;
        min-width: 100%;
        width: 100%;
        margin-top: 0.75rem;
        max-height: min(56vh, 460px);
        overflow: auto;
    }

    .marketing-menu-links {
        display: grid;
        grid-template-columns: 1fr;
    }

    .marketing-menu-link {
        width: 100%;
        justify-content: flex-start;
    }

    .section-heading {
        text-align: center !important;
    }

    .dashboard-hero {
        flex-direction: column;
        align-items: stretch;
    }

    .dashboard-hero-side {
        min-width: 100%;
    }

    .profile-hero {
        flex-direction: column;
        align-items: stretch;
    }

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

    .auth-stat-strip {
        grid-template-columns: 1fr;
    }

    .auth-showcase-premium {
        padding: 1.35rem;
    }

    .demo-box {
        padding: 0.95rem 1rem;
    }
}

@media (max-width: 767.98px) {
    .landing-hero-title {
        font-size: 2rem;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .app-navbar {
        padding: 0.8rem 0;
    }

    .app-navbar .container {
        gap: 0.75rem;
    }

    .app-navbar .navbar-brand {
        max-width: calc(100% - 64px);
        font-size: 1rem;
        line-height: 1.5;
        white-space: normal;
    }

    .app-navbar .navbar-toggler {
        width: 46px;
        height: 46px;
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.12) !important;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0;
    }

    .app-navbar .navbar-collapse {
        margin-top: 0.9rem;
        padding: 1rem;
        border-radius: 22px;
        background: rgba(8, 21, 41, 0.92);
        border: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 16px 36px rgba(8, 21, 41, 0.2);
        max-height: calc(100vh - 110px);
        overflow: auto;
    }

    .app-navbar .navbar-nav {
        gap: 0.2rem;
    }

    .app-navbar .nav-link {
        display: block;
        padding: 0.82rem 0.4rem;
        border-radius: 14px;
    }

    .app-navbar .nav-link:hover,
    .app-navbar .nav-link:focus {
        background: rgba(255, 255, 255, 0.08);
    }

    .auth-card,
    .auth-showcase {
        padding: 1.35rem;
    }

    .auth-title,
    .auth-showcase h2 {
        font-size: 1.6rem;
    }

    .auth-subtitle,
    .auth-showcase p {
        font-size: 0.97rem;
    }

    .app-nav-pills {
        display: grid;
        grid-template-columns: 1fr;
    }

    .app-nav-group-summary {
        flex-direction: row;
        align-items: center;
    }

    .app-nav-pill {
        width: 100%;
        justify-content: flex-start;
    }

    .app-shell-brand-wrap {
        flex-direction: column;
        align-items: stretch;
    }

    .app-shell-brand,
    .app-shell-user-chip {
        width: 100%;
    }

    .app-shell-dropdown {
        padding: 0.9rem;
        border-radius: 22px;
        max-height: calc(100vh - 180px);
    }

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

    .section-heading h2 {
        font-size: 1.8rem;
    }

    .marketing-menu-group + .marketing-menu-group {
        margin-top: 0.75rem;
        padding-top: 0.75rem;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .auth-card,
    .dashboard-panel,
    .dashboard-hero {
        padding: 1.25rem;
    }

    .panel-heading,
    .dashboard-list-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .panel-heading .table-actions,
    .dashboard-hero-actions,
    .filter-panel .d-flex.gap-2.flex-wrap {
        width: 100%;
    }

    .panel-heading .table-actions a,
    .panel-heading .table-actions .btn,
    .panel-heading .table-actions button {
        flex: 1 1 100%;
        width: 100%;
        justify-content: center;
    }

    .dashboard-kpi-card,
    .dashboard-document-card,
    .alert-card-head,
    .alert-card-footer {
        align-items: flex-start;
    }

    .quick-link-card {
        align-items: flex-start;
    }

    .dashboard-panel .table-responsive {
        border-radius: 18px;
    }

    .dashboard-panel .table-responsive > .table {
        min-width: 680px;
    }

    .dashboard-user-card-premium,
    .dashboard-health-card,
    .alerts-category-pill,
    .document-card,
    .alert-card-premium {
        border-radius: 20px;
    }

    .profile-actions {
        width: 100%;
    }

    .profile-actions .btn {
        flex: 1 1 100%;
        width: 100%;
    }

    .document-actions,
    .alert-card-footer {
        width: 100%;
    }

    .document-actions .btn,
    .document-actions a,
    .document-actions form,
    .alert-card-footer a {
        width: 100%;
    }

    .document-actions form {
        display: block;
    }

    .alerts-category-pill {
        min-width: 100%;
    }

    .filter-panel {
        padding: 1rem;
        border-radius: 20px;
    }

    .filter-panel .row > [class*="col-"] {
        width: 100%;
    }

    .filter-panel .btn,
    .filter-panel a.btn {
        width: 100%;
    }

    .filter-panel-compact .d-flex.gap-2.flex-wrap {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-panel-compact .d-flex.gap-2.flex-wrap .form-control,
    .filter-panel-compact .d-flex.gap-2.flex-wrap .form-select,
    .filter-panel-compact .d-flex.gap-2.flex-wrap .btn,
    .filter-panel-compact .d-flex.gap-2.flex-wrap a {
        width: 100%;
    }

    .landing-preview-card,
    .landing-solution-card,
    .landing-benefit-card,
    .pricing-card,
    .faq-card,
    .landing-final-card,
    .showcase-image-card {
        padding: 1.2rem;
        border-radius: 22px;
    }

    .showcase-image-frame {
        aspect-ratio: 4 / 3;
        padding: 0.7rem;
    }

    .landing-final-card h2 {
        font-size: 1.7rem;
    }

    .dashboard-hero-actions .btn {
        width: 100%;
    }

    .profile-main {
        flex-direction: column;
        align-items: flex-start;
    }

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

    .employee-form .row {
        row-gap: 0.9rem;
    }

    .employee-form .row > [class*="col-"] {
        width: 100%;
    }

    .form-helper-note {
        font-size: 0.9rem;
    }

    .form-sidebar {
        gap: 0.85rem;
    }
}

@media (max-width: 575.98px) {
    .landing-hero-title {
        font-size: 1.75rem;
    }

    .landing-hero-text {
        font-size: 1rem;
    }

    .dashboard-main {
        padding-top: 1.25rem !important;
        padding-bottom: 1.5rem !important;
    }

    .dashboard-panel,
    .dashboard-hero,
    .form-sidebar-card,
    .app-empty-state {
        padding: 1rem;
        border-radius: 18px;
    }

    .panel-heading h2,
    .form-section-title h3 {
        font-size: 1.05rem;
    }

    .employee-form .form-control,
    .employee-form .form-select,
    .filter-panel .btn {
        min-height: 48px;
    }

    .table-actions {
        width: 100%;
    }

    .table-actions a,
    .table-actions .btn,
    .table-actions button {
        flex: 1 1 100%;
        width: 100%;
        justify-content: center;
    }

    .form-page-grid {
        gap: 1rem;
    }

    .dashboard-hero-kicker {
        font-size: 0.82rem;
    }

    .app-navbar .container,
    .app-shell-nav .container {
        padding-inline: 0.85rem;
    }

    .app-navbar .navbar-brand {
        font-size: 0.96rem;
    }

    .app-navbar .navbar-collapse {
        padding: 0.85rem;
        border-radius: 18px;
    }

    .marketing-actions {
        gap: 0.6rem !important;
    }

    .marketing-actions .btn,
    .marketing-dropdown .btn {
        padding-inline: 0.85rem !important;
    }

    .marketing-dropdown-menu {
        padding: 0.85rem;
        border-radius: 18px;
        max-height: calc(100vh - 180px);
    }

    .marketing-menu-link {
        min-height: 42px;
        padding: 0.65rem 0.8rem;
        border-radius: 12px;
        font-size: 0.95rem;
    }

    .app-shell-nav {
        padding: 0.75rem 0;
    }

    .app-shell-brand {
        gap: 0.7rem;
    }

    .app-shell-brand-icon,
    .app-shell-avatar {
        width: 42px;
        height: 42px;
        border-radius: 14px;
    }

    .app-shell-avatar-sm {
        width: 34px;
        height: 34px;
        border-radius: 10px;
    }

    .app-shell-current-page,
    .app-shell-user-chip,
    .app-shell-menu-toggle,
    .app-shell-logout {
        min-height: 40px;
        padding: 0.62rem 0.8rem;
        border-radius: 14px;
    }

    .app-shell-dropdown {
        padding: 0.8rem;
        border-radius: 18px;
        max-height: calc(100vh - 150px);
    }

    .landing-preview-main,
    .landing-preview-stat {
        padding: 0.95rem;
        border-radius: 18px;
    }

    .showcase-image-frame {
        aspect-ratio: auto;
        min-height: 220px;
        padding: 0.6rem;
    }

    .pricing-card-head strong {
        font-size: 1.55rem;
    }

    .auth-card,
    .auth-showcase,
    .auth-showcase-premium {
        padding: 1rem;
        border-radius: 18px;
    }

    .auth-badge,
    .form-pill {
        font-size: 0.85rem;
        padding: 0.48rem 0.75rem;
    }

    .auth-stat {
        border-radius: 16px;
        padding: 0.9rem;
    }

    .auth-stat strong {
        font-size: 1.1rem;
    }

    .auth-feature-item,
    .form-tip,
    .form-sidebar-card,
    .demo-box {
        border-radius: 16px;
    }

    .auth-feature-item,
    .form-tip {
        padding: 0.9rem;
    }

    .auth-input-icon {
        inset-inline-start: 0.85rem;
    }

    .auth-password-toggle {
        inset-inline-end: 0.55rem;
    }

    .auth-form-premium .form-control {
        padding-inline-start: 2.7rem;
        padding-inline-end: 2.7rem;
    }

    .dashboard-user-card-premium,
    .dashboard-health-card {
        padding: 0.95rem 1rem;
    }

    .dashboard-user-card-premium strong,
    .dashboard-health-card strong {
        font-size: 1.15rem;
    }

    .profile-avatar {
        width: 68px;
        height: 68px;
        border-radius: 18px;
        font-size: 1.55rem;
    }

    .profile-hero h1 {
        font-size: 1.45rem;
    }

    .profile-hero p,
    .document-card small,
    .alert-card-footer,
    .alerts-category-pill span {
        font-size: 0.92rem;
    }

    .document-type {
        font-size: 0.82rem;
    }

    .dashboard-panel .table-responsive > .table {
        min-width: 620px;
    }

    .payroll-table {
        min-width: 100% !important;
    }

    .dashboard-panel .table-responsive > .table.responsive-stack-table {
        min-width: 100%;
    }

    .responsive-stack-table,
    .responsive-stack-table thead,
    .responsive-stack-table tbody,
    .responsive-stack-table tr,
    .responsive-stack-table th,
    .responsive-stack-table td {
        display: block;
        width: 100%;
    }

    .responsive-stack-table thead {
        display: none;
    }

    .responsive-stack-table tbody {
        display: grid;
        gap: 0.9rem;
    }

    .responsive-stack-table tbody tr {
        padding: 0.95rem;
        background: #fff;
        border: 1px solid #e4eefb;
        border-radius: 18px;
        box-shadow: 0 10px 24px rgba(14, 31, 61, 0.06);
    }

    .responsive-stack-table tbody td {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 0.85rem;
        padding: 0.55rem 0;
        border: 0;
        text-align: start;
    }

    .responsive-stack-table tbody td + td {
        border-top: 1px solid #edf2f9;
    }

    .responsive-stack-table tbody td::before {
        content: attr(data-label);
        color: var(--app-text);
        font-weight: 800;
        flex: 0 0 42%;
        max-width: 42%;
    }

    .responsive-stack-table tbody td > * {
        max-width: 58%;
    }

    .responsive-stack-table .payroll-breakdown,
    .responsive-stack-table td > details {
        max-width: 58%;
        width: 100%;
    }

    .responsive-stack-table .table-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .responsive-stack-table .table-actions .btn,
    .responsive-stack-table .table-actions button,
    .responsive-stack-table .table-actions a {
        flex: 1 1 auto;
    }

    .dashboard-kpi-card,
    .dashboard-focus-card,
    .dashboard-action-card,
    .dashboard-document-card,
    .alerts-category-pill,
    .auth-preview-stage {
        border-radius: 18px;
    }

    .app-nav-group-summary {
        padding: 0.55rem 0;
    }

    .app-nav-pill {
        min-height: 40px;
        padding: 0.58rem 0.75rem;
        border-radius: 12px;
        font-size: 0.94rem;
    }
}
