/* _content/SmogCore/Components/Layout/MainLayout.razor.rz.scp.css */
.layout[b-q48x292zvn] {
    display: flex;
    min-height: 100vh;
}

.sidebar[b-q48x292zvn] {
    width: 250px;
    background: #1a1a2e;
    color: #eee;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    transition: width 0.25s ease;
    overflow: hidden;
}

.sidebar.collapsed[b-q48x292zvn] {
    width: 64px;
}

.sidebar-header[b-q48x292zvn] {
    padding: 1.2rem;
    text-align: center;
    border-bottom: 1px solid #333;
}

.sidebar-header h2[b-q48x292zvn] {
    margin: 0;
    font-size: 1.3rem;
    color: #4fc3f7;
    white-space: nowrap;
    transition: font-size 0.2s;
}

.sidebar.collapsed .sidebar-header h2[b-q48x292zvn] {
    font-size: 1.1rem;
}

.sidebar-footer[b-q48x292zvn] {
    margin-top: auto;
    padding: 0.5rem;
    border-top: 1px solid #333;
    display: flex;
    justify-content: center;
}

.sidebar-toggle[b-q48x292zvn] {
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}

.sidebar-toggle:hover[b-q48x292zvn] {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.main-content[b-q48x292zvn] {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #f5f5f5;
    min-width: 0;
}

.topbar[b-q48x292zvn] {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0.8rem 1.5rem;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    gap: 1rem;
}

.user-info[b-q48x292zvn] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.role-badge[b-q48x292zvn] {
    background: #4fc3f7;
    color: #1a1a2e;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.btn-logout[b-q48x292zvn] {
    color: #e74c3c;
    text-decoration: none;
    font-size: 0.85rem;
    padding: 0.3rem 0.8rem;
    border: 1px solid #e74c3c;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
}

.btn-logout:hover[b-q48x292zvn] {
    background: #e74c3c;
    color: #fff;
}

.powered-by[b-q48x292zvn] {
    font-size: 0.75rem;
    color: #999;
    margin-right: auto;
}

.powered-by strong[b-q48x292zvn] {
    color: #1a237e;
}

/* ===== Maintenance Banner ===== */
.maintenance-banner[b-q48x292zvn] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: #fef3c7;
    color: #92400e;
    border-bottom: 2px solid #f59e0b;
    font-size: 0.88rem;
    font-weight: 600;
    animation: banner-pulse-b-q48x292zvn 2s ease-in-out infinite;
}

.maintenance-banner svg[b-q48x292zvn] {
    flex-shrink: 0;
    color: #f59e0b;
}

@keyframes banner-pulse-b-q48x292zvn {
    0%, 100% { background: #fef3c7; }
    50% { background: #fde68a; }
}

.page-content[b-q48x292zvn] {
    flex: 1;
    padding: 1.5rem;
}

/* ===== Mobile Block (non-admin only) ===== */
.mobile-block[b-q48x292zvn] {
    display: none;
}

@media (max-width: 768px) {
    .mobile-block[b-q48x292zvn] {
        display: flex;
        position: fixed;
        inset: 0;
        z-index: 9999;
        background: #12121f;
        align-items: center;
        justify-content: center;
    }

    .mobile-block-content[b-q48x292zvn] {
        text-align: center;
        padding: 2rem;
        color: #e0e0e0;
    }

    .mobile-block-content h2[b-q48x292zvn] {
        margin: 1rem 0 0.5rem;
        font-size: 1.5rem;
        color: #fff;
    }

    .mobile-block-content p[b-q48x292zvn] {
        font-size: 0.95rem;
        color: #9ca3af;
        max-width: 300px;
        margin: 0 auto;
    }

}
/* _content/SmogCore/Components/Layout/NavMenu.razor.rz.scp.css */
.nav-menu[b-favlkj3frf] {
    display: flex;
    flex-direction: column;
    padding: 0.5rem 0;
    flex: 1;
}

[b-favlkj3frf] .nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.7rem 1.2rem;
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.2s, padding 0.25s;
    white-space: nowrap;
}

[b-favlkj3frf] .nav-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

[b-favlkj3frf] .nav-link.active {
    background: rgba(79, 195, 247, 0.15);
    color: #4fc3f7;
    border-left: 3px solid #4fc3f7;
}

[b-favlkj3frf] .nav-icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.nav-separator[b-favlkj3frf] {
    height: 1px;
    background: #333;
    margin: 0.5rem 1rem;
}

.nav-section[b-favlkj3frf] {
    display: block;
    padding: 0.5rem 1.2rem 0.2rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #888;
    letter-spacing: 0.05em;
}

/* Collapsed state - center icons */
:global(.sidebar-collapsed)[b-favlkj3frf]  .nav-link {
    justify-content: center;
    padding: 0.7rem 0;
}

:global(.sidebar-collapsed)[b-favlkj3frf]  .nav-link.active {
    border-left: none;
    border-bottom: 2px solid #4fc3f7;
}

:global(.sidebar-collapsed) .nav-separator[b-favlkj3frf] {
    margin: 0.5rem 0.5rem;
}
/* _content/SmogCore/Components/Pages/Admin/Audit.razor.rz.scp.css */
/* MudBlazor handles all styling for this page */
/* _content/SmogCore/Components/Pages/Admin/Descargas.razor.rz.scp.css */
/* MudBlazor handles all styling for this page */
/* _content/SmogCore/Components/Pages/Admin/Invoices.razor.rz.scp.css */
/* ===== Invoices Page - Full Contained Layout ===== */
.invoices-page[b-e6uh5tfkr4] {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 12px;
    display: flex;
    flex-direction: column;
    height: calc(100vh - 80px);
}

/* ===== Page Header ===== */
.page-header[b-e6uh5tfkr4] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    flex-shrink: 0;
}

.page-header h1[b-e6uh5tfkr4] {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}

.header-count[b-e6uh5tfkr4] {
    font-size: 0.8rem;
    color: #9ca3af;
    margin-top: 2px;
    display: block;
}

.header-actions[b-e6uh5tfkr4] {
    display: flex;
    gap: 8px;
}

/* ===== Unified Button System ===== */
.btn-action[b-e6uh5tfkr4] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    text-decoration: none;
    text-align: center;
    transition: all 0.15s;
    white-space: nowrap;
}

.btn-action svg[b-e6uh5tfkr4] { flex-shrink: 0; }

.btn-primary[b-e6uh5tfkr4] { background: #1a1a2e; color: #fff; }
.btn-primary:hover[b-e6uh5tfkr4] { background: #16213e; }

.btn-outline[b-e6uh5tfkr4] { background: #fff; color: #1a1a2e; border-color: #1a1a2e; }
.btn-outline:hover[b-e6uh5tfkr4] { background: #f3f4f6; }

.btn-ghost[b-e6uh5tfkr4] { background: #f3f4f6; color: #4b5563; border-color: #d1d5db; }
.btn-ghost:hover[b-e6uh5tfkr4] { background: #e5e7eb; }

.btn-success[b-e6uh5tfkr4] { background: #16a34a; color: #fff; }
.btn-success:hover[b-e6uh5tfkr4] { background: #15803d; }

.btn-warning[b-e6uh5tfkr4] { background: #f59e0b; color: #fff; }
.btn-warning:hover[b-e6uh5tfkr4] { background: #d97706; }

.btn-danger[b-e6uh5tfkr4] { background: #dc2626; color: #fff; }
.btn-danger:hover[b-e6uh5tfkr4] { background: #b91c1c; }

.btn-sm[b-e6uh5tfkr4] { padding: 6px 14px; font-size: 0.8rem; }

.btn-action:disabled[b-e6uh5tfkr4] { opacity: 0.5; cursor: not-allowed; }

/* ===== Filters Card ===== */
.filters-card[b-e6uh5tfkr4] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 16px;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.filter-row[b-e6uh5tfkr4] {
    display: flex;
    gap: 14px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.filter-item[b-e6uh5tfkr4] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 140px;
}

.filter-item.filter-grow[b-e6uh5tfkr4] {
    flex: 1;
    min-width: 180px;
}

.filter-item label[b-e6uh5tfkr4] {
    font-size: 0.72rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-item select[b-e6uh5tfkr4],
.filter-item input[b-e6uh5tfkr4] {
    padding: 7px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.85rem;
    background: #fff;
    transition: border-color 0.2s;
}

.filter-item select:focus[b-e6uh5tfkr4],
.filter-item input:focus[b-e6uh5tfkr4] {
    outline: none;
    border-color: #4fc3f7;
    box-shadow: 0 0 0 2px rgba(79,195,247,0.15);
}

/* ===== Table Container (scrollable) ===== */
.table-container[b-e6uh5tfkr4] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.table-scroll[b-e6uh5tfkr4] {
    flex: 1;
    overflow: auto;
    min-height: 0;
}

/* ===== Table ===== */
.inv-table[b-e6uh5tfkr4] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.84rem;
}

.inv-table thead[b-e6uh5tfkr4] {
    position: sticky;
    top: 0;
    z-index: 2;
}

.inv-table th[b-e6uh5tfkr4] {
    padding: 11px 14px;
    text-align: left;
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    background: #1a1a2e;
}

.inv-table th.center[b-e6uh5tfkr4] { text-align: center; }
.inv-table th.right[b-e6uh5tfkr4] { text-align: right; }

.inv-table td[b-e6uh5tfkr4] {
    padding: 9px 14px;
    border-bottom: 1px solid #f3f4f6;
    color: #374151;
    vertical-align: middle;
}

.inv-table tbody tr:hover[b-e6uh5tfkr4] { background: #f8fafc; }

/* ===== Cell Styles ===== */
.center[b-e6uh5tfkr4] { text-align: center; }
.right[b-e6uh5tfkr4] { text-align: right; }

.cell-num[b-e6uh5tfkr4] {
    font-family: 'Consolas', 'Courier New', monospace;
    font-weight: 600;
    color: #1e40af;
    font-size: 0.82rem;
}

.cell-client[b-e6uh5tfkr4] {
    font-weight: 600;
    color: #1f2937;
}

.cell-period[b-e6uh5tfkr4] {
    font-size: 0.8rem;
    color: #6b7280;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.cell-count[b-e6uh5tfkr4] {
    font-weight: 600;
    color: #374151;
}

.cell-total[b-e6uh5tfkr4] {
    font-weight: 700;
    color: #1a1a2e;
    font-variant-numeric: tabular-nums;
}

.cell-date[b-e6uh5tfkr4] {
    white-space: nowrap;
    font-size: 0.78rem;
    color: #6b7280;
    font-variant-numeric: tabular-nums;
}

.currency-tag[b-e6uh5tfkr4] {
    font-size: 0.68rem;
    font-weight: 500;
    color: #9ca3af;
    margin-left: 2px;
}

.client-code[b-e6uh5tfkr4] {
    font-size: 0.75rem;
    color: #9ca3af;
    font-weight: 400;
}

.mono[b-e6uh5tfkr4] {
    font-family: 'Consolas', 'Courier New', monospace;
    letter-spacing: 0.5px;
    font-size: 0.8rem;
}

/* ===== Status Pills ===== */
.status-pill[b-e6uh5tfkr4] {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 10px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pill-generated[b-e6uh5tfkr4] { background: #dbeafe; color: #1e40af; }
.pill-paid[b-e6uh5tfkr4] { background: #dcfce7; color: #166534; }
.pill-cancelled[b-e6uh5tfkr4] { background: #fee2e2; color: #991b1b; }

/* ===== Type Badges ===== */
.type-badge[b-e6uh5tfkr4] {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.type-1[b-e6uh5tfkr4] { background: #dbeafe; color: #1e40af; }
.type-2[b-e6uh5tfkr4] { background: #fef3c7; color: #92400e; }
.type-3[b-e6uh5tfkr4] { background: #e0e7ff; color: #3730a3; }

/* ===== Actions ===== */
.actions-cell[b-e6uh5tfkr4] {
    display: inline-flex;
    gap: 5px;
    justify-content: center;
}

.act-btn[b-e6uh5tfkr4] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    cursor: pointer;
    transition: all 0.15s;
    text-decoration: none;
    background: #fff;
}

.act-view[b-e6uh5tfkr4] { color: #3b82f6; }
.act-view:hover[b-e6uh5tfkr4] { background: #eff6ff; border-color: #bfdbfe; }

.act-pdf[b-e6uh5tfkr4] { color: #dc2626; }
.act-pdf:hover[b-e6uh5tfkr4] { background: #fef2f2; border-color: #fecaca; }

.act-delete[b-e6uh5tfkr4] { color: #dc2626; }
.act-delete:hover[b-e6uh5tfkr4] { background: #fef2f2; border-color: #fecaca; }

/* ===== States ===== */
.state-msg[b-e6uh5tfkr4] {
    text-align: center;
    padding: 60px 20px;
    color: #9ca3af;
    font-size: 0.9rem;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== Table Footer (Pagination) ===== */
.table-footer[b-e6uh5tfkr4] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    border-top: 1px solid #e5e7eb;
    background: #fafafa;
    flex-shrink: 0;
}

.page-info[b-e6uh5tfkr4] { font-size: 0.8rem; color: #9ca3af; }

.page-btns[b-e6uh5tfkr4] { display: flex; gap: 4px; }

.pg-btn[b-e6uh5tfkr4] {
    padding: 5px 12px;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    background: #fff;
    color: #374151;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.15s;
}

.pg-btn:hover:not(:disabled):not(.pg-active)[b-e6uh5tfkr4] {
    background: #f3f4f6;
    border-color: #9ca3af;
}

.pg-active[b-e6uh5tfkr4] { background: #1a1a2e; color: #fff; border-color: #1a1a2e; }
.pg-btn:disabled[b-e6uh5tfkr4] { opacity: 0.35; cursor: not-allowed; }

/* ===== Modals ===== */
.modal-overlay[b-e6uh5tfkr4] {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(2px);
}

.modal-box[b-e6uh5tfkr4] {
    background: #fff;
    border-radius: 14px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    animation: modalIn-b-e6uh5tfkr4 0.25s ease-out;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.modal-wide[b-e6uh5tfkr4] { max-width: 850px; }

@keyframes modalIn-b-e6uh5tfkr4 {
    from { opacity: 0; transform: scale(0.92) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-header[b-e6uh5tfkr4] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    border-bottom: 1px solid #e5e7eb;
}

.modal-header h3[b-e6uh5tfkr4] {
    margin: 0;
    font-size: 1.1rem;
    color: #1a1a2e;
}

.modal-header-danger[b-e6uh5tfkr4] {
    background: #fef2f2;
    border-bottom-color: #fecaca;
}

.modal-header-danger h3[b-e6uh5tfkr4] { color: #991b1b; }

.modal-close[b-e6uh5tfkr4] {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #9ca3af;
    cursor: pointer;
    transition: color 0.15s;
}

.modal-close:hover[b-e6uh5tfkr4] { color: #374151; }

.modal-body[b-e6uh5tfkr4] {
    padding: 20px 24px;
    overflow-y: auto;
    flex: 1;
}

.modal-footer[b-e6uh5tfkr4] {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    padding: 16px 24px;
    border-top: 1px solid #e5e7eb;
    flex-wrap: wrap;
}

/* ===== Form Fields ===== */
.form-field[b-e6uh5tfkr4] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 12px;
}

.form-field label[b-e6uh5tfkr4] {
    font-size: 0.72rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
}

.form-field input[b-e6uh5tfkr4] {
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.85rem;
}

.form-field input:focus[b-e6uh5tfkr4] {
    outline: none;
    border-color: #4fc3f7;
    box-shadow: 0 0 0 2px rgba(79,195,247,0.15);
}

/* ===== Generate Modal ===== */
.week-selector[b-e6uh5tfkr4] {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    margin-bottom: 12px;
}

.week-selector .form-field[b-e6uh5tfkr4] {
    min-width: 0;
}

.week-selector .form-field:first-child input[b-e6uh5tfkr4] {
    width: 90px;
}

.week-selector .form-field:nth-child(2) input[b-e6uh5tfkr4] {
    width: 80px;
}

.week-date-field[b-e6uh5tfkr4] {
    flex: 1;
}

.period-card[b-e6uh5tfkr4] {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 8px;
    padding: 14px 16px;
    margin-top: 8px;
    margin-bottom: 12px;
}

.period-label[b-e6uh5tfkr4] {
    font-size: 0.72rem;
    font-weight: 600;
    color: #0369a1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.period-range[b-e6uh5tfkr4] {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: #1a1a2e;
    flex-wrap: wrap;
}

.period-day[b-e6uh5tfkr4] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.period-day-name[b-e6uh5tfkr4] {
    font-size: 0.68rem;
    font-weight: 600;
    color: #0369a1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.period-arrow[b-e6uh5tfkr4] {
    color: #0ea5e9;
    font-size: 1.1rem;
    align-self: center;
}

/* ===== Messages ===== */
.msg-bar[b-e6uh5tfkr4] {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.msg-success[b-e6uh5tfkr4] { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.msg-error[b-e6uh5tfkr4] { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }
.msg-warning[b-e6uh5tfkr4] { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }

/* ===== Delete Modal ===== */
.delete-msg[b-e6uh5tfkr4] {
    font-size: 0.95rem;
    color: #374151;
    margin: 0 0 8px;
}

.delete-warn[b-e6uh5tfkr4] {
    font-size: 0.8rem;
    color: #dc2626;
    margin: 0;
}

/* ===== Detail Modal ===== */
.detail-grid[b-e6uh5tfkr4] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.detail-card[b-e6uh5tfkr4] {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.detail-label[b-e6uh5tfkr4] {
    font-size: 0.68rem;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value[b-e6uh5tfkr4] {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1a2e;
}

.detail-sub[b-e6uh5tfkr4] {
    font-size: 0.78rem;
    color: #6b7280;
}

.detail-total[b-e6uh5tfkr4] {
    font-size: 1.1rem;
    color: #16a34a;
}

.cert-count-badge[b-e6uh5tfkr4] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e5e7eb;
    color: #4b5563;
    padding: 1px 8px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 6px;
    vertical-align: middle;
}

h4[b-e6uh5tfkr4] {
    font-size: 0.95rem;
    color: #1a1a2e;
    margin: 20px 0 10px;
    padding-bottom: 6px;
    border-bottom: 2px solid #e5e7eb;
}

/* ===== Detail Tables ===== */
.detail-table[b-e6uh5tfkr4] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.84rem;
}

.detail-table th[b-e6uh5tfkr4] {
    padding: 8px 12px;
    background: #f3f4f6;
    font-size: 0.72rem;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    text-align: left;
    border-bottom: 2px solid #e5e7eb;
}

.detail-table th.center[b-e6uh5tfkr4] { text-align: center; }
.detail-table th.right[b-e6uh5tfkr4] { text-align: right; }

.detail-table td[b-e6uh5tfkr4] {
    padding: 7px 12px;
    border-bottom: 1px solid #f3f4f6;
    color: #374151;
}

.detail-table .total-row td[b-e6uh5tfkr4] {
    border-top: 2px solid #1a1a2e;
    background: #f8fafc;
    padding: 10px 12px;
}

.certs-scroll[b-e6uh5tfkr4] {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.certs-scroll .detail-table th[b-e6uh5tfkr4] {
    position: sticky;
    top: 0;
    z-index: 1;
}

/* ===== Report Filters ===== */
.report-filters[b-e6uh5tfkr4] {
    display: flex;
    gap: 14px;
    align-items: flex-end;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.report-table[b-e6uh5tfkr4] { margin-top: 4px; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .filter-row[b-e6uh5tfkr4] {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-item[b-e6uh5tfkr4] { min-width: 100%; }

    .header-actions[b-e6uh5tfkr4] {
        flex-direction: column;
    }

    .modal-wide[b-e6uh5tfkr4] { max-width: 95%; }

    .detail-grid[b-e6uh5tfkr4] { grid-template-columns: 1fr; }

    .table-footer[b-e6uh5tfkr4] {
        flex-direction: column;
        gap: 8px;
    }

    .report-filters[b-e6uh5tfkr4] {
        flex-direction: column;
        align-items: stretch;
    }
}
/* _content/SmogCore/Components/Pages/Admin/Logs.razor.rz.scp.css */
/* MudBlazor handles all styling for this page */
/* _content/SmogCore/Components/Pages/Admin/SubmissionDashboard.razor.rz.scp.css */
/* MudBlazor handles all styling for this page */
/* _content/SmogCore/Components/Pages/Admin/Users.razor.rz.scp.css */
/* ===== Users Page - Full Contained Layout ===== */
.users-page[b-ifhtm6ii62] {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 12px;
    display: flex;
    flex-direction: column;
    height: calc(100vh - 80px);
}

/* ===== Page Header ===== */
.page-header[b-ifhtm6ii62] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0 12px;
    flex-shrink: 0;
}

.page-header h1[b-ifhtm6ii62] {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}

.header-actions[b-ifhtm6ii62] {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ===== Tab Navigation ===== */
.tabs-bar[b-ifhtm6ii62] {
    display: flex;
    gap: 4px;
    padding: 0;
    margin-bottom: 16px;
    flex-shrink: 0;
    border-bottom: 2px solid #e5e7eb;
}

.tab-item[b-ifhtm6ii62] {
    padding: 10px 20px;
    border: none;
    background: none;
    color: #9ca3af;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: color 0.2s, border-color 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-item:hover[b-ifhtm6ii62] {
    color: #6b7280;
}

.tab-item.active[b-ifhtm6ii62] {
    color: #1a1a2e;
    border-bottom-color: #4fc3f7;
}

.tab-count[b-ifhtm6ii62] {
    background: #f3f4f6;
    color: #6b7280;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    min-width: 22px;
    text-align: center;
}

.tab-item.active .tab-count[b-ifhtm6ii62] {
    background: #dbeafe;
    color: #1e40af;
}

/* ===== Alert Messages ===== */
.msg-bar[b-ifhtm6ii62] {
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 0.84rem;
    font-weight: 500;
    margin-bottom: 12px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.msg-success[b-ifhtm6ii62] {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.msg-error[b-ifhtm6ii62] {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* ===== New Button ===== */
.btn-new[b-ifhtm6ii62] {
    padding: 8px 18px;
    background: #1a1a2e;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.btn-new:hover[b-ifhtm6ii62] {
    background: #302b63;
}

/* ===== Form Panel (Overlay Card) ===== */
.form-panel[b-ifhtm6ii62] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    margin-bottom: 16px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    overflow: hidden;
}

.form-panel-header[b-ifhtm6ii62] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: #1a1a2e;
    color: #fff;
}

.form-panel-header h2[b-ifhtm6ii62] {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
    color: #fff;
    text-transform: none;
    letter-spacing: 0;
}

.form-panel-close[b-ifhtm6ii62] {
    background: none;
    border: none;
    color: rgba(255,255,255,0.6);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
    transition: color 0.2s;
}

.form-panel-close:hover[b-ifhtm6ii62] {
    color: #fff;
}

.form-panel-body[b-ifhtm6ii62] {
    padding: 20px;
    max-height: 50vh;
    overflow-y: auto;
}

.form-grid[b-ifhtm6ii62] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
}

.form-field[b-ifhtm6ii62] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-field.full-width[b-ifhtm6ii62] {
    grid-column: 1 / -1;
}

.form-field label[b-ifhtm6ii62] {
    font-size: 0.72rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-field input[b-ifhtm6ii62],
.form-field select[b-ifhtm6ii62] {
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.85rem;
    background: #fff;
    transition: border-color 0.2s;
}

.form-field input:focus[b-ifhtm6ii62],
.form-field select:focus[b-ifhtm6ii62] {
    outline: none;
    border-color: #4fc3f7;
    box-shadow: 0 0 0 2px rgba(79,195,247,0.15);
}

/* Checkboxes section */
.check-section[b-ifhtm6ii62] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.check-section > label:first-child[b-ifhtm6ii62] {
    font-size: 0.72rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.check-row[b-ifhtm6ii62] {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    padding: 8px 0;
}

.check-row label[b-ifhtm6ii62] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.84rem;
    color: #374151;
    cursor: pointer;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
}

.client-checks[b-ifhtm6ii62] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 4px;
    max-height: 150px;
    overflow-y: auto;
    padding: 8px 10px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #fafafa;
}

.client-checks label[b-ifhtm6ii62] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: #374151;
    cursor: pointer;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
}

.no-clients-msg[b-ifhtm6ii62] {
    color: #9ca3af;
    font-size: 0.82rem;
    padding: 8px 0;
}

/* Form Footer */
.form-panel-footer[b-ifhtm6ii62] {
    display: flex;
    gap: 8px;
    padding: 14px 20px;
    border-top: 1px solid #f3f4f6;
    background: #fafafa;
}

.btn-save[b-ifhtm6ii62] {
    padding: 8px 20px;
    background: #1a1a2e;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-save:hover[b-ifhtm6ii62] {
    background: #302b63;
}

.btn-cancel[b-ifhtm6ii62] {
    padding: 8px 20px;
    background: #fff;
    color: #6b7280;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-cancel:hover[b-ifhtm6ii62] {
    background: #f3f4f6;
}

/* ===== Table Container (scrollable) ===== */
.table-container[b-ifhtm6ii62] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.table-scroll[b-ifhtm6ii62] {
    flex: 1;
    overflow: auto;
    min-height: 0;
}

/* ===== Table ===== */
.users-table[b-ifhtm6ii62] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.84rem;
}

.users-table thead[b-ifhtm6ii62] {
    position: sticky;
    top: 0;
    z-index: 2;
}

.users-table th[b-ifhtm6ii62] {
    padding: 11px 14px;
    text-align: left;
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    background: #1a1a2e;
}

.users-table td[b-ifhtm6ii62] {
    padding: 10px 14px;
    border-bottom: 1px solid #f3f4f6;
    color: #374151;
    vertical-align: middle;
}

.users-table tbody tr:hover[b-ifhtm6ii62] {
    background: #f8fafc;
}

.users-table tbody tr.row-inactive[b-ifhtm6ii62] {
    opacity: 0.55;
}

/* ===== Sortable Header ===== */
.sort-header[b-ifhtm6ii62] {
    background: none;
    border: none;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    white-space: nowrap;
    transition: opacity 0.15s;
}

.sort-header:hover[b-ifhtm6ii62] {
    opacity: 0.8;
}

.sort-arrow[b-ifhtm6ii62] {
    font-size: 0.6rem;
    opacity: 0.7;
}

/* ===== Cell Styles ===== */
.cell-code[b-ifhtm6ii62] {
    font-weight: 700;
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 0.88rem;
    color: #1a1a2e;
}

.cell-name[b-ifhtm6ii62] {
    font-weight: 600;
    color: #1f2937;
}

.cell-secondary[b-ifhtm6ii62] {
    color: #6b7280;
    font-size: 0.82rem;
}

.cell-date[b-ifhtm6ii62] {
    white-space: nowrap;
    font-size: 0.78rem;
    color: #9ca3af;
    font-variant-numeric: tabular-nums;
}

/* ===== Module Tags ===== */
.mod-tag[b-ifhtm6ii62] {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    margin-right: 3px;
}

.mod-usa[b-ifhtm6ii62] { background: #dbeafe; color: #1e40af; }
.mod-mx[b-ifhtm6ii62] { background: #dcfce7; color: #166534; }
.mod-trucks[b-ifhtm6ii62] { background: #fef3c7; color: #92400e; }

/* ===== Client Count Badge ===== */
.client-count[b-ifhtm6ii62] {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 0.72rem;
    font-weight: 700;
    background: #f3f4f6;
    color: #6b7280;
}

.client-count.has-clients[b-ifhtm6ii62] {
    background: #ede9fe;
    color: #5b21b6;
}

/* ===== Status Pills ===== */
.status-pill[b-ifhtm6ii62] {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 10px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pill-active[b-ifhtm6ii62] { background: #dcfce7; color: #166534; }
.pill-inactive[b-ifhtm6ii62] { background: #f3f4f6; color: #9ca3af; }
.pill-locked[b-ifhtm6ii62] { background: #fee2e2; color: #991b1b; }

/* ===== Action Buttons ===== */
.actions-cell[b-ifhtm6ii62] {
    display: flex;
    gap: 4px;
    align-items: center;
}

.act-btn[b-ifhtm6ii62] {
    padding: 4px 10px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    background: #fff;
    color: #374151;
    font-size: 0.72rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
}

.act-btn:hover[b-ifhtm6ii62] {
    background: #f3f4f6;
    border-color: #9ca3af;
}

.act-edit[b-ifhtm6ii62] { color: #1e40af; border-color: #93c5fd; }
.act-edit:hover[b-ifhtm6ii62] { background: #eff6ff; }

.act-pwd[b-ifhtm6ii62] { color: #7c3aed; border-color: #c4b5fd; }
.act-pwd:hover[b-ifhtm6ii62] { background: #f5f3ff; }

.act-unlock[b-ifhtm6ii62] { color: #d97706; border-color: #fbbf24; }
.act-unlock:hover[b-ifhtm6ii62] { background: #fffbeb; }

.act-deactivate[b-ifhtm6ii62] { color: #9ca3af; }
.act-activate[b-ifhtm6ii62] { color: #16a34a; border-color: #86efac; }
.act-activate:hover[b-ifhtm6ii62] { background: #f0fdf4; }

.act-logout[b-ifhtm6ii62] { color: #dc2626; border-color: #fca5a5; }
.act-logout:hover[b-ifhtm6ii62] { background: #fef2f2; }

/* ===== Online Indicator ===== */
.online-dot[b-ifhtm6ii62] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
    vertical-align: middle;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #d1d5db;
}

.online-dot.online[b-ifhtm6ii62] {
    background: #22c55e;
    box-shadow: 0 0 0 1px #22c55e, 0 0 6px rgba(34, 197, 94, 0.5);
}

.online-dot.offline[b-ifhtm6ii62] {
    background: #9ca3af;
}

/* ===== Force Logout All Button (matches btn-new style) ===== */
.btn-logout-all[b-ifhtm6ii62] {
    padding: 8px 18px;
    background: #dc2626;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.btn-logout-all:hover[b-ifhtm6ii62] {
    background: #b91c1c;
}

/* ===== Maintenance Controls ===== */
.maintenance-controls[b-ifhtm6ii62] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 8px;
}

.maint-active[b-ifhtm6ii62] {
    font-size: 0.82rem;
    color: #92400e;
    font-weight: 500;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.btn-maint[b-ifhtm6ii62] {
    padding: 6px 14px;
    border: none;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.btn-maint-send[b-ifhtm6ii62] {
    background: #f59e0b;
    color: #fff;
}

.btn-maint-send:hover[b-ifhtm6ii62] {
    background: #d97706;
}

.btn-maint-clear[b-ifhtm6ii62] {
    background: #6b7280;
    color: #fff;
}

.btn-maint-clear:hover[b-ifhtm6ii62] {
    background: #4b5563;
}

/* ===== Schedule Section ===== */
.schedule-section[b-ifhtm6ii62] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.schedule-section > label:first-child[b-ifhtm6ii62] {
    font-size: 0.72rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== Empty State ===== */
.state-msg[b-ifhtm6ii62] {
    text-align: center;
    padding: 60px 20px;
    color: #9ca3af;
    font-size: 0.9rem;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== Modal ===== */
.modal-overlay[b-ifhtm6ii62] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-box[b-ifhtm6ii62] {
    background: #fff;
    border-radius: 10px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    overflow: hidden;
}

.modal-header[b-ifhtm6ii62] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: #1a1a2e;
    color: #fff;
}

.modal-header h3[b-ifhtm6ii62] {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
}

.modal-close[b-ifhtm6ii62] {
    background: none;
    border: none;
    color: rgba(255,255,255,0.6);
    font-size: 1.3rem;
    cursor: pointer;
    line-height: 1;
}

.modal-close:hover[b-ifhtm6ii62] {
    color: #fff;
}

.modal-body[b-ifhtm6ii62] {
    padding: 20px;
}

.modal-body p[b-ifhtm6ii62] {
    margin: 0 0 16px;
    font-size: 0.85rem;
    color: #374151;
}

.modal-footer[b-ifhtm6ii62] {
    display: flex;
    gap: 8px;
    padding: 14px 20px;
    border-top: 1px solid #f3f4f6;
    background: #fafafa;
}

/* ===== Client Search Bar ===== */
.client-search-bar[b-ifhtm6ii62] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    flex-shrink: 0;
}

.client-search-bar input[b-ifhtm6ii62] {
    flex: 1;
    padding: 8px 14px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.85rem;
    background: #fff;
    transition: border-color 0.2s;
}

.client-search-bar input:focus[b-ifhtm6ii62] {
    outline: none;
    border-color: #4fc3f7;
    box-shadow: 0 0 0 2px rgba(79,195,247,0.15);
}

.search-count[b-ifhtm6ii62] {
    font-size: 0.78rem;
    color: #9ca3af;
    white-space: nowrap;
}

/* ===== Pricing Section (Card Design) ===== */
.pricing-section[b-ifhtm6ii62] {
    margin-top: 18px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.pricing-header[b-ifhtm6ii62] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
}

.pricing-title[b-ifhtm6ii62] {
    font-size: 0.78rem;
    font-weight: 700;
    color: #1a1a2e;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-hint[b-ifhtm6ii62] {
    font-size: 0.72rem;
    color: #9ca3af;
}

.pricing-cards[b-ifhtm6ii62] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.pricing-card[b-ifhtm6ii62] {
    border-right: 1px solid #e5e7eb;
}

.pricing-card:last-child[b-ifhtm6ii62] {
    border-right: none;
}

.pricing-card-top[b-ifhtm6ii62] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 14px;
    border-bottom: 1px solid #e5e7eb;
}

.pc-type[b-ifhtm6ii62] {
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
}

.pc-currency[b-ifhtm6ii62] {
    font-size: 0.65rem;
    font-weight: 700;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.5px;
}

.pc-usa[b-ifhtm6ii62] { background: #1e40af; }
.pc-mx[b-ifhtm6ii62] { background: #166534; }
.pc-hd[b-ifhtm6ii62] { background: #3730a3; }

.pricing-card-body[b-ifhtm6ii62] {
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pc-default[b-ifhtm6ii62] {
    font-size: 0.75rem;
    color: #9ca3af;
}

.pc-default strong[b-ifhtm6ii62] {
    color: #6b7280;
}

.pc-input-wrap[b-ifhtm6ii62] {
    display: flex;
    align-items: center;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    transition: border-color 0.2s;
}

.pc-input-wrap:focus-within[b-ifhtm6ii62] {
    border-color: #4fc3f7;
    box-shadow: 0 0 0 2px rgba(79,195,247,0.15);
}

.pc-dollar[b-ifhtm6ii62] {
    padding: 6px 8px 6px 10px;
    color: #9ca3af;
    font-weight: 600;
    font-size: 0.88rem;
    background: #f9fafb;
    border-right: 1px solid #e5e7eb;
}

.pc-input-wrap input[b-ifhtm6ii62] {
    flex: 1;
    padding: 6px 10px;
    border: none;
    font-size: 0.88rem;
    background: transparent;
    outline: none;
    width: 100%;
    min-width: 0;
}

.pricing-note[b-ifhtm6ii62] {
    padding: 8px 16px;
    background: #fffbeb;
    border-top: 1px solid #fde68a;
    font-size: 0.72rem;
    color: #92400e;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .form-grid[b-ifhtm6ii62] {
        grid-template-columns: 1fr;
    }

    .tabs-bar[b-ifhtm6ii62] {
        overflow-x: auto;
    }

    .pricing-cards[b-ifhtm6ii62] {
        grid-template-columns: 1fr;
    }

    .pricing-card[b-ifhtm6ii62] {
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
    }

    .pricing-card:last-child[b-ifhtm6ii62] {
        border-bottom: none;
    }
}
/* _content/SmogCore/Components/Pages/Admin/VinAuditLogs.razor.rz.scp.css */
/* MudBlazor handles all styling for this page */
/* _content/SmogCore/Components/Pages/CertificateList.razor.rz.scp.css */
/* ===== Certificate List Page (based on Audit design) ===== */
.cert-list-page[b-v1b706x5l5] {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 12px;
    display: flex;
    flex-direction: column;
    height: calc(100vh - 80px);
}

/* ===== Page Header (same as Audit) ===== */
.page-header[b-v1b706x5l5] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    flex-shrink: 0;
}

.page-header h1[b-v1b706x5l5] {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}

.header-count[b-v1b706x5l5] {
    font-size: 0.8rem;
    color: #9ca3af;
    margin-top: 2px;
    display: block;
}

/* ===== Header Actions (New Certificate Buttons) ===== */
.header-actions[b-v1b706x5l5] {
    display: flex;
    gap: 8px;
}

.btn-new[b-v1b706x5l5] {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s;
    white-space: nowrap;
}

.btn-new-usa[b-v1b706x5l5] {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}
.btn-new-usa:hover[b-v1b706x5l5] { background: #bfdbfe; }

.btn-new-mx[b-v1b706x5l5] {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}
.btn-new-mx:hover[b-v1b706x5l5] { background: #bbf7d0; }

.btn-new-trucks[b-v1b706x5l5] {
    background: #ffedd5;
    color: #c2410c;
    border: 1px solid #fed7aa;
}
.btn-new-trucks:hover[b-v1b706x5l5] { background: #fed7aa; }

/* ===== Filters Card (same as Audit) ===== */
.filters-card[b-v1b706x5l5] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 16px;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.filter-row[b-v1b706x5l5] {
    display: flex;
    gap: 14px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.filter-item[b-v1b706x5l5] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 140px;
}

.filter-item.filter-grow[b-v1b706x5l5] {
    flex: 1;
    min-width: 180px;
}

.filter-item.filter-btn-item[b-v1b706x5l5] {
    min-width: auto;
}

.filter-item label[b-v1b706x5l5] {
    font-size: 0.72rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-item select[b-v1b706x5l5],
.filter-item input[b-v1b706x5l5] {
    padding: 7px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.85rem;
    background: #fff;
    transition: border-color 0.2s;
}

.filter-item select:focus[b-v1b706x5l5],
.filter-item input:focus[b-v1b706x5l5] {
    outline: none;
    border-color: #4fc3f7;
    box-shadow: 0 0 0 2px rgba(79,195,247,0.15);
}

.btn-search[b-v1b706x5l5] {
    padding: 7px 18px;
    border: 1px solid #1a1a2e;
    border-radius: 6px;
    background: #1a1a2e;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
}

.btn-search:hover[b-v1b706x5l5] {
    background: #16213e;
}

/* ===== Table Container (same as Audit) ===== */
.table-container[b-v1b706x5l5] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.table-scroll[b-v1b706x5l5] {
    flex: 1;
    overflow: auto;
    min-height: 0;
}

/* ===== Table (same as Audit) ===== */
.cert-table[b-v1b706x5l5] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.84rem;
}

.cert-table thead[b-v1b706x5l5] {
    position: sticky;
    top: 0;
    z-index: 2;
}

.cert-table th[b-v1b706x5l5] {
    padding: 11px 14px;
    text-align: left;
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    background: #1a1a2e;
}

.cert-table th.center[b-v1b706x5l5] {
    text-align: center;
}

.cert-table td[b-v1b706x5l5] {
    padding: 9px 14px;
    border-bottom: 1px solid #f3f4f6;
    color: #374151;
    vertical-align: middle;
}

.cert-table tbody tr:hover[b-v1b706x5l5] {
    background: #f8fafc;
}

/* ===== Cell Styles ===== */
.cell-cert[b-v1b706x5l5] {
    font-family: 'Consolas', 'Courier New', monospace;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #1e40af;
    font-size: 0.8rem;
}

.cell-vin[b-v1b706x5l5] {
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 0.8rem;
    letter-spacing: 0.3px;
}

.cell-date[b-v1b706x5l5] {
    white-space: nowrap;
    font-size: 0.78rem;
    color: #6b7280;
    font-variant-numeric: tabular-nums;
}

.cell-tech[b-v1b706x5l5] {
    font-weight: 600;
    color: #1f2937;
    font-size: 0.8rem;
}

.center[b-v1b706x5l5] {
    text-align: center;
}

/* ===== Download badge ===== */
.cell-dl[b-v1b706x5l5] {
    font-size: 0.78rem;
}

.dl-badge[b-v1b706x5l5] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #dbeafe;
    color: #1e40af;
    font-size: 0.7rem;
    font-weight: 700;
}

.dl-none[b-v1b706x5l5] {
    color: #d1d5db;
}

/* ===== Type Chips (like action-badge in Audit) ===== */
.type-chip[b-v1b706x5l5] {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.chip-usa[b-v1b706x5l5] { background: #dbeafe; color: #1e40af; }
.chip-mx[b-v1b706x5l5] { background: #dcfce7; color: #166534; }
.chip-trucks[b-v1b706x5l5] { background: #ffedd5; color: #c2410c; }

/* ===== Service Badges (like action-badge in Audit) ===== */
.service-badge[b-v1b706x5l5] {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.badge-claa[b-v1b706x5l5] { background: #ede9fe; color: #6d28d9; }
.badge-caaarem[b-v1b706x5l5] { background: #dbeafe; color: #1e40af; }
.badge-secomext[b-v1b706x5l5] { background: #dcfce7; color: #166534; }
.badge-cintesis[b-v1b706x5l5] { background: #fef3c7; color: #92400e; }

.service-regular[b-v1b706x5l5] {
    font-size: 0.78rem;
    color: #9ca3af;
}

/* ===== Status Chips (like status-pill in Audit) ===== */
.status-chip[b-v1b706x5l5] {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 10px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.chip-pending[b-v1b706x5l5] { background: #f3f4f6; color: #6b7280; }
.chip-active[b-v1b706x5l5] { background: #dbeafe; color: #1e40af; }
.chip-done[b-v1b706x5l5] { background: #dcfce7; color: #166534; }
.chip-failed[b-v1b706x5l5] { background: #fee2e2; color: #991b1b; }
.chip-expired[b-v1b706x5l5] { background: #ffedd5; color: #c2410c; }

/* ===== Prevalidator Chips ===== */
.pv-chip[b-v1b706x5l5] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.3px;
    cursor: help;
}

.pv-ok[b-v1b706x5l5] { background: #dcfce7; color: #166534; }
.pv-warn[b-v1b706x5l5] { background: #fef3c7; color: #92400e; }
.pv-fail[b-v1b706x5l5] { background: #fee2e2; color: #991b1b; }
.pv-pending[b-v1b706x5l5] { background: #f9fafb; color: #d1d5db; }

/* ===== Action Buttons ===== */
.actions-cell[b-v1b706x5l5] {
    display: flex;
    gap: 5px;
    white-space: nowrap;
}

.act-btn[b-v1b706x5l5] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    cursor: pointer;
    transition: all 0.15s;
    text-decoration: none;
    background: #fff;
}

.act-btn:disabled[b-v1b706x5l5] {
    opacity: 0.35;
    cursor: not-allowed;
}

.act-pdf[b-v1b706x5l5] { color: #dc2626; }
.act-pdf:hover[b-v1b706x5l5] { background: #fef2f2; border-color: #fecaca; }

.act-edit[b-v1b706x5l5] { color: #3b82f6; }
.act-edit:hover[b-v1b706x5l5] { background: #eff6ff; border-color: #bfdbfe; }

.act-zip[b-v1b706x5l5] { color: #059669; }
.act-zip:hover[b-v1b706x5l5] { background: #ecfdf5; border-color: #a7f3d0; }

.act-resend[b-v1b706x5l5] { color: #7c3aed; }
.act-resend:hover:not(:disabled)[b-v1b706x5l5] { background: #f5f3ff; border-color: #c4b5fd; }

.act-delete[b-v1b706x5l5] { color: #dc2626; }
.act-delete:hover[b-v1b706x5l5] { background: #fef2f2; border-color: #fecaca; }
.act-hard-delete[b-v1b706x5l5] { color: #fff; background: #dc2626; border-color: #dc2626; }
.act-hard-delete:hover[b-v1b706x5l5] { background: #b91c1c; border-color: #b91c1c; }

[b-v1b706x5l5] .modal-actions .btn-danger {
    background: #dc2626;
    color: #fff;
    border-color: #dc2626;
}
[b-v1b706x5l5] .modal-actions .btn-danger:hover { background: #b91c1c; }
[b-v1b706x5l5] .modal-actions .btn-danger:disabled { opacity: 0.6; cursor: not-allowed; }

.spinner-sm[b-v1b706x5l5] {
    width: 14px;
    height: 14px;
    border: 2px solid #e5e7eb;
    border-top-color: #7c3aed;
    border-radius: 50%;
    animation: spin-b-v1b706x5l5 0.7s linear infinite;
}

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

/* ===== Empty / Loading State (inside table) ===== */
.state-cell[b-v1b706x5l5] {
    text-align: center;
    padding: 60px 20px;
    color: #9ca3af;
    font-size: 0.9rem;
}

/* ===== Table Footer / Pagination (same as Audit) ===== */
.table-footer[b-v1b706x5l5] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    border-top: 1px solid #e5e7eb;
    background: #fafafa;
    flex-shrink: 0;
}

.page-info[b-v1b706x5l5] {
    font-size: 0.8rem;
    color: #9ca3af;
}

.page-btns[b-v1b706x5l5] {
    display: flex;
    gap: 4px;
}

.pg-btn[b-v1b706x5l5] {
    padding: 5px 12px;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    background: #fff;
    color: #374151;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.15s;
}

.pg-btn:hover:not(:disabled):not(.pg-active)[b-v1b706x5l5] {
    background: #f3f4f6;
    border-color: #9ca3af;
}

.pg-active[b-v1b706x5l5] {
    background: #1a1a2e;
    color: #fff;
    border-color: #1a1a2e;
}

.pg-btn:disabled[b-v1b706x5l5] {
    opacity: 0.35;
    cursor: not-allowed;
}

/* ===== Modal Styles ===== */
.modal-overlay[b-v1b706x5l5] {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(2px);
}

.modal-content[b-v1b706x5l5] {
    background: #fff;
    border-radius: 14px;
    padding: 28px;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    animation: modalIn-b-v1b706x5l5 0.25s ease-out;
}

@keyframes modalIn-b-v1b706x5l5 {
    from { opacity: 0; transform: scale(0.92) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-actions[b-v1b706x5l5] {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.modal-actions .btn[b-v1b706x5l5] {
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s;
}

.modal-actions .btn-primary[b-v1b706x5l5] {
    background: #1a1a2e;
    color: #fff;
    border-color: #1a1a2e;
}

.modal-actions .btn-primary:hover[b-v1b706x5l5] {
    background: #16213e;
}

.modal-actions .btn-secondary[b-v1b706x5l5] {
    background: #f3f4f6;
    color: #4b5563;
    border-color: #d1d5db;
}

.modal-actions .btn-secondary:hover[b-v1b706x5l5] {
    background: #e5e7eb;
}

.resend-warning-box[b-v1b706x5l5] {
    background: #fef3c7;
    border: 1px solid #fbbf24;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.85rem;
    color: #92400e;
    margin-top: 10px;
}

.resend-result-modal[b-v1b706x5l5] {
    text-align: center;
}

.resend-result-icon[b-v1b706x5l5] { margin-bottom: 16px; }

[b-v1b706x5l5] .icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    font-size: 28px;
    font-weight: bold;
    color: #fff;
}

[b-v1b706x5l5] .icon-success { background: #22c55e; }
[b-v1b706x5l5] .icon-warning { background: #eab308; }
[b-v1b706x5l5] .icon-error { background: #ef4444; }

[b-v1b706x5l5] .result-success { border-top: 5px solid #22c55e; }
[b-v1b706x5l5] .result-success h3 { color: #16a34a; }
[b-v1b706x5l5] .result-warning { border-top: 5px solid #eab308; }
[b-v1b706x5l5] .result-warning h3 { color: #ca8a04; }
[b-v1b706x5l5] .result-error { border-top: 5px solid #ef4444; }
[b-v1b706x5l5] .result-error h3 { color: #dc2626; }

[b-v1b706x5l5] .resend-result-modal p { color: #4b5563; margin: 8px 0; }
[b-v1b706x5l5] .resend-service-label { color: #9ca3af; display: block; margin-bottom: 8px; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .filter-row[b-v1b706x5l5] {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-item[b-v1b706x5l5] {
        min-width: 100%;
    }

    .table-footer[b-v1b706x5l5] {
        flex-direction: column;
        gap: 8px;
    }

    .actions-cell[b-v1b706x5l5] {
        flex-wrap: wrap;
    }
}
/* _content/SmogCore/Components/Pages/PrevalidatorTest.razor.rz.scp.css */
/* MudBlazor handles all styling for this page */
/* _content/SmogCore/Components/Shared/CertificateForm.razor.rz.scp.css */
/* ===== CERTIFICATE FORM - Main Container ===== */
.cert-form[b-6p3vv8ex5w] {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 8px;
}

/* ===== Header ===== */
.form-header[b-6p3vv8ex5w] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid #e0e0e0;
}

.header-left[b-6p3vv8ex5w] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-left h2[b-6p3vv8ex5w] {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 700;
    color: #1f2937;
}

.header-right[b-6p3vv8ex5w] {
    display: flex;
    align-items: center;
}

.cert-number-display[b-6p3vv8ex5w] {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e40af;
    background: #dbeafe;
    padding: 6px 16px;
    border-radius: 8px;
    letter-spacing: 1px;
    font-family: 'Consolas', 'Courier New', monospace;
}

.badge[b-6p3vv8ex5w] {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-usa[b-6p3vv8ex5w] { background: #dbeafe; color: #1e40af; }
.badge-mx[b-6p3vv8ex5w] { background: #dcfce7; color: #166534; }
.badge-trucks[b-6p3vv8ex5w] { background: #fed7aa; color: #c2410c; }

/* ===== Alerts ===== */
.alert[b-6p3vv8ex5w] {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.alert-error[b-6p3vv8ex5w] {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.alert-success[b-6p3vv8ex5w] {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.alert ul[b-6p3vv8ex5w] {
    margin: 6px 0 0 16px;
    padding: 0;
}

.alert li[b-6p3vv8ex5w] {
    font-size: 0.85rem;
}

.alert.compact[b-6p3vv8ex5w] {
    padding: 8px 12px;
    margin-bottom: 8px;
    font-size: 0.85rem;
}

/* ===== Service Selector ===== */
.service-selector[b-6p3vv8ex5w] {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.service-selector > label[b-6p3vv8ex5w] {
    font-weight: 600;
    color: #475569;
    font-size: 0.9rem;
    white-space: nowrap;
}

.service-row[b-6p3vv8ex5w] {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.service-row select[b-6p3vv8ex5w] {
    flex: 1;
    max-width: 320px;
    padding: 8px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.9rem;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s;
}

.service-row select:focus[b-6p3vv8ex5w] {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.15);
}

.btn-validate-caaarem[b-6p3vv8ex5w] {
    background: #f59e0b;
    color: #fff;
    border: none;
    padding: 8px 18px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}

.btn-validate-caaarem:hover:not(:disabled)[b-6p3vv8ex5w] {
    background: #d97706;
}

.btn-validate-caaarem:disabled[b-6p3vv8ex5w] {
    opacity: 0.5;
    cursor: not-allowed;
}

.caaarem-badge[b-6p3vv8ex5w] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #dcfce7;
    color: #166534;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.btn-back[b-6p3vv8ex5w] {
    background: #fff;
    color: #374151;
    border: 1px solid #d1d5db;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-back:hover[b-6p3vv8ex5w] {
    background: #f3f4f6;
}

.caaarem-approved-badge[b-6p3vv8ex5w] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #dcfce7;
    color: #166534;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

/* ===== CAAAREM Pre-validation ===== */
.caaarem-section[b-6p3vv8ex5w] {
    margin-bottom: 20px;
}

.caaarem-card[b-6p3vv8ex5w] {
    background: #fffbeb;
    border: 2px solid #fcd34d;
    border-radius: 12px;
    padding: 24px;
}

.caaarem-card h3[b-6p3vv8ex5w] {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    color: #92400e;
}

.caaarem-card p[b-6p3vv8ex5w] {
    margin: 0 0 16px 0;
    color: #78716c;
    font-size: 0.9rem;
}

.caaarem-row[b-6p3vv8ex5w] {
    display: flex;
    gap: 12px;
    align-items: stretch;
}

.caaarem-vin[b-6p3vv8ex5w] {
    flex: 1;
    padding: 10px 14px;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Consolas', 'Courier New', monospace;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.caaarem-vin:focus[b-6p3vv8ex5w] {
    outline: none;
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

.btn-caaarem[b-6p3vv8ex5w] {
    background: #f59e0b;
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}

.btn-caaarem:hover:not(:disabled)[b-6p3vv8ex5w] {
    background: #d97706;
}

.btn-caaarem:disabled[b-6p3vv8ex5w] {
    opacity: 0.5;
    cursor: not-allowed;
}

.caaarem-validation-box[b-6p3vv8ex5w] {
    margin-top: 14px;
    background: #fffbeb;
    border: 2px solid #fcd34d;
    border-radius: 10px;
    padding: 16px 20px;
}

.caaarem-instruction[b-6p3vv8ex5w] {
    margin: 0 0 12px 0;
    color: #92400e;
    font-size: 0.9rem;
    font-weight: 600;
}

/* ===== 2-Column Grid ===== */
.form-grid[b-6p3vv8ex5w] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-col[b-6p3vv8ex5w] {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ===== Cards ===== */
.card[b-6p3vv8ex5w] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.card h3[b-6p3vv8ex5w] {
    margin: 0 0 16px 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: #374151;
    padding-bottom: 10px;
    border-bottom: 1px solid #f3f4f6;
}

/* ===== Fields ===== */
.field[b-6p3vv8ex5w] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.field label[b-6p3vv8ex5w] {
    font-size: 0.78rem;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.field input[b-6p3vv8ex5w],
.field select[b-6p3vv8ex5w] {
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: border-color 0.2s;
    background: #fff;
    width: 100%;
    box-sizing: border-box;
}

.field input:focus[b-6p3vv8ex5w],
.field select:focus[b-6p3vv8ex5w] {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.15);
}

.field-row[b-6p3vv8ex5w] {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.field-btn[b-6p3vv8ex5w] {
    flex: 0 0 auto;
}

.flex-grow[b-6p3vv8ex5w] {
    flex: 1;
}

/* ===== Disabled / Locked Fields ===== */
.disabled-field[b-6p3vv8ex5w] {
    background: #f3f4f6 !important;
    color: #6b7280 !important;
    cursor: not-allowed;
    border-color: #e5e7eb !important;
}

.cert-num[b-6p3vv8ex5w] {
    font-family: 'Consolas', 'Courier New', monospace;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* ===== Input Validation ===== */
.input-valid[b-6p3vv8ex5w] {
    border-color: #22c55e !important;
}

.char-count[b-6p3vv8ex5w] {
    font-size: 0.7rem;
    color: #9ca3af;
    text-align: right;
    margin-top: 2px;
}

/* ===== Monitors Grid ===== */
.monitors-grid[b-6p3vv8ex5w] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 12px;
}

.monitor[b-6p3vv8ex5w] {
    display: flex;
    flex-direction: column;
}

.monitor label[b-6p3vv8ex5w] {
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.monitor select[b-6p3vv8ex5w] {
    padding: 7px 10px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.85rem;
    background: #fff;
    cursor: pointer;
}

.monitor select:focus[b-6p3vv8ex5w] {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.15);
}

.monitor-overall[b-6p3vv8ex5w] {
    grid-column: span 3;
}

.monitor-overall select[b-6p3vv8ex5w] {
    font-size: 0.95rem;
    font-weight: 600;
    padding: 9px 12px;
}

.select-pass[b-6p3vv8ex5w] {
    background-color: #dcfce7 !important;
    border-color: #22c55e !important;
    color: #166534;
}

.select-fail[b-6p3vv8ex5w] {
    background-color: #fee2e2 !important;
    border-color: #ef4444 !important;
    color: #991b1b;
}

.btn-pass[b-6p3vv8ex5w] {
    background: #22c55e;
    color: #fff;
    border: none;
    padding: 6px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    transition: background 0.2s;
}

.btn-pass:hover[b-6p3vv8ex5w] {
    background: #16a34a;
}

/* ===== Location ===== */
.location-layout[b-6p3vv8ex5w] {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.location-fields[b-6p3vv8ex5w] {
    flex: 1;
    min-width: 0;
}

.location-fields .field select[b-6p3vv8ex5w] {
    width: 100%;
}

.location-map[b-6p3vv8ex5w] {
    flex: 0 0 280px;
}

.location-map img[b-6p3vv8ex5w] {
    width: 280px;
    max-height: 200px;
    object-fit: contain;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #f9fafb;
}

.location-address[b-6p3vv8ex5w] {
    margin-top: 12px;
    padding: 10px 14px;
    background: #f9fafb;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #4b5563;
    line-height: 1.5;
}

/* ===== Image Upload Grid ===== */
.image-grid[b-6p3vv8ex5w] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.image-slot[b-6p3vv8ex5w] {
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    padding: 14px 10px;
    text-align: center;
    transition: border-color 0.2s, background 0.2s;
    background: #fafafa;
}

.image-slot:hover[b-6p3vv8ex5w] {
    border-color: #3b82f6;
    background: #f0f7ff;
}

.image-slot.has-image[b-6p3vv8ex5w] {
    border-color: #22c55e;
    border-style: solid;
    background: #f0fdf4;
}

.image-slot label[b-6p3vv8ex5w] {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: #4b5563;
    margin-bottom: 8px;
}

.image-preview[b-6p3vv8ex5w] {
    width: 100%;
    max-height: 120px;
    object-fit: contain;
    border-radius: 6px;
    margin-bottom: 8px;
    border: 1px solid #e5e7eb;
}

.image-slot[b-6p3vv8ex5w]  input[type="file"] {
    width: 100%;
    font-size: 0.75rem;
    color: #6b7280;
}

/* ===== VIN Confirmation Modal ===== */
.modal-overlay[b-6p3vv8ex5w] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content[b-6p3vv8ex5w] {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-content h3[b-6p3vv8ex5w] {
    margin: 0 0 8px 0;
    font-size: 1.15rem;
    color: #1f2937;
}

.modal-content p[b-6p3vv8ex5w] {
    margin: 0 0 16px 0;
    color: #6b7280;
    font-size: 0.9rem;
}

.vin-confirm-display[b-6p3vv8ex5w] {
    background: #1f2937;
    color: #22c55e;
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-align: center;
    padding: 14px;
    border-radius: 8px;
    margin-bottom: 16px;
}

.vin-confirm-photo[b-6p3vv8ex5w] {
    width: 100%;
    max-height: 280px;
    object-fit: contain;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    margin-bottom: 20px;
}

.modal-actions[b-6p3vv8ex5w] {
    display: flex;
    gap: 12px;
    justify-content: center;
}

/* ===== Form Actions ===== */
.form-actions-bar[b-6p3vv8ex5w] {
    display: flex;
    gap: 16px;
    justify-content: center;
    padding: 24px 0;
    margin-top: 8px;
}

.btn-large[b-6p3vv8ex5w] {
    padding: 12px 36px !important;
    font-size: 1rem !important;
    font-weight: 600;
}

/* ===== Buttons (shared) ===== */
.btn[b-6p3vv8ex5w] {
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s;
}

.btn:disabled[b-6p3vv8ex5w] {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-primary[b-6p3vv8ex5w] {
    background: #3b82f6;
    color: #fff;
    border-color: #3b82f6;
}

.btn-primary:hover:not(:disabled)[b-6p3vv8ex5w] {
    background: #2563eb;
}

.btn-secondary[b-6p3vv8ex5w] {
    background: #fff;
    color: #374151;
    border-color: #d1d5db;
}

.btn-secondary:hover:not(:disabled)[b-6p3vv8ex5w] {
    background: #f3f4f6;
}

/* ===== CLAA Button ===== */
.btn-prevalidator[b-6p3vv8ex5w] {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    color: #fff;
    border-color: #7c3aed;
}

.btn-prevalidator:hover:not(:disabled)[b-6p3vv8ex5w] {
    background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.35);
}

/* ===== Send Status Indicator ===== */
.send-status-indicator[b-6p3vv8ex5w] {
    font-size: 1.4rem;
    margin-left: 8px;
    vertical-align: middle;
    cursor: help;
}

.status-success[b-6p3vv8ex5w] { color: #22c55e; }
.status-warning[b-6p3vv8ex5w] { color: #eab308; }
.status-error[b-6p3vv8ex5w] { color: #ef4444; }
.status-none[b-6p3vv8ex5w] { color: #9ca3af; }

.send-hint[b-6p3vv8ex5w] {
    color: #9ca3af;
    font-size: 0.8rem;
    font-style: italic;
    margin-left: 8px;
}

/* ===== Prevalidator Modal ===== */
.prevalidator-modal[b-6p3vv8ex5w] {
    border-top: 4px solid #7c3aed;
}

.prevalidator-name-display[b-6p3vv8ex5w] {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    padding: 16px;
    border-radius: 10px;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.prevalidator-data-preview[b-6p3vv8ex5w] {
    background: #f5f3ff;
    border: 1px solid #ddd6fe;
    border-radius: 8px;
    padding: 14px 18px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.prevalidator-data-preview div[b-6p3vv8ex5w] {
    padding: 4px 0;
    color: #4c1d95;
}

.prevalidator-data-preview strong[b-6p3vv8ex5w] {
    color: #6d28d9;
}

.resend-warning[b-6p3vv8ex5w] {
    background: #fef3c7;
    border: 1px solid #fbbf24;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.resend-warning .icon-warning[b-6p3vv8ex5w] {
    font-size: 1.5rem;
    background: none;
    color: #d97706;
    width: auto;
    height: auto;
}

.resend-warning p[b-6p3vv8ex5w] {
    margin: 0;
    color: #92400e;
    font-size: 0.9rem;
}

/* ===== Prevalidator Result Modal ===== */
.prevalidator-result-modal[b-6p3vv8ex5w] {
    text-align: center;
    padding: 30px;
    min-width: 350px;
    animation: scaleIn-b-6p3vv8ex5w 0.3s ease-out;
}

@keyframes scaleIn-b-6p3vv8ex5w {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.prevalidator-result-icon[b-6p3vv8ex5w] {
    margin-bottom: 20px;
}

.prevalidator-result-icon span[b-6p3vv8ex5w] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    font-size: 36px;
    font-weight: bold;
}

.icon-success[b-6p3vv8ex5w] {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #fff;
}

.icon-warning[b-6p3vv8ex5w] {
    background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%);
    color: #fff;
}

.icon-error[b-6p3vv8ex5w] {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
}

.prevalidator-result-title[b-6p3vv8ex5w] {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.prevalidator-result-message[b-6p3vv8ex5w] {
    font-size: 1rem;
    color: #4b5563;
    margin-bottom: 8px;
    line-height: 1.5;
}

.prevalidator-result-service[b-6p3vv8ex5w] {
    display: block;
    color: #9ca3af;
    margin-bottom: 20px;
}

/* Result modal color variants */
.result-success[b-6p3vv8ex5w] {
    border-top: 5px solid #22c55e;
}

.result-success .prevalidator-result-title[b-6p3vv8ex5w] {
    color: #16a34a;
}

.result-warning[b-6p3vv8ex5w] {
    border-top: 5px solid #eab308;
}

.result-warning .prevalidator-result-title[b-6p3vv8ex5w] {
    color: #ca8a04;
}

.result-error[b-6p3vv8ex5w] {
    border-top: 5px solid #ef4444;
}

.result-error .prevalidator-result-title[b-6p3vv8ex5w] {
    color: #dc2626;
}

/* Result buttons */
.btn-success[b-6p3vv8ex5w] {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #fff;
    border-color: #16a34a;
}

.btn-success:hover:not(:disabled)[b-6p3vv8ex5w] {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.35);
}

.btn-warning[b-6p3vv8ex5w] {
    background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%);
    color: #fff;
    border-color: #ca8a04;
}

.btn-warning:hover:not(:disabled)[b-6p3vv8ex5w] {
    background: linear-gradient(135deg, #ca8a04 0%, #a16207 100%);
    box-shadow: 0 4px 12px rgba(202, 138, 4, 0.35);
}

.btn-danger[b-6p3vv8ex5w] {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
    border-color: #dc2626;
}

.btn-danger:hover:not(:disabled)[b-6p3vv8ex5w] {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.35);
}

/* ===== Validation Modal ===== */
.validation-modal[b-6p3vv8ex5w] {
    text-align: center;
    border-top: 5px solid #f59e0b;
}

.validation-icon[b-6p3vv8ex5w] {
    margin-bottom: 16px;
}

.icon-circle.icon-validation[b-6p3vv8ex5w] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.validation-modal h3[b-6p3vv8ex5w] {
    color: #d97706;
    margin: 0 0 8px;
}

.validation-list[b-6p3vv8ex5w] {
    text-align: left;
    margin: 14px 0;
    padding: 12px 16px 12px 32px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 8px;
    list-style: none;
}

.validation-list li[b-6p3vv8ex5w] {
    padding: 4px 0;
    color: #92400e;
    font-size: 0.88rem;
    font-weight: 500;
}

.validation-list li[b-6p3vv8ex5w]::before {
    content: "•";
    color: #f59e0b;
    font-weight: bold;
    margin-right: 8px;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .form-grid[b-6p3vv8ex5w] {
        grid-template-columns: 1fr;
    }

    .image-grid[b-6p3vv8ex5w] {
        grid-template-columns: repeat(2, 1fr);
    }

    .location-layout[b-6p3vv8ex5w] {
        flex-direction: column;
    }

    .location-map[b-6p3vv8ex5w] {
        flex: none;
        width: 100%;
    }

    .location-map img[b-6p3vv8ex5w] {
        width: 100%;
        max-width: 400px;
    }

    .monitors-grid[b-6p3vv8ex5w] {
        grid-template-columns: repeat(2, 1fr);
    }

    .monitor-overall[b-6p3vv8ex5w] {
        grid-column: span 2;
    }

    .caaarem-row[b-6p3vv8ex5w] {
        flex-direction: column;
    }

    .service-selector[b-6p3vv8ex5w] {
        flex-direction: column;
        align-items: flex-start;
    }

    .service-row[b-6p3vv8ex5w] {
        width: 100%;
    }

    .service-row select[b-6p3vv8ex5w] {
        max-width: none;
    }
}

/* ===== Section Locking (progressive form) ===== */
.section-locked[b-6p3vv8ex5w] {
    opacity: 0.4;
    pointer-events: none;
    position: relative;
}

.section-locked[b-6p3vv8ex5w]::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    background: rgba(243, 244, 246, 0.3);
    z-index: 1;
}

/* ===== Documentos Adicionales ===== */
.additional-docs[b-6p3vv8ex5w] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.doc-slot[b-6p3vv8ex5w] {
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    padding: 14px 10px;
    text-align: center;
    transition: border-color 0.2s, background 0.2s;
    background: #fafafa;
}

.doc-slot:hover[b-6p3vv8ex5w] {
    border-color: #3b82f6;
    background: #f0f7ff;
}

.doc-slot.has-doc[b-6p3vv8ex5w] {
    border-color: #22c55e;
    border-style: solid;
    background: #f0fdf4;
}

.doc-slot label[b-6p3vv8ex5w] {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: #4b5563;
    margin-bottom: 8px;
}

.doc-preview[b-6p3vv8ex5w] {
    font-size: 0.8rem;
    color: #166534;
    font-weight: 600;
    padding: 8px;
    background: #dcfce7;
    border-radius: 6px;
    margin-bottom: 8px;
}

.doc-slot[b-6p3vv8ex5w]  input[type="file"] {
    width: 100%;
    font-size: 0.75rem;
    color: #6b7280;
}

@media (max-width: 600px) {
    .form-header[b-6p3vv8ex5w] {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .image-grid[b-6p3vv8ex5w] {
        grid-template-columns: 1fr;
    }

    .field-row[b-6p3vv8ex5w] {
        flex-direction: column;
        gap: 8px;
    }

    .monitors-grid[b-6p3vv8ex5w] {
        grid-template-columns: 1fr;
    }

    .monitor-overall[b-6p3vv8ex5w] {
        grid-column: span 1;
    }

    .form-actions-bar[b-6p3vv8ex5w] {
        flex-direction: column;
        align-items: stretch;
    }

    .additional-docs[b-6p3vv8ex5w] {
        grid-template-columns: 1fr;
    }
}
