/* System Design Variables */
:root {
    /* Brandbook colors */
    --bg-dark-color: #000000;       /* Black default, customizable */
    --accent-color: #da215f;        /* Fuchsia institutional */
    --secondary-accent-color: #ea5652; /* Coral */
    --beige-color: #fbf0d4;         /* Warm cream */
    --sage-color: #c4d8d1;          /* Sage green */
    
    /* Text styles */
    --text-white: #ffffff;
    --text-muted: #a3a3a3;          /* Soft slate gray */
    --text-dark: #232323;           
    
    /* Layout sizing */
    --zoom-factor: 1;
    --sidebar-width: 460px;
    --sidebar-width-expanded: 460px;
}

/* Base resets */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #0d0d0d;
    color: #f3f4f6;
    overflow: hidden;
    height: 100vh;
}

/* App Layout */
.app-container {
    display: flex;
    height: 100vh;
    width: 100vw;
}

/* Sidebar styling — ocupa toda la pantalla, preview se oculta */
.sidebar {
    flex: 1;
    min-width: 0;
    background-color: #121212;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    z-index: 10;
    box-sizing: border-box;
    padding: 0 32px;
}

/* Topbar: logo + nav + acciones en una línea */
.sidebar-header {
    display: flex;
    align-items: center;
    gap: 0;
    height: 56px;
    flex-shrink: 0;
    border-bottom: 1px solid #222222;
    padding: 0;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    height: 100%;
}

#sidebar-logo {
    height: 36px;
    object-fit: contain;
}

.logo-title {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 1px;
    color: var(--text-white);
}

.sidebar-subtitle {
    font-size: 12px;
    color: #737373;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Form Styles */
.form-container {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 15px 0;
}

.form-section {
    background-color: #1a1a1a;
    border-radius: 8px;
    margin-bottom: 12px;
    border: 1px solid #2a2a2a;
    overflow: hidden;
}

/* Eyebrow label grouping sibling sections in long tabs (e.g. Gestión) */
.section-group-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent-color);
    margin: 20px 0 8px;
    opacity: 0.85;
}

.section-group-label:first-child {
    margin-top: 4px;
}

.form-section summary {
    padding: 12px 15px;
    font-weight: 600;
    font-size: 14px;
    color: #e5e7eb;
    cursor: pointer;
    user-select: none;
    outline: none;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background-color 0.2s;
}

.form-section summary::-webkit-details-marker {
    display: none;
}

.form-section summary::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: auto;
    transition: transform 0.2s;
}

.form-section[open] summary::after {
    transform: rotate(180deg);
}

.form-section summary:hover {
    background-color: #262626;
}

.form-section[open] summary {
    border-bottom: 1px solid #2a2a2a;
    background-color: #222222;
}

/* Form elements */
.form-group {
    padding: 12px 15px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group:not(:last-child) {
    border-bottom: 1px dashed #2a2a2a;
}

.form-row {
    display: flex;
    border-bottom: 1px dashed #2a2a2a;
}

.form-row .form-group {
    flex: 1;
    border-bottom: none !important;
}

.form-row .form-group:first-child {
    border-right: 1px dashed #2a2a2a;
}

label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #9ca3af;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
select,
textarea {
    background-color: #0d0d0d;
    border: 1px solid #333333;
    border-radius: 6px;
    padding: 8px 12px;
    color: #ffffff;
    font-family: inherit;
    font-size: 13px;
    width: 100%;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(218, 33, 95, 0.15);
}

textarea {
    resize: vertical;
}

.help-text {
    font-size: 11px;
    color: #64748b;
    margin-top: 2px;
}

/* Equipment / Conditions Rows */
.equipment-item-row,
.condition-item-row {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 8px;
}

.equipment-item-row input[name="eqQty"] {
    width: 50px;
    text-align: center;
}

.btn-remove-row {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    padding: 6px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.btn-remove-row:hover {
    background-color: rgba(239, 68, 68, 0.15);
}

.btn-move-cond {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 6px;
    border-radius: 4px;
    transition: background-color 0.2s, color 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-move-cond:hover:not(:disabled) {
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.btn-move-cond:disabled {
    color: #4b5563;
}

/* Color pickers */
.color-picker-container {
    display: flex;
    gap: 8px;
    align-items: center;
}

input[type="color"] {
    -webkit-appearance: none;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    cursor: pointer;
    background: none;
}

input[type="color"]::-webkit-color-swatch-wrapper {
    padding: 0;
}

input[type="color"]::-webkit-color-swatch {
    border: 1px solid #334155;
    border-radius: 6px;
}

.color-text-input {
    font-family: monospace !important;
    text-transform: uppercase;
}

/* Buttons */
.btn {
    font-family: inherit;
    font-weight: 600;
    font-size: 13px;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn:active {
    transform: scale(0.98);
}

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

.btn-primary:hover {
    background-color: #be185d;
}

.btn-secondary {
    background-color: #2a2a2a;
    color: #e2e8f0;
}

.btn-secondary:hover {
    background-color: #333333;
}

.btn-success {
    background-color: #10b981;
    color: #ffffff;
}

.btn-success:hover {
    background-color: #059669;
}

.btn-danger {
    background-color: #dc2626;
    color: #ffffff;
}

.btn-danger:hover {
    background-color: #b91c1c;
}

.btn-outline {
    background: none;
    border: 1px solid #333333;
    color: #9ca3af;
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 11px;
}

.btn-crud {
    padding: 2px 6px;
    font-size: 10px;
}

.btn-lg {
    padding: 12px 20px;
    font-size: 15px;
}

.btn-block {
    display: flex;
    width: 100%;
}

.sidebar-footer {
    padding: 10px 0;
    border-top: 1px solid #1a1a1a;
    display: flex;
    gap: 8px;
}

.sidebar-footer-secondary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.btn-text-muted {
    background: none;
    border: none;
    color: #888;
    font-size: 11px;
    cursor: pointer;
    padding: 4px 0;
    font-family: inherit;
    transition: color 0.15s;
}
.btn-text-muted:hover { color: #bbb; }

.btn-text-danger {
    background: none;
    border: none;
    color: #c0392b;
    font-size: 11px;
    cursor: pointer;
    padding: 4px 0;
    font-family: inherit;
    transition: color 0.15s;
    display: flex;
    align-items: center;
    gap: 5px;
}
.btn-text-danger:hover { color: #da215f; }

/* Campo visible pero no editable (ejecutivo en diagnóstico) */
.field-readonly {
    opacity: 0.75;
    cursor: default;
    border-style: dashed !important;
}

/* Acciones en el topbar — compactas, alineadas a la derecha */
.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex: 0 0 auto;
    height: 100%;
}

/* Preview Area — oculto por defecto, solo aparece como modal */
.preview-area {
    display: none;
    flex-direction: column;
    height: 100%;
    background-color: #080808;
    overflow: hidden;
}

/* Modal mode: fullscreen sobre todo */
.preview-area.modal-mode {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 1100;
    width: 100vw;
    height: 100vh;
    box-shadow: none;
}

.preview-area.hidden {
    display: none !important;
}

/* Modal backdrop */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1050;
    opacity: 1;
    transition: opacity 0.2s;
}

.modal-backdrop.hidden {
    display: none;
}

.preview-header {
    background-color: #111111;
    border-bottom: 1px solid #222222;
    padding: 12px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.preview-header h2 {
    font-size: 14px;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex: 1;
    text-align: center;
}

.btn-close-modal {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    font-size: 20px;
    padding: 4px 8px;
    border-radius: 4px;
    display: none;
    transition: color 0.2s, background-color 0.2s;
}

.btn-close-modal:hover {
    color: #ffffff;
    background-color: #333333;
}

.preview-area.modal-mode .btn-close-modal {
    display: block;
}

.preview-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: #1e1e1e;
    border-radius: 6px;
    padding: 4px 10px;
    border: 1px solid #333333;
}

.preview-actions button {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: color 0.2s, background-color 0.2s;
}

.preview-actions button:hover {
    color: #ffffff;
    background-color: #333333;
}

#zoom-level {
    font-size: 12px;
    font-weight: 600;
    color: #e5e7eb;
    min-width: 40px;
    text-align: center;
    user-select: none;
}

/* Pages Container & Simulation */
.pages-container {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    scroll-behavior: smooth;
    transform-origin: top center;
}

/* A4 Sheet Simulation */
.proposal-page {
    width: 210mm;
    height: 297mm;
    min-width: 210mm;
    min-height: 297mm;
    background-color: var(--bg-dark-color);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 25mm 20mm 20mm 20mm; /* A4 page boundaries */
    color: var(--text-white);
}

/* Dark theme pages (Standard M200 aesthetic) */
.dark-theme {
    background-color: var(--bg-dark-color);
    color: var(--text-white);
}

.page-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    z-index: 5;
    position: relative;
}

/* Page Footer styling */
.page-footer {
    height: 10mm;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: flex-end;
    align-items: center;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    z-index: 5;
    position: relative;
    margin-top: auto;
    font-family: 'Barlow Condensed', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* LAYOUT 1: PORTADA */
.layout-portada {
    flex-direction: row;
    height: 100%;
}

.portada-left {
    width: 55%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.portada-right {
    width: 45%;
    position: relative;
}

.brand-logo {
    max-height: 150px;
    max-width: 170px;
    object-fit: contain;
    align-self: flex-start;
}

.title-container {
    margin-top: auto;
    margin-bottom: auto;
}

.proposal-title {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 34px;
    line-height: 1.15;
    text-transform: uppercase;
    color: var(--text-white);
    letter-spacing: -0.5px;
}

.client-info-portada {
    margin-top: auto;
}

.client-name-preview {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: var(--text-white);
    margin-bottom: 4px;
}

.client-subtitle-preview {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: var(--beige-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.client-contact-preview {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 6px;
}

/* Background graphics for layout styling */
.background-shape-portada {
    position: absolute;
    top: 0;
    right: 0;
    width: 48%;
    height: 100%;
    background-color: var(--accent-color);
    clip-path: polygon(25% 0, 100% 0, 100% 100%, 0 100%);
    z-index: 1;
}

/* LAYOUT 2: SPLIT (LEFT / RIGHT) */
.layout-split-left {
    display: flex;
    flex-direction: row;
    flex: 1;
}

.layout-split-right {
    display: flex;
    flex-direction: row;
    flex: 1;
}

.split-image-side {
    width: 35%;
    position: relative;
}

.split-text-side {
    width: 65%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 15px;
}

.layout-split-left .split-text-side {
    padding-left: 75px;
}

.layout-split-right .split-text-side {
    padding-right: 75px;
    padding-left: 0;
}

/* Modern offset frame layouts (replaced circular shapes) */
.background-shape-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 55%;
    height: 100%;
    background-color: var(--accent-color);
    clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%);
    z-index: 1;
}

.background-shape-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    background-color: var(--accent-color);
    clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
    z-index: 1;
}

.circular-image-container {
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 24px;
    z-index: 3;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.circular-img-right {
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
}

.circular-img-right:hover {
    transform: translateY(-54%) scale(1.02);
}

.circular-img-left {
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
}

.circular-img-left:hover {
    transform: translateY(-54%) scale(1.02);
}

.circular-image-border {
    position: absolute;
    border-radius: 24px;
    pointer-events: none;
    z-index: 1; /* Behind the image */
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* For right-positioned images, shift the background frame down-right */
.circular-img-right .circular-image-border {
    top: 15px;
    left: 15px;
    right: -15px;
    bottom: -15px;
    border: 3px solid var(--accent-color);
    background: rgba(218, 33, 95, 0.1);
}

/* For left-positioned images, shift the background frame down-left */
.circular-img-left .circular-image-border {
    top: 15px;
    left: -15px;
    right: 15px;
    bottom: -15px;
    border: 3px solid #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.circular-image {
    width: 100%;
    height: 100%;
    border-radius: 24px; /* Matches container */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    object-fit: cover;
    object-position: center;
    position: relative;
    z-index: 2; /* In front of the frame */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}

/* Typography styles inside preview */
.section-title {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 28px;
    line-height: 1.1;
    text-transform: uppercase;
    color: var(--text-white);
    margin-bottom: 25px;
    letter-spacing: -0.5px;
}

.section-title-flat {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 28px;
    text-transform: uppercase;
    color: var(--text-white);
    letter-spacing: -0.5px;
    margin-bottom: 30px;
}

.section-text {
    font-family: 'Inter', sans-serif;
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--text-muted);
}

.section-text p {
    margin-bottom: 12px;
}

.section-text strong, 
.section-text b {
    color: var(--text-white);
    font-weight: 600;
}

.proposal-intro-container {
    display: flex;
    flex-direction: column;
}

.brand-symbol-small {
    margin-top: 30px;
}

.brand-svg-symbol {
    opacity: 0.8;
}

/* LAYOUT 3: GRID (LO QUE INCLUYE) */
.layout-grid {
    height: 100%;
}

.grid-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.brand-symbol-top {
    margin-top: 5px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 25px 15px;
    margin-top: 15px;
}

.grid-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.grid-item-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    color: var(--beige-color);
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 4px;
}

.grid-item-text {
    font-family: 'Inter', sans-serif;
    font-size: 11.5px;
    line-height: 1.5;
    color: var(--text-muted);
}

/* LAYOUT 4: ECONOMICS */
.layout-economics {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.economics-blocks {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 25px;
}

.eco-block {
    flex: 1 1 calc(33.333% - 12px);
    min-width: 140px;
    background-color: var(--accent-color);
    border-radius: 12px;
    padding: 14px 10px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 105px;
    transition: all 0.3s ease;
}

.eco-value {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 22px;
    color: var(--text-white);
    line-height: 1.1;
}

.eco-unit {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: var(--beige-color);
    text-transform: uppercase;
    margin: 2px 0;
}

.eco-label {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.85);
}

/* Form Styles for Economic Items with Trash Function */
.eco-item-form-row {
    display: flex;
    align-items: center;
    border-bottom: 1px dashed #2a2a2a;
    padding-right: 15px;
    transition: all 0.2s ease;
}

.eco-item-form-row:last-child {
    border-bottom: none;
}

.eco-item-form-row .form-group {
    flex: 1;
    border-bottom: none !important;
}

.btn-toggle-eco {
    background: none;
    border: none;
    color: #ef4444; /* Default active is red/trash color */
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: color 0.2s, background-color 0.2s;
    font-size: 14px;
    margin-top: 14px; /* Align with input */
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-toggle-eco:hover {
    background-color: rgba(239, 68, 68, 0.15);
}

.btn-toggle-eco.inactive {
    color: #10b981; /* Green when inactive/disabled to restore */
}

.btn-toggle-eco.inactive:hover {
    background-color: rgba(16, 185, 129, 0.15);
}

.eco-item-form-row.inactive input {
    background-color: #1e293b;
    color: #475569;
    border-color: #1e293b;
    pointer-events: none;
    text-decoration: line-through;
}

.eco-item-form-row.inactive label {
    color: #475569;
}

.equipments-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.equipments-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    color: var(--text-white);
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 4px;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.equipments-list-preview {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.equipment-item-preview {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 13.5px;
    color: var(--text-muted);
}

.equipment-item-preview i {
    color: var(--accent-color);
    font-size: 10px;
}

.equipment-qty {
    font-weight: 700;
    color: var(--text-white);
}

.brand-symbol-bottom-right {
    position: absolute;
    bottom: 0;
    right: 0;
}

/* LAYOUT 5: CONDITIONS */
.layout-conditions {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.conditions-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.conditions-block {
    flex: 1;
}

.conditions-subtitle {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    color: var(--beige-color);
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.conditions-bullets-preview {
    list-style: none;
}

.conditions-bullets-preview li {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    line-height: 1.6;
    color: var(--text-muted);
    position: relative;
    padding-left: 18px;
    margin-bottom: 10px;
}

.conditions-bullets-preview li::before {
    content: "•";
    color: var(--accent-color);
    font-weight: bold;
    font-size: 16px;
    position: absolute;
    left: 0;
    top: -2px;
}

.conditions-gallery {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    height: 125px;
    margin-top: 15px;
}

.gallery-image {
    flex: 1;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* LAYOUT 6: TRABAJEMOS JUNTOS (CONTACT) */
.contact-split {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding-top: 10px;
    padding-bottom: 10px;
}

.contact-details-container {
    margin-top: 30px;
    margin-bottom: auto;
    margin-left: 110px; /* Desplaza la firma y datos unos 3 cm a la derecha para no pisar la forma fucsia */
}

.exec-info {
    margin-bottom: 30px;
}

.exec-name-preview {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 19.8px;
    color: var(--text-white);
    margin-bottom: 4px;
}

.exec-title-preview {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    color: var(--accent-color);
    letter-spacing: 1px;
}

.exec-company-preview {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 500;
    font-size: 15px;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.8px;
}

.exec-contact-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-line {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 15px;
    color: var(--text-white);
    letter-spacing: 0.8px;
}

.contact-line i {
    color: var(--accent-color);
    width: 16px;
    text-align: center;
}

.brand-logo-cierre {
    max-height: 110px;
    max-width: 130px;
    object-fit: contain;
    margin-top: auto; /* Empuja el logo al fondo de forma limpia */
    align-self: flex-start;
    margin-left: 110px; /* Desplaza el logo hacia la derecha unos 3 cm para no pisar la forma fucsia */
}

/* Modals */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.75);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: #161616;
    border-radius: 12px;
    max-width: 500px;
    width: 100%;
    border: 1px solid #2a2a2a;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.modal-header {
    padding: 15px 20px;
    border-bottom: 1px solid #2a2a2a;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-close-modal {
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
}

.btn-close-modal:hover {
    color: #ffffff;
}

.modal-body {
    padding: 20px;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--text-muted);
}

.modal-body ol {
    margin-left: 20px;
    margin-top: 10px;
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.modal-body li strong {
    color: var(--text-white);
}

.modal-preview-mini {
    margin-top: 15px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #3b4f75;
}

.modal-preview-mini img {
    width: 100%;
    display: block;
}

.modal-footer {
    padding: 15px 20px;
    border-top: 1px solid #2a2a2a;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    background-color: #0d0d0d;
}

/* Sidebar Tabs styling */
/* Nav tabs — dentro del topbar, horizontal */
.sidebar-tabs {
    display: flex;
    flex-wrap: nowrap;
    flex: 1 1 auto;
    min-width: 0;
    align-items: stretch;
    gap: 0;
    padding: 0;
    height: 100%;
    overflow-x: auto;
    scrollbar-width: none;
}

.sidebar-tabs::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    flex: 0 0 auto;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    color: #666;
    padding: 0 16px;
    height: 100%;
    font-family: inherit;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.02em;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 7px;
    transition: color 0.15s ease, border-color 0.15s ease;
    white-space: nowrap;
}

.tab-btn i {
    font-size: 14px;
    transition: color 0.15s ease;
}

.tab-btn:hover {
    color: #ccc;
}

.tab-btn:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: -2px;
}

.tab-btn.active {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

/* Tab content visibility */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Select add rows and dropdown styling */
.select-add-row {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 4px;
}

.select-add-row select {
    flex: 1;
}

.sub-section-group {
    border-bottom: 1px dashed #2a2a2a;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.sub-section-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.dynamic-rows-list {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Dynamic Item Cards */
.dynamic-item-card {
    background-color: #161616;
    border: 1px solid #262626;
    border-radius: 6px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.eq-main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 8px;
}

.item-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #ffffff;
    flex: 1;
}

.item-qty-input {
    width: 50px !important;
    text-align: center;
    padding: 4px 6px !important;
    font-size: 12px !important;
    margin: 0 !important;
}

.item-name {
    font-weight: 600;
    font-size: 13.5px;
    color: #ffffff;
}

.item-price-desc {
    font-size: 11px;
    color: #888888;
    margin-left: auto;
    padding-right: 5px;
}

/* Accessories list inside equipment cards */
.eq-acc-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-left: 14px;
    border-left: 2px solid var(--accent-color);
    margin: 4px 0;
    width: 100%;
}

.eq-acc-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11.5px;
    color: #a3a3a3;
    gap: 6px;
}

.eq-acc-item .acc-qty-input {
    width: 38px !important;
    text-align: center;
    padding: 2px 4px !important;
    font-size: 11px !important;
    margin: 0 !important;
    background-color: #0c0c0c;
    border-color: #222222;
    color: #ffffff;
    border-radius: 4px;
    border: 1px solid #333;
}

.btn-remove-acc-inline {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 11px;
    padding: 2px 4px;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.btn-remove-acc-inline:hover {
    opacity: 1;
}

/* Add accessory row inside card */
.eq-add-acc-row {
    display: flex;
    gap: 6px;
    align-items: center;
    width: 100%;
    margin-top: 4px;
    border-top: 1px dashed #262626;
    padding-top: 6px;
}

.eq-add-acc-row select {
    flex: 1;
    font-size: 11px !important;
    padding: 4px 6px !important;
    height: 26px !important;
}

.eq-add-acc-row button {
    padding: 4px 8px !important;
    font-size: 11px !important;
    height: 26px !important;
}

/* Total row cost */
.eq-row-total {
    text-align: right;
    width: 100%;
    font-size: 11.5px;
    color: #10b981;
    font-weight: 700;
    border-top: 1px dashed #262626;
    padding-top: 6px;
    margin-top: 2px;
}

/* Page 6 Equipments Preview Card */
.equipment-preview-card {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 8px;
    gap: 15px;
    width: 100%;
}

.eq-preview-image {
    width: 55px;
    height: 55px;
    object-fit: contain;
    background-color: #ffffff; /* White background to make png contrast nicely */
    border-radius: 6px;
    padding: 3px;
    border: 1px solid rgba(255,255,255,0.1);
}

.eq-preview-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.eq-preview-name {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #ffffff;
}

.eq-preview-name .equipment-qty {
    color: var(--accent-color);
}

.eq-preview-accessories {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    color: var(--text-muted);
}

/* ==========================================
   MOBILE STYLES (@media max-width: 768px)
   ========================================== */

.mobile-only { display: none; }

@media (max-width: 768px) {
    .mobile-only { display: flex; }

    body {
        overflow: auto;
    }

    .app-container {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
        position: relative;
    }

    /* Sidebar ocupa toda la pantalla, padding reducido */
    .sidebar {
        width: 100%;
        height: auto;
        min-height: 100vh;
        box-shadow: none;
        border-right: none;
        padding: 0 12px;
    }

    /* Topbar: 2 filas — logo+acciones arriba, tabs abajo */
    .sidebar-header {
        height: auto;
        flex-wrap: wrap;
    }

    .logo-area {
        height: 48px;
        flex: 1;
    }

    .header-actions {
        flex: 0 0 auto;
        height: 48px;
    }

    /* Tabs en segunda fila, ancho completo, scrollable */
    .sidebar-tabs {
        flex: 0 0 100%;
        height: 44px;
        border-top: 1px solid #222222;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .sidebar-tabs::-webkit-scrollbar { display: none; }

    /* Ocultar texto del logo, mantener imagen */
    .logo-title { display: none; }

    /* Tabs: icono + texto, tamaño reducido */
    .tab-btn {
        font-size: 11px;
        padding: 0 14px;
        gap: 6px;
        min-height: 44px;
    }

    /* Botones de acción: solo icono */
    .btn-label { display: none; }

    /* Preview oculto por defecto — se muestra como overlay con clase */
    .preview-area {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 100;
        background-color: #080808;
        overflow-y: auto;
    }

    .preview-area.mobile-visible {
        display: flex;
    }

    /* Modal mode on mobile */
    .preview-area.modal-mode {
        position: fixed;
        inset: 0;
        z-index: 1100;
        width: 100vw;
        height: 100vh;
        display: flex;
    }

    .sidebar.expanded {
        width: 100%;
    }

    /* Botón volver en el header del preview */
    .btn-back-mobile {
        background: none;
        border: 1px solid #444;
        color: #ccc;
        border-radius: 6px;
        padding: 6px 12px;
        font-size: 13px;
        font-family: inherit;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 6px;
        white-space: nowrap;
    }

    .btn-back-mobile:hover {
        background-color: rgba(255,255,255,0.07);
        color: #fff;
    }

    /* Preview header en mobile: columna o fila ajustada */
    .preview-header {
        gap: 10px;
        padding: 10px 14px;
        flex-wrap: wrap;
    }

    .preview-header h2 {
        font-size: 11px;
    }

    /* Form: sin restricción de altura — el body scrollea */
    .form-container {
        overflow-y: visible;
        max-height: none;
    }

    /* User management: columna en mobile */
    .user-mgmt-container {
        flex-direction: column;
    }

    .user-form-card {
        flex: none;
        width: 100%;
    }

    /* CRUD 4-col → 2-col en mobile */
    .crud-row-4 {
        grid-template-columns: 1fr 1fr;
    }
}

/* ==========================================
   PRINT STYLES (@media print)
   ========================================== */
@media print {
    /* Hide all screen interface elements */
    .no-print,
    .sidebar,
    .preview-header,
    .modal,
    button {
        display: none !important;
    }

    body, 
    .app-container, 
    .preview-area, 
    .pages-container {
        background: none !important;
        background-color: #ffffff !important;
        padding: 0 !important;
        margin: 0 !important;
        height: auto !important;
        width: auto !important;
        overflow: visible !important;
        display: block !important;
        transform: none !important;
    }

    /* Target specific styles for paper printing */
    .proposal-page {
        margin: 0 !important;
        box-shadow: none !important;
        break-after: page !important;
        page-break-after: always !important;
        break-inside: avoid !important;
        page-break-inside: avoid !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
        transform: none !important;
        overflow: visible !important;

        /* Force explicit A4 Dimensions for printer */
        width: 210mm !important;
        height: 297mm !important;
        min-width: 210mm !important;
        min-height: 297mm !important;

        /* Ensure background colors are applied on print */
        background-color: var(--bg-dark-color) !important;
        color: var(--text-white) !important;
    }

    .proposal-page:last-child {
        break-after: auto !important;
        page-break-after: auto !important;
    }

    /* Force layouts to maintain their exact absolute ratios */
    .background-shape-portada,
    .background-shape-left,
    .background-shape-right {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
        background-color: var(--accent-color) !important;
    }

    .eco-block {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
        background-color: var(--accent-color) !important;
    }

    /* Remove browser default print headers and footers */
    @page {
        size: A4 portrait;
        margin: 0;
    }
}

/* ==========================================
   TOAST NOTIFICATIONS
   ========================================== */
.app-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(16px);
    background: #1e1e1e;
    color: #f3f4f6;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    box-shadow: 0 4px 16px rgba(0,0,0,0.5);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
    border-left: 3px solid #555;
    white-space: nowrap;
    pointer-events: none;
}
.app-toast--visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.app-toast--success { border-left-color: #22c55e; }
.app-toast--error   { border-left-color: var(--accent-color); }
.app-toast--info    { border-left-color: #3b82f6; }

/* ==========================================
   DIRTY / UNSAVED INDICATOR
   ========================================== */
#btn-save-now.has-changes {
    box-shadow: 0 0 0 2px rgba(34,197,94,0.5);
}
#btn-save-now.has-changes::after {
    content: '•';
    font-size: 18px;
    line-height: 1;
    color: #22c55e;
    margin-left: 4px;
    vertical-align: middle;
}

/* ==========================================
   FIELD VALIDATION
   ========================================== */
input.input-error {
    border-color: var(--accent-color) !important;
    box-shadow: 0 0 0 1px var(--accent-color);
}

/* ==========================================
   AUTHENTICATION & SECURITY (LOGIN SCREEN)
   ========================================== */
#login-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at center, #1e1e1e 0%, #000000 100%);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

body:not(.logged-in) .app-container {
    display: none !important;
}

body:not(.logged-in) #login-screen {
    display: flex !important;
}

.login-card {
    background: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(25px) saturate(160%);
    -webkit-backdrop-filter: blur(25px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    width: 100%;
    max-width: 400px;
    padding: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.login-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.login-logo img {
    height: 48px;
    object-fit: contain;
}

.login-logo h1 {
    font-family: 'Syne', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 4px;
}

.login-logo p {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.login-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.login-form-group label {
    font-size: 10px;
    color: #a3a3a3;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.login-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.login-input-wrapper i {
    position: absolute;
    left: 12px;
    color: #525252;
    font-size: 14px;
    transition: color 0.2s;
}

.login-input-wrapper input {
    padding-left: 38px;
    height: 42px;
    background-color: #0b0b0b;
    border: 1px solid #222222;
    color: #ffffff;
    border-radius: 8px;
    width: 100%;
}

.login-input-wrapper input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(218, 33, 95, 0.15);
}

.login-input-wrapper input:focus + i,
.login-input-wrapper input:not(:placeholder-shown) + i {
    color: var(--accent-color);
}

#login-error-msg {
    color: #f87171;
    font-size: 12px;
    text-align: center;
    background-color: rgba(248, 113, 113, 0.1);
    border: 1px solid rgba(248, 113, 113, 0.2);
    border-radius: 6px;
    padding: 8px 12px;
    display: none;
}

.btn-login {
    height: 42px;
    font-size: 14px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #b8164e 100%);
    box-shadow: 0 10px 20px -5px rgba(218, 33, 95, 0.3);
}

.btn-login:hover {
    background: linear-gradient(135deg, #e43570 0%, var(--accent-color) 100%);
}

/* ==========================================
   ROLE RESTRICTIONS & LOGOUT
   ========================================== */
.admin-only, .corporate-only {
    /* visible by default — hiding only applied for non-admin roles below */
}

body.role-executive .admin-only,
body.role-executive .corporate-only,
body.role-readonly .admin-only {
    display: none !important;
}

/* Ejecutivo: condiciones solo lectura (puede ver/ocultar y reordenar, no editar texto) */
.condition-item-row input.cond-readonly {
    pointer-events: none;
    cursor: default;
    opacity: 0.85;
    border-style: dashed;
}

body.role-readonly #btn-save-proposal,
body.role-readonly #btn-new-proposal,
body.role-readonly #btn-reset-form {
    display: none !important;
}

.sidebar-logout {
    margin-top: auto;
    padding: 10px 20px 20px 20px;
    border-top: 1px solid #222222;
}

.btn-logout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
    background: rgba(239, 68, 68, 0.02);
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.2s;
}

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



/* ==========================================
   SAVED PROPOSALS VIEW
   ========================================== */
.proposals-section {
    padding: 12px 15px;
    background-color: #161616;
    border-radius: 8px;
    border: 1px solid #2a2a2a;
    margin-bottom: 15px;
}

.proposals-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #222;
}

.proposals-section-header h3 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #e5e7eb;
    letter-spacing: 0.5px;
}

.proposal-quick-actions {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.proposal-list-container {
    max-height: 180px;
    overflow-y: auto;
    border: 1px solid #222;
    border-radius: 6px;
    background-color: #0b0b0b;
}

.proposal-list-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
}

.proposal-list-table th {
    background-color: #121212;
    color: #888888;
    text-align: left;
    padding: 6px 8px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 9px;
    letter-spacing: 0.5px;
    position: sticky;
    top: 0;
    border-bottom: 1px solid #222;
}

.proposal-list-table td {
    padding: 6px 8px;
    border-bottom: 1px solid #1a1a1a;
    color: #ffffff;
    max-width: 110px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.proposal-list-table tr:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

.proposal-list-table td.actions {
    text-align: center;
    display: flex;
    gap: 4px;
    justify-content: center;
}

.btn-table-action {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    font-size: 10px;
    transition: background-color 0.2s;
}

.btn-table-action.load {
    color: #10b981;
}

.btn-table-action.load:hover {
    background-color: rgba(16, 185, 129, 0.15);
}

.btn-table-action.delete {
    color: #ef4444;
}

.btn-table-action.delete:hover {
    background-color: rgba(239, 68, 68, 0.15);
}

.proposals-filters {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 10px;
    background-color: #121212;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #222;
}

.proposals-filters .filter-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.proposals-filters label {
    font-size: 8px;
}

.proposals-filters select,
.proposals-filters input {
    height: 28px;
    padding: 4px 8px;
    font-size: 11px;
}

.proposal-quick-actions .btn {
    flex: 1;
}

/* ==========================================
   USER MANAGEMENT (GESTION TAB)
   ========================================== */
.user-mgmt-container {
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: flex-start;
}

.user-form-card {
    flex: 0 0 32%;
    background-color: #161616;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    padding: 12px 15px;
}

.user-form-card h3 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.users-list-card {
    flex: 1;
    min-width: 0;
    background-color: #161616;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    padding: 12px 15px;
    display: flex;
    flex-direction: column;
}

.users-list-card h3 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.users-table-container {
    border: 1px solid #222;
    border-radius: 6px;
    background-color: #0b0b0b;
    overflow-x: hidden;
}

/* ==========================================
   CRUD PANELS (Gestión tab — Equipos, Accesorios, Listas)
   ========================================== */
.crud-panel {
    background-color: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    padding: 12px 15px;
}

.crud-panel-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-color);
    letter-spacing: 0.6px;
    margin: 0 0 10px;
}

.crud-table-wrap {
    overflow-x: auto;
    margin-bottom: 8px;
}

.crud-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
}

.crud-table th {
    background-color: #111;
    color: #666;
    text-align: left;
    padding: 5px 8px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 9px;
    border-bottom: 1px solid #222;
    white-space: nowrap;
}

.crud-table td {
    padding: 6px 8px;
    border-bottom: 1px solid #1e1e1e;
    color: #e5e7eb;
    font-size: 11px;
}

.crud-table td.muted { color: #777; font-size: 10px; }

.crud-table td.actions {
    text-align: center;
    white-space: nowrap;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

.crud-table tbody tr:hover td { background-color: rgba(255,255,255,0.03); }

.crud-edit-form {
    background-color: #111;
    border: 1px solid #2a2a2a;
    border-radius: 6px;
    padding: 10px;
    margin-bottom: 8px;
    display: grid;
    gap: 6px;
}

.crud-edit-form p { font-size: 11px; color: #ccc; margin: 0; }
.crud-edit-form p.sub { font-size: 10px; color: #888; }

.crud-add-details {
    border-top: 1px dashed #2a2a2a;
    padding-top: 8px;
    margin-top: 4px;
}

.crud-add-details > summary {
    cursor: pointer;
    color: var(--accent-color);
    font-size: 11px;
    font-weight: 600;
    user-select: none;
    list-style: none;
}
.crud-add-details > summary::-webkit-details-marker { display: none; }

.crud-add-body {
    display: grid;
    gap: 6px;
    margin-top: 8px;
}

.crud-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.crud-row-4 { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 4px; }
.crud-btn-row { display: flex; gap: 6px; margin-top: 2px; }

/* Pricing Editor — Costos por Copia */
.pricing-editor-hint {
    font-size: 11px;
    color: #888;
    margin-bottom: 6px;
}

.copy-values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-bottom: 8px;
}

.cv-label {
    font-size: 10px;
    color: #aaa;
    display: block;
    margin-bottom: 2px;
}

.cv-input {
    width: 100%;
    font-size: 11px;
    padding: 5px 8px;
}

/* CSV Import */
.csv-import-section {
    margin-top: 10px;
    border-top: 1px solid #333;
    padding-top: 10px;
}

.csv-import-actions {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.csv-file-label {
    cursor: pointer;
}

.csv-diff-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
    margin: 8px 0;
}

.csv-diff-table th,
.csv-diff-table td {
    padding: 4px 6px;
    border: 1px solid #444;
    text-align: left;
}

.csv-diff-table th {
    background: #2a2a2a;
    color: #aaa;
    font-weight: 600;
}

.csv-diff-table tr.diff-changed td {
    background: rgba(255, 200, 0, 0.12);
    color: #ffd700;
}

body.light-mode .csv-import-section {
    border-top-color: #ddd;
}

body.light-mode .csv-diff-table th {
    background: #f0f0f0;
    color: #555;
}

body.light-mode .csv-diff-table th,
body.light-mode .csv-diff-table td {
    border-color: #ddd;
}

body.light-mode .csv-diff-table tr.diff-changed td {
    background: rgba(200, 150, 0, 0.1);
    color: #856400;
}

.csv-diff-table tr.diff-removed td {
    background: rgba(220, 50, 50, 0.12);
    color: #ff7070;
}

.csv-diff-table tr.diff-added td {
    background: rgba(50, 200, 100, 0.12);
    color: #5dbb78;
}

body.light-mode .csv-diff-table tr.diff-removed td {
    background: rgba(200, 50, 50, 0.1);
    color: #b02020;
}

body.light-mode .csv-diff-table tr.diff-added td {
    background: rgba(30, 150, 70, 0.1);
    color: #1a7a3c;
}

.csv-warnings {
    background: rgba(255, 180, 0, 0.1);
    border: 1px solid rgba(255, 180, 0, 0.3);
    border-radius: 4px;
    padding: 8px 10px;
    margin-bottom: 8px;
    font-size: 11px;
    color: #ffc107;
}

.csv-warnings ul {
    margin: 4px 0 0 16px;
    padding: 0;
}

body.light-mode .csv-warnings {
    color: #856404;
    border-color: rgba(180, 130, 0, 0.3);
    background: rgba(255, 200, 0, 0.08);
}

/* Light mode — CRUD panels */
body.light-mode .crud-panel {
    background-color: #f5f5f5;
    border-color: #e0e0e0;
}

body.light-mode .crud-table th {
    background-color: #eeeeee;
    color: #555;
    border-bottom-color: #e0e0e0;
}

body.light-mode .crud-table td {
    color: #1a1a1a;
    border-bottom-color: #eeeeee;
}

body.light-mode .crud-table td.muted { color: #666; }

body.light-mode .crud-table tbody tr:hover td { background-color: rgba(0,0,0,0.03); }

body.light-mode .crud-edit-form {
    background-color: #ffffff;
    border-color: #e0e0e0;
}

body.light-mode .crud-edit-form p { color: #333; }
body.light-mode .crud-edit-form p.sub { color: #777; }

body.light-mode .crud-add-details { border-top-color: #e0e0e0; }

/* Price list inline editor rows */
.pl-price-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.pl-price-label {
    flex: 1;
    font-size: 11px;
    color: #aaa;
}

.pl-price-input {
    width: 70px !important;
    padding: 3px 6px !important;
    font-size: 11px !important;
    text-align: right;
}

body.light-mode .pl-price-label { color: #555; }

body.light-mode .cv-label { color: #555; }
body.light-mode .pricing-editor-hint { color: #666; }

@media (max-width: 768px) {
    body.light-mode .sidebar-tabs {
        border-top-color: #e0e0e0;
    }
}

body.light-mode .btn-back-mobile {
    border-color: #bbb;
    color: #444;
}

body.light-mode .btn-back-mobile:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: #1a1a1a;
}

body.light-mode .proposals-filters label {
    color: #666666;
}

/* Light mode — user management 30/70 */
body.light-mode .user-form-card,
body.light-mode .users-list-card {
    background-color: #f5f5f5;
    border-color: #e0e0e0;
}

body.light-mode .users-list-card h3 { color: #1a1a1a; }

.users-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    font-size: 11px;
}

.users-table th {
    background-color: #121212;
    color: #888888;
    text-align: left;
    padding: 6px 8px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 9px;
    border-bottom: 1px solid #222;
    position: sticky;
    top: 0;
}

/* Email col: takes remaining space, truncates */
.users-table th:nth-child(1),
.users-table td:nth-child(1) { width: auto; }

/* Role col: fixed, truncates on long labels */
.users-table th:nth-child(2),
.users-table td:nth-child(2) { width: 96px; }

/* Actions col: just fits the icon buttons */
.users-table th:nth-child(3),
.users-table td:nth-child(3) { width: 56px; }

.users-table td {
    padding: 6px 8px;
    border-bottom: 1px solid #1a1a1a;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.users-table td.role-cell {
    color: #aaa;
}

.users-table td.actions {
    text-align: center;
    white-space: nowrap;
    overflow: visible;
    text-overflow: unset;
    display: flex;
    justify-content: center;
    gap: 4px;
}

.btn-user-action {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    font-size: 10px;
    transition: background-color 0.2s;
}

.btn-user-action.reset-pw {
    color: #3b82f6;
}

.btn-user-action.reset-pw:hover {
    background-color: rgba(59, 130, 246, 0.15);
}

.btn-user-action.delete {
    color: #ef4444;
}

.btn-user-action.delete:hover {
    background-color: rgba(239, 68, 68, 0.15);
}

/* ==========================================
   LIGHT MODE
   ========================================== */
body.light-mode {
    background-color: #f0f0f0;
    color: #1a1a1a;
}

body.light-mode .sidebar {
    background-color: #ffffff;
}

body.light-mode .sidebar-header {
    border-bottom-color: #e0e0e0;
}

body.light-mode .logo-title {
    color: #1a1a1a;
}

body.light-mode .sidebar-subtitle {
    color: #888888;
}

body.light-mode .tab-btn {
    color: #777777;
}

body.light-mode .tab-btn:hover {
    color: #333333;
}

body.light-mode .tab-btn.active {
    color: var(--accent-color);
}

body.light-mode .form-section {
    background-color: #f7f7f7;
    border-color: #e0e0e0;
}

body.light-mode .form-section summary {
    color: #1a1a1a;
}

body.light-mode .form-section summary:hover {
    background-color: #eeeeee;
}

body.light-mode .form-section[open] summary {
    background-color: #f0f0f0;
    border-bottom-color: #e0e0e0;
}

body.light-mode .form-group:not(:last-child),
body.light-mode .form-row {
    border-bottom-color: #e0e0e0;
}

body.light-mode .form-row .form-group:first-child {
    border-right-color: #e0e0e0;
}

body.light-mode label {
    color: #666666;
}

body.light-mode input[type="text"],
body.light-mode input[type="email"],
body.light-mode input[type="password"],
body.light-mode input[type="number"],
body.light-mode select,
body.light-mode textarea {
    background-color: #ffffff !important;
    border-color: #d0d0d0 !important;
    color: #1a1a1a !important;
}

body.light-mode input[type="text"]:focus,
body.light-mode input[type="email"]:focus,
body.light-mode input[type="password"]:focus,
body.light-mode input[type="number"]:focus,
body.light-mode select:focus,
body.light-mode textarea:focus {
    border-color: var(--accent-color) !important;
    box-shadow: 0 0 0 3px rgba(218, 33, 95, 0.12) !important;
}

body.light-mode input::placeholder,
body.light-mode textarea::placeholder {
    color: #aaaaaa;
}

body.light-mode select option {
    background-color: #ffffff;
    color: #1a1a1a;
}

body.light-mode .help-text {
    color: #888888;
}

body.light-mode .btn-secondary {
    background-color: #e8e8e8;
    color: #1a1a1a;
}

body.light-mode .btn-secondary:hover {
    background-color: #d8d8d8;
}

body.light-mode .btn-outline {
    border-color: #cccccc;
    color: #555555;
}

body.light-mode .btn-outline:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: #1a1a1a;
}

body.light-mode .sidebar-footer {
    border-top-color: #e0e0e0;
}

body.light-mode .btn-text-muted {
    color: #888888;
}

body.light-mode .btn-text-muted:hover {
    color: #444444;
}

body.light-mode .btn-text-danger {
    color: #a33;
}

body.light-mode .sub-section-group {
    border-bottom-color: #e0e0e0;
}

body.light-mode .proposals-filters {
    background-color: #eeeeee;
    border-color: #d8d8d8;
}

body.light-mode .proposals-section {
    background-color: #f0f0f0;
    border-color: #e0e0e0;
}

body.light-mode .proposals-section-header {
    border-bottom-color: #e0e0e0;
}

body.light-mode .proposals-section-header h3 {
    color: #333333;
}

body.light-mode .proposal-list-container {
    background-color: #ffffff;
    border-color: #e0e0e0;
}

body.light-mode .proposal-list-table th {
    background-color: #f0f0f0;
    color: #666666;
    border-bottom-color: #e0e0e0;
}

body.light-mode .proposal-list-table td {
    color: #1a1a1a;
    border-bottom-color: #eeeeee;
}

body.light-mode .proposal-list-table tr:hover {
    background-color: rgba(0, 0, 0, 0.04);
}

body.light-mode .preview-area {
    background-color: #e0e0e0;
}

body.light-mode .preview-header {
    background-color: #f5f5f5;
    border-bottom-color: #dddddd;
}

body.light-mode .preview-header h2 {
    color: #666666;
}

body.light-mode .btn-close-modal {
    color: #666666;
}

body.light-mode .btn-close-modal:hover {
    color: #1a1a1a;
    background-color: #dddddd;
}

body.light-mode .preview-actions {
    background-color: #eeeeee;
    border-color: #cccccc;
}

body.light-mode .preview-actions button {
    color: #666666;
}

body.light-mode .preview-actions button:hover {
    color: #1a1a1a;
    background-color: #dddddd;
}

body.light-mode #zoom-level {
    color: #333333;
}

body.light-mode .login-card {
    background: rgba(255, 255, 255, 0.85);
}

body.light-mode .login-card h1,
body.light-mode .login-card p,
body.light-mode .login-form-group label {
    color: #1a1a1a;
}

body.light-mode .login-input-wrapper input {
    background-color: #f5f5f5;
    border-color: #cccccc;
    color: #1a1a1a;
}

body.light-mode .login-input-wrapper i {
    color: #888888;
}

body.light-mode .user-form-card {
    background-color: #f5f5f5;
    border-color: #e0e0e0;
}

body.light-mode .user-form-card h3 {
    color: var(--accent-color);
}

body.light-mode .users-list-card {
    background-color: #f5f5f5;
    border-color: #e0e0e0;
}

body.light-mode .users-list-card h3 {
    color: #1a1a1a;
}

body.light-mode .users-table-container {
    border-color: #e0e0e0;
    background-color: #ffffff;
}

body.light-mode .users-table th {
    background-color: #f0f0f0;
    color: #555555;
    border-bottom-color: #e0e0e0;
}

body.light-mode .users-table td {
    border-bottom-color: #eeeeee;
    color: #1a1a1a;
}

body.light-mode .users-table td.role-cell {
    color: #666666;
}

/* Light mode — equipos y accesorios */
body.light-mode .dynamic-item-card {
    background-color: #f5f5f5;
    border-color: #d8d8d8;
}

body.light-mode .item-name {
    color: #1a1a1a;
}

body.light-mode .item-price-desc {
    color: #555555;
}

body.light-mode .eq-acc-item {
    color: #333333;
}

body.light-mode .eq-acc-item .acc-qty-input {
    background-color: #ffffff !important;
    border-color: #cccccc !important;
    color: #1a1a1a !important;
}

body.light-mode .eq-add-acc-row {
    border-top-color: #d8d8d8;
}

body.light-mode .eq-row-total {
    border-top-color: #d8d8d8;
    color: #059669;
}

/* Theme toggle button */
.btn-theme-toggle {
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: color 0.2s, background-color 0.2s;
    flex-shrink: 0;
}

.btn-theme-toggle:hover {
    background-color: rgba(128, 128, 128, 0.15);
    color: #ccc;
}

body.light-mode .btn-theme-toggle {
    color: #555;
}

body.light-mode .btn-theme-toggle:hover {
    background-color: rgba(0, 0, 0, 0.08);
    color: #1a1a1a;
}

/* ==========================================================================
   MÓDULO DE VENTAS DIRECTAS
   ========================================================================== */

/* Selector tipo de propuesta */
.proposal-type-selector {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color, rgba(255,255,255,0.08));
}

.type-toggle-group {
    display: flex;
    gap: 6px;
    margin-top: 6px;
}

.type-toggle-btn {
    flex: 1;
    padding: 7px 12px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 6px;
    background: transparent;
    color: rgba(255,255,255,0.55);
    font-size: 0.82em;
    cursor: pointer;
    transition: all 0.15s;
}

.type-toggle-btn.active {
    background: var(--accent-color, #da215f);
    border-color: var(--accent-color, #da215f);
    color: #fff;
    font-weight: 600;
}

.type-toggle-btn:hover:not(.active) {
    background: rgba(255,255,255,0.07);
    color: rgba(255,255,255,0.85);
}

body.light-mode .type-toggle-btn {
    border-color: rgba(0,0,0,0.18);
    color: #555;
}

body.light-mode .type-toggle-btn.active {
    color: #fff;
}

/* Filtros de ventas */
.sales-filter-row {
    display: flex;
    gap: 8px;
}

.sales-filter-select {
    flex: 1;
    padding: 7px 10px;
    background: var(--input-bg, #1a1a1a);
    border: 1px solid var(--border-color, rgba(255,255,255,0.12));
    border-radius: 6px;
    color: inherit;
    font-size: 0.85em;
}

/* Grid de catálogo */
.sales-catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.sales-catalog-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 8px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: border-color 0.15s;
}

.sales-catalog-card.in-cart {
    border-color: var(--accent-color, #da215f);
    background: rgba(218,33,95,0.07);
}

.sales-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sales-card-brand {
    font-size: 0.75em;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--accent-color, #da215f);
}

.sales-card-type {
    font-size: 0.68em;
    background: rgba(255,255,255,0.08);
    padding: 2px 6px;
    border-radius: 4px;
    color: rgba(255,255,255,0.55);
}

.sales-card-model {
    font-size: 0.92em;
    font-weight: 600;
    line-height: 1.2;
    margin-top: 2px;
}

.sales-card-sku,
.sales-card-desc {
    font-size: 0.72em;
    line-height: 1.3;
}

.sales-card-pricing {
    display: flex;
    flex-direction: column;
    gap: 1px;
    margin-top: 4px;
}

.sales-price-net {
    font-size: 0.95em;
    font-weight: 700;
    color: #10b981;
}

.sales-price-iva {
    font-size: 0.72em;
}

.sales-add-btn {
    margin-top: 6px;
    align-self: flex-start;
}

/* Servicios step 3 */
.sales-services-title {
    font-size: 0.88em;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255,255,255,0.55);
    margin: 14px 0 8px;
}

.sales-services-list {
    margin-top: 8px;
}

.sales-service-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 10px;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 6px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.sales-service-row.service-included {
    border-color: var(--accent-color, #da215f);
    background: rgba(218,33,95,0.06);
}

.sales-service-check {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.88em;
    font-weight: 600;
    min-width: 160px;
    cursor: pointer;
}

.sales-service-desc {
    font-size: 0.78em;
    flex: 1;
    min-width: 120px;
}

.sales-service-pricing {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82em;
}

/* Resumen / paso 4 */
.sales-summary-scroll {
    overflow-x: auto;
}

.sales-summary-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82em;
    min-width: 680px;
}

.sales-summary-table th,
.sales-summary-table td {
    padding: 6px 8px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    vertical-align: middle;
}

.sales-summary-table th {
    font-size: 0.75em;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: rgba(255,255,255,0.45);
    background: rgba(255,255,255,0.03);
}

.sales-item-label {
    font-weight: 600;
}

.sales-total-col {
    font-weight: 700;
    color: #10b981;
}

.sales-qty-input,
.sales-disc-input {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 4px;
    padding: 3px 5px;
    color: inherit;
    text-align: center;
    font-size: 0.9em;
}

.sales-discount-global-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 14px 0 10px;
    padding: 10px 12px;
    background: rgba(255,255,255,0.03);
    border-radius: 6px;
    font-size: 0.85em;
    border: 1px solid rgba(255,255,255,0.07);
}

.sales-discount-global-row input {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 4px;
    padding: 4px 6px;
    color: inherit;
    text-align: center;
}

/* Desglose fiscal */
.sales-fiscal-breakdown {
    margin-top: 10px;
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 8px;
    overflow: hidden;
}

.fiscal-row {
    display: flex;
    justify-content: space-between;
    padding: 7px 14px;
    font-size: 0.88em;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.fiscal-row:last-child {
    border-bottom: none;
}

.fiscal-total {
    background: rgba(16,185,129,0.1);
    font-weight: 700;
    font-size: 1em;
}

.fiscal-amount {
    font-variant-numeric: tabular-nums;
    color: #10b981;
}

/* PDF — página 6 ventas */
.layout-sales-proposal {
    padding: 28px 32px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sales-pdf-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.72em;
    margin-top: 14px;
}

.sales-pdf-table th,
.sales-pdf-table td {
    padding: 5px 7px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sales-pdf-table thead th {
    font-size: 0.75em;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.sales-pdf-sku {
    font-size: 0.85em;
    color: rgba(255,255,255,0.45);
}

.sales-pdf-desc {
    font-size: 0.85em;
    color: rgba(255,255,255,0.45);
    margin-top: 2px;
}

.sales-pdf-disc {
    color: #f87171;
    font-size: 0.9em;
}

.sales-pdf-totals {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 10px;
    font-size: 0.8em;
}

.pdf-fiscal-row {
    display: flex;
    justify-content: space-between;
    padding: 3px 6px;
}

.pdf-fiscal-total {
    font-weight: 700;
    font-size: 1.1em;
    color: #10b981;
    border-top: 1px solid rgba(255,255,255,0.15);
    margin-top: 4px;
    padding-top: 6px;
}

.pdf-disc-note {
    font-size: 0.72em;
    color: rgba(255,255,255,0.45);
    text-align: right;
    margin-top: 4px;
}

/* Text utilities */
.text-center { text-align: center; }
.text-right  { text-align: right; }

body.light-mode .sales-catalog-card {
    background: rgba(0,0,0,0.03);
    border-color: rgba(0,0,0,0.1);
}

body.light-mode .sales-catalog-card.in-cart {
    background: rgba(218,33,95,0.06);
}

body.light-mode .sales-card-type {
    background: rgba(0,0,0,0.07);
    color: #555;
}

body.light-mode .sales-summary-table th {
    color: #888;
    background: rgba(0,0,0,0.04);
}

body.light-mode .sales-summary-table td {
    border-bottom-color: rgba(0,0,0,0.07);
}

body.light-mode .sales-fiscal-breakdown {
    border-color: rgba(0,0,0,0.1);
}

body.light-mode .fiscal-row {
    border-bottom-color: rgba(0,0,0,0.06);
}
