/* Centralized Jatayu application styles. Loaded alongside public/admin/custom.js. */

/* ===== public/admin/theme/css/custom.css ===== */
/* Jatayu application overrides. Keep shared UI styles here instead of Blade layouts. */
:root { --jatayu-ink:#0f172a; --jatayu-teal:#00a2ea; --jatayu-teal-bright:#38bdf8; --jatayu-line:#e2e8f0; }

.select2-container--default .select2-selection--single .select2-selection__rendered { padding:.375rem .75rem; line-height:20px; background-color:transparent; }
.select2-container .select2-selection--single { height:35px; }
.select2-container--default .select2-selection--multiple .select2-selection__choice { background-color:#4099ff !important; border:1px solid #73b4ff !important; }
.select2-container *:focus { border:1px solid #4099ff; color:#495057; background-color:#fff; box-shadow:0 0 0 .2rem rgb(0 123 255 / 25%); outline:0; }
.select2-selection--single:focus { border:1px solid #4099ff !important; color:#495057 !important; background-color:#fff !important; outline:0 !important; }
.error { color:red !important; border-color:#dc3545 !important; }
fieldset, legend { all:revert; }
.checkbox-sz-x-1-5 { zoom:1.5; }
input[type="checkbox"] { cursor:pointer; }
/* Disable browser number spin buttons/steppers across the entire project */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}
input[type="number"] {
    -moz-appearance: textfield !important;
    appearance: textfield !important;
}
label.required::after { content:"*"; color:red; margin-left:2px; }
.dz-image img { width:100%; height:100%; }
.dropzone.dz-started .dz-message { display:block !important; }
.dropzone .dz-message { margin:5px 0 !important; }
.dropzone { border:2px dashed #028AF4 !important; }
.dropzone .dz-preview.dz-complete .dz-success-mark { opacity:1; }
.dropzone .dz-preview.dz-error .dz-success-mark { opacity:0; }
.dropzone .dz-preview .dz-error-message { top:144px; }
.switchery { width:46px !important; height:24px !important; border-radius:20px !important; }
.switchery > small { width:24px !important; height:24px !important; }

.jatayu-shell .footer { position:relative; bottom:auto; z-index:1000; background-color:#fffdfb; }
.main-content { padding-bottom:60px; }
.addmore-wrapper { overflow-x:auto; width:100%; overflow-y:hidden; }
.addmore-table { white-space:nowrap; }
.addmore-table th, .addmore-table td { min-width:150px; vertical-align:middle; }
.addmore-table .select2-container { width:100% !important; }

/* Shared shell */
.jatayu-shell { background:#edf2f7; color:#24344d; }
.jatayu-shell #page-topbar { background:#fff; border-bottom:1px solid #e8edf4; box-shadow:0 4px 18px rgba(18,35,63,.05); }
.jatayu-shell .navbar-header, .jatayu-shell .header-item { height:68px; }
.jatayu-shell .header-item { color:#53627a; }
.jatayu-shell .header-item:hover { color:#0f766e; }
.jatayu-shell .navbar-brand-box, .jatayu-shell .vertical-menu { background:#12233f; }
.jatayu-shell .vertical-menu { box-shadow:8px 0 24px rgba(18,35,63,.08); }
.jatayu-shell #sidebar-menu { padding-top:14px; }
.jatayu-shell #sidebar-menu .p-3 { padding:14px 16px !important; }
.jatayu-shell #sidebar-search { background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.1); border-radius:9px; color:#fff; font-size:12px; }
.jatayu-shell #sidebar-search::placeholder { color:rgba(255,255,255,.48); }
.jatayu-shell #sidebar-menu ul li a { border-left:3px solid transparent; padding-bottom:.7rem; padding-top:.7rem; }
.jatayu-shell #sidebar-menu ul li a:hover { background:rgba(255,255,255,.07); color:#fff; }
.jatayu-shell #sidebar-menu ul li a i { color:#87a0bd; }
.jatayu-shell .mm-active>a { background:rgba(20,184,166,.16); border-left-color:#2dd4bf; color:#fff !important; }
.jatayu-shell .mm-active>a i { color:#5eead4 !important; }
.jatayu-shell .main-content { background:#edf2f7; }
.jatayu-shell .footer { background:#edf2f7 !important; border-top:1px solid #e2e8f0; color:#7a879b; }
.jatayu-shell .dropdown-menu { border:1px solid #e5eaf1; border-radius:10px; box-shadow:0 14px 34px rgba(18,35,63,.12); }

/* Dashboard cards shared by dashboard components. */
.dash-card { background:#fff; border-radius:16px; padding:18px 20px; border:1px solid #f1f5f9; box-shadow:0 2px 16px rgba(0,0,0,.05); transition:box-shadow .2s; }
.dash-card:hover { box-shadow:0 6px 28px rgba(0,0,0,.09); }
.dash-card__header { display:flex; justify-content:space-between; align-items:center; margin-bottom:14px; }
.dash-card__title-wrap { display:flex; align-items:center; gap:10px; }
.dash-card__icon { font-size:22px; line-height:1; }
.dash-card__title { font-size:14px; font-weight:600; margin:0; color:#1e293b; }
.account-year-badge { background:#eff6f7; border:1px solid #d5eeeb; border-radius:999px; color:#0f766e; font-size:11px; font-weight:800; padding:7px 11px; white-space:nowrap; }
@media (max-width:575.98px) { .account-year-badge { display:none; } }

/* Jatayu Technologies Official Brand Palette: Electric Cyan, Tech Azure, Royal Blue, Obsidian Slate */
:root { 
    --jatayu-ink: #0f172a; 
    --jatayu-ink-soft: #475569; 
    --jatayu-primary: #00a2ea; 
    --jatayu-primary-dark: #0284c7; 
    --jatayu-cyan-bright: #38bdf8; 
    --jatayu-blue-navy: #004b87; 
    --jatayu-ice: #f0f9ff; 
    --jatayu-line: #e2e8f0; 
}
.jatayu-shell { background:#f8fafc; color:var(--jatayu-ink); }
.jatayu-shell #page-topbar { background:#ffffff !important; border-bottom:1px solid #e2e8f0 !important; box-shadow:0 4px 20px rgba(15,23,42,.04) !important; }
.jatayu-shell .header-item:hover { color:var(--jatayu-primary) !important; }
.jatayu-shell .navbar-brand-box, .jatayu-shell .vertical-menu { background:linear-gradient(180deg,#0f172a 0%,#070d18 100%) !important; border-right:1px solid rgba(255,255,255,.06); }
.jatayu-shell .vertical-menu { box-shadow:8px 0 24px rgba(15,23,42,.15); }
.jatayu-shell #sidebar-menu ul li a { color:#94a3b8 !important; transition:all .2s ease !important; }
.jatayu-shell #sidebar-menu ul li a:hover { background:rgba(0,162,234,.1) !important; color:#38bdf8 !important; }
.jatayu-shell #sidebar-menu ul li a:hover i { color:#38bdf8 !important; }
.jatayu-shell .mm-active>a,
#sidebar-menu .mm-active>a,
#sidebar-menu li.mm-active>a,
#sidebar-menu ul li ul.sub-menu li.mm-active>a,
.metismenu li.mm-active>a { 
    background:linear-gradient(90deg,rgba(0,162,234,.18) 0%,rgba(0,162,234,.04) 100%) !important; 
    border-left:3.5px solid #00a2ea !important; 
    color:#38bdf8 !important; 
    font-weight:700 !important; 
}
.jatayu-shell .mm-active>a i,
#sidebar-menu .mm-active>a i { color:#38bdf8 !important; }
.jatayu-shell .main-content { background:#f8fafc; }
.jatayu-shell .footer { background:#f8fafc !important; border-top-color:#e2e8f0; }

/* Global Brand Components & Buttons */
.btn-primary, 
.btn-primary:focus,
button.btn-primary,
.btn.btn-primary,
.dash-btn-primary { 
    background:linear-gradient(135deg,#00a2ea 0%,#0072c6 60%,#005494 100%) !important; 
    border-color:#00a2ea !important; 
    box-shadow:0 4px 14px rgba(0,162,234,.28) !important; 
    color:#ffffff !important; 
    border-radius:9px !important; 
    font-weight:600 !important; 
    transition:all .2s ease !important; 
}
.btn-primary:hover, 
.btn-primary:active,
.btn.btn-primary:hover,
.dash-btn-primary:hover { 
    background:linear-gradient(135deg,#0284c7 0%,#0369a1 60%,#004b87 100%) !important; 
    border-color:#0284c7 !important; 
    box-shadow:0 6px 20px rgba(0,162,234,.4) !important; 
    transform:translateY(-1px); 
    color:#ffffff !important; 
}

#vertical-menu-btn { 
    background:#f0f9ff !important; 
    color:#00a2ea !important; 
    border:1px solid #bae6fd !important; 
    border-radius:9px !important; 
    margin-left:10px !important; 
    transition:all .2s ease !important; 
}
#vertical-menu-btn:hover { 
    background:#e0f2fe !important; 
    color:#0284c7 !important; 
    transform:scale(1.05); 
}

.account-year-badge { 
    background:#f0f9ff !important; 
    border:1px solid #bae6fd !important; 
    color:#0284c7 !important; 
    font-weight:700 !important; 
    border-radius:999px !important; 
    padding:6px 14px !important; 
}

/* Card & Form Aesthetics */
.card { 
    border-radius:16px !important; 
    border:1px solid #e2e8f0 !important; 
    box-shadow:0 4px 20px rgba(15,23,42,.035) !important; 
}
fieldset { 
    border:1px solid #e2e8f0 !important; 
    border-radius:14px !important; 
    background:#ffffff !important; 
    max-width:100%;
    min-inline-size:0;
}
legend { 
    font-size:.9rem !important; 
    font-weight:700 !important; 
    color:#0f172a !important; 
    background:#f0f9ff !important; 
    border:1px solid #bae6fd !important; 
    border-radius:8px !important; 
    padding:3px 12px !important; 
}

/* Keep the wide purchase item grid inside its section instead of widening the page. */
.purchase-items-section {
    max-width:100%;
    min-inline-size:0;
    overflow:hidden;
}
.purchase-items-scroll {
    max-width:100%;
    overflow-x:auto;
    overscroll-behavior-inline:contain;
    padding-bottom:4px;
    width:100%;
}
.purchase-items-scroll #purchase_detail_table {
    margin-bottom:0;
    min-width:1500px;
    width:100%;
}
.purchase-items-scroll #purchase_detail_table th,
.purchase-items-scroll #purchase_detail_table td {
    min-width:130px;
    white-space:nowrap;
}
.purchase-items-scroll #purchase_detail_table th:first-child,
.purchase-items-scroll #purchase_detail_table td:first-child {
    min-width:220px;
}
.purchase-items-scroll #purchase_detail_table th:nth-child(2),
.purchase-items-scroll #purchase_detail_table td:nth-child(2) {
    min-width:220px;
}
.purchase-items-scroll #purchase_detail_table th:last-child,
.purchase-items-scroll #purchase_detail_table td:last-child {
    min-width:64px;
    width:64px;
}
.account-table-scroll {
    max-width:100%;
    overflow-x:auto;
    overscroll-behavior-inline:contain;
    width:100%;
}
.account-table-scroll > table {
    margin-bottom:0;
}
.form-control:focus, 
.select2-container--default.select2-container--focus .select2-selection,
.select2-container *:focus { 
    border-color:#00a2ea !important; 
    box-shadow:0 0 0 3px rgba(0,162,234,.2) !important; 
    outline:0 !important; 
}

/* ===== public/admin/theme/css/dashboard.css ===== */
/* Centralized dashboard theme styles. Component markup remains in Blade; reusable presentation lives here. */

/* resources/views/admin/dashboard/dashboard.blade.php */
/* ── JATAYU OPERATIONS VISUAL SYSTEM ───────────────── */
:root { --jatayu-ink:#34213f; --jatayu-teal:#7c3aed; --jatayu-teal-bright:#a78bfa; --jatayu-line:#e9e2f0; }
.page-content {
    background:
        radial-gradient(circle at 8% 0%, rgba(20, 184, 166, 0.1), transparent 30%),
        radial-gradient(circle at 92% 4%, rgba(18, 35, 63, 0.07), transparent 28%),
        linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
    min-height: 100vh;
}
.page-content > .container-fluid { max-width:1640px; }
.dashboard-hero { align-items:flex-end; background:radial-gradient(circle at 82% 18%,rgba(20,184,166,.2),transparent 26%),linear-gradient(118deg,#102542 0%,#18385b 58%,#126c69 100%); border-radius:20px; box-shadow:0 18px 42px rgba(18,35,63,.18); color:#fff; display:flex; justify-content:space-between; margin-bottom:18px; min-height:150px; overflow:hidden; padding:24px 28px; position:relative; }
.dashboard-hero::after { border:1px solid rgba(255,255,255,.15); border-radius:999px; content:""; height:240px; position:absolute; right:-65px; top:-90px; width:240px; }
.dashboard-hero__copy,.dashboard-hero__meta { position:relative; z-index:1; }
.dashboard-hero__eyebrow { color:#8ce6dd; font-size:11px; font-weight:800; letter-spacing:.14em; text-transform:uppercase; }
.dashboard-hero h1 { color:#fff; font-size:clamp(24px,3vw,32px); font-weight:700; letter-spacing:-.03em; margin:8px 0 6px; }
.dashboard-hero p { color:rgba(255,255,255,.72); font-size:13px; margin:0; }
.dashboard-hero__meta { align-items:flex-end; display:flex; flex-direction:column; gap:10px; }
.dashboard-hero__date { color:rgba(255,255,255,.72); font-size:12px; }
.dashboard-hero__cta { background:#fff; border-radius:9px; color:var(--jatayu-ink); font-size:12px; font-weight:800; padding:9px 13px; text-decoration:none; transition:transform .18s,box-shadow .18s; }
.dashboard-hero__cta:hover { box-shadow:0 8px 20px rgba(0,0,0,.16); color:var(--jatayu-ink); transform:translateY(-1px); }
.page-content .container-fluid {
    animation: dashboardEntrance 0.42s ease both;
}
.page-content .dash-card {
    border-color: rgba(226, 232, 240, 0.88);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.055);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.page-content .dash-card:hover {
    border-color: rgba(148, 163, 184, 0.38);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.075);
    transform: translateY(-1px);
}
.page-content .dash-card__title {
    color: #0f172a;
    letter-spacing: 0;
}
.page-content .dash-card__title-wrap small,.page-content .text-muted { color:#718096 !important; }

/* Shared animation for filter panels */
@keyframes fadeSlide {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0);    }
}
@keyframes dashboardEntrance {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes premiumFadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes premiumGlowLine {
    0%, 100% { opacity: 0.18; transform: translateX(-38%); }
    50% { opacity: 0.58; transform: translateX(38%); }
}
.dash-card,
.filter_attendance > div,
.filter_task > div,
.filter_receipt > div,
.filter_payment > div {
    animation: fadeSlide 0.2s ease;
}
.page-content .row.g-3.mb-4 > [class*="col-"] {
    animation: premiumFadeUp 0.42s ease both;
}
.page-content .row.g-3.mb-4 > [class*="col-"]:nth-child(2) { animation-delay: 0.04s; }
.page-content .row.g-3.mb-4 > [class*="col-"]:nth-child(3) { animation-delay: 0.08s; }
.page-content .row.g-3.mb-4 > [class*="col-"]:nth-child(4) { animation-delay: 0.12s; }
.page-content .row.g-3.mb-4 > [class*="col-"]:nth-child(5) { animation-delay: 0.16s; }

.finance-card,
.ops-card,
.performance-card,
.leave-alert-card,
.quick-actions-card {
    position: relative;
}
.finance-card::before,
.ops-card::before,
.performance-card::before,
.leave-alert-card::before,
.quick-actions-card::before {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.92), transparent);
    content: "";
    height: 2px;
    left: -25%;
    pointer-events: none;
    position: absolute;
    right: -25%;
    top: 0;
    transform: translateX(-38%);
    animation: premiumGlowLine 3.8s ease-in-out infinite;
    z-index: 2;
}
.page-content .dash-icon-btn {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.86);
    border-color: rgba(226, 232, 240, 0.9);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}
.page-content .dash-icon-btn:hover {
    background: #0f172a;
    border-color: #0f172a;
    color: #fff;
    transform: translateY(-1px);
}

/* DataTables pagination polish */
.dataTables_paginate .paginate_button {
    width: 28px; height: 28px;
    border-radius: 7px !important;
    display: inline-flex !important;
    align-items: center; justify-content: center;
    font-size: 12px;
    border: 1px solid #e2e8f0 !important;
    background: #fff !important;
    color: #374151 !important;
    margin: 0 2px;
    line-height: 1 !important;
    padding: 0 !important;
}
.dataTables_paginate .paginate_button.current {
    background: #1e293b !important;
    color: #fff !important;
    border-color: #1e293b !important;
}
.dataTables_paginate .paginate_button:hover:not(.current) {
    background: #f1f5f9 !important;
    color: #1e293b !important;
}
.dataTables_info {
    font-size: 11px;
    color: #94a3b8;
    padding-top: 4px !important;
}
@media (prefers-reduced-motion: reduce) {
    .page-content *,
    .page-content *::before,
    .page-content *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
@media (max-width:575.98px) { .dashboard-hero { align-items:flex-start; flex-direction:column; gap:18px; padding:20px; } .dashboard-hero__meta { align-items:flex-start; } }

/* Theme overrides - Jatayu Official Blue Brand Identity */
.page-content { background:radial-gradient(circle at 8% 0%,rgba(0,162,234,.08),transparent 30%),radial-gradient(circle at 92% 4%,rgba(2,132,199,.06),transparent 28%),linear-gradient(180deg,#f8fafc 0%,#f1f5f9 100%); }
.dashboard-hero { background:radial-gradient(circle at 82% 18%,rgba(0,162,234,.32),transparent 26%),linear-gradient(118deg,#070d18 0%,#0f172a 58%,#004b87 100%); box-shadow:0 18px 42px rgba(15,23,42,.2); }
.dashboard-hero__eyebrow { color:#38bdf8; }
.dashboard-hero__cta { color:#0f172a; }
.page-content .dash-card { border-color:#e2e8f0; box-shadow:0 12px 28px rgba(15,23,42,.04); }
.page-content .dash-card:hover { border-color:#cbd5e1; box-shadow:0 16px 36px rgba(15,23,42,.08); }
.dash-icon-btn:hover { background:#0f172a; border-color:#0f172a; color:#fff; }
.dash-btn-primary { background:#00a2ea; }
.dash-btn-primary:hover { background:#0284c7; }
.dataTables_paginate .paginate_button.current { background:#00a2ea !important; border-color:#00a2ea !important; }
.applied-filters { align-items:center; display:flex; flex-wrap:wrap; gap:6px; margin:0 0 14px; }
.applied-filters:empty { display:none; }
.applied-filters__label { color:#64748b; font-size:10px; font-weight:800; letter-spacing:.08em; margin-right:2px; text-transform:uppercase; }
.applied-filter-chip { align-items:center; background:#f0f9ff; border:1px solid #bae6fd; border-radius:999px; color:#0284c7; display:inline-flex; font-size:11px; font-weight:700; gap:4px; padding:4px 8px; }
.applied-filter-chip strong { color:#0f172a; font-weight:800; }
.applied-filters__clear { background:transparent; border:0; color:#c24135; font-size:11px; font-weight:800; padding:3px 5px; }
.applied-filters--list { background:#f8fafc; border:1px solid #e2e8f0; border-radius:10px; margin-bottom:16px; padding:10px 12px; }
.applied-filter-chip__remove { align-items:center; background:transparent; border:0; border-radius:50%; color:#64748b; display:inline-flex; font-size:16px; height:18px; justify-content:center; line-height:1; margin-left:2px; padding:0; width:18px; }
.applied-filter-chip__remove:hover,
.applied-filter-chip__remove:focus-visible { background:#bae6fd; color:#0c4a6e; outline:none; }
.document-edit-link { border-radius:4px; display:inline-block; text-underline-offset:2px; }
.document-edit-link:hover { color:#0369a1 !important; text-decoration:underline !important; }
.document-edit-link:focus-visible { outline:3px solid rgba(14,165,233,.22); outline-offset:2px; }

/* Consistent report actions: Search, PDF, Excel and similar exports. */
.report-actions { align-items:center; display:flex; flex-wrap:wrap; gap:8px; }
.report-actions--field { align-items:flex-end; padding-bottom:1px; }
.report-action-btn {
    align-items:center;
    border:1px solid transparent !important;
    border-radius:10px !important;
    box-shadow:none !important;
    display:inline-flex !important;
    font-size:.875rem !important;
    font-weight:700 !important;
    gap:7px;
    justify-content:center;
    min-height:42px;
    padding:9px 16px !important;
    transition:background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.report-action-btn:hover { transform:translateY(-1px); }
.report-action-btn:focus-visible { outline:3px solid rgba(14,165,233,.2); outline-offset:2px; }
.report-action-btn--search { background:#0284c7 !important; border-color:#0284c7 !important; color:#fff !important; }
.report-action-btn--search:hover { background:#0369a1 !important; border-color:#0369a1 !important; box-shadow:0 7px 16px rgba(2,132,199,.2) !important; }
.report-action-btn--pdf { background:#fff1f2 !important; border-color:#fecdd3 !important; color:#be123c !important; }
.report-action-btn--pdf:hover { background:#ffe4e6 !important; border-color:#fda4af !important; color:#9f1239 !important; box-shadow:0 7px 16px rgba(190,18,60,.12) !important; }
.report-action-btn--excel { background:#ecfdf5 !important; border-color:#a7f3d0 !important; color:#047857 !important; }
.report-action-btn--excel:hover { background:#d1fae5 !important; border-color:#6ee7b7 !important; color:#065f46 !important; box-shadow:0 7px 16px rgba(4,120,87,.12) !important; }

/* resources/views/dashboard/dashboard_component/attendance.blade.php */
/* ── SHARED: tables, buttons, selects, badges ── */
.dash-table thead th {
    font-size:11px; font-weight:600; text-transform:uppercase;
    letter-spacing:0.5px; color:#94a3b8;
    border-bottom:1px solid #f1f5f9; padding:6px 8px; white-space:nowrap;
}
.dash-table tbody td { font-size:12.5px; color:#374151; padding:7px 8px; border-color:#f8fafc; }
.dash-table tbody tr:hover td { background:#f8fafc; }

.dash-icon-btn {
    width:30px; height:30px; border-radius:8px; border:1px solid #e2e8f0;
    background:#fff; display:inline-flex; align-items:center; justify-content:center;
    font-size:14px; color:#64748b; cursor:pointer; transition:all .15s; padding:0;
}
.dash-icon-btn:hover { background:#f1f5f9; color:#1e293b; border-color:#cbd5e1; }

.dash-btn-primary { background:#1e293b; color:#fff; border:none; border-radius:8px; font-weight:500; }
.dash-btn-primary:hover { background:#334155; color:#fff; }

.dash-select { border-radius:8px; border:1px solid hsl(0, 0%, 100%); font-size:13px; }
.dash-select:focus { border-color:#6366f1; box-shadow:0 0 0 2px rgba(99,102,241,0.12); }

.filter-divider { height:1px; background:#f1f5f9; }

.badge-present { background:#dcfce7; color:#15803d; font-size:11px; padding:3px 8px; border-radius:20px; font-weight:700; }
.badge-absent  { background:#fee2e2; color:#dc2626; font-size:11px; padding:3px 8px; border-radius:20px; font-weight:700; }
.badge-late    { background:#fef3c7; color:#b45309; font-size:11px; padding:3px 8px; border-radius:20px; font-weight:700; }

/* DataTables pagination */
.dataTables_paginate .paginate_button {
    width:28px; height:28px; border-radius:7px !important;
    display:inline-flex !important; align-items:center; justify-content:center;
    font-size:12px; border:1px solid #e2e8f0 !important;
    background:#fff !important; color:#374151 !important;
    margin:0 2px; line-height:1 !important; padding:0 !important;
}
.dataTables_paginate .paginate_button.current { background:#1e293b !important; color:#fff !important; border-color:#1e293b !important; }
.dataTables_paginate .paginate_button:hover:not(.current) { background:#f1f5f9 !important; color:#1e293b !important; }
.dataTables_info { font-size:11px; color:#94a3b8; padding-top:4px !important; }

/* resources/views/dashboard/dashboard_component/charts.blade.php */
/* ── SHARED DASH CARD ── */
.dash-card {
    background: #fff; border-radius: 16px; padding: 18px 20px;
    border: 1px solid #f1f5f9; box-shadow: 0 2px 16px rgba(0,0,0,0.05);
    transition: box-shadow 0.2s;
}
.dash-card:hover { box-shadow: 0 6px 28px rgba(0,0,0,0.09); }
.dash-card__header { display:flex; justify-content:space-between; align-items:center; margin-bottom:14px; }
.dash-card__title-wrap { display:flex; align-items:center; gap:10px; }
.dash-card__icon { font-size:22px; line-height:1; }
.dash-card__title { font-size:14px; font-weight:600; margin:0; color:#1e293b; }

/* ── DONUT ── */
.donut-center-label {
    position:absolute; top:50%; left:50%;
    transform:translate(-50%,-50%); text-align:center; pointer-events:none;
}
.donut-center-label__sub { font-size:10px; color:#94a3b8; font-weight:500; }
.donut-center-label__val { font-size:15px; font-weight:700; color:#1e293b; line-height:1.2; }
.donut-legend-item { display:flex; align-items:flex-start; gap:8px; }
.donut-legend-dot { width:10px; height:10px; border-radius:50%; flex-shrink:0; margin-top:3px; }
.donut-legend-label { font-size:11px; color:#64748b; font-weight:500; }
.donut-legend-val { font-size:13px; font-weight:600; line-height:1.2; }

/* ── CASH FLOW ── */
.cashflow-amount { font-size:18px; font-weight:700; line-height:1; }
.cashflow-bar { border-radius:99px; background:#f1f5f9; }
.cashflow-net {
    margin-top:16px; background:linear-gradient(135deg,#ede9fe,#f0f9ff);
    border-radius:12px; padding:12px 14px; position:relative; overflow:hidden;
}
.cashflow-net-val { font-size:22px; font-weight:700; color:#6366f1; letter-spacing:-0.5px; }
.cashflow-net-icon { position:absolute; right:12px; bottom:8px; font-size:32px; color:#a5b4fc; opacity:0.5; }

/* resources/views/dashboard/dashboard_component/payment.blade.php */
.finance-card {
    --finance-accent: #d97706;
    --finance-rgb: 217, 119, 6;
    background:
        radial-gradient(circle at top right, rgba(var(--finance-rgb), 0.13), transparent 38%),
        linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-top: 3px solid var(--finance-accent);
    overflow: hidden;
}
.finance-card--payable { --finance-accent: #d97706; --finance-rgb: 217, 119, 6; }
.finance-card--receivable { --finance-accent: #0284c7; --finance-rgb: 2, 132, 199; }
.finance-card__icon {
    align-items: center;
    background: rgba(var(--finance-rgb), 0.1);
    border-radius: 10px;
    color: var(--finance-accent);
    display: inline-flex;
    font-size: 22px;
    height: 38px;
    justify-content: center;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    width: 38px;
}
.finance-card:hover .finance-card__icon {
    box-shadow: 0 10px 22px rgba(var(--finance-rgb), 0.14);
    transform: scale(1.05) rotate(-2deg);
}
.finance-card__view-link {
    align-items: center;
    background: rgba(var(--finance-rgb), 0.09);
    border: 1px solid rgba(var(--finance-rgb), 0.16);
    border-radius: 999px;
    color: var(--finance-accent);
    display: inline-flex;
    font-size: 11px;
    font-weight: 700;
    height: 30px;
    padding: 0 10px;
}
.finance-card__view-link:hover {
    background: var(--finance-accent);
    color: #fff;
}
.finance-card .dash-table thead th {
    background: rgba(var(--finance-rgb), 0.04);
    color: #64748b;
}
.finance-card .dash-table tbody td {
    border-color: #eef2f7;
    vertical-align: middle;
}
.finance-card .dash-table tbody tr:hover td {
    background: rgba(var(--finance-rgb), 0.035);
}
.finance-status-strip {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0 0 12px;
}
.finance-status {
    align-items: center;
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 10px;
    color: #64748b;
    display: grid;
    font-size: 10px;
    font-weight: 700;
    gap: 5px;
    grid-template-columns: auto 1fr auto;
    min-width: 0;
    padding: 7px 8px;
}
.finance-status strong {
    color: #1e293b;
    font-size: 13px;
}
.finance-status__dot {
    background: #94a3b8;
    border-radius: 50%;
    height: 7px;
    width: 7px;
}
.finance-status--overdue .finance-status__dot { background: #ef4444; }
.finance-status--today .finance-status__dot { background: #f59e0b; }
.finance-status--upcoming .finance-status__dot { background: #3b82f6; }
.finance-doc {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
    min-width: 0;
}
.finance-doc__number {
    color: #1e293b;
    font-size: 12.5px;
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.finance-doc__meta {
    color: #94a3b8;
    font-size: 10px;
    margin-top: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: capitalize;
    white-space: nowrap;
}
.finance-party {
    color: #475569;
    display: block;
    font-size: 12px;
    font-weight: 600;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.finance-due-date { font-size: 12px; }
.finance-balance {
    color: #1e293b;
    font-size: 12.5px;
    white-space: nowrap;
}
.finance-summary {
    align-items: center;
    background: linear-gradient(135deg, rgba(var(--finance-rgb), 0.11), rgba(255,255,255,0.78));
    border: 1px solid rgba(var(--finance-rgb), 0.14);
    border-radius: 12px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.72);
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    padding: 10px 12px;
}
.finance-summary__label {
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}
.finance-summary__amount {
    color: var(--finance-accent);
    font-size: 19px;
    font-weight: 800;
}
.finance-summary__meta {
    color: #64748b;
    display: block;
    font-size: 10px;
    margin-top: 1px;
}
.finance-summary__icon {
    color: var(--finance-accent);
    font-size: 28px;
    opacity: 0.45;
}
.due-badge {
    border-radius: 999px;
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
}
.due-badge--overdue {
    background: #fee2e2;
    color: #dc2626;
}
.due-badge--today {
    background: #fef3c7;
    color: #b45309;
}
.due-badge--upcoming {
    background: #dbeafe;
    color: #1d4ed8;
}
@media (max-width: 575.98px) {
    .finance-status-strip { gap: 5px; }
    .finance-status {
        gap: 4px;
        padding: 6px;
    }
    .finance-status span:nth-child(2) { font-size: 9px; }
    .finance-party { max-width: 110px; }
}

/* resources/views/dashboard/dashboard_component/pending_leaves.blade.php */
.leave-alert-card {
    position: relative;
    background:
        radial-gradient(circle at top right, rgba(245,158,11,0.18), transparent 34%),
        radial-gradient(circle at bottom left, rgba(37,99,235,0.08), transparent 30%),
        linear-gradient(135deg, #fffbeb 0%, #ffffff 54%, #f8fafc 100%);
    border: 1px solid rgba(245,158,11,0.24);
    border-left: 4px solid #f59e0b;
    box-shadow: 0 12px 30px rgba(146, 64, 14, 0.08);
    overflow: hidden;
    padding: 16px;
}
.leave-alert-card::after {
    background: rgba(245,158,11,0.09);
    border-radius: 999px;
    content: "";
    height: 72px;
    position: absolute;
    right: -24px;
    top: -24px;
    width: 72px;
}
.leave-alert-card__header {
    align-items: center;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}
.leave-alert-card__icon {
    align-items: center;
    background: linear-gradient(135deg, #f59e0b, #f97316);
    border-radius: 12px;
    box-shadow: 0 10px 22px rgba(245, 158, 11, 0.24);
    color: #fff;
    display: inline-flex;
    font-size: 23px;
    height: 44px;
    justify-content: center;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    width: 44px;
}
.leave-alert-card:hover .leave-alert-card__icon {
    box-shadow: 0 12px 26px rgba(245, 158, 11, 0.3);
    transform: scale(1.04) rotate(-2deg);
}
.leave-alert-card__count {
    align-items: center;
    background: #0f172a;
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: 10px;
    font-weight: 800;
    height: 20px;
    justify-content: center;
    min-width: 22px;
    padding: 0 7px;
}
.leave-alert-card__view,
.leave-request-item__action {
    align-items: center;
    background: rgba(255,255,255,0.82);
    border: 1px solid rgba(245,158,11,0.26);
    border-radius: 999px;
    color: #92400e;
    display: inline-flex;
    font-size: 11px;
    font-weight: 800;
    min-height: 30px;
    padding: 0 11px;
    text-decoration: none;
    white-space: nowrap;
}
.leave-alert-card__view:hover,
.leave-request-item__action:hover {
    background: #f59e0b;
    border-color: #f59e0b;
    color: #fff;
}
.leave-request-list {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    position: relative;
    z-index: 1;
}
.leave-request-item {
    align-items: center;
    background: rgba(255,255,255,0.86);
    border: 1px solid rgba(226,232,240,0.9);
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(0, 1fr) auto auto;
    padding: 10px;
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.leave-request-item:hover {
    border-color: rgba(245,158,11,0.32);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
}
.leave-request-item__main {
    align-items: center;
    display: flex;
    gap: 9px;
    min-width: 0;
}
.leave-request-item__avatar {
    align-items: center;
    background: linear-gradient(135deg, #fed7aa, #fde68a);
    border-radius: 999px;
    border: 2px solid #fff;
    color: #92400e;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 800;
    height: 32px;
    justify-content: center;
    box-shadow: 0 6px 14px rgba(146, 64, 14, 0.1);
    width: 32px;
}
.leave-request-item__name {
    color: #0f172a;
    font-size: 12.5px;
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.leave-request-item__meta {
    align-items: center;
    color: #64748b;
    display: flex;
    font-size: 11px;
    font-weight: 600;
    gap: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.leave-request-item__mode {
    background: #eff6ff;
    border-radius: 999px;
    color: #1d4ed8;
    display: inline-flex;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 6px;
}
.leave-request-item__dates {
    color: #0f172a;
    font-size: 12px;
    font-weight: 800;
    text-align: right;
    white-space: nowrap;
}
.leave-request-item__dates small {
    color: #64748b;
    display: block;
    font-size: 10px;
    font-weight: 700;
}
@media (max-width: 1199.98px) {
    .leave-request-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
    .leave-alert-card__header { align-items: flex-start; flex-direction: column; }
    .leave-request-list { grid-template-columns: 1fr; }
}

/* resources/views/dashboard/dashboard_component/performance_report.blade.php */
.performance-card {
    background:
        radial-gradient(circle at top right, rgba(37,99,235,0.13), transparent 36%),
        radial-gradient(circle at bottom left, rgba(16,185,129,0.08), transparent 30%),
        linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-top: 3px solid #2563eb;
    overflow: hidden;
}
.performance-card__icon {
    align-items: center;
    background: rgba(37,99,235,0.1);
    border-radius: 10px;
    color: #2563eb;
    display: inline-flex;
    font-size: 22px;
    height: 38px;
    justify-content: center;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    width: 38px;
}
.performance-card:hover .performance-card__icon {
    box-shadow: 0 10px 22px rgba(37,99,235,0.14);
    transform: scale(1.05) rotate(-2deg);
}
.performance-summary {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 14px;
}
.performance-summary__item {
    background: rgba(255,255,255,0.78);
    border: 1px solid #e2e8f0;
    border-radius: 11px;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.035);
    padding: 10px 12px;
    transition: transform 0.16s ease, border-color 0.16s ease;
}
.performance-summary__item:hover {
    border-color: rgba(37,99,235,0.2);
    transform: translateY(-1px);
}
.performance-summary__item--accent {
    background: linear-gradient(135deg, rgba(37,99,235,0.12), rgba(16,185,129,0.1));
    border-color: rgba(37,99,235,0.16);
}
.performance-summary__label {
    color: #64748b;
    display: block;
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
}
.performance-summary strong {
    color: #0f172a;
    display: block;
    font-size: 18px;
    line-height: 1;
    margin-top: 6px;
}
.performance-chart-wrap {
    background: rgba(248,250,252,0.62);
    border: 1px solid #eef2f7;
    border-radius: 12px;
    height: 340px;
    padding: 12px;
    position: relative;
}
@media (max-width: 767.98px) {
    .performance-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* resources/views/dashboard/dashboard_component/quick_actions.blade.php */
.quick-actions-card {
    background:
        radial-gradient(circle at top left, rgba(37,99,235,0.08), transparent 32%),
        linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-color: #e2e8f0;
    padding: 14px 16px;
}
.quick-actions-card__header { margin-bottom: 8px; }
.quick-action-btn {
    align-items: center;
    background: rgba(255,255,255,0.84);
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    color: #334155;
    display: flex;
    gap: 9px;
    min-height: 54px;
    padding: 8px 10px;
    position: relative;
    text-align: left;
    text-decoration: none;
    transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}
.quick-action-btn::after {
    background: linear-gradient(180deg, rgba(15,23,42,0.08), transparent);
    border-radius: 999px;
    content: "";
    height: 18px;
    opacity: 0;
    position: absolute;
    right: 10px;
    top: 10px;
    transition: opacity 0.16s ease;
    width: 18px;
}
.quick-action-btn:hover {
    border-color: #cbd5e1;
    background: #fff;
    box-shadow: 0 10px 22px rgba(15,23,42,0.08);
    color: #0f172a;
    transform: translateY(-1px);
}
.quick-action-btn:hover::after { opacity: 1; }
.quick-action-btn:focus {
    border-color: #94a3b8;
    box-shadow: 0 0 0 3px rgba(148,163,184,0.18);
    outline: none;
}
.quick-action-btn__icon {
    border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    flex: 0 0 auto;
    font-size: 18px;
    height: 34px;
    transition: box-shadow 0.18s, transform 0.18s;
    width: 34px;
}
.quick-action-btn:hover .quick-action-btn__icon {
    box-shadow: 0 4px 12px rgba(15,23,42,0.08);
    transform: scale(1.06);
}
.quick-action-btn span {
    color: #475569;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.15;
}

/* resources/views/dashboard/dashboard_component/running_task.blade.php */
.ops-card {
    --ops-accent: #2563eb;
    --ops-rgb: 37, 99, 235;
    background:
        radial-gradient(circle at top right, rgba(var(--ops-rgb), 0.13), transparent 36%),
        linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-top: 3px solid var(--ops-accent);
    overflow: hidden;
}
.ops-card--tasks { --ops-accent: #2563eb; --ops-rgb: 37, 99, 235; }
.ops-card--attendance { --ops-accent: #0891b2; --ops-rgb: 8, 145, 178; }
.ops-card__icon {
    align-items: center;
    background: rgba(var(--ops-rgb), 0.1);
    border-radius: 10px;
    color: var(--ops-accent);
    display: inline-flex;
    font-size: 22px;
    height: 38px;
    justify-content: center;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    width: 38px;
}
.ops-card:hover .ops-card__icon {
    box-shadow: 0 10px 22px rgba(var(--ops-rgb), 0.14);
    transform: scale(1.05) rotate(-2deg);
}
.ops-summary {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0 0 12px;
}
.ops-summary__item {
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(var(--ops-rgb), 0.11);
    border-radius: 10px;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.035);
    padding: 8px 10px;
    transition: transform 0.16s ease, border-color 0.16s ease;
}
.ops-summary__item:hover {
    border-color: rgba(var(--ops-rgb), 0.2);
    transform: translateY(-1px);
}
.ops-summary__value {
    color: #0f172a;
    display: block;
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
}
.ops-summary__label {
    color: #64748b;
    display: block;
    font-size: 10.5px;
    font-weight: 700;
    margin-top: 4px;
    text-transform: uppercase;
}
.ops-card .dash-table thead th {
    background: rgba(var(--ops-rgb), 0.04);
    color: #64748b;
}
.ops-card .dash-table tbody td {
    border-color: #eef2f7;
    vertical-align: middle;
}
.ops-card .dash-table tbody tr:hover td {
    background: rgba(var(--ops-rgb), 0.035);
}
.running-timer {
    background: #0f172a !important;
    border-radius: 999px;
    letter-spacing: .2px;
}
.priority-high   { background:#fee2e2; color:#dc2626; font-size:11px; padding:3px 8px; border-radius:20px; font-weight:700; }
.priority-medium { background:#fef3c7; color:#b45309; font-size:11px; padding:3px 8px; border-radius:20px; font-weight:700; }
.priority-low    { background:#dbeafe; color:#1d4ed8; font-size:11px; padding:3px 8px; border-radius:20px; font-weight:700; }
@media (max-width: 767.98px) {
    .ops-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* resources/views/dashboard/dashboard_component/stats.blade.php */
.stat-card {
    --stat-accent: #1e293b;
    --stat-rgb: 30, 41, 59;
    --stat-soft: #f8fafc;
    background:
        radial-gradient(circle at top right, rgba(var(--stat-rgb), 0.16), transparent 36%),
        linear-gradient(135deg, var(--stat-soft) 0%, #ffffff 58%);
    border: 1px solid rgba(var(--stat-rgb), 0.16);
    border-left: 4px solid var(--stat-accent);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(var(--stat-rgb), 0.08);
    color: #1e293b;
    cursor: default;
    display: flex;
    flex-direction: column;
    min-height: 118px;
    overflow: hidden;
    padding: 14px 14px 10px;
    position: relative;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.stat-card::after {
    background: rgba(var(--stat-rgb), 0.08);
    border-radius: 999px;
    content: "";
    height: 58px;
    position: absolute;
    right: -18px;
    top: -18px;
    width: 58px;
}
.stat-card::before {
    background: linear-gradient(90deg, transparent, rgba(var(--stat-rgb), 0.32), transparent);
    content: "";
    height: 2px;
    left: 16px;
    opacity: 0.55;
    position: absolute;
    right: 16px;
    top: 0;
}
.stat-card:hover { border-color: rgba(var(--stat-rgb), 0.26); box-shadow: 0 12px 30px rgba(var(--stat-rgb), 0.14); transform: translateY(-2px); }
.stat-card--dark    { --stat-accent:#1e293b; --stat-rgb:30,41,59; --stat-soft:#f8fafc; }
.stat-card--success { --stat-accent:#059669; --stat-rgb:5,150,105; --stat-soft:#ecfdf5; }
.stat-card--warning { --stat-accent:#d97706; --stat-rgb:217,119,6; --stat-soft:#fffbeb; }
.stat-card--danger  { --stat-accent:#dc2626; --stat-rgb:220,38,38; --stat-soft:#fef2f2; }
.stat-card--info    { --stat-accent:#0284c7; --stat-rgb:2,132,199; --stat-soft:#f0f9ff; }
.stat-card--purple  { --stat-accent:#7c3aed; --stat-rgb:124,58,237; --stat-soft:#f5f3ff; }
.stat-card__top { align-items:center; display:flex; justify-content:space-between; margin-bottom:8px; position:relative; z-index:1; }
.stat-card__icon-wrap {
    align-items:center;
    background: var(--stat-soft);
    box-shadow: inset 0 0 0 1px rgba(var(--stat-rgb), 0.11), 0 8px 18px rgba(var(--stat-rgb), 0.08);
    border-radius:10px;
    color: var(--stat-accent);
    display:flex;
    font-size:20px;
    height:38px;
    justify-content:center;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    width:38px;
}
.stat-card:hover .stat-card__icon-wrap {
    box-shadow: inset 0 0 0 1px rgba(var(--stat-rgb), 0.16), 0 10px 22px rgba(var(--stat-rgb), 0.14);
    transform: scale(1.05) rotate(-2deg);
}
.stat-card__link {
    align-items:center;
    background:rgba(255,255,255,0.72);
    border:1px solid rgba(var(--stat-rgb), 0.18);
    border-radius:999px;
    color:var(--stat-accent);
    display:inline-flex;
    font-size:11px;
    font-weight:600;
    line-height:1;
    padding:6px 10px;
    position:relative;
    text-decoration:none;
    transition:all .16s;
    z-index:1;
}
.stat-card__link:hover { background:var(--stat-accent); border-color:var(--stat-accent); color:#fff; }
.stat-card__content {
    align-items:flex-end;
    display:flex;
    justify-content:space-between;
    gap:10px;
    position:relative;
    z-index:1;
}
.stat-card__value { color:#0f172a; font-size:30px; font-weight:700; line-height:1; margin-top:5px; }
.stat-card__label { color:#64748b; font-size:12px; font-weight:700; text-transform:uppercase; }
.stat-card__hint { color:#64748b; font-size:11px; font-weight:600; line-height:1.25; max-width:92px; text-align:right; }
.stat-card__trend { font-size:11px; margin-top:5px; font-weight:600; opacity:0.9; display:flex; align-items:center; gap:2px; }
.stat-sparkline { bottom:0; height:34px; left:0; opacity:.22; pointer-events:none; position:absolute; right:0; width:100%; }

/* Stable application frame and final visual system. */
html, body.jatayu-shell { margin:0; min-width:320px; width:100%; overflow-y:scroll; }
body.jatayu-shell { --jatayu-ink:#292532; --jatayu-primary:#e05a47; --jatayu-primary-dark:#b84034; --jatayu-lavender:#eee8f8; --jatayu-surface:#fffdfb; background:#f6f2ef; min-height:100vh; }
body.jatayu-shell #layout-wrapper { min-height:100vh; width:100%; }
body.jatayu-shell #page-topbar { background:#fffdfb !important; box-shadow:0 3px 16px rgba(41,37,50,.08); height:70px; left:0; right:0; top:0; width:100%; z-index:1002; }
body.jatayu-shell .navbar-header { height:70px; }
/* ==========================================================================
   JATAYU TECHNOLOGIES - OFFICIAL ENTERPRISE THEME (POST-LOGIN)
   Exact Match with Login Screen Brand Identity:
   - Electric Cyan (#00a2ea, #38bdf8)
   - Tech Azure / Royal Blue (#0284c7, #004b87)
   - Obsidian Space Slate (#070d18, #0f172a)
   - Ice Blue (#f0f9ff, #f8fafc)
   ========================================================================== */

body.jatayu-shell {
    --jatayu-ink: #0f172a;
    --jatayu-primary: #00a2ea;
    --jatayu-primary-dark: #0284c7;
    --jatayu-cyan-bright: #38bdf8;
    --jatayu-bg: #f8fafc;
    --jatayu-surface: #ffffff;
    background: #f8fafc;
    color: #0f172a;
}

/* Header & Top Navigation */
body.jatayu-shell #page-topbar { 
    background: #ffffff !important; 
    border-bottom: 1px solid #e2e8f0 !important; 
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04) !important; 
}

body.jatayu-shell .navbar-brand-box { 
    background: linear-gradient(180deg, #0f172a 0%, #070d18 100%) !important; 
    box-sizing: border-box; 
    flex: 0 0 250px; 
    height: 70px; 
    overflow: hidden; 
    width: 250px; 
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

body.jatayu-shell .navbar-brand-box .logo-lg img { 
    height: auto; 
    max-height: 52px; 
    max-width: 90%; 
    object-fit: contain; 
}

/* Topbar Hamburger Menu Button */
body.jatayu-shell #vertical-menu-btn { 
    background: #f0f9ff !important; 
    border: 1px solid #bae6fd !important; 
    border-radius: 9px !important; 
    color: #00a2ea !important; 
    height: 42px; 
    width: 42px;
    margin: 14px 0 14px 12px; 
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.2s ease !important;
}

body.jatayu-shell #vertical-menu-btn:hover { 
    background: #e0f2fe !important; 
    color: #0284c7 !important; 
    transform: scale(1.05); 
}

/* Topbar Financial Year Badge */
body.jatayu-shell .account-year-badge { 
    background: #f0f9ff !important; 
    border: 1px solid #bae6fd !important; 
    color: #0284c7 !important; 
    font-weight: 700 !important; 
    border-radius: 999px !important; 
    padding: 6px 14px !important; 
    font-size: 0.775rem !important;
    letter-spacing: 0.02em;
}

body.jatayu-shell #page-header-user-dropdown { 
    background: #ffffff !important; 
    border: 1px solid #e2e8f0 !important; 
    border-radius: 12px; 
    margin: 9px 12px 9px 0; 
    min-height: 48px; 
    transition: all 0.2s ease;
}

body.jatayu-shell #page-header-user-dropdown:hover { 
    background: #f8fafc !important; 
    border-color: #cbd5e1 !important;
}

body.jatayu-shell .header-profile-user {
    border: 2px solid #00a2ea !important;
}

/* Sidebar & Navigation */
body.jatayu-shell .vertical-menu { 
    background: linear-gradient(180deg, #0f172a 0%, #070d18 100%) !important; 
    border-right: 1px solid rgba(255, 255, 255, 0.06) !important;
    bottom: 0; 
    left: 0; 
    overflow: hidden; 
    top: 70px; 
    width: 250px; 
    box-shadow: 8px 0 24px rgba(15, 23, 42, 0.15) !important;
}

body.jatayu-shell #sidebar-search { 
    background: rgba(255, 255, 255, 0.06) !important; 
    border: 1px solid rgba(255, 255, 255, 0.1) !important; 
    border-radius: 9px !important; 
    color: #ffffff !important; 
    font-size: 12px !important; 
}

body.jatayu-shell #sidebar-menu ul li a { 
    color: #94a3b8 !important; 
    transition: all 0.2s ease !important; 
}

body.jatayu-shell #sidebar-menu ul li a:hover { 
    background: rgba(0, 162, 234, 0.1) !important; 
    color: #38bdf8 !important; 
}

body.jatayu-shell #sidebar-menu ul li a:hover i { 
    color: #38bdf8 !important; 
}

/* Active Sidebar Menu Item */
body.jatayu-shell .mm-active > a,
body.jatayu-shell #sidebar-menu .mm-active > a,
body.jatayu-shell #sidebar-menu li.mm-active > a,
body.jatayu-shell #sidebar-menu ul li ul.sub-menu li.mm-active > a,
body.jatayu-shell .metismenu li.mm-active > a { 
    background: linear-gradient(90deg, rgba(0, 162, 234, 0.2) 0%, rgba(0, 162, 234, 0.04) 100%) !important; 
    border-left: 3.5px solid #00a2ea !important; 
    color: #38bdf8 !important; 
    font-weight: 700 !important; 
}

body.jatayu-shell .mm-active > a i,
body.jatayu-shell #sidebar-menu .mm-active > a i { 
    color: #38bdf8 !important; 
}

/* Main Content Area */
body.jatayu-shell .main-content { 
    background: #f8fafc; 
    box-sizing: border-box; 
    margin-left: 250px; 
    min-height: 100vh; 
    overflow: visible !important; 
    padding: 0 !important; 
    width: calc(100% - 250px); 
}

body.jatayu-shell .page-content { 
    background: 
        radial-gradient(circle at 8% 0%, rgba(0, 162, 234, 0.08), transparent 30%), 
        radial-gradient(circle at 92% 4%, rgba(2, 132, 199, 0.06), transparent 28%), 
        linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%); 
    box-sizing: border-box; 
    margin: 0; 
    min-height: 100vh; 
    overflow: visible !important; 
    padding: 94px 24px 32px; 
    width: 100%; 
}

body.jatayu-shell .main-content > .footer { 
    background: #ffffff !important; 
    border-top: 1px solid #e2e8f0 !important; 
    box-sizing: border-box; 
    color: #64748b; 
    left: 0 !important; 
    margin: 0; 
    min-height: 60px; 
    position: relative !important; 
    right: auto; 
    width: 100%; 
}

body.jatayu-shell.vertical-collpsed .main-content { 
    margin-left: 70px; 
    width: calc(100% - 70px); 
}

/* --------------------------------------------------------------------------
   DASHBOARD HERO BANNER (MATCHING LOGIN HERO SHOWCASE)
   -------------------------------------------------------------------------- */
body.jatayu-shell .dashboard-hero { 
    background: 
        radial-gradient(circle at 85% 15%, rgba(0, 162, 234, 0.38), transparent 38%), 
        radial-gradient(circle at 15% 85%, rgba(2, 132, 199, 0.28), transparent 32%), 
        linear-gradient(135deg, #070d18 0%, #0d1728 55%, #050a14 100%) !important; 
    border: 1px solid rgba(0, 162, 234, 0.25) !important;
    border-radius: 22px !important; 
    box-shadow: 0 18px 45px rgba(7, 13, 24, 0.35), 0 0 35px rgba(0, 162, 234, 0.1) !important; 
    color: #ffffff !important; 
    margin-bottom: 24px;
}

body.jatayu-shell .dashboard-hero__eyebrow { 
    color: #38bdf8 !important; 
    font-weight: 800 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase;
}

body.jatayu-shell .dashboard-hero h1 { 
    color: #ffffff !important; 
    font-weight: 800 !important;
}

body.jatayu-shell .dashboard-hero p { 
    color: rgba(255, 255, 255, 0.78) !important; 
}

body.jatayu-shell .dashboard-hero__date { 
    color: rgba(255, 255, 255, 0.75) !important; 
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    padding: 5px 12px;
    font-size: 0.775rem;
}

body.jatayu-shell .dashboard-hero__cta { 
    background: linear-gradient(135deg, #00a2ea 0%, #0072c6 100%) !important; 
    color: #ffffff !important; 
    border: none !important;
    border-radius: 10px !important;
    padding: 10px 18px !important;
    font-weight: 700 !important;
    box-shadow: 0 6px 18px rgba(0, 162, 234, 0.4) !important;
    transition: all 0.2s ease !important;
}

body.jatayu-shell .dashboard-hero__cta:hover { 
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important; 
    box-shadow: 0 8px 22px rgba(0, 162, 234, 0.55) !important; 
    transform: translateY(-2px); 
    color: #ffffff !important; 
}

/* --------------------------------------------------------------------------
   DASHBOARD STAT CARDS & QUICK ACTIONS
   -------------------------------------------------------------------------- */
body.jatayu-shell .page-content .stat-card,
body.jatayu-shell .page-content .dash-card,
body.jatayu-shell .main-content .card { 
    background: #ffffff !important; 
    border: 1px solid #e2e8f0 !important; 
    border-radius: 16px !important; 
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.035) !important; 
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

body.jatayu-shell .page-content .dash-card:hover,
body.jatayu-shell .main-content .card:hover { 
    border-color: #cbd5e1 !important; 
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.07) !important; 
}

body.jatayu-shell .quick-action-item,
body.jatayu-shell .page-content .quick-action-chip {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.2s ease;
}

body.jatayu-shell .quick-action-item:hover {
    border-color: #00a2ea;
    background: #f0f9ff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 162, 234, 0.12);
}

/* --------------------------------------------------------------------------
   UNIFIED ENTERPRISE BUTTON & ACTION SYSTEM (SaaS DESIGN SYSTEM)
   -------------------------------------------------------------------------- */

/* 1. Header Toolbar Buttons (Add New, Filter, Export, Import) */
body.jatayu-shell .card-title {
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    letter-spacing: -0.02em;
    margin: 0;
}

body.jatayu-shell .col-md-8.d-flex .btn,
body.jatayu-shell .card-body .btn-sm {
    height: 36px;
    border-radius: 9px !important;
    font-weight: 600 !important;
    font-size: 0.825rem !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 14px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Primary Action Button (Add New, Create, Save) */
body.jatayu-shell .btn-primary,
body.jatayu-shell .dash-btn-primary,
body.jatayu-shell .col-md-8.d-flex .btn-primary { 
    background: linear-gradient(135deg, #00a2ea 0%, #0072c6 60%, #005494 100%) !important; 
    border: none !important; 
    box-shadow: 0 4px 14px rgba(0, 162, 234, 0.28) !important; 
    color: #ffffff !important; 
    border-radius: 9px !important; 
    font-weight: 600 !important; 
}

body.jatayu-shell .btn-primary:hover,
body.jatayu-shell .dash-btn-primary:hover,
body.jatayu-shell .col-md-8.d-flex .btn-primary:hover { 
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 60%, #004b87 100%) !important; 
    box-shadow: 0 6px 20px rgba(0, 162, 234, 0.45) !important; 
    transform: translateY(-1px); 
    color: #ffffff !important; 
}

/* Filter Button (Soft Azure Tonal) */
body.jatayu-shell .col-md-8.d-flex .btn-info,
body.jatayu-shell .btn-filter {
    background: #f0f9ff !important;
    border: 1px solid #bae6fd !important;
    color: #0284c7 !important;
    box-shadow: none !important;
}
body.jatayu-shell .col-md-8.d-flex .btn-info:hover,
body.jatayu-shell .btn-filter:hover {
    background: #e0f2fe !important;
    border-color: #7dd3fc !important;
    color: #0369a1 !important;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.15) !important;
    transform: translateY(-1px);
}

/* Export Button (Soft Amber Tonal) */
body.jatayu-shell .col-md-8.d-flex .btn-warning,
body.jatayu-shell .export-btn {
    background: #fffbeb !important;
    border: 1px solid #fde68a !important;
    color: #b45309 !important;
    box-shadow: none !important;
}
body.jatayu-shell .col-md-8.d-flex .btn-warning:hover,
body.jatayu-shell .export-btn:hover {
    background: #fef3c7 !important;
    border-color: #fcd34d !important;
    color: #92400e !important;
    box-shadow: 0 4px 12px rgba(180, 83, 9, 0.15) !important;
    transform: translateY(-1px);
}

/* Import Button (Soft Emerald Tonal) */
body.jatayu-shell .col-md-8.d-flex .btn-success,
body.jatayu-shell .import-btn {
    background: #f0fdf4 !important;
    border: 1px solid #bbf7d0 !important;
    color: #15803d !important;
    box-shadow: none !important;
}
body.jatayu-shell .col-md-8.d-flex .btn-success:hover,
body.jatayu-shell .import-btn:hover {
    background: #dcfce7 !important;
    border-color: #86efac !important;
    color: #166534 !important;
    box-shadow: 0 4px 12px rgba(21, 128, 61, 0.15) !important;
    transform: translateY(-1px);
}

/* 2. Modern Table Row Action Buttons (Edit, Delete, View, Print) */
body.jatayu-shell .table-actions { 
    display: inline-flex !important; 
    align-items: center !important; 
    gap: 6px !important; 
    white-space: nowrap !important; 
}

body.jatayu-shell .table-actions .btn,
body.jatayu-shell .main-content #dt-ajax-array .table-actions .btn { 
    width: 32px !important; 
    height: 32px !important; 
    min-width: 32px !important; 
    min-height: 32px !important; 
    border-radius: 8px !important; 
    display: inline-flex !important; 
    align-items: center !important; 
    justify-content: center !important; 
    margin: 0 !important; 
    padding: 0 !important; 
    font-size: 12px !important; 
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Table Edit Button: Soft Cyan -> Electric Cyan */
body.jatayu-shell .table-actions .btn-primary,
body.jatayu-shell .table-actions .edit {
    background: #f0f9ff !important;
    border: 1px solid #bae6fd !important;
    color: #00a2ea !important;
    box-shadow: none !important;
}

body.jatayu-shell .table-actions .btn-primary:hover,
body.jatayu-shell .table-actions .edit:hover {
    background: #00a2ea !important;
    border-color: #00a2ea !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0, 162, 234, 0.38) !important;
    transform: translateY(-1.5px);
}

/* Table Copy Button */
body.jatayu-shell .table-actions .btn-copy,
body.jatayu-shell .table-actions .copy {
    background: #fff7ed !important;
    border: 1px solid #fed7aa !important;
    color: #ea580c !important;
    box-shadow: none !important;
}

body.jatayu-shell .table-actions .btn-copy:hover,
body.jatayu-shell .table-actions .copy:hover {
    background: #ea580c !important;
    border-color: #ea580c !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.32) !important;
    transform: translateY(-1.5px);
}

.copy-form-notice {
    align-items: center;
    background: linear-gradient(135deg, #fff7ed, #fffbeb);
    border: 1px solid #fed7aa;
    border-radius: 12px;
    color: #9a3412;
    display: flex;
    gap: 12px;
    padding: 11px 14px;
}

.copy-form-notice > i {
    align-items: center;
    background: #ffedd5;
    border-radius: 9px;
    display: inline-flex;
    flex: 0 0 34px;
    height: 34px;
    justify-content: center;
}

.copy-form-notice strong,
.copy-form-notice span {
    display: block;
}

.copy-form-notice strong {
    font-size: 13px;
    margin-bottom: 1px;
}

.copy-form-notice span {
    color: #9a5a3a;
    font-size: 11px;
}

/* Table Delete Button: Soft Rose -> Solid Rose */
body.jatayu-shell .table-actions .btn-danger {
    background: #fef2f2 !important;
    border: 1px solid #fecaca !important;
    color: #ef4444 !important;
    box-shadow: none !important;
}

body.jatayu-shell .table-actions .btn-danger:hover {
    background: #ef4444 !important;
    border-color: #ef4444 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.38) !important;
    transform: translateY(-1.5px);
}

/* Table View / Print / Activity Button: Soft Azure -> Solid Azure */
body.jatayu-shell .table-actions .btn-info,
body.jatayu-shell .table-actions .print {
    background: #f0fdfa !important;
    border: 1px solid #99f6e4 !important;
    color: #0d9488 !important;
    box-shadow: none !important;
}

body.jatayu-shell .table-actions .btn-info:hover,
body.jatayu-shell .table-actions .print:hover {
    background: #0d9488 !important;
    border-color: #0d9488 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.38) !important;
    transform: translateY(-1.5px);
}

/* Card & Body Padding */
body.jatayu-shell .main-content .card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 18px !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.035) !important;
    margin-bottom: 28px !important;
}

body.jatayu-shell .main-content .card-body {
    padding: 28px 30px 32px 30px !important;
}

/* DataTables Wrapper Full Container */
body.jatayu-shell .dataTables_wrapper {
    width: 100% !important;
    padding: 0 !important;
    margin-top: 10px !important;
    margin-bottom: 0 !important;
    position: relative;
}

body.jatayu-shell .dataTables_wrapper::after {
    content: "" !important;
    display: table !important;
    clear: both !important;
}

/* 1. Top Controls Bar: Show Entries & Search Input */
body.jatayu-shell .dataTables_length {
    margin-top: 0 !important;
    margin-bottom: 18px !important;
    float: left !important;
}

body.jatayu-shell .dataTables_length label {
    font-weight: 600 !important;
    color: #475569 !important;
    font-size: 0.85rem !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 !important;
}

body.jatayu-shell .dataTables_length select {
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 4px 10px !important;
    font-size: 0.85rem !important;
    color: #0f172a !important;
    background: #ffffff !important;
    outline: none !important;
    height: 36px !important;
    min-width: 65px !important;
    transition: all 0.2s ease !important;
}

body.jatayu-shell .dataTables_length select:focus {
    border-color: #00a2ea !important;
    box-shadow: 0 0 0 3px rgba(0, 162, 234, 0.2) !important;
}

body.jatayu-shell .dataTables_filter {
    margin-top: 0 !important;
    margin-bottom: 18px !important;
    float: right !important;
}

body.jatayu-shell .dataTables_filter label {
    font-weight: 600 !important;
    color: #475569 !important;
    font-size: 0.85rem !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 0 !important;
}

body.jatayu-shell .dataTables_filter input {
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 6px 14px !important;
    font-size: 0.875rem !important;
    color: #0f172a !important;
    background: #ffffff !important;
    outline: none !important;
    height: 36px !important;
    width: 220px !important;
    transition: all 0.2s ease !important;
}

body.jatayu-shell .dataTables_filter input:focus {
    border-color: #00a2ea !important;
    box-shadow: 0 0 0 3px rgba(0, 162, 234, 0.2) !important;
    width: 260px !important;
}

/* 2. Professional Clean Table Container (Generous vertical breathing room) */
body.jatayu-shell .table-responsive {
    overflow-x: auto !important;
    width: 100% !important;
    border-radius: 14px !important;
    border: 1px solid #e2e8f0 !important;
    margin-top: 14px !important;
    margin-bottom: 24px !important;
    clear: both !important;
    background: #ffffff !important;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.02) !important;
}

body.jatayu-shell .table-responsive::-webkit-scrollbar {
    height: 7px;
}

body.jatayu-shell .table-responsive::-webkit-scrollbar-track {
    background: #f8fafc;
    border-radius: 10px;
}

body.jatayu-shell .table-responsive::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

body.jatayu-shell .table-responsive::-webkit-scrollbar-thumb:hover {
    background: #00a2ea;
}

body.jatayu-shell table.dataTable,
body.jatayu-shell #dt-ajax-array,
body.jatayu-shell .table-bordered {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    border: none !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    width: 100% !important;
}

/* Remove all harsh vertical borders from every cell */
body.jatayu-shell table.dataTable th,
body.jatayu-shell table.dataTable td,
body.jatayu-shell #dt-ajax-array th,
body.jatayu-shell #dt-ajax-array td,
body.jatayu-shell .table-bordered th,
body.jatayu-shell .table-bordered td {
    border-left: none !important;
    border-right: none !important;
}

/* Modern Header (Clean horizontal line, no vertical cages) */
body.jatayu-shell .table thead th,
body.jatayu-shell table.dataTable thead th { 
    background: #f8fafc !important; 
    color: #475569 !important; 
    border-top: none !important;
    border-bottom: 1.5px solid #e2e8f0 !important; 
    font-size: 0.775rem !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 13px 32px 13px 16px !important;
    vertical-align: middle !important;
    white-space: nowrap;
    position: relative !important;
}

/* Clean Row Cells with subtle horizontal dividing lines */
body.jatayu-shell .table tbody td,
body.jatayu-shell table.dataTable tbody td {
    vertical-align: middle !important;
    padding: 12px 16px !important;
    font-size: 0.875rem !important;
    color: #334155 !important;
    border-top: none !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

body.jatayu-shell .table tbody tr:last-child td,
body.jatayu-shell table.dataTable tbody tr:last-child td {
    border-bottom: none !important;
}

body.jatayu-shell .table tbody tr:hover > * { 
    background: #f0f9ff !important; 
}

/* Table Footer Totals */
body.jatayu-shell .table tfoot th,
body.jatayu-shell .table tfoot td,
body.jatayu-shell table.dataTable tfoot th,
body.jatayu-shell table.dataTable tfoot td {
    background: #f8fafc !important;
    color: #0f172a !important;
    font-weight: 800 !important;
    border-top: 2px solid #e2e8f0 !important;
    border-bottom: none !important;
    font-size: 0.875rem !important;
    padding: 13px 16px !important;
}

/* 3. Bottom Controls Bar: Info Text & Pagination (Comfortable spacing & never touches bottom) */
body.jatayu-shell .dataTables_info {
    color: #64748b !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    padding-top: 8px !important;
    margin-top: 6px !important;
    margin-bottom: 12px !important;
    float: left !important;
}

body.jatayu-shell .dataTables_paginate {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    margin-top: 6px !important;
    margin-bottom: 12px !important;
    gap: 6px !important;
    float: right !important;
}

body.jatayu-shell .dataTables_paginate .pagination {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin: 0 !important;
}

/* Common button base */
body.jatayu-shell .dataTables_paginate .page-item .page-link,
body.jatayu-shell .dataTables_paginate .paginate_button,
body.jatayu-shell .pagination .page-link {
    border-radius: 8px !important;
    border: 1px solid #e2e8f0 !important;
    color: #475569 !important;
    background: #ffffff !important;
    font-size: 0.825rem !important;
    font-weight: 600 !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: none !important;
    text-decoration: none !important;
    outline: none !important;
}

/* Page Numbers (Equal square chips) */
body.jatayu-shell .dataTables_paginate .paginate_button:not(.previous):not(.next),
body.jatayu-shell .dataTables_paginate .page-item:not(:first-child):not(:last-child) .page-link {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Active Page Number */
body.jatayu-shell .dataTables_paginate .page-item.active .page-link,
body.jatayu-shell .dataTables_paginate .paginate_button.current,
body.jatayu-shell .pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #00a2ea 0%, #0072c6 100%) !important;
    border-color: #00a2ea !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0, 162, 234, 0.35) !important;
}

/* Hover for normal page numbers */
body.jatayu-shell .dataTables_paginate .page-item:not(.active):not(.disabled) .page-link:hover,
body.jatayu-shell .dataTables_paginate .paginate_button:not(.current):not(.disabled):hover {
    background: #f0f9ff !important;
    border-color: #bae6fd !important;
    color: #00a2ea !important;
    transform: translateY(-1px);
}

/* Previous and Next Navigation Buttons (Clear text with comfortable padding) */
body.jatayu-shell .dataTables_paginate .paginate_button.previous,
body.jatayu-shell .dataTables_paginate .paginate_button.next,
body.jatayu-shell .dataTables_paginate .page-item:first-child .page-link,
body.jatayu-shell .dataTables_paginate .page-item:last-child .page-link {
    height: 36px !important;
    padding: 0 16px !important;
    min-width: 85px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 700 !important;
}

/* Disabled Previous / Next Buttons */
body.jatayu-shell .dataTables_paginate .paginate_button.disabled,
body.jatayu-shell .dataTables_paginate .paginate_button.disabled:hover,
body.jatayu-shell .dataTables_paginate .page-item.disabled .page-link,
body.jatayu-shell .dataTables_paginate .page-item.disabled .page-link:hover {
    opacity: 0.45 !important;
    cursor: not-allowed !important;
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
    color: #94a3b8 !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Company Filter in Header Toolbar */
body.jatayu-shell .col-md-8.d-flex select.form-select,
body.jatayu-shell .col-md-8.d-flex .select2-container--default .select2-selection--single {
    height: 36px !important;
    border-radius: 9px !important;
    border: 1.5px solid #e2e8f0 !important;
    font-size: 0.85rem !important;
}

body.jatayu-shell .main-content #dt-ajax-array td:last-child { 
    padding-left: 10px; 
    padding-right: 10px; 
    width: 1%; 
}

@media (max-width:991.98px) {
    body.jatayu-shell .navbar-brand-box { flex-basis:auto; width:auto; }
    body.jatayu-shell .main-content { margin-left:0; width:100%; }
    body.jatayu-shell .page-content { padding:86px 16px 28px; }
    body.jatayu-shell .vertical-menu { z-index:1005; }
}
/* --------------------------------------------------------------------------
   JATAYU ENTERPRISE FILTER DRAWER (OFFCANVAS) & MODAL SYSTEM
   -------------------------------------------------------------------------- */

/* Offcanvas Drawer Base */
.offcanvas.jatayu-filter-drawer,
.offcanvas.offcanvas-end {
    width: 440px !important;
    max-width: 90vw !important;
    border-left: 1px solid #e2e8f0 !important;
    box-shadow: -12px 0 45px rgba(15, 23, 42, 0.12) !important;
    background: #ffffff !important;
    z-index: 1060 !important;
    display: flex;
    flex-direction: column;
}

.offcanvas-backdrop.show {
    background-color: rgba(15, 23, 42, 0.6) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
}

/* Offcanvas Header */
.offcanvas.jatayu-filter-drawer .offcanvas-header,
.offcanvas .offcanvas-header {
    padding: 20px 24px !important;
    border-bottom: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.filter-header-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    color: #00a2ea;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.offcanvas.jatayu-filter-drawer .offcanvas-title {
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    letter-spacing: -0.02em;
}

.offcanvas .btn-close {
    padding: 8px !important;
    border-radius: 8px;
    transition: all 0.2s ease;
    opacity: 0.65;
}

.offcanvas .btn-close:hover {
    opacity: 1;
    background-color: #f1f5f9;
}

/* Offcanvas Body */
.offcanvas.jatayu-filter-drawer .offcanvas-body,
.offcanvas .offcanvas-body {
    padding: 24px !important;
    flex: 1 1 auto;
    overflow-y: auto;
}

.offcanvas.jatayu-filter-drawer .form-label,
.offcanvas .form-label,
.offcanvas label {
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    color: #334155 !important;
    margin-bottom: 6px !important;
}

.offcanvas.jatayu-filter-drawer .form-control,
.offcanvas.jatayu-filter-drawer .form-select,
.offcanvas .form-control {
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 9px !important;
    height: 42px !important;
    padding: 8px 14px !important;
    font-size: 0.875rem !important;
    color: #0f172a !important;
    background-color: #fbfcfe !important;
    transition: all 0.2s ease !important;
}

.offcanvas.jatayu-filter-drawer .form-control:focus,
.offcanvas .form-control:focus {
    background-color: #ffffff !important;
    border-color: #00a2ea !important;
    box-shadow: 0 0 0 3px rgba(0, 162, 234, 0.2) !important;
}

/* Filter Drawer Grid Refinements (Ensure full width for dropdowns, 50% for dates) */
.offcanvas.jatayu-filter-drawer .col-md-4,
.offcanvas.jatayu-filter-drawer .col-md-6:not(:has(input[type="date"])),
.offcanvas.jatayu-filter-drawer .col-md-12,
.offcanvas.jatayu-filter-drawer .col-12 {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
    margin-bottom: 14px !important;
}

.offcanvas.jatayu-filter-drawer .col-6 {
    width: 50% !important;
    flex: 0 0 50% !important;
    max-width: 50% !important;
    margin-bottom: 14px !important;
}

/* --------------------------------------------------------------------------
   GLOBAL SELECT2 DROPDOWN DESIGN SYSTEM
   -------------------------------------------------------------------------- */

/* Select2 Selection Box */
.select2-container--default .select2-selection--single {
    height: 42px !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 9px !important;
    background-color: #ffffff !important;
    transition: all 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
}

.select2-container--default.select2-container--open .select2-selection--single,
.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #00a2ea !important;
    box-shadow: 0 0 0 3px rgba(0, 162, 234, 0.2) !important;
    outline: none !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 40px !important;
    padding-left: 14px !important;
    padding-right: 32px !important;
    color: #0f172a !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 40px !important;
    right: 8px !important;
    width: 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #64748b transparent transparent transparent !important;
    border-width: 5px 4px 0 4px !important;
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent #00a2ea transparent !important;
    border-width: 0 4px 5px 4px !important;
}

/* Select2 Dropdown Menu */
.select2-dropdown {
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.14) !important;
    background: #ffffff !important;
    z-index: 1080 !important;
    overflow: hidden !important;
    padding: 6px !important;
    margin-top: 4px !important;
}

.select2-search--dropdown {
    padding: 6px !important;
}

.select2-search--dropdown .select2-search__field {
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 7px 12px !important;
    font-size: 0.85rem !important;
    color: #0f172a !important;
    outline: none !important;
}

.select2-search--dropdown .select2-search__field:focus {
    border-color: #00a2ea !important;
    box-shadow: 0 0 0 3px rgba(0, 162, 234, 0.2) !important;
}

.select2-results__option {
    padding: 9px 12px !important;
    font-size: 0.875rem !important;
    color: #334155 !important;
    border-radius: 7px !important;
    margin-bottom: 2px !important;
    transition: all 0.15s ease !important;
}

.select2-results__option--highlighted[aria-selected] {
    background: #f0f9ff !important;
    color: #00a2ea !important;
    font-weight: 600 !important;
}

.select2-container--default .select2-results__option[aria-selected=true] {
    background: #e0f2fe !important;
    color: #0284c7 !important;
    font-weight: 700 !important;
}

/* Sticky Offcanvas Footer */
.offcanvas-footer {
    padding: 16px 24px !important;
    border-top: 1px solid #e2e8f0 !important;
    background: #f8fafc !important;
    margin-top: auto;
}

.offcanvas-footer .btn {
    height: 42px !important;
    border-radius: 9px !important;
    font-weight: 700 !important;
    font-size: 0.875rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    transition: all 0.2s ease !important;
}

.offcanvas-footer .btn-primary {
    background: linear-gradient(135deg, #00a2ea 0%, #0072c6 100%) !important;
    border: none !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(0, 162, 234, 0.3) !important;
}

.offcanvas-footer .btn-primary:hover {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
    box-shadow: 0 6px 18px rgba(0, 162, 234, 0.45) !important;
    transform: translateY(-1px);
}

.offcanvas-footer .btn-outline-secondary {
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    color: #64748b !important;
}

.offcanvas-footer .btn-outline-secondary:hover {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
}

/* --------------------------------------------------------------------------
   STANDARD MODAL POPUPS (e.g. Import CSV, Stop Work, Confirmations)
   -------------------------------------------------------------------------- */
.modal-content {
    border-radius: 18px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.18) !important;
    overflow: hidden !important;
}

.modal-header {
    padding: 20px 24px !important;
    border-bottom: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
}

.modal-title,
.modal-header h5 {
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    letter-spacing: -0.02em;
    margin: 0;
}

.modal-body {
    padding: 24px !important;
    background: #ffffff !important;
}

.modal-footer {
    padding: 16px 24px !important;
    border-top: 1px solid #e2e8f0 !important;
    background: #f8fafc !important;
    gap: 8px;
}

.modal-footer .btn {
    height: 40px !important;
    border-radius: 9px !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    padding: 0 18px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* --------------------------------------------------------------------------
   ENTERPRISE FORM SYSTEM (VOUCHERS, FIELDSETS, DYNAMIC TABLES & BUTTONS)
   -------------------------------------------------------------------------- */

/* Shared field rhythm: text, date, file and Select2 controls align on one grid. */
body.jatayu-shell .form-field {
    margin-bottom: 1rem !important;
}

body.jatayu-shell .form-field > .form-label,
body.jatayu-shell .form-field > label.form-label {
    display: block;
    min-height: 20px;
    margin-bottom: 6px !important;
    color: #334155;
    font-size: .85rem;
    font-weight: 700;
    line-height: 1.25;
}

body.jatayu-shell .form-field .form-field__control:not(textarea),
body.jatayu-shell .form-field input.form-control:not([type="file"]),
body.jatayu-shell .form-field select.form-control {
    height: 42px !important;
    min-height: 42px !important;
    border: 1.5px solid #e2e8f0;
    border-radius: 9px;
    font-size: .875rem;
}

body.jatayu-shell .form-field__input-group {
    align-items: stretch;
    width: 100%;
}

body.jatayu-shell .form-field__input-group > .select2-container {
    flex: 1 1 auto;
    width: 100% !important;
}

body.jatayu-shell .form-field__add-button {
    flex: 0 0 42px;
    height: 42px;
    margin-left: 6px;
    padding: 0;
    color: #0284c7;
    background: #f0f9ff;
    border: 1.5px solid #bae6fd;
    border-radius: 9px;
    font-size: 1.15rem;
    font-weight: 800;
}

/* Radio choices share space evenly for common two- and three-option groups. */
.choice-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    width: 100%;
}

.choice-radio-group--stacked {
    flex-direction: column;
    align-items: stretch;
}

.choice-radio-group:not(.choice-radio-group--stacked) .choice-radio {
    flex: 1 1 0;
    min-width: 74px;
}

.choice-radio-group--count-4:not(.choice-radio-group--stacked) .choice-radio {
    flex-basis: calc(25% - .55rem);
}

.choice-radio {
    margin: 0;
    cursor: pointer;
}

.choice-radio__input {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    opacity: 0;
    pointer-events: none;
}

.choice-radio__surface {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    width: 100%;
    min-height: 42px;
    padding: .45rem .65rem;
    color: #475569;
    background: #fff;
    border: 1.5px solid #cbd5e1;
    border-radius: 9px;
    font-size: .82rem;
    font-weight: 650;
    line-height: 1.2;
    text-align: center;
    transition: border-color .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease;
    user-select: none;
}

.choice-radio__indicator {
    inline-size: 16px;
    block-size: 16px;
    flex: 0 0 16px;
    padding: 3px;
    background: #fff;
    border: 2px solid #94a3b8;
    border-radius: 50%;
    background-clip: content-box;
    transition: border-color .18s ease, background-color .18s ease;
}

.choice-radio:hover .choice-radio__surface {
    color: #0369a1;
    background: #f0f9ff;
    border-color: #7dd3fc;
}

.choice-radio__input:checked + .choice-radio__surface {
    color: #0369a1;
    background: #e0f2fe;
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, .12);
}

.choice-radio__input:checked + .choice-radio__surface .choice-radio__indicator {
    background-color: #0284c7;
    border-color: #0284c7;
}

.choice-radio__input:focus-visible + .choice-radio__surface {
    outline: 3px solid rgba(14, 165, 233, .25);
    outline-offset: 2px;
}

.choice-radio__input.is-invalid + .choice-radio__surface {
    border-color: #ef4444;
}

/* Fieldsets & Section Legends */
fieldset.border {
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    padding: 24px 26px !important;
    margin-bottom: 26px !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.02) !important;
    position: relative !important;
}

legend.float-none {
    font-size: 0.85rem !important;
    font-weight: 800 !important;
    color: #0284c7 !important;
    background: #f0f9ff !important;
    border: 1px solid #bae6fd !important;
    border-radius: 8px !important;
    padding: 5px 14px !important;
    margin-bottom: 16px !important;
    display: inline-flex !important;
    align-items: center !important;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

/* Readonly / Disabled Fields in Forms */
body.jatayu-shell input[readonly],
body.jatayu-shell input:disabled,
body.jatayu-shell select:disabled,
body.jatayu-shell .form-control.bg-light {
    background-color: #f1f5f9 !important;
    border: 1.5px solid #e2e8f0 !important;
    color: #475569 !important;
    font-weight: 600 !important;
    cursor: not-allowed;
}

/* Dynamic Rows Table in Forms (#voucher_table, reference tables) */
#voucher_table,
#JvTransactionDetailReferenceTableData,
.table-bordered {
    border-collapse: separate !important;
    border-spacing: 0 !important;
}

#voucher_table thead th,
.ledgerReference table thead th {
    background: #f8fafc !important;
    color: #475569 !important;
    border-top: none !important;
    border-bottom: 1.5px solid #e2e8f0 !important;
    border-left: none !important;
    border-right: none !important;
    font-size: 0.775rem !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 12px 14px !important;
    vertical-align: middle !important;
}

#voucher_table tbody td,
.ledgerReference table tbody td {
    vertical-align: middle !important;
    padding: 10px 12px !important;
    border-top: none !important;
    border-bottom: 1px solid #f1f5f9 !important;
    border-left: none !important;
    border-right: none !important;
}

/* Dynamic Table Action Chips (+ Add & Trash Delete) */
.addRow,
.addRowLedgerReference {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    border-radius: 8px !important;
    background: linear-gradient(135deg, #00a2ea 0%, #0072c6 100%) !important;
    border: none !important;
    color: #ffffff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 3px 10px rgba(0, 162, 234, 0.35) !important;
    transition: all 0.2s ease !important;
}

.addRow:hover,
.addRowLedgerReference:hover {
    transform: translateY(-1.5px);
    box-shadow: 0 5px 14px rgba(0, 162, 234, 0.45) !important;
}

.removeRow,
.removeRowLedgerReference {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    border-radius: 8px !important;
    background: #fef2f2 !important;
    border: 1px solid #fecaca !important;
    color: #ef4444 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
}

.removeRow:hover,
.removeRowLedgerReference:hover {
    background: #ef4444 !important;
    border-color: #ef4444 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35) !important;
    transform: translateY(-1.5px);
}

/* "Fetch Reference" Button */
.btn-fetch-ref,
.btn-info[onclick*="showLedgerReferenceDiv"] {
    background: #f0f9ff !important;
    border: 1.5px solid #bae6fd !important;
    color: #0284c7 !important;
    font-weight: 700 !important;
    border-radius: 9px !important;
    height: 38px !important;
    padding: 0 18px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: none !important;
    transition: all 0.2s ease !important;
}

.btn-fetch-ref:hover,
.btn-info[onclick*="showLedgerReferenceDiv"]:hover {
    background: #0284c7 !important;
    border-color: #0284c7 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3) !important;
    transform: translateY(-1px);
}

/* Form Action Buttons (Save & Cancel) */
.btn-form-submit,
body.jatayu-shell form button[type="submit"]:not(.btn-close) {
    background: linear-gradient(135deg, #00a2ea 0%, #0072c6 100%) !important;
    border: none !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 0.875rem !important;
    height: 42px !important;
    padding: 0 24px !important;
    border-radius: 9px !important;
    box-shadow: 0 4px 14px rgba(0, 162, 234, 0.32) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
}

/* Form Action Buttons (Save & Cancel) */
.btn-form-submit,
body.jatayu-shell form button[type="submit"]:not(.btn-close),
body.jatayu-shell #saveData {
    background: linear-gradient(135deg, #00a2ea 0%, #0072c6 100%) !important;
    border: none !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 0.875rem !important;
    height: 42px !important;
    padding: 0 24px !important;
    border-radius: 9px !important;
    box-shadow: 0 4px 14px rgba(0, 162, 234, 0.32) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-form-submit:hover,
body.jatayu-shell form button[type="submit"]:not(.btn-close):hover,
body.jatayu-shell #saveData:hover {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
    box-shadow: 0 6px 18px rgba(0, 162, 234, 0.45) !important;
    transform: translateY(-1px);
}

/* Global Form Cancel Button (Soft Slate -> Soft Rose on Hover) */
.btn-form-cancel,
body.jatayu-shell form a.btn-danger,
body.jatayu-shell form a.btn-secondary,
body.jatayu-shell form a.btn-outline-secondary,
body.jatayu-shell .btn-form-cancel {
    background: #f8fafc !important;
    border: 1.5px solid #e2e8f0 !important;
    color: #475569 !important;
    font-weight: 700 !important;
    font-size: 0.875rem !important;
    height: 42px !important;
    padding: 0 22px !important;
    border-radius: 9px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    text-decoration: none !important;
    box-shadow: none !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-form-cancel:hover,
body.jatayu-shell form a.btn-danger:hover,
body.jatayu-shell form a.btn-secondary:hover,
body.jatayu-shell form a.btn-outline-secondary:hover,
body.jatayu-shell .btn-form-cancel:hover {
    background: #fef2f2 !important;
    border-color: #fecaca !important;
    color: #ef4444 !important;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.15) !important;
    transform: translateY(-1px);
}

/* File Upload Controls */
body.jatayu-shell input[type="file"].form-control {
    height: 42px !important;
    padding: 6px 10px !important;
    font-size: 0.825rem !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 9px !important;
    background-color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
}

body.jatayu-shell input[type="file"].form-control::file-selector-button {
    background: #f0f9ff !important;
    border: 1px solid #bae6fd !important;
    color: #0284c7 !important;
    border-radius: 6px !important;
    padding: 4px 12px !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    margin-right: 12px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

body.jatayu-shell input[type="file"].form-control::file-selector-button:hover {
    background: #0284c7 !important;
    border-color: #0284c7 !important;
    color: #ffffff !important;
}

.file-upload-native-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.file-upload-picker {
    display: flex;
    align-items: center;
    width: 100%;
    height: 42px;
    overflow: hidden;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 9px;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.file-upload-native-input:focus-visible + .file-upload-picker {
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, .16);
}

.file-upload-native-input.is-invalid + .file-upload-picker {
    border-color: #ef4444;
}

.file-upload-picker__button {
    display: inline-flex;
    align-items: center;
    align-self: stretch;
    gap: 6px;
    margin: 0 !important;
    padding: 0 13px;
    color: #0369a1;
    background: #f0f9ff;
    border-right: 1px solid #bae6fd;
    font-size: .8rem;
    font-weight: 750;
    white-space: nowrap;
    cursor: pointer;
    transition: color .18s ease, background-color .18s ease;
}

.file-upload-picker__button:hover {
    color: #fff;
    background: #0284c7;
}

.file-upload-picker__name {
    min-width: 0;
    padding: 0 11px;
    overflow: hidden;
    color: #64748b;
    font-size: .8rem;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-upload-hint {
    display: block;
    margin-top: 4px;
    color: #64748b;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .02em;
    line-height: 1.35;
}

.file-upload-card {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 58px;
    margin-top: 9px;
    padding: 8px 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
}

.file-upload-card__preview {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    overflow: hidden;
    color: #0369a1;
    background: #e0f2fe;
    border: 1px solid #bae6fd;
    border-radius: 8px;
}

.file-upload-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.file-upload-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .03em;
}

.file-upload-card__details {
    min-width: 0;
    flex: 1 1 auto;
}

.file-upload-card__details strong,
.file-upload-card__details small {
    display: block;
}

.file-upload-card__details strong {
    overflow: hidden;
    color: #1e293b;
    font-size: .82rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-upload-card__details small {
    margin-top: 2px;
    color: #64748b;
    font-size: .72rem;
}

.file-upload-card__actions {
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    gap: 5px;
}

.file-upload-card__action {
    padding: 5px 8px;
    color: #0369a1;
    background: #fff;
    border: 1px solid #bae6fd;
    border-radius: 6px;
    font-size: .72rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
}

.file-upload-card__action:hover {
    color: #fff;
    background: #0284c7;
    border-color: #0284c7;
}

@media (max-width: 575.98px) {
    .choice-radio-group:not(.choice-radio-group--stacked) .choice-radio,
    .choice-radio-group--count-4:not(.choice-radio-group--stacked) .choice-radio {
        flex-basis: calc(50% - .55rem);
    }

    .file-upload-card {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .file-upload-card__actions {
        flex-direction: row;
        width: 100%;
        padding-left: 52px;
    }
}
