﻿/*
 * =====================================================================
 * WARNING: This file is auto-compiled from the SCSS source!
 * PLEASE DO NOT MAKE CHANGES IN THIS FILE.
 * Make all changes in the original .scss file in the wwwroot/scss/ folder.
 * =====================================================================
 */
/* Premium Production Payment Styles */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --bg-main: #0f172a;        /* Solid Slate 900 */
    --bg-panel: #1e293b;       /* Solid Slate 800 */
    --bg-panel-hover: #334155; /* Solid Slate 700 */
    --border-glass: #334155;   /* Solid Border */
    --border-glass-light: #475569; 
    --text-main: #f1f5f9;      /* Slate 100 - Not pure white */
    --text-muted: #94a3b8;     /* Slate 400 */
    --accent-primary: #0ea5e9; /* Sky 500 */
    --accent-secondary: #0284c7; /* Sky 600 */
    --accent-glow: transparent; /* No glow */
    
    --success: #10b981;
    --success-bg: #064e3b;     /* Solid dark emerald */
    --warning: #f59e0b;
    --warning-bg: #78350f;     /* Solid dark amber */
    --danger: #ef4444;
    --danger-bg: #7f1d1d;      /* Solid dark red */
    --info: #0ea5e9;
    --info-bg: #0c4a6e;        /* Solid dark sky */
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Outfit', sans-serif;
}

.pp-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    background: var(--bg-main);
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    overflow: hidden;
    position: relative;
}

/* Add a subtle background glow behind the layout */
.pp-container::before {
    content: '';
    position: absolute;
    top: -20%; right: -10%;
    width: 60%; height: 60%;
    background: var(--bg-main);
    pointer-events: none;
    z-index: 0;
}

/* Header Ribbon */
.pp-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 28px;
    background: #1e293b;
    
    -webkit-
    border-bottom: 1px solid var(--border-glass);
    z-index: 10;
}

.pp-header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.pp-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #1e293b;
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: #818cf8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    
}

.m-0 { margin: 0; }
.fs-1-05 { font-size: 1.15rem; }
.fs-0-7 { font-size: 0.75rem; }
.ls-05 { letter-spacing: 0.05em; }
.fw-700 { font-weight: 700; }
.fw-600 { font-weight: 600; }
.text-muted { color: var(--text-muted); }
.text-blue { color: #60a5fa; }
.text-amber { color: #fbbf24; }
.text-green { color: #34d399; }
.mt-0 { margin-top: 0; }
.mb-16 { margin-bottom: 16px; }
.mb-12 { margin-bottom: 12px; }
.mb-8 { margin-bottom: 8px; }
.p-24 { padding: 24px; }
.p-20 { padding: 20px; }
.w-100 { width: 100%; }

.pp-header-right {
    display: flex;
    gap: 12px;
}

/* General Buttons */
.btn {
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    text-decoration: none;
}

.btn-sm {
    padding: 8px 14px;
    font-size: 0.8rem;
}

.btn-xs {
    padding: 6px 10px;
    font-size: 0.7rem;
    border-radius: 6px;
}

.btn-primary {
    background: var(--accent-primary);
    color: #fff;
    
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    
}

.btn-primary:active:not(:disabled) {
    transform: translateY(0);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass-light);
    color: var(--text-main);
}

.btn-outline:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-navy-dim {
    background: rgba(30, 58, 138, 0.3);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #93c5fd;
}

.btn-navy-dim:hover {
    background: rgba(30, 58, 138, 0.5);
    color: #bfdbfe;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.2);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
}

/* KPI Ribbon */
.pp-kpi-ribbon {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 20px 28px;
    background: #0f172a;
    border-bottom: 1px solid var(--border-glass);
    z-index: 5;
    position: relative;
}

.pp-kpi-card {
    background: var(--bg-panel);
    
    -webkit-
    border: 1px solid var(--border-glass);
    border-radius: 14px;
    padding: 18px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.pp-kpi-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, transparent 100%);
    pointer-events: none;
}

.pp-kpi-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-glass-light);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    background: var(--bg-panel-hover);
}

.pp-kpi-title {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    margin-bottom: 10px;
}

.pp-kpi-value {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.1;
    font-family: 'Outfit', sans-serif;
}

/* Main Layout */
.pp-layout {
    display: flex;
    flex: 1;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

/* Sidebar */
.pp-sidebar {
    width: 280px;
    background: #1e293b;
    
    border-right: 1px solid var(--border-glass);
    padding: 24px 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pp-sidebar-header {
    font-size: 1.1rem;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pp-sidebar-header i {
    color: var(--accent-primary);
}

.pp-filter-group label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* Inputs & Selects */
.form-input, .field-input, .smart-sub-input {
    width: 100%;
    background: #0f172a;
    border: 1px solid #475569;
    color: var(--text-main);
    padding: 10px 14px;
    border-radius: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    transition: all 0.2s;
    outline: none;
}

.form-input:hover, .field-input:hover {
    border-color: rgba(255,255,255,0.2);
}

.form-input:focus, .field-input:focus, .smart-sub-input:focus {
    border-color: var(--accent-primary);
    background: #1e293b;
}

select.form-input, select.field-input, select.smart-sub-input {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px;
    padding-right: 32px;
}

select option {
    background: #1e293b;
    color: #fff;
}

/* Main Content */
.pp-main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: transparent;
}

/* Tabs Navigation */
.pp-tabs-header {
    display: flex;
    background: #1e293b;
    border-bottom: 1px solid var(--border-glass);
    padding: 0 16px;
}

.pp-tab-btn {
    padding: 16px 24px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    font-family: 'Outfit', sans-serif;
}

.pp-tab-btn::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: width 0.3s ease;
    box-shadow: 0 -2px 10px var(--accent-glow);
}

.pp-tab-btn:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.02);
}

.pp-tab-btn.active {
    color: #fff;
    font-weight: 600;
}

.pp-tab-btn.active::after {
    width: 100%;
}

.pp-tab-btn i {
    font-size: 1.1em;
}

.pp-tab-btn.active i {
    color: var(--accent-primary);
    
}

.pp-tab-pane {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: auto;
}

.pp-tab-pane.d-none {
    display: none;
}

.d-none { display: none !important; }

/* Dashboard Grid */
.pp-dash-grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.pp-dash-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 800px;
}

.pp-dash-col {
    background: var(--bg-panel);
    
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;
}

.pp-dash-col:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    border-color: rgba(255,255,255,0.12);
}

.pp-dash-col-header {
    padding: 14px;
    text-align: center;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #fff;
    background: #1e293b;
    border-bottom: 1px solid var(--border-glass);
}

.pp-dash-col-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pp-stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: #0f172a;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.03);
    transition: background 0.2s;
}

.pp-stat-row:hover {
    background: rgba(255,255,255,0.05);
}

.pp-stat-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: #cbd5e1;
}

.pp-stat-val {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
}

/* Dashboard Status Colors */
.ds-not-submit { background: #334155; color: #f8fafc; }
.ds-submit { background: #b45309; color: #f8fafc; }
.ds-revised { background: #0284c7; color: #f8fafc; }
.ds-reject { background: #b91c1c; color: #f8fafc; }
.ds-approved { background: #047857; color: #f8fafc; }
.ds-yes { background: #047857; color: #f8fafc; }
.ds-no { background: #b91c1c; color: #f8fafc; }
.ds-default { background: #334155; color: #f8fafc; }

/* Table Toolbar */
.pp-table-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background: #1e293b;
    border-bottom: 1px solid var(--border-glass);
    
}

.pp-table-wrapper {
    flex: 1;
    overflow: auto;
    padding: 20px 24px;
}

/* Pivot Table for Dashboard */
.pp-pivot-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 24px;
    background: var(--bg-panel);
    
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    overflow: hidden;
    font-size: 0.9rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.pp-pivot-table th {
    background: #334155;
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-glass);
    border-right: 1px solid var(--border-glass);
    font-size: 0.8rem;
}

.pp-pivot-table th:nth-child(1) { width: 10%; }
.pp-pivot-table th:nth-child(2) { width: 10%; }
.pp-pivot-table th:nth-child(3) { width: 10%; }
.pp-pivot-table th:nth-child(4) { width: 5%; }

.border-right-thick {
    border-right: 2px solid rgba(255,255,255,0.15) !important;
}

.pp-pivot-table th.text-center { text-align: center; }

.pp-pivot-table td {
    padding: 14px 16px;
    color: #e2e8f0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    border-right: 1px solid rgba(255,255,255,0.04);
    vertical-align: middle;
    transition: background 0.2s;
}

.pp-pivot-table tr:last-child td { border-bottom: none; }
.pp-pivot-table tr:hover td { background: rgba(255, 255, 255, 0.04); }

.pp-pivot-table td.text-center { text-align: center; }
.pp-pivot-table td.fw-bold { font-weight: 600; color: #fff; }

.pp-pivot-val-cell {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.pp-pivot-percent {
    font-style: italic;
    font-weight: 400;
    font-size: inherit;
    color: #94a3b8;
}

.pp-pivot-val-zero {
    color: #475569;
}

/* WIR Grouping Table Styles */
.wir-group {
    background: var(--bg-panel);
    
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.wir-group:hover {
    border-color: rgba(255,255,255,0.15);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.wir-group-header {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    background: #1e293b;
    cursor: pointer;
    user-select: none;
    gap: 16px;
    border-bottom: 1px solid transparent;
    transition: background 0.3s;
}

.wir-group-header:hover {
    background: rgba(255,255,255,0.03);
}

.wir-group.expanded .wir-group-header {
    border-bottom-color: var(--border-glass);
}

.wir-group-title {
    flex: 1;
    font-weight: 600;
    font-size: 1.05rem;
    color: #fff;
}

.wir-group-stats {
    font-size: 0.85rem;
    color: #94a3b8;
    background: #334155;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.05);
}

.wir-group-content {
    display: none;
}

.wir-group.expanded .wir-group-content {
    display: block;
    animation: fadeIn 0.3s ease-out forwards;
}

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

.wir-group.expanded .wir-toggle-icon {
    transform: rotate(90deg);
}

.wir-toggle-icon {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #94a3b8;
    font-size: 1.1rem;
}

/* Base Table inside Tab-Elements */
.pp-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    overflow: hidden;
}

.pp-table th {
    background: #1e293b;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    text-align: left;
    padding: 14px 16px;
    font-weight: 600;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    border-right: 1px solid rgba(255,255,255,0.05);
    letter-spacing: 0.05em;
}

.pp-table td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    border-right: 1px solid rgba(255,255,255,0.03);
    font-size: 0.9rem;
    color: #e2e8f0;
    transition: background 0.2s;
}

.pp-table th:last-child,
.pp-table td:last-child {
    border-right: none;
}

.pp-table tr:hover td {
    background: rgba(255, 255, 255, 0.06) !important;
}

.pp-table tr:last-child td {
    border-bottom: none;
}

.border-right-thick {
    border-right: 2px solid rgba(255,255,255,0.15) !important;
}

/* Custom Checkbox */
input[type="checkbox"] {
    appearance: none;
    background-color: rgba(0,0,0,0.3);
    margin: 0;
    font: inherit;
    color: currentColor;
    width: 1.25em;
    height: 1.25em;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 4px;
    display: grid;
    place-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

input[type="checkbox"]::before {
    content: "";
    width: 0.65em;
    height: 0.65em;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    box-shadow: inset 1em 1em var(--accent-primary);
    transform-origin: center;
    clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

input[type="checkbox"]:checked {
    border-color: var(--accent-primary);
    background-color: rgba(99, 102, 241, 0.1);
}

input[type="checkbox"]:checked::before {
    transform: scale(1);
}

/* Badges */
.badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.badge-pp { background: rgba(59, 130, 246, 0.15); color: #93c5fd; border: 1px solid rgba(59, 130, 246, 0.3); }
.badge-lp { background: rgba(16, 185, 129, 0.15); color: #6ee7b7; border: 1px solid rgba(16, 185, 129, 0.3); }
.badge-ap { background: rgba(245, 158, 11, 0.15); color: #fcd34d; border: 1px solid rgba(245, 158, 11, 0.3); }
.badge-sp { background: rgba(139, 92, 246, 0.15); color: #c4b5fd; border: 1px solid rgba(139, 92, 246, 0.3); }
.badge-secondary { background: rgba(148, 163, 184, 0.15); color: #cbd5e1; border: 1px solid rgba(148, 163, 184, 0.3); }
.badge-success { background: rgba(34, 197, 94, 0.15); color: #86efac; border: 1px solid rgba(34, 197, 94, 0.3); }

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    
    -webkit-
    animation: modalBg 0.3s ease-out forwards;
}

@keyframes modalBg {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-card {
    background: var(--bg-panel);
    
    -webkit-
    border: 1px solid var(--border-glass-light);
    border-radius: 16px;
    width: 450px;
    max-width: 90%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255,255,255,0.05) inset;
    transform: scale(0.95);
    animation: modalPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes modalPop {
    from { opacity: 0; transform: scale(0.9) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-glass);
    background: rgba(0,0,0,0.1);
    border-radius: 16px 16px 0 0;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-header h3 i {
    color: var(--accent-primary);
}

.btn-icon {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.2s;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.btn-icon:hover {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    padding: 20px 24px;
    border-top: 1px solid var(--border-glass);
    display: flex;
    justify-content: flex-end;
    background: rgba(0,0,0,0.1);
    border-radius: 0 0 16px 16px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #e2e8f0;
    margin-bottom: 8px;
    display: block;
}

/* Card classes for Data Entry tab */
.card {
    background: var(--bg-panel);
    
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.scroll-custom::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.scroll-custom::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.1);
    border-radius: 4px;
}

.scroll-custom::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.15);
    border-radius: 4px;
}

.scroll-custom::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.25);
}

/* Specific Modals (Override standard width if needed) */
#modal-bulk-payment-tracking .modal-card {
    width: 650px !important;
}

#modal-bulk-payment-tracking .smart-progress-container {
    background: #1e293b !important;
    border: 1px solid var(--border-glass) !important;
    border-radius: 12px !important;
    padding: 20px !important;
}

/* Field input wrap inside modals */
.field-input-wrap label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 6px;
    display: block;
}

.btn-save {
    background: #10b981;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    
}

.btn-save:hover {
    transform: translateY(-2px);
    
}

/* Scroll-y */
.scroll-y {
    overflow-y: auto;
}

/* Utility layout classes used in HTML */
.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Data Entry Tab Custom Dark Blue Theme & Adjusted Font Sizes */
#tab-data-entry {
    background-color: #1b2432 !important;
    border-radius: 8px;
}

#tab-data-entry,
#tab-data-entry div,
#tab-data-entry span,
#tab-data-entry label,
#tab-data-entry .text-muted,
#tab-data-entry .text-xs,
#tab-data-entry .text-sm,
#tab-data-entry .fw-600,
#tab-data-entry i {
    color: #ffffff !important;
    font-size: 1.2rem !important;
    line-height: 1.4 !important;
}

#tab-data-entry h4 {
    color: #ffffff !important;
    font-size: 1.6rem !important;
}

#tab-data-entry input,
#tab-data-entry select,
#tab-data-entry button {
    color: #ffffff !important;
    background-color: #121822 !important;
    border: 1px solid #2d3b51 !important;
    font-size: 1.1rem !important;
    padding: 10px 14px !important;
    height: auto !important;
}

#tab-data-entry input::placeholder {
    color: #94a3b8 !important;
}

/* Adjust inline borders for visibility on dark background */
#tab-data-entry [style*="border: 1px solid rgba(255,255,255"] {
    border-color: #2d3b51 !important;
}

/* Double checkbox size */
#tab-data-entry input[type="checkbox"] {
    width: 2em !important;
    height: 2em !important;
    background-color: #121822 !important;
    border: 1px solid #2d3b51 !important;
}
