/* ==========================================================================
   Sistem Presensi Kelas — Creative Gradient
   Design tokens, layout, components, responsive, dark mode
   ========================================================================== */

:root {
    --font-sans: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

    --purple: #7c3aed;
    --purple-strong: #6d28d9;
    --blue: #2563eb;
    --blue-soft: #3b82f6;
    --cyan: #0ea5e9;
    --orange: #f97316;
    --amber: #f59e0b;
    --green: #10b981;
    --red: #ef4444;

    --bg: #f5f4fb;
    --bg-2: #eeecf9;
    --surface: #ffffff;
    --surface-2: #f8f7fd;
    --surface-3: #f1eefb;
    --text: #17132b;
    --text-soft: #3f3a5a;
    --muted: #77728f;
    --border: rgba(76, 29, 149, 0.10);
    --border-strong: rgba(76, 29, 149, 0.18);
    --topbar: rgba(255, 255, 255, 0.78);

    --green-ink: #047857;
    --amber-ink: #b45309;
    --blue-ink: #1d4ed8;
    --red-ink: #b91c1c;

    --sidebar-grad: linear-gradient(172deg, #1b1238 0%, #2b1a5e 45%, #12224f 100%);
    --grad-primary: linear-gradient(135deg, #7c3aed 0%, #5b4bdb 45%, #2563eb 100%);
    --grad-accent: linear-gradient(135deg, #f97316, #fb923c);
    --grad-green: linear-gradient(135deg, #10b981, #059669);
    --grad-danger: linear-gradient(135deg, #f43f5e, #dc2626);

    --shadow-sm: 0 2px 8px rgba(28, 20, 64, 0.05);
    --shadow-md: 0 14px 34px rgba(28, 20, 64, 0.08);
    --shadow-lg: 0 28px 70px rgba(28, 20, 64, 0.16);

    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 13px;

    --sidebar-width: 272px;
    --sidebar-collapsed: 88px;
    --topbar-height: 76px;
}

[data-theme="dark"] {
    --bg: #070a18;
    --bg-2: #0b1024;
    --surface: #0f1428;
    --surface-2: #131a34;
    --surface-3: #1a2140;
    --text: #f3f1ff;
    --text-soft: #d7d3f0;
    --muted: #a09bc2;
    --border: rgba(148, 133, 255, 0.14);
    --border-strong: rgba(148, 133, 255, 0.26);
    --topbar: rgba(9, 13, 30, 0.78);

    --green-ink: #6ee7b7;
    --amber-ink: #fbbf24;
    --blue-ink: #93c5fd;
    --red-ink: #fca5a5;

    --sidebar-grad: linear-gradient(172deg, #0a0e20 0%, #171239 45%, #0a1733 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
    --shadow-md: 0 18px 40px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.5);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font-sans);
    color: var(--text);
    background:
        radial-gradient(1100px 700px at 8% -12%, rgba(124, 58, 237, 0.12), transparent 60%),
        radial-gradient(900px 600px at 102% -5%, rgba(37, 99, 235, 0.10), transparent 55%),
        radial-gradient(800px 600px at 50% 120%, rgba(249, 115, 22, 0.07), transparent 60%),
        var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

[data-theme="dark"] body {
    background:
        radial-gradient(1100px 700px at 8% -12%, rgba(124, 58, 237, 0.24), transparent 60%),
        radial-gradient(900px 600px at 102% -5%, rgba(37, 99, 235, 0.20), transparent 55%),
        radial-gradient(800px 600px at 50% 120%, rgba(249, 115, 22, 0.10), transparent 60%),
        var(--bg);
}

h1, h2, h3, h4, p {
    margin: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

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

button {
    cursor: pointer;
}

img,
svg {
    display: block;
}

code {
    padding: 1px 6px;
    border-radius: 6px;
    background: var(--surface-3);
    color: var(--purple);
    font-size: 0.86em;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

[hidden] {
    display: none !important;
}

::selection {
    background: rgba(124, 58, 237, 0.22);
}

:focus-visible {
    outline: 3px solid rgba(124, 58, 237, 0.4);
    outline-offset: 2px;
}

.svg-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.icon {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: 0 0 auto;
}

/* ==========================================================================
   Sidebar
   ========================================================================== */

.sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 70;
    width: var(--sidebar-width);
    display: flex;
    flex-direction: column;
    padding: 20px 16px;
    color: #f3f0ff;
    background: var(--sidebar-grad);
    box-shadow: 18px 0 50px rgba(10, 6, 30, 0.22);
    overflow: hidden;
    transition: width 0.3s ease, transform 0.3s ease;
}

.sidebar::before,
.sidebar::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(4px);
}

.sidebar::before {
    width: 260px;
    height: 260px;
    top: -120px;
    right: -130px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.55), transparent 65%);
}

.sidebar::after {
    width: 220px;
    height: 220px;
    bottom: -110px;
    left: -90px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.28), transparent 65%);
}

.sidebar-brand {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 48px;
    margin-bottom: 26px;
    z-index: 1;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 15px;
    background: var(--grad-primary);
    box-shadow: 0 12px 26px rgba(76, 29, 149, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.28);
    flex: 0 0 auto;
}

.brand-mark .icon {
    width: 24px;
    height: 24px;
    color: #fff;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    white-space: nowrap;
    transition: opacity 0.2s ease;
}

.brand-text strong {
    font-size: 1.12rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.brand-text small {
    margin-top: 3px;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(243, 240, 255, 0.55);
}

.sidebar-collapse {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.75);
    transition: background 0.2s ease, color 0.2s ease, transform 0.3s ease;
}

.sidebar-collapse:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.sidebar-nav {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 2px;
}

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

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

.nav-label {
    padding: 4px 12px;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(243, 240, 255, 0.42);
    white-space: nowrap;
}

.nav-label-spaced {
    margin-top: 16px;
}

.nav-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 46px;
    padding: 11px 13px;
    border-radius: 13px;
    color: rgba(243, 240, 255, 0.68);
    font-size: 0.9rem;
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
}

.nav-item .icon {
    width: 21px;
    height: 21px;
}

.nav-item:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(2px);
}

.nav-item.active {
    color: #fff;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.98), rgba(37, 99, 235, 0.92));
    box-shadow: 0 12px 26px rgba(37, 99, 235, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.nav-item.active::before {
    content: '';
    position: absolute;
    left: -16px;
    top: 50%;
    width: 4px;
    height: 22px;
    border-radius: 0 4px 4px 0;
    background: #fb923c;
    transform: translateY(-50%);
    box-shadow: 0 0 14px rgba(249, 115, 22, 0.8);
}

.nav-count {
    margin-left: auto;
    min-width: 26px;
    padding: 2px 7px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.14);
    font-size: 0.7rem;
    font-weight: 800;
    text-align: center;
    color: rgba(255, 255, 255, 0.85);
}

.sidebar-foot {
    position: relative;
    z-index: 1;
    margin-top: auto;
    padding-top: 18px;
}

.sidebar-card {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
}

.sidebar-card strong {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
}

.sidebar-card small {
    display: block;
    margin-top: 2px;
    font-size: 0.69rem;
    color: rgba(243, 240, 255, 0.55);
    white-space: nowrap;
}

.status-dot {
    position: relative;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.16);
    flex: 0 0 auto;
}

.status-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid rgba(52, 211, 153, 0.45);
    animation: pulseRing 2.4s ease-out infinite;
}

/* Collapsed sidebar */
html.sidebar-collapsed .sidebar {
    width: var(--sidebar-collapsed);
}

html.sidebar-collapsed .brand-text,
html.sidebar-collapsed .nav-label,
html.sidebar-collapsed .nav-item > span,
html.sidebar-collapsed .sidebar-card > div,
html.sidebar-collapsed .sidebar-collapse {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

html.sidebar-collapsed .sidebar-brand {
    justify-content: center;
}

html.sidebar-collapsed .brand {
    gap: 0;
}

html.sidebar-collapsed .nav-item {
    justify-content: center;
    padding: 12px;
}

html.sidebar-collapsed .nav-item.active::before {
    left: -12px;
}

html.sidebar-collapsed .sidebar-card {
    justify-content: center;
    padding: 13px;
}

html.sidebar-collapsed .main-wrap {
    margin-left: var(--sidebar-collapsed);
}

/* ==========================================================================
   Main layout & topbar
   ========================================================================== */

.main-wrap {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin-left: var(--sidebar-width);
    transition: margin-left 0.3s ease;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: var(--topbar-height);
    padding: 12px 28px;
    border-bottom: 1px solid var(--border);
    background: var(--topbar);
    backdrop-filter: blur(18px) saturate(140%);
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.page-heading {
    min-width: 0;
}

.eyebrow {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
}

.page-heading h1 {
    margin-top: 2px;
    font-size: 1.32rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon-btn {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    color: var(--text-soft);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.icon-btn:hover {
    transform: translateY(-1px);
    border-color: var(--border-strong);
    background: var(--surface-2);
    color: var(--purple);
}

.icon-btn .icon {
    width: 19px;
    height: 19px;
}

.icon-btn-danger {
    width: 36px;
    height: 36px;
    border-color: transparent;
    background: rgba(239, 68, 68, 0.1);
    color: var(--red-ink);
    box-shadow: none;
}

.icon-btn-danger:hover {
    background: rgba(239, 68, 68, 0.18);
    color: var(--red-ink);
    border-color: rgba(239, 68, 68, 0.22);
}

.only-mobile {
    display: none;
}

.clock {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 13px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.clock .icon {
    width: 18px;
    height: 18px;
    color: var(--purple);
}

.clock-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.clock-text strong {
    font-size: 0.86rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.clock-text small {
    margin-top: 1px;
    font-size: 0.68rem;
    color: var(--muted);
    white-space: nowrap;
}

.notif-wrap {
    position: relative;
}

.notif-dot {
    position: absolute;
    top: 9px;
    right: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 0 3px var(--surface);
}

.popover {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 350px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--surface);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.985);
    transform-origin: top right;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 80;
    overflow: hidden;
}

.popover.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.popover-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.06), rgba(37, 99, 235, 0.05));
}

.popover-head strong {
    display: block;
    font-size: 0.92rem;
    font-weight: 800;
}

.popover-head small {
    display: block;
    margin-top: 3px;
    font-size: 0.72rem;
    color: var(--muted);
}

.mini-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 9px;
    border-radius: 99px;
    background: var(--surface-3);
    color: var(--purple);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.notif-list {
    max-height: 320px;
    overflow-y: auto;
}

.notif-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 12px 18px;
    border-bottom: 1px solid var(--border);
    transition: background 0.18s ease;
}

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

.notif-item:hover {
    background: var(--surface-2);
}

.notif-copy {
    min-width: 0;
    flex: 1;
}

.notif-copy strong {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notif-copy small {
    display: block;
    margin-top: 2px;
    font-size: 0.69rem;
    color: var(--muted);
    line-height: 1.4;
}

.notif-empty {
    padding: 26px 18px;
    text-align: center;
    color: var(--muted);
    font-size: 0.8rem;
}

.popover-foot {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 12px;
    border-top: 1px solid var(--border);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--purple);
    background: var(--surface-2);
    transition: background 0.2s ease;
}

.popover-foot:hover {
    background: var(--surface-3);
}

.popover-foot .icon {
    width: 15px;
    height: 15px;
}

.user-chip {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 4px 12px 4px 5px;
    border: 1px solid var(--border);
    border-radius: 99px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.user-chip-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.user-chip-text strong {
    font-size: 0.76rem;
    font-weight: 800;
}

.user-chip-text small {
    font-size: 0.64rem;
    color: var(--muted);
}

.avatar {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--grad-primary);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    flex: 0 0 auto;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.avatar-sm {
    width: 34px;
    height: 34px;
    font-size: 0.68rem;
}

.avatar-lg {
    width: 58px;
    height: 58px;
    font-size: 1rem;
}

.avatar-xl {
    width: 78px;
    height: 78px;
    font-size: 1.3rem;
}

.avatar-gradient {
    background: var(--grad-primary);
}

.main-content {
    flex: 1;
    width: 100%;
    max-width: 1480px;
    margin: 0 auto;
    padding: 28px;
}

.app-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 18px 28px 26px;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 600;
}

.footer-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--muted);
    opacity: 0.5;
}

.drawer-overlay {
    position: fixed;
    inset: 0;
    z-index: 65;
    background: rgba(7, 10, 24, 0.5);
    backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

/* ==========================================================================
   Sections & shared components
   ========================================================================== */

.section {
    display: none;
}

.section.active {
    display: block;
    animation: fadeUp 0.4s ease both;
}

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

.section-eyebrow {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--purple);
}

.section-title {
    margin-top: 4px;
    font-size: clamp(1.45rem, 2.5vw, 1.85rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.section-sub {
    max-width: 680px;
    margin-top: 6px;
    color: var(--muted);
    font-size: 0.87rem;
    line-height: 1.6;
}

.section-actions {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
}

.panel {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 20px 22px 0;
}

.panel-head-stacked {
    flex-direction: column;
    padding: 20px 22px 16px;
    border-bottom: 1px solid var(--border);
}

.panel-eyebrow {
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
}

.panel-head h3 {
    margin-top: 3px;
    font-size: 1.08rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.panel-tools {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.panel-body {
    padding: 18px 22px 22px;
}

.panel-body-table {
    padding: 0;
}

.split-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.split-grid + .split-grid,
.panel + .panel {
    margin-top: 18px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 17px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn .icon {
    width: 17px;
    height: 17px;
}

.btn:active {
    transform: translateY(1px) scale(0.99);
}

.btn-gradient {
    color: #fff;
    background: var(--grad-primary);
    box-shadow: 0 12px 26px rgba(91, 75, 219, 0.28);
}

.btn-gradient:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(91, 75, 219, 0.36);
}

.btn-ghost {
    color: var(--text-soft);
    background: var(--surface);
    border-color: var(--border-strong);
}

.btn-ghost:hover {
    color: var(--purple);
    border-color: rgba(124, 58, 237, 0.32);
    background: var(--surface-2);
    transform: translateY(-1px);
}

.btn-danger {
    color: #fff;
    background: var(--grad-danger);
    box-shadow: 0 12px 26px rgba(220, 38, 38, 0.26);
}

.btn-danger:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(220, 38, 38, 0.34);
}

.btn-loading {
    position: relative;
}

.btn-spinner {
    display: none;
    width: 17px;
    height: 17px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

.btn.is-loading .btn-content {
    opacity: 0.35;
}

.btn.is-loading .btn-spinner {
    display: block;
}

.btn.is-loading {
    pointer-events: none;
}

/* ==========================================================================
   Hero & statistics
   ========================================================================== */

.hero {
    position: relative;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 24px;
    min-height: 230px;
    padding: 34px;
    margin-bottom: 20px;
    border-radius: 28px;
    color: #fff;
    background:
        linear-gradient(115deg, rgba(27, 18, 56, 0.30), transparent 45%),
        linear-gradient(125deg, #4c1d95 0%, #6d28d9 36%, #2563eb 74%, #0ea5e9 100%);
    box-shadow: 0 26px 60px rgba(76, 29, 149, 0.28);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px);
    background-size: 22px 22px;
    opacity: 0.35;
    mask-image: linear-gradient(100deg, black, transparent 70%);
    -webkit-mask-image: linear-gradient(100deg, black, transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 26px;
    max-width: 760px;
}

.hero-greeting {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.greet-icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
    flex: 0 0 auto;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.greet-icon .icon {
    width: 28px;
    height: 28px;
    color: #fde68a;
}

.hero .eyebrow {
    color: rgba(255, 255, 255, 0.7);
}

.hero h2 {
    margin-top: 5px;
    max-width: 640px;
    font-size: clamp(1.55rem, 3vw, 2.2rem);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.035em;
}

.hero p:not(.eyebrow) {
    max-width: 620px;
    margin-top: 9px;
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
}

.hero-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
}

.meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(8px);
    font-size: 0.73rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
}

.meta-pill .icon {
    width: 15px;
    height: 15px;
    color: #fcd34d;
}

.hero .btn-gradient {
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: none;
    backdrop-filter: blur(8px);
}

.hero .btn-gradient:hover {
    background: rgba(255, 255, 255, 0.24);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.16);
}

.hero-visual {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
}

.orb-1 {
    width: 260px;
    height: 260px;
    right: -40px;
    top: -80px;
    background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.32), rgba(251, 146, 60, 0.28) 45%, transparent 68%);
    animation: floatSlow 9s ease-in-out infinite;
}

.orb-2 {
    width: 180px;
    height: 180px;
    right: 170px;
    bottom: -90px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.35), transparent 68%);
    animation: floatSlow 11s ease-in-out infinite reverse;
}

.orb-3 {
    width: 90px;
    height: 90px;
    right: 90px;
    bottom: 34px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(4px);
    animation: floatSlow 7s ease-in-out infinite;
}

.grid-stats {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 13px;
    margin-bottom: 20px;
}

.stat-card {
    position: relative;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.stat-card::after {
    content: '';
    position: absolute;
    top: -46px;
    right: -46px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.10), transparent 68%);
    pointer-events: none;
}

.stat-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-strong);
    box-shadow: var(--shadow-md);
}

.stat-primary::after {
    background: radial-gradient(circle, rgba(16, 185, 129, 0.16), transparent 68%);
}

.stat-danger::after {
    background: radial-gradient(circle, rgba(239, 68, 68, 0.13), transparent 68%);
}

.stat-head {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.stat-label {
    font-size: 0.71rem;
    font-weight: 700;
    color: var(--muted);
    letter-spacing: 0.01em;
}

.stat-value {
    margin-top: 7px;
    font-size: 1.9rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    font-variant-numeric: tabular-nums;
}

.stat-chip {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(124, 58, 237, 0.1);
    color: var(--purple);
    flex: 0 0 auto;
}

.stat-chip .icon {
    width: 18px;
    height: 18px;
}

.stat-chip-warning {
    background: rgba(245, 158, 11, 0.13);
    color: var(--amber-ink);
}

.stat-chip-info {
    background: rgba(14, 165, 233, 0.13);
    color: var(--blue-ink);
}

.stat-chip-danger {
    background: rgba(239, 68, 68, 0.12);
    color: var(--red-ink);
}

.stat-sub {
    position: relative;
    z-index: 1;
    margin-top: 10px;
    font-size: 0.7rem;
    color: var(--muted);
    line-height: 1.45;
}

.stat-foot {
    position: relative;
    z-index: 1;
    margin-top: 12px;
}

.progress {
    height: 6px;
    border-radius: 99px;
    background: var(--surface-3);
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    border-radius: inherit;
    background: var(--grad-green);
    transition: width 0.6s ease;
}

.stat-percent {
    display: block;
    margin-top: 7px;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--green-ink);
}

/* ==========================================================================
   Dashboard panels
   ========================================================================== */

.split-body {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 22px;
}

.today-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    align-content: start;
}

.today-tile {
    padding: 13px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface-2);
}

.today-tile:first-child {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.09), rgba(37, 99, 235, 0.07));
    border-color: rgba(124, 58, 237, 0.16);
}

.today-tile span {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--muted);
}

.today-tile strong {
    display: block;
    margin-top: 5px;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
}

.text-success { color: var(--green-ink); }
.text-warning { color: var(--amber-ink); }
.text-info { color: var(--blue-ink); }
.text-danger { color: var(--red-ink); }

.quick-list-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.quick-list-head h4 {
    font-size: 0.82rem;
    font-weight: 800;
}

.quick-list-head a {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--purple);
}

.quick-list-head a:hover {
    text-decoration: underline;
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 9px;
    border-radius: 13px;
    transition: background 0.18s ease;
}

.timeline-item:hover {
    background: var(--surface-2);
}

.timeline-copy {
    flex: 1;
    min-width: 0;
}

.timeline-copy > div {
    display: flex;
    align-items: baseline;
    gap: 5px;
    min-width: 0;
}

.timeline-copy strong {
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.timeline-copy span {
    font-size: 0.68rem;
    color: var(--muted);
    white-space: nowrap;
}

.timeline-copy small {
    display: block;
    margin-top: 2px;
    font-size: 0.67rem;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.empty-mini {
    padding: 20px 12px;
    text-align: center;
    color: var(--muted);
    font-size: 0.78rem;
}

.empty-mini a {
    display: inline-block;
    margin-top: 6px;
    color: var(--purple);
    font-weight: 700;
}

.empty-state-sm {
    padding: 18px 0;
    color: var(--muted);
    font-size: 0.8rem;
}

.bar-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bar-meta {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}

.bar-meta strong {
    display: block;
    font-size: 0.79rem;
    font-weight: 700;
}

.bar-meta small {
    display: block;
    margin-top: 2px;
    font-size: 0.66rem;
    color: var(--muted);
}

.bar-meta > span {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--purple);
    font-variant-numeric: tabular-nums;
}

.bar-track {
    height: 7px;
    border-radius: 99px;
    background: var(--surface-3);
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    border-radius: inherit;
    background: var(--grad-primary);
    transition: width 0.6s ease;
}

.bar-fill:nth-child(1) { background: var(--grad-primary); }

/* ==========================================================================
   Form
   ========================================================================== */

.panel-form .panel-body {
    padding-top: 18px;
}

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

.field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
}

.field-label {
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--text-soft);
    letter-spacing: 0.01em;
}

.field-control,
.search-input,
.select-sm select {
    width: 100%;
    min-height: 48px;
    padding: 0 38px 0 14px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    background: var(--surface-2);
    color: var(--text);
    font-size: 0.84rem;
    font-weight: 600;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    appearance: none;
    -webkit-appearance: none;
}

.field-control:hover,
.select-sm select:hover {
    border-color: rgba(124, 58, 237, 0.28);
}

.field-control:focus,
.search-input:focus,
.select-sm select:focus {
    outline: none;
    border-color: var(--purple);
    background: var(--surface);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.13);
}

.field-control:invalid {
    color: var(--muted);
}

.select-wrap {
    position: relative;
}

.select-caret {
    position: absolute;
    top: 50%;
    right: 14px;
    width: 16px;
    height: 16px;
    transform: translateY(-50%);
    color: var(--muted);
    pointer-events: none;
}

.status-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    min-height: 48px;
    align-items: center;
}

.status-option {
    position: relative;
    cursor: pointer;
}

.status-option input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.status-option .status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 14px;
    border: 1px solid transparent;
    border-radius: 99px;
    font-size: 0.74rem;
    font-weight: 800;
    opacity: 0.55;
    filter: saturate(0.5);
    transition: opacity 0.2s ease, filter 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.status-option:hover .status-pill {
    opacity: 0.85;
    filter: none;
}

.status-option input:checked + .status-pill {
    opacity: 1;
    filter: none;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(28, 20, 64, 0.12);
    border-color: currentColor;
}

.status-option input:focus-visible + .status-pill {
    outline: 3px solid rgba(124, 58, 237, 0.35);
    outline-offset: 2px;
}

.form-actions {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
    padding-top: 4px;
}

.preview-body {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.preview-card {
    position: relative;
    padding: 20px;
    border-radius: 20px;
    color: #fff;
    background:
        radial-gradient(220px 160px at 100% 0%, rgba(249, 115, 22, 0.34), transparent 60%),
        linear-gradient(145deg, #2e1065 0%, #4c1d95 45%, #1e3a8a 100%);
    box-shadow: 0 18px 40px rgba(46, 16, 101, 0.26);
    overflow: hidden;
}

.preview-card::after {
    content: '';
    position: absolute;
    width: 160px;
    height: 160px;
    right: -70px;
    bottom: -70px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.preview-head {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.preview-head .avatar {
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.preview-name {
    font-size: 0.95rem;
    font-weight: 800;
}

.preview-sub {
    margin-top: 2px;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.62);
}

.preview-head .status-pill {
    margin-left: auto;
}

.preview-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 16px;
}

.preview-tile {
    padding: 10px 11px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.07);
}

.preview-tile span {
    display: block;
    font-size: 0.64rem;
    color: rgba(255, 255, 255, 0.55);
}

.preview-tile strong {
    display: block;
    margin-top: 3px;
    font-size: 0.76rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
}

.preview-note {
    position: relative;
    z-index: 1;
    margin-top: 14px;
    font-size: 0.66rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.55);
}

.hint-card {
    padding: 16px;
    border: 1px dashed var(--border-strong);
    border-radius: 16px;
    background: var(--surface-2);
}

.hint-head {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 8px;
    color: var(--purple);
    font-size: 0.8rem;
}

.hint-head .icon {
    width: 17px;
    height: 17px;
}

.hint-list {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
    font-size: 0.72rem;
    line-height: 1.7;
}

/* ==========================================================================
   Recap / table & filters
   ========================================================================== */

.filter-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.search-group {
    position: relative;
    flex: 1 1 260px;
    min-width: 220px;
}

.search-icon {
    position: absolute;
    top: 50%;
    left: 14px;
    width: 18px;
    height: 18px;
    transform: translateY(-50%);
    color: var(--muted);
    pointer-events: none;
}

.search-input {
    padding-left: 42px;
    padding-right: 14px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.select-sm {
    min-width: 158px;
}

.select-sm select {
    min-height: 42px;
    padding-left: 12px;
    font-size: 0.76rem;
    font-weight: 600;
}

.filter-meta {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 600;
}

.filter-sep {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--muted);
    opacity: 0.5;
}

.table-wrap {
    width: 100%;
    overflow-x: auto;
}

.data-table {
    width: 100%;
    min-width: 860px;
    border-collapse: collapse;
}

.data-table th {
    padding: 13px 18px;
    border-bottom: 1px solid var(--border);
    background: var(--surface-2);
    color: var(--muted);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: left;
    white-space: nowrap;
}

.data-table th.th-actions {
    text-align: right;
}

.data-table td {
    padding: 13px 18px;
    border-bottom: 1px solid var(--border);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-soft);
    vertical-align: middle;
}

.data-table tbody tr {
    transition: background 0.18s ease;
}

.data-table tbody tr:hover {
    background: var(--surface-2);
}

.data-table tbody tr:last-child td {
    border-bottom: 0;
}

.td-num {
    width: 56px;
    color: var(--muted) !important;
    font-variant-numeric: tabular-nums;
}

.cell-user {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 190px;
}

.cell-user strong {
    display: block;
    font-size: 0.79rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
}

.cell-user small {
    display: block;
    margin-top: 2px;
    font-size: 0.68rem;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
}

.cell-time strong {
    display: block;
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--text);
    font-variant-numeric: tabular-nums;
}

.cell-time small {
    display: block;
    margin-top: 2px;
    font-size: 0.68rem;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
}

.td-actions {
    text-align: right;
}

.delete-form {
    display: inline-flex;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border: 1px solid transparent;
    border-radius: 99px;
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
}

.status-pill::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.status-hadir {
    color: var(--green-ink);
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.16);
}

.status-izin {
    color: var(--amber-ink);
    background: rgba(245, 158, 11, 0.13);
    border-color: rgba(245, 158, 11, 0.18);
}

.status-sakit {
    color: var(--blue-ink);
    background: rgba(14, 165, 233, 0.12);
    border-color: rgba(14, 165, 233, 0.16);
}

.status-alfa {
    color: var(--red-ink);
    background: rgba(239, 68, 68, 0.11);
    border-color: rgba(239, 68, 68, 0.16);
}

.table-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 14px 20px;
    border-top: 1px solid var(--border);
    background: var(--surface-2);
}

.page-info {
    font-size: 0.7rem;
    color: var(--muted);
    font-weight: 600;
}

.page-list {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

.page-btn {
    display: grid;
    place-items: center;
    min-width: 34px;
    height: 34px;
    padding: 0 9px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: var(--surface);
    color: var(--text-soft);
    font-size: 0.73rem;
    font-weight: 700;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.page-btn:hover:not(:disabled) {
    border-color: var(--border-strong);
    background: var(--surface-3);
    color: var(--purple);
    transform: translateY(-1px);
}

.page-btn.active {
    color: #fff;
    background: var(--grad-primary);
    border-color: transparent;
    box-shadow: 0 8px 18px rgba(91, 75, 219, 0.26);
}

.page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.page-ellipsis {
    padding: 0 3px;
    color: var(--muted);
    font-size: 0.75rem;
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 46px 24px;
    text-align: center;
}

.empty-icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin-bottom: 13px;
    border-radius: 18px;
    background: var(--surface-3);
    color: var(--purple);
}

.empty-icon .icon {
    width: 26px;
    height: 26px;
}

.empty-state h4,
.day-empty h4 {
    font-size: 0.95rem;
    font-weight: 800;
}

.empty-state p,
.day-empty p {
    max-width: 380px;
    margin-top: 5px;
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.55;
}

.empty-state .btn {
    margin-top: 15px;
}

.empty-row td {
    padding: 0 !important;
    border-bottom: 0 !important;
}

/* ==========================================================================
   Calendar
   ========================================================================== */

.calendar-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.calendar-month {
    min-width: 130px;
    text-align: center;
    line-height: 1.2;
}

.calendar-month strong {
    display: block;
    font-size: 0.84rem;
    font-weight: 800;
}

.calendar-month small {
    display: block;
    margin-top: 2px;
    font-size: 0.66rem;
    color: var(--muted);
}

.calendar-legend {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px 14px;
    margin-bottom: 14px;
}

.legend-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--muted);
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex: 0 0 auto;
}

.dot-hadir { background: var(--green); }
.dot-izin { background: var(--amber); }
.dot-sakit { background: var(--cyan); }
.dot-alfa { background: var(--red); }
.dot-mix { background: linear-gradient(135deg, var(--green) 0 50%, var(--red) 50% 100%); }
.dot-empty { background: var(--border-strong); }

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

.calendar-weekdays span {
    padding: 4px 0;
    text-align: center;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

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

.cal-day {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 76px;
    padding: 7px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface-2);
    color: var(--text);
    text-align: left;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.cal-day:hover {
    transform: translateY(-1px);
    border-color: rgba(124, 58, 237, 0.32);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.cal-day.out {
    opacity: 0.35;
}

.cal-day.today {
    box-shadow: inset 0 0 0 2px rgba(124, 58, 237, 0.55);
}

.cal-day.selected {
    border-color: var(--purple);
    background: linear-gradient(145deg, rgba(124, 58, 237, 0.13), rgba(37, 99, 235, 0.10));
    box-shadow: 0 8px 20px rgba(91, 75, 219, 0.16);
}

.cal-day.has-data {
    background: var(--surface);
}

.cal-day .day-num {
    font-size: 0.73rem;
    font-weight: 800;
    color: var(--text-soft);
    font-variant-numeric: tabular-nums;
}

.cal-day.today .day-num {
    color: var(--purple);
}

.cal-dots {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    margin-top: 6px;
}

.cal-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.cal-dot.dot-hadir { background: var(--green); }
.cal-dot.dot-izin { background: var(--amber); }
.cal-dot.dot-sakit { background: var(--cyan); }
.cal-dot.dot-alfa { background: var(--red); }

.cal-count {
    margin-top: auto;
    padding: 2px 6px;
    border-radius: 99px;
    background: var(--surface-3);
    color: var(--purple);
    font-size: 0.6rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.day-detail {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.day-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 250px;
    text-align: center;
}

.detail-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 520px;
    overflow-y: auto;
    padding-right: 3px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: var(--surface-2);
}

.detail-copy {
    flex: 1;
    min-width: 0;
}

.detail-copy strong {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.detail-copy small {
    display: block;
    margin-top: 2px;
    font-size: 0.67rem;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.detail-time {
    font-size: 0.66rem;
    font-weight: 700;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   Profile
   ========================================================================== */

.profile-summary {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 20px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.06), rgba(37, 99, 235, 0.05));
}

.profile-copy {
    min-width: 0;
}

.profile-copy h3 {
    font-size: 1.02rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-copy p {
    margin-top: 3px;
    font-size: 0.74rem;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
}

.soft-tag {
    display: inline-flex;
    margin-top: 7px;
    padding: 4px 9px;
    border-radius: 99px;
    background: var(--surface-3);
    color: var(--purple);
    font-size: 0.64rem;
    font-weight: 800;
}

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

.profile-fact {
    padding: 11px 12px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: var(--surface-2);
}

.profile-fact span {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--muted);
}

.profile-fact strong {
    display: block;
    margin-top: 4px;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
}

.profile-note {
    margin-top: 12px;
    font-size: 0.67rem;
    line-height: 1.55;
    color: var(--muted);
}

.donut-wrap {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 6px 0 18px;
    border-bottom: 1px solid var(--border);
}

.donut {
    position: relative;
    display: grid;
    place-items: center;
    width: 138px;
    height: 138px;
    border-radius: 50%;
    background: conic-gradient(var(--green) calc(var(--value) * 1%), var(--surface-3) 0);
    flex: 0 0 auto;
    transition: background 0.4s ease;
}

.donut::before {
    content: '';
    position: absolute;
    inset: 12px;
    border-radius: 50%;
    background: var(--surface);
}

.donut-inner {
    position: relative;
    z-index: 1;
    text-align: center;
}

.donut-inner strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--text);
    font-variant-numeric: tabular-nums;
}

.donut-inner span {
    display: block;
    margin-top: 1px;
    font-size: 0.64rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.donut-legend {
    display: flex;
    flex-direction: column;
    gap: 9px;
    flex: 1;
}

.donut-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.74rem;
    color: var(--muted);
}

.donut-stat span:nth-child(2) {
    flex: 1;
}

.donut-stat strong {
    color: var(--text);
    font-size: 0.82rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.profile-block {
    padding-top: 16px;
}

.profile-block h4 {
    margin-bottom: 9px;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 10px;
    border: 1px solid var(--border);
    border-radius: 99px;
    background: var(--surface-2);
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--text-soft);
}

.chip span {
    color: var(--purple);
    font-variant-numeric: tabular-nums;
}

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

.overview-card {
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: var(--surface-2);
}

.overview-card span {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--muted);
}

.overview-card strong {
    display: block;
    margin-top: 5px;
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    font-variant-numeric: tabular-nums;
}

.overview-card small {
    display: block;
    margin-top: 3px;
    font-size: 0.64rem;
    color: var(--muted);
    line-height: 1.4;
}

.overview-card-accent {
    color: #fff;
    border-color: transparent;
    background: var(--grad-primary);
    box-shadow: 0 14px 30px rgba(91, 75, 219, 0.24);
}

.overview-card-accent span,
.overview-card-accent small {
    color: rgba(255, 255, 255, 0.7);
}

.status-breakdown {
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin-top: 18px;
}

.breakdown-row {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr) 42px;
    align-items: center;
    gap: 10px;
}

.breakdown-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-soft);
}

.breakdown-track {
    height: 7px;
    border-radius: 99px;
    background: var(--surface-3);
    overflow: hidden;
}

.breakdown-fill {
    height: 100%;
    border-radius: inherit;
    background: var(--grad-green);
}

.fill-izin { background: linear-gradient(135deg, #f59e0b, #fbbf24); }
.fill-sakit { background: linear-gradient(135deg, #0ea5e9, #38bdf8); }
.fill-alfa { background: linear-gradient(135deg, #ef4444, #f87171); }

.breakdown-value {
    text-align: right;
    font-size: 0.72rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: var(--text);
}

/* ==========================================================================
   Settings
   ========================================================================== */

.setting-group {
    display: flex;
    flex-direction: column;
}

.setting-row,
.toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
}

.setting-row:last-child,
.toggle-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.setting-row:first-child,
.toggle-row:first-child {
    padding-top: 0;
}

.setting-copy {
    min-width: 0;
}

.setting-copy strong {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
}

.setting-copy p {
    max-width: 420px;
    margin-top: 3px;
    font-size: 0.71rem;
    line-height: 1.5;
    color: var(--muted);
}

.segment-control {
    display: inline-flex;
    padding: 4px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface-2);
    gap: 3px;
    flex: 0 0 auto;
}

.segment-btn {
    min-height: 32px;
    padding: 0 12px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--muted);
    font-size: 0.71rem;
    font-weight: 700;
    transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.segment-btn:hover {
    color: var(--text);
}

.segment-btn.active {
    background: var(--surface);
    color: var(--purple);
    box-shadow: 0 4px 12px rgba(28, 20, 64, 0.09);
}

.toggle {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
    width: 46px;
    height: 26px;
    cursor: pointer;
}

.toggle input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.toggle-track {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 99px;
    background: var(--surface-3);
    border: 1px solid var(--border);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.toggle-track::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--surface);
    box-shadow: 0 2px 6px rgba(28, 20, 64, 0.2);
    transition: transform 0.2s ease;
}

.toggle input:checked + .toggle-track {
    background: var(--grad-primary);
    border-color: transparent;
}

.toggle input:checked + .toggle-track::after {
    transform: translateX(20px);
}

.toggle input:focus-visible + .toggle-track {
    outline: 3px solid rgba(124, 58, 237, 0.35);
    outline-offset: 2px;
}

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

.info-card {
    display: flex;
    gap: 11px;
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: var(--surface-2);
}

.info-icon {
    display: grid;
    place-items: center;
    width: 37px;
    height: 37px;
    border-radius: 11px;
    background: rgba(124, 58, 237, 0.1);
    color: var(--purple);
    flex: 0 0 auto;
}

.info-icon .icon {
    width: 18px;
    height: 18px;
}

.info-card strong {
    display: block;
    font-size: 0.78rem;
    font-weight: 800;
}

.info-card p {
    margin-top: 3px;
    font-size: 0.69rem;
    line-height: 1.55;
    color: var(--muted);
}

/* ==========================================================================
   Toast & modal
   ========================================================================== */

.toast-stack {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 130;
    display: flex;
    flex-direction: column;
    gap: 9px;
    width: min(390px, calc(100vw - 36px));
}

.toast {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 13px 14px;
    border: 1px solid var(--border);
    border-left: 4px solid var(--green);
    border-radius: 14px;
    background: var(--surface);
    box-shadow: var(--shadow-lg);
    animation: slideIn 0.3s ease both;
}

.toast-error {
    border-left-color: var(--red);
}

.toast-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(16, 185, 129, 0.12);
    color: var(--green-ink);
    flex: 0 0 auto;
}

.toast-error .toast-icon {
    background: rgba(239, 68, 68, 0.11);
    color: var(--red-ink);
}

.toast-icon .icon {
    width: 17px;
    height: 17px;
}

.toast-copy {
    flex: 1;
    min-width: 0;
}

.toast-copy strong {
    display: block;
    font-size: 0.78rem;
    font-weight: 800;
}

.toast-copy span {
    display: block;
    margin-top: 2px;
    font-size: 0.72rem;
    line-height: 1.45;
    color: var(--muted);
}

.toast-close {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--muted);
    flex: 0 0 auto;
}

.toast-close:hover {
    background: var(--surface-2);
    color: var(--text);
}

.toast-close .icon {
    width: 14px;
    height: 14px;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 150;
    display: grid;
    place-items: center;
    padding: 20px;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 10, 24, 0.58);
    backdrop-filter: blur(6px);
}

.modal-dialog {
    position: relative;
    width: min(430px, 100%);
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: var(--surface);
    box-shadow: var(--shadow-lg);
    animation: popIn 0.22s ease both;
}

.modal-icon {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    margin-bottom: 14px;
    border-radius: 15px;
    background: rgba(239, 68, 68, 0.11);
    color: var(--red-ink);
}

.modal-icon .icon {
    width: 23px;
    height: 23px;
}

.modal-dialog h3 {
    font-size: 1.08rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.modal-dialog p {
    margin-top: 6px;
    color: var(--muted);
    font-size: 0.79rem;
    line-height: 1.55;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 20px;
}

/* ==========================================================================
   Animations
   ========================================================================== */

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(16px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes popIn {
    from { opacity: 0; transform: scale(0.96) translateY(6px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes pulseRing {
    0% { transform: scale(0.9); opacity: 0.9; }
    70% { transform: scale(1.5); opacity: 0; }
    100% { transform: scale(1.5); opacity: 0; }
}

@keyframes floatSlow {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(0, -12px, 0); }
}

html.reduce-motion *,
html.reduce-motion *::before,
html.reduce-motion *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

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

@media (max-width: 1180px) {
    .split-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .split-body {
        grid-template-columns: minmax(0, 1fr);
    }

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

@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
        width: 280px;
        box-shadow: 30px 0 80px rgba(10, 6, 30, 0.4);
    }

    .main-wrap,
    html.sidebar-collapsed .main-wrap {
        margin-left: 0;
    }

    .only-mobile {
        display: grid;
    }

    .sidebar-collapse {
        display: none;
    }

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

    body.drawer-open .drawer-overlay {
        opacity: 1;
        visibility: visible;
    }

    .topbar {
        padding: 12px 18px;
    }

    .main-content {
        padding: 20px;
    }

    .clock {
        display: none;
    }

    .filter-group {
        width: 100%;
    }

    .select-sm {
        flex: 1 1 150px;
    }
}

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

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

    .hero {
        min-height: 0;
        padding: 26px;
    }

    .hero-greeting {
        gap: 13px;
    }

    .greet-icon {
        width: 46px;
        height: 46px;
        border-radius: 14px;
    }

    .greet-icon .icon {
        width: 23px;
        height: 23px;
    }

    .section-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .section-actions {
        width: 100%;
    }

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

    .user-chip-text {
        display: none;
    }

    .user-chip {
        padding: 4px;
        border-radius: 50%;
    }
}

@media (max-width: 720px) {
    .topbar-right {
        gap: 7px;
    }

    .topbar {
        padding: 10px 14px;
        min-height: 66px;
    }

    .page-heading h1 {
        font-size: 1.1rem;
    }

    .main-content {
        padding: 15px;
    }

    .app-footer {
        padding: 14px 15px 22px;
        text-align: center;
    }

    .hero {
        padding: 22px;
        border-radius: 22px;
    }

    .hero h2 {
        font-size: 1.35rem;
    }

    .hero p:not(.eyebrow) {
        font-size: 0.82rem;
    }

    .hero-meta {
        gap: 7px;
    }

    .meta-pill {
        font-size: 0.68rem;
    }

    .meta-pill .icon {
        width: 13px;
        height: 13px;
    }

    .grid-stats {
        gap: 9px;
    }

    .stat-card {
        padding: 14px;
    }

    .stat-value {
        font-size: 1.55rem;
    }

    .stat-chip {
        width: 32px;
        height: 32px;
    }

    .panel-head {
        padding: 17px 16px 0;
    }

    .panel-body {
        padding: 15px 16px 17px;
    }

    .panel-head-stacked {
        padding: 16px;
    }

    .filter-row {
        flex-direction: column;
        align-items: stretch;
    }

    .search-group {
        flex: 1 1 auto;
        min-width: 0;
    }

    .filter-group {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .select-sm {
        min-width: 0;
    }

    .filter-meta {
        flex-wrap: wrap;
    }

    .data-table {
        min-width: 0;
        display: block;
    }

    .data-table thead {
        display: none;
    }

    .data-table tbody {
        display: grid;
        gap: 10px;
        padding: 12px;
    }

    .data-table tbody tr {
        display: block;
        padding: 13px 14px;
        border: 1px solid var(--border);
        border-radius: 15px;
        background: var(--surface);
        box-shadow: var(--shadow-sm);
    }

    .data-table tbody tr:hover {
        background: var(--surface);
    }

    .data-table td {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        padding: 6px 0 !important;
        border-bottom: 0;
        text-align: right;
    }

    .data-table td::before {
        content: attr(data-label);
        flex: 0 0 auto;
        font-size: 0.66rem;
        font-weight: 800;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        color: var(--muted);
        text-align: left;
    }

    .data-table td.td-num::before {
        content: 'No';
    }

    .td-num {
        width: auto;
    }

    .cell-user {
        justify-content: flex-end;
        min-width: 0;
        text-align: right;
    }

    .cell-user > div {
        order: -1;
    }

    .cell-time {
        text-align: right;
    }

    .td-actions {
        justify-content: flex-end;
        padding-top: 9px !important;
        border-top: 1px dashed var(--border) !important;
        margin-top: 4px;
    }

    .td-actions::before {
        content: 'Aksi' !important;
    }

    .delete-form {
        margin-left: auto;
    }

    .empty-row td {
        display: block;
        padding: 0 !important;
    }

    .empty-row td::before {
        display: none;
    }

    .table-pagination {
        padding: 12px 14px;
    }

    .calendar-grid,
    .calendar-weekdays {
        gap: 4px;
    }

    .cal-day {
        min-height: 54px;
        padding: 5px;
        border-radius: 9px;
    }

    .cal-day .day-num {
        font-size: 0.66rem;
    }

    .cal-dots {
        gap: 2px;
        margin-top: 4px;
    }

    .cal-dot {
        width: 5px;
        height: 5px;
    }

    .cal-count {
        font-size: 0.54rem;
        padding: 1px 4px;
    }

    .calendar-weekdays span {
        font-size: 0.56rem;
    }

    .donut-wrap {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .donut {
        width: 124px;
        height: 124px;
    }

    .donut-legend {
        width: 100%;
    }

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

    .setting-row,
    .toggle-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .segment-control {
        width: 100%;
    }

    .segment-btn {
        flex: 1;
    }

    .popover {
        position: fixed;
        top: 72px;
        left: 14px;
        right: 14px;
        width: auto;
    }

    .toast-stack {
        top: 12px;
        right: 12px;
        width: calc(100vw - 24px);
    }
}

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

    .stat-value {
        font-size: 1.35rem;
    }

    .stat-sub {
        font-size: 0.64rem;
    }

    .filter-group {
        grid-template-columns: 1fr;
    }

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

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

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

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

    .calendar-nav {
        width: 100%;
        justify-content: space-between;
    }

    .calendar-month {
        min-width: 0;
        flex: 1;
    }

    .breakdown-row {
        grid-template-columns: 76px minmax(0, 1fr) 34px;
        gap: 7px;
    }

    .user-chip {
        display: none;
    }

    .topbar-right {
        gap: 5px;
    }

    .icon-btn {
        width: 38px;
        height: 38px;
    }
}
