/* Light theme base with subtle pastel rose glow */
body { font-family: 'Montserrat', Arial, sans-serif; background:
	radial-gradient(1200px 600px at 90% 0%, rgba(255, 99, 132, 0.08), rgba(255,255,255,0) 60%),
	linear-gradient(180deg,#f7f9ff 0%, #ffffff 100%);
	color: #1f2d3a; margin:0; padding:24px 0;}
.container { width: min(410px, 92%); margin:18px auto; background: #ffffff; border-radius: 18px; box-shadow:0 10px 30px rgba(16, 38, 87, 0.10); padding:22px 16px; max-width:410px }
h2 {color:#2a81ff; margin:0; font-size:1.2em;}

.switch-label{margin-left:12px;font-weight:600;font-size:0.92rem;color:#556b8b}

/* Modern toggle switch */
.switch{display:inline-block;position:relative;width:44px;height:24px;margin-right:10px}
.switch input{opacity:0;width:0;height:0;margin:0}
.switch .slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background:#e9eef7;border-radius:34px;transition:all .18s ease;box-shadow:inset 0 1px 0 rgba(16,38,87,0.06)}
.switch .slider:before{content:"";position:absolute;height:18px;width:18px;left:3px;top:3px;background:#fff;border-radius:50%;transition:all .18s ease;box-shadow:0 3px 8px rgba(2,8,10,0.25)}
.switch input:checked + .slider{background:linear-gradient(90deg,#00c7b7,#36b5f0)}
.switch input:checked + .slider:before{transform:translateX(20px);background:#ffffff}
.switch-label.small{font-size:0.88rem;color:#cfeff6;margin-left:8px}

/* Header */
.app-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.app-header .header-left{display:flex;align-items:center;gap:10px}
.avatar{width:34px;height:34px;border-radius:50%;background:linear-gradient(135deg,#2a81ff,#7c5cff);display:flex;align-items:center;justify-content:center;color:#fff;font-weight:800}
/* Brand logo to replace avatar H */
.brand-logo{width:34px;height:34px;border-radius:10px;display:block;box-shadow:0 6px 14px rgba(0,0,0,0.18)}
.welcome{font-size:0.78rem;color:#7685a2;margin-bottom:2px}
.icon-btn{background:#ffffff;border:1px solid rgba(41,58,91,0.12);width:36px;height:36px;border-radius:10px;display:flex;align-items:center;justify-content:center;color:#2a81ff;box-shadow:0 2px 6px rgba(16,38,87,0.06);cursor:pointer}
.icon-btn .icon-moon{display:none}
body.theme-dark .icon-btn{background:#23292f;border-color:#3a465a;color:#ffd36b}
body.theme-dark .icon-btn .icon-sun{display:none}
body.theme-dark .icon-btn .icon-moon{display:block}
body:not(.theme-dark) .icon-btn .icon-sun{display:block}
body:not(.theme-dark) .icon-btn .icon-moon{display:none}
table{width:100%;border-collapse:collapse;}
/* Avoid overlap between Valor and Días on desktop: add gutter and fixed column widths */
#formNomina table{border-collapse:separate;border-spacing:8px 10px;table-layout:fixed}
#formNomina th:nth-child(1), #formNomina td:nth-child(1){width:45%}
#formNomina th:nth-child(2), #formNomina td:nth-child(2){width:45%}
#formNomina th:nth-child(3), #formNomina td:nth-child(3){width:80px;text-align:center}
.th, td{padding:7px 4px;font-size:1em;}
th{color:#4ed3ad; font-weight:700;}
td input[type="number"]{width:100%;max-width:100%;box-sizing:border-box;padding:8px;border-radius:10px;background:#ffffff;color:#1f2d3a;border:1px solid rgba(41,58,91,0.20);font-size:1em;box-shadow:0 2px 6px rgba(16,38,87,0.06)}
.diasmini{width:68px;}
.results{margin-top:18px;}
.result-card{background:#f6f8ff; color:#1f2d3a; font-weight:600; padding:12px 14px;border-radius:14px;margin-bottom:10px;box-shadow:0 4px 12px rgba(16,38,87,0.08);border:1px solid rgba(41,58,91,0.10)}
.result-label{color:#2a81ff;}
.result-card.neto{background:linear-gradient(135deg,#d3ffe6,#b6ffd2);color:#064d2a;font-weight:900;border:1px solid rgba(8,75,40,0.12);box-shadow:0 8px 20px rgba(8,75,40,0.18)}
.result-card.neto .value{font-size:1.2rem}

/* Sections for ingresos/egresos */
.section-heading{font-size:0.82rem;color:#7a8aad;font-weight:800;margin:14px 2px 8px}
.incomes-wrap .result-card{background:#f7fbff}
/* Deductions in soft red/pink to match the reference */
.deductions-wrap .result-card{background:linear-gradient(180deg,#fff6f6,#ffefef);border-left:4px solid rgba(244,67,54,0.45);color:#1a1a1a}
.deductions-wrap .result-card .result-label{color:#111}
.deductions-wrap .result-card .value{color:#e53935;font-weight:800}
/* Align labels and numeric values inside result cards */
.result-card{display:flex;align-items:center;justify-content:space-between;gap:12px}
.result-card .label-stack{flex:1;display:flex;flex-direction:column;gap:4px;min-width:0}
.result-card .result-label{font-weight:700}
.label-stack .result-label{display:block}
.result-card .result-detail{font-size:0.78rem;color:#5d6d8a;line-height:1.2}
.result-card .value{min-width:78px;max-width:140px;text-align:right;display:inline-block;font-variant-numeric:tabular-nums;overflow:hidden;text-overflow:ellipsis}
.btn{display:inline-block;padding:10px 18px;border-radius:10px;font-weight:700;cursor:pointer;border:none;text-decoration:none;text-align:center;transition:all .15s ease;margin-top:10px}
.btn:active{transform:translateY(1px)}
.btn-primary{background:linear-gradient(90deg,#2a81ff,#7c5cff);color:#ffffff;border:0;box-shadow:0 8px 18px rgba(42,129,255,0.25)}
.btn-primary:hover{filter:brightness(.95);box-shadow:0 10px 22px rgba(10,40,50,0.28)}
.btn-secondary{background:#ffffff;color:#2b3a55;border:1px solid rgba(41,58,91,0.18);box-shadow:0 2px 6px rgba(16,38,87,0.06)}
.btn-secondary:hover{background:#f7f9ff}
.boleta{margin-top:18px;background:linear-gradient(180deg,#f6fbfb 0%, #e9f9f7 100%);border-radius:12px;padding:16px 18px; box-shadow:0 10px 30px rgba(3,10,14,0.20); color:#0b2530}
.boleta h3{color:#136fa3; font-size:1.05em; margin-bottom:10px;}
.boleta table{width:100%;border-collapse:separate;border-spacing:0 8px;background:transparent}
.boleta .boleta-table{display:block}
.boleta .mobile-list{display:none}
.boleta .section-title{color:#0a6f5e;font-weight:800;font-size:0.95rem;margin:6px 2px}
.boleta td, .boleta th{font-size:0.96em;padding:8px 10px;font-variant-numeric:tabular-nums}
.boleta .metric{color:#0b8f52;font-weight:800;font-size:0.98em}
.firma{margin-top:14px;color:#2b2b66;font-weight:700}
.fecha{color:#516671; float:right; font-size:0.92em; margin-top:6px}
.logo-sim{display:flex;align-items:center;gap:10px;background:transparent;color:inherit;padding:0;margin-bottom:12px}
.logo-img{width:46px;height:46px}
.logo-text{font-weight:900;color:#68d0fd;letter-spacing:1px}
.small-logo{width:34px;height:34px}
@media (max-width:450px){
	.container{width:92%;padding:12px 14px;margin:14px auto;border-radius:12px}
	.btn{width:100%;box-sizing:border-box}
}
/* Extra tightness for very small screens to avoid numeric overflow */
@media (max-width:400px){
	.result-card .value{min-width:56px;font-size:0.95rem}
	td input[type="number"]{width:100px}
	.diasmini{width:34px}
}
/* En móviles: permitir que '30 días' baje a una segunda línea para ahorrar ancho */
@media (max-width:460px){
	.result-card{flex-wrap:wrap;align-items:flex-start}
	.result-card .value{order:2}
}

/* Config panel (sidebar-style) */
.config-panel{background:#ffffff;border:1px solid rgba(41,58,91,0.10);border-radius:14px;padding:10px 12px;margin:12px 0;box-shadow:0 4px 12px rgba(16,38,87,0.06)}
/* Config sections for vacaciones/incapacidad */
.config-panel .config-section{margin-top:14px;padding:12px 14px;border-radius:14px;background:#f8fbff;border:1px solid rgba(41,58,91,0.08)}
.config-panel .config-section:first-of-type{margin-top:10px}
.config-panel .config-section.compact{background:#fdfdff}
.config-panel .config-section.period-section{background:linear-gradient(135deg,rgba(84,132,255,0.15),rgba(120,214,255,0.08));border:1px solid rgba(41,58,91,0.12)}
.config-expander{width:100%;margin-top:12px;padding:10px 14px;border-radius:12px;border:1px solid rgba(41,58,91,0.12);background:#f1f4ff;color:#2a3f7f;font-weight:700;font-size:0.88rem;display:flex;align-items:center;justify-content:space-between;cursor:pointer;box-shadow:0 2px 6px rgba(16,38,87,0.06);transition:all .18s ease}
.config-expander .chevron{font-size:0.9rem;color:#4b5e7f;transition:transform .2s ease;display:inline-block}
.config-expander.active{background:#e6f6ff;border-color:rgba(41,58,91,0.16);box-shadow:0 4px 10px rgba(16,38,87,0.08)}
.config-expander.active .chevron{transform:rotate(180deg)}
.advanced-config{display:flex;flex-direction:column;gap:12px;margin-top:12px}
.config-panel .extras-section{background:linear-gradient(145deg,rgba(76,201,240,0.08),rgba(103,178,255,0.12));border:1px solid rgba(41,58,91,0.12)}
.section-header{display:flex;align-items:flex-start;gap:12px}
.section-titles{flex:1}
.section-title{font-weight:700;font-size:0.95rem;color:#2a3f7f}
.section-helper{font-size:0.8rem;color:#6a7c95;margin-top:2px}
.section-body{margin-top:12px;display:flex;flex-direction:column;gap:12px}
.field-label{font-size:0.82rem;font-weight:600;color:#4b5e7f;margin-bottom:6px;display:block}
.calendar-input,.config-panel input[type="number"],.config-panel select,.config-panel input[type="month"]{width:100%;box-sizing:border-box;padding:10px;border-radius:10px;border:1px solid rgba(41,58,91,0.20);background:#ffffff;color:#1f2d3a;font-size:0.95rem;box-shadow:0 2px 6px rgba(16,38,87,0.04)}
.config-panel input[type="number"]:disabled{background:#eef2f9;cursor:not-allowed}
.field-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}
.field-grid.single{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
.manual-wrapper{display:flex;align-items:center;gap:10px}
.manual-wrapper input[type="number"]{margin:0}
.manual-toggle{font-size:0.78rem;color:#5c6c88;display:flex;align-items:center;gap:6px;white-space:nowrap}
.manual-toggle input{margin:0}
.extras-list{display:flex;flex-direction:column;gap:10px;margin-top:10px}
.extras-empty{padding:12px;border-radius:10px;border:1px dashed rgba(42,129,255,0.35);background:rgba(42,129,255,0.08);color:#4b5e7f;font-size:0.82rem;font-weight:600;text-align:center}
.extra-row{display:grid;grid-template-columns:minmax(140px,1fr) 94px 36px;gap:10px;align-items:center;padding:10px 12px;border-radius:12px;background:rgba(246,248,255,0.9);border:1px solid rgba(42,129,255,0.18);box-shadow:0 4px 12px rgba(16,38,87,0.06)}
.extra-row select{width:100%;padding:9px;border-radius:10px;border:1px solid rgba(41,58,91,0.22);background:#ffffff;color:#1f2d3a;font-size:0.9rem}
.extra-row input{width:100%;padding:9px;border-radius:10px;border:1px solid rgba(41,58,91,0.22);background:#ffffff;color:#1f2d3a;font-size:0.9rem;font-variant-numeric:tabular-nums}
.extra-row .extra-remove{width:32px;height:32px;border-radius:10px;border:1px solid rgba(42,129,255,0.25);background:rgba(42,129,255,0.12);color:#2a3f7f;font-size:1.1rem;line-height:1;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .18s ease;padding:0}
.extra-row .extra-remove:hover{background:rgba(42,129,255,0.18)}
.btn-ghost{margin-top:8px;padding:9px 12px;border-radius:12px;border:1px dashed rgba(42,129,255,0.4);background:rgba(42,129,255,0.08);color:#2a3f7f;font-weight:700;width:100%;cursor:pointer;transition:all .18s ease}
.btn-ghost:hover{background:rgba(42,129,255,0.15)}
.switch.small{width:38px;height:20px}
.switch.small .slider{border-radius:24px}
.switch.small .slider:before{height:14px;width:14px;top:3px;left:3px}
.switch.small input:checked + .slider:before{transform:translateX(18px)}
.days-warning{margin-top:14px;padding:10px 12px;border-radius:10px;background:linear-gradient(90deg,#ffe3e3,#ffd4ce);color:#5a1d1d;font-weight:600;border:1px solid rgba(244,67,54,0.35)}
/* segmented removed: now theme uses icon button */

/* Dark theme overrides */
/* Dark theme redesigned (banking style like the screenshot) */
body.theme-dark{background:linear-gradient(180deg,#0f1218 0%, #0a0c14 100%);color:#e7edf3}
body.theme-dark .container{background:linear-gradient(180deg,#151a23,#11151d);border:1px solid rgba(255,255,255,0.06);box-shadow:0 14px 40px rgba(0,0,0,0.6)}
body.theme-dark .app-header .welcome{color:#8b93a2}
body.theme-dark .app-header h2{color:#ffffff}
body.theme-dark .config-panel{background:#151a22;border-color:rgba(255,255,255,0.06);box-shadow:0 10px 28px rgba(0,0,0,0.45)}
body.theme-dark .config-panel .config-section{background:#151a22;border-color:rgba(255,255,255,0.08)}
body.theme-dark .config-panel .config-section.compact{background:#141a24}
body.theme-dark .config-panel .config-section.period-section{background:linear-gradient(135deg,rgba(60,88,160,0.35),rgba(40,68,118,0.22));border-color:rgba(144,169,255,0.28)}
body.theme-dark .config-expander{background:#1a2330;border:1px solid rgba(255,255,255,0.08);color:#dfe6f1;box-shadow:0 6px 16px rgba(0,0,0,0.35)}
body.theme-dark .config-expander .chevron{color:#9db4d7}
body.theme-dark .config-expander.active{background:#1f2b3c;border-color:rgba(120,178,255,0.25)}
body.theme-dark .config-panel .extras-section{background:linear-gradient(145deg,rgba(28,60,88,0.55),rgba(24,46,70,0.65));border-color:rgba(120,178,255,0.25)}
body.theme-dark .extras-empty{background:rgba(33,64,104,0.32);border-color:rgba(120,178,255,0.32);color:#c9d9f4}
body.theme-dark .extra-row{background:rgba(24,36,54,0.88);border-color:rgba(120,178,255,0.26);box-shadow:0 6px 16px rgba(0,0,0,0.35)}
body.theme-dark .extra-row select,body.theme-dark .extra-row input{background:#1b202b;border-color:rgba(255,255,255,0.12);color:#e6edf6}
body.theme-dark .extra-row .extra-remove{background:rgba(120,178,255,0.16);border-color:rgba(120,178,255,0.3);color:#dbe6ff}
body.theme-dark .btn-ghost{background:rgba(45,76,110,0.28);border-color:rgba(120,178,255,0.35);color:#cfe4ff}
body.theme-dark .btn-ghost:hover{background:rgba(58,100,150,0.35)}
body.theme-dark .switch .slider{background:#2a3140;box-shadow:inset 0 1px 0 rgba(0,0,0,0.2)}
body.theme-dark .switch input:checked + .slider{background:linear-gradient(90deg,#00d1c7,#39b8ff)}
/* Specific style for the Seguro toggle aligning with red palette in dark mode */
body.theme-dark td .switch input:checked + .slider{background:linear-gradient(90deg,#ff6b6b,#ff9e9e)}
body.theme-dark .result-card{background:#1a1f2b;color:#e6eef6;border:1px solid rgba(255,255,255,0.06);box-shadow:0 8px 24px rgba(0,0,0,0.35)}
body.theme-dark .result-card .result-detail{color:#95a5c3}
body.theme-dark .section-title{color:#dfe6f1}
body.theme-dark .section-helper{color:#8d9cb3}
body.theme-dark .field-label{color:#bcc7d9}
body.theme-dark .calendar-input,body.theme-dark .config-panel input[type="number"],body.theme-dark .config-panel select,body.theme-dark .config-panel input[type="month"]{background:#1b202b;color:#e7edf3;border-color:rgba(255,255,255,0.08);box-shadow:none}
body.theme-dark .config-panel input[type="number"]:disabled{background:#1a1f2b;color:#9ba7bb}
body.theme-dark .manual-toggle{color:#c5cfdf}
body.theme-dark .days-warning{background:linear-gradient(90deg,#452222,#321616);color:#ffd6d6;border-color:rgba(255,255,255,0.08)}
body.theme-dark .extra-card{background:rgba(21,29,43,0.92);border-color:rgba(120,178,255,0.22);box-shadow:0 10px 26px rgba(0,0,0,0.4)}
body.theme-dark .extra-card .extra-label{color:#d5e2ff}
body.theme-dark .extra-card .extra-helper{color:#7ab7ff;background:rgba(66,118,221,0.25)}
body.theme-dark .extra-card input{background:#1b202b;border-color:rgba(255,255,255,0.08);color:#e6edf8}
body.theme-dark .extra-card .extra-unit{color:#9baad1}
body.theme-dark .result-label{color:#dfe6f1}
body.theme-dark .btn-secondary{background:#1a1f2b;color:#dbe3ef;border:1px solid rgba(255,255,255,0.08);box-shadow:none}
body.theme-dark .btn-secondary:hover{background:#202634}
body.theme-dark .switch-label{color:#c9d1de}

/* Diferenciar claramente ingresos vs deducciones */
.incomes-wrap .result-card{background:linear-gradient(180deg,#f3f8ff, #eef4ff);border-left:4px solid rgba(42,129,255,0.45)}
.deductions-wrap .result-card{background:linear-gradient(180deg,#eefcf9, #e7fbf6);border-left:4px solid rgba(0,183,160,0.45)}
body.theme-dark .incomes-wrap .result-card{background:#1a2330;border-left-color:#3aa9ff}
/* Dark deductions: reddish cards with soft white/red labels and stronger red numbers */
body.theme-dark .deductions-wrap .result-card{background:#1a1f2b;border-left-color:rgba(255,255,255,0.08)}
body.theme-dark .deductions-wrap .result-card .result-label{color:#dfe6f1}
body.theme-dark .deductions-wrap .result-card .value{color:#e6eef6;font-weight:700}
/* Highlight only Salud y Pensión in dark */
body.theme-dark .deductions-wrap .result-card.salud .result-label,
body.theme-dark .deductions-wrap .result-card.pension .result-label{color:#ffdada}
body.theme-dark .deductions-wrap .result-card.salud .value,
body.theme-dark .deductions-wrap .result-card.pension .value{color:#ff9a9a;font-weight:800}

/* Emphasized NETO card in dark: gradient pill like the bank card */
body.theme-dark .result-card.neto{background:linear-gradient(135deg,#58c6b9,#2fb28a);color:#071c14;border:1px solid rgba(255,255,255,0.06);box-shadow:0 12px 30px rgba(0,0,0,0.45)}
body.theme-dark .result-card.neto .value{color:#052116}

/* Dark: lighten TOTAL DEDUCCIONES text for contrast */
body.theme-dark .deduction-total{background:linear-gradient(180deg,#3a2424,#2a1b1b);color:#ffe6e6;border-left:4px solid #ff7d7d;border:1px solid rgba(255,255,255,0.08)}
body.theme-dark .deduction-total .label{color:#ffd6d6}
body.theme-dark .deduction-total .amount{color:#ffc1c1;font-weight:900}
/* remove top accent line on totals in dark */

/* Hacer el total de ingresos visualmente distinto al total de deducciones */
.result-card.metric{position:relative}
/* Totals with accent line so they stand out */
.incomes-wrap .result-card.metric{background:#f2f6ff;border-left-color:rgba(42,129,255,0.6)}
/* no top accent line on totals */
/* TOTAL DEDUCCIONES card in soft red with a red line */
.deduction-total{background:linear-gradient(180deg,#fff6f6,#ffefef);border-left-color:rgba(244,67,54,0.55);}
/* no top accent line on totals */
/* En móviles, ocultar la tabla y mostrar lista tipo cards */
@media (max-width:460px){
	.boleta .boleta-table{display:none}
	.boleta .mobile-list{display:block}
}
/* Utility classes */
.hidden{display:none!important;}
.fr-blue{color:#2a81ff}
.text-right{text-align:right}
.text-left{text-align:left}
.neto-badge{color:#084b28;background:#e9fae9;padding:6px 8px;border-radius:6px;display:inline-block}
/* Deductions styling: subtle background and left accent */
.deductions{margin-top:8px}
/* Legacy .deductions block (align to red palette too) */
.deductions .result-card{background:linear-gradient(180deg,#fff6f6,#ffefef);color:#1a1a1a;border-left:4px solid rgba(244,67,54,0.6);padding:10px 12px;border-radius:12px;margin-bottom:10px;box-shadow:0 2px 8px rgba(16,38,87,0.06);position:relative;z-index:0;border:1px solid rgba(41,58,91,0.10)}
.deductions .result-card .result-label{color:#111;font-weight:700}
.deductions .result-card .value{color:#e53935;font-weight:800}

/* TOTAL DEDUCCIONES: destacar pero coherente con deductions */
.deduction-total{background:linear-gradient(180deg,#fff6f6,#ffefef);color:#3b1b1b;border-left:4px solid rgba(244,67,54,0.6);padding:10px 12px;border-radius:12px;margin-top:8px;margin-bottom:12px;box-shadow:0 4px 8px rgba(16,38,87,0.06);display:flex;justify-content:space-between;align-items:center;position:relative;z-index:0;border:1px solid rgba(41,58,91,0.10)}
.deduction-total .label{font-size:0.92rem;color:#b33b3b;letter-spacing:0.6px}
.deduction-total .amount{font-size:1.02rem;font-weight:900;color:#8e1f1f}

/* Boleta: fila especial para total deducciones */
.boleta tr.deduction-total th,.boleta tr.deduction-total td{background:transparent;color:#0b3940;padding:8px;border-radius:4px;border-top:1px solid rgba(0,199,183,0.06)}
.boleta tr.deduction-total th{font-weight:700;font-size:0.95rem;color:#0b6b63}
.boleta tr.deduction-total td{font-weight:900;font-size:1.02rem;color:#064f48}
.boleta tr.deduction-total .total-amount{color:#064f48}

/* Boleta: marcar filas de deducciones — solo acento izquierdo, sin fondo adicional */
.boleta tr.deduction td{background:transparent;color:#0b2530;padding:8px 10px;border-radius:0;font-weight:700;border-left:3px solid rgba(0,119,102,0.18)}

/* Mobile list inside boleta should feel like the light panel, not dark cards */
.boleta .mobile-list .result-card{background:rgba(6,42,51,0.06);color:#0b2530;border:1px solid rgba(0,0,0,0.05);box-shadow:none;padding:10px 12px}
.boleta .mobile-list .result-card.metric{background:rgba(11,143,82,0.08);border-left:4px solid rgba(11,143,82,0.25)}
.boleta .mobile-list .deduction-total{background:linear-gradient(180deg,#fff6f6,#ffefef);color:#3b1b1b;border-left:4px solid rgba(244,67,54,0.6);box-shadow:none}
.boleta .mobile-list .result-card.neto{background:linear-gradient(90deg,#e6fff0,#c8ffd6);color:#084b28}

/* Prevent the row backgrounds from creating oversized pills on very small widths */
.boleta tr.deduction td:first-child{border-top-left-radius:6px;border-bottom-left-radius:6px}
.boleta tr.deduction td:last-child{border-top-right-radius:6px;border-bottom-right-radius:6px}

/* Slightly tighten total-deducciones row visuals */
.boleta tr.deduction-total th,.boleta tr.deduction-total td{background:transparent;color:#073734;padding:8px;border-radius:4px;border-top:1px solid rgba(0,150,130,0.06)}
.boleta tr.deduction-total th{font-weight:700;font-size:0.95rem;color:#0a6f5e}
.boleta tr.deduction-total td{font-weight:900;font-size:1.02rem;color:#044f46}
.boleta tr.deduction-total .total-amount{color:#044f46}

/* Slightly smaller checkbox label on very small screens */
@media (max-width:360px){
	.switch-label{font-size:0.82rem}
	.logo-img{width:40px;height:40px}
}