.auth-screen {
    background-color: #f8f9fa;
}

.auth-login-container {
    margin-top: 100px;
    max-width: 400px;
}

.auth-login-container.auth-login-container-wide {
    margin-top: 80px;
    max-width: 520px;
}

.auth-card-rounded {
    border-radius: 15px;
    border: none;
}

.sayc-primary-btn {
    background-color: #002d5a;
    border: none;
}

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

.auth-alert-sm {
    font-size: 0.9rem;
}

.auth-link-sm {
    font-size: 0.85rem;
}

.auth-link-xs {
    font-size: 0.8rem;
}

.auth-narrow-container {
    max-width: 420px;
    margin-top: 90px;
}

.auth-qr-box {
    background: #fff;
    border: 1px dashed #d0d7de;
    padding: 12px;
    border-radius: 10px;
}

.auth-secret {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.select-client-page {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.select-client-page.select-client-loading,
.select-client-page.select-client-loading * {
    cursor: progress !important;
}

.select-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    padding: 2rem;
    width: 100%;
    max-width: 500px;
}

.select-progress {
    height: 10px;
    display: none;
}

.select-loading-hidden,
.select-error-hidden {
    display: none;
}

.select-progress-bar-full {
    width: 100%;
}

.select-rfc-input {
    text-transform: uppercase;
}

.public-hero-section {
    background: #002d5a;
    color: white;
    padding: 100px 0;
}

.public-service-card {
    border: none;
    transition: 0.3s;
}

.public-service-card:hover {
    transform: translateY(-10px);
}

.proc-dark-page {
    background: #0f131a;
    color: #e9eef5;
}

.card-dark {
    background: #141b24;
    border: 1px solid #273142;
}

.proc-coverage-select {
    width: 220px;
}

.desktop-table-wrap {
    border: 1px solid #3a465a;
    border-radius: 8px;
    overflow: auto;
    max-height: min(62vh, 700px);
    background: linear-gradient(180deg, #111924 0%, #0f1620 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03), 0 8px 20px rgba(0, 0, 0, 0.28);
}

.modal-inventario-dialog {
    max-width: min(98vw, 1800px);
    width: min(98vw, 1800px);
}

.modal-inventario-dialog .modal-content {
    height: min(94vh, 980px);
}

.modal-inventario-dialog .modal-body {
    overflow-y: auto;
    overflow-x: hidden;
}

.table-dark-custom thead th {
    background: linear-gradient(180deg, #2a374b 0%, #1f2a3a 100%);
    color: #d7e6ff;
    border-color: #3a465a;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-size: 11.5px;
    position: sticky;
    top: 0;
    z-index: 12;
}

.table-dark-custom thead tr:first-child th {
    height: 36px;
    min-height: 36px;
    padding-top: 7px;
    padding-bottom: 7px;
}

.table-dark-custom thead tr:nth-child(2) th {
    background: #151e2b;
    top: 36px;
    z-index: 11;
    text-transform: none;
    font-size: 11px;
    padding-top: 6px;
    padding-bottom: 6px;
    box-shadow: 0 1px 0 #2b3444;
}

.table-dark-custom thead tr:nth-child(2) th::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #151e2b;
    z-index: -1;
}

.table-dark-custom thead tr:nth-child(2) .form-select,
.table-dark-custom thead tr:nth-child(2) .form-control {
    background-color: #0f1724 !important;
    color: #e9eef5 !important;
    opacity: 1 !important;
    position: relative;
    z-index: 7;
}

.table-dark-custom td,
.table-dark-custom th {
    border-color: #2b3444;
    vertical-align: middle;
}

.table-dark-custom {
    font-family: var(--fuente-principal, "Segoe UI", "Aptos", "Aptos Narrow", Tahoma, Calibri, sans-serif);
    font-size: var(--tabla-font-size, 12.5px);
    font-weight: var(--tabla-body-weight, 400);
    letter-spacing: var(--tabla-letter-spacing, 0.015em);
    margin-bottom: 0;
    border-collapse: separate !important;
    border-spacing: 0;
    background: #111924;
}

.table-dark-custom tbody td {
    background: #121a26;
    color: #dce6f7;
    font-size: 12px;
    padding: 6px 10px;
    white-space: nowrap;
    border-bottom: 1px solid #1f2a3b;
}

.table-dark-custom tbody tr:nth-child(even) td {
    background: #101723;
}

.table-dark-custom tbody tr:hover td {
    background: #1b2636 !important;
    color: #f4f8ff;
}

.table-dark-custom .form-control,
.table-dark-custom .form-select {
    font-size: 11.5px;
    min-height: 28px;
    border-color: #3a465a !important;
}

.status-pill {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 999px;
    font-weight: 600;
}

.status-validado {
    background: #1f6f4a;
    color: #d7ffe8;
}

.status-desarrollo {
    background: #7a5a00;
    color: #ffe9a9;
}

.status-espera {
    background: #3b5b8f;
    color: #d7e7ff;
}

.status-concluido {
    background: #355f7a;
    color: #d8f0ff;
}

.status-bloqueado {
    background: #7a2f2f;
    color: #ffd9d9;
}

.status-deprecated {
    background: #4b4b4b;
    color: #e2e2e2;
}

.overlay-role-menu {
    max-height: 240px;
    overflow-y: auto;
}

.dashboard-client-name {
    font-size: 1.3rem;
}

.dashboard-viewer-hidden {
    display: none;
}

.dashboard-search-wrap {
    width: 250px;
}

.dashboard-clear-btn {
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    display: none;
    color: #ccc;
}

.dashboard-per-page {
    width: auto;
}

.dashboard-table-scroll {
    max-height: 70vh;
}

.dashboard-dictionary-scroll {
    max-height: 400px;
}

.dashboard-dictionary-head {
    position: sticky;
    top: 0;
    z-index: 10;
}

.dashboard-dictionary-toolbar {
    gap: 0;
    min-height: 38px;
}

.dashboard-dictionary-toolbar .dashboard-search-wrap {
    margin-bottom: 0;
}

.dashboard-edit-col {
    width: 50px;
}

.table-clickable {
    cursor: pointer;
}

.usb-notes-cell {
    min-width: 240px;
}

.csn-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: move;
    gap: 8px;
}

.csn-header-actions {
    display: flex;
    gap: 6px;
}

.csn-btn-tight {
    padding: 2px 8px;
    line-height: 1;
}

.csn-body {
    margin-top: 6px;
    user-select: text;
}

.csn-control {
    margin-top: 4px;
    font-size: 0.86rem;
}
