/* Estilos del módulo Directorio */

/* ============================================
   NUEVOS ESTILOS CON CLASES - RESPONSIVE
   ============================================ */

/* Header */
.dir-header {
    background: white;
    padding: 10px 16px;
    border-bottom: 1px solid #e5e7eb;
}

.dir-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.dir-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dir-header-right {
    display: flex;
    gap: 10px;
}

.dir-btn-back {
    padding: 8px 12px;
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    cursor: pointer;
    color: #374151;
    font-size: 14px;
}

.dir-title {
    color: #2c3e50;
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dir-btn-nuevo {
    padding: 10px 16px;
    border: var(--btn-form-border-width-nuevo, 0px) solid var(--btn-form-border-color-nuevo, transparent);
    background: var(--btn-form-nuevo, #ec7063);
    color: var(--btn-form-color-letra-nuevo, white);
    cursor: pointer;
    font-size: var(--btn-form-font-size-nuevo, 0.85rem);
    font-weight: var(--btn-form-font-weight-nuevo, 600);
    border-radius: var(--btn-form-border-radius-nuevo, 6px);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
}

.dir-btn-nuevo:hover {
    background: var(--btn-form-nuevo-light, #d95b4e);
}

/* Tabs */
.dir-tabs-container {
    background: #eef2f7;
    padding: 6px;
    border-radius: 10px;
    margin: 10px 16px;
}

.dir-tabs {
    display: flex;
    gap: 6px;
}

.dir-tab {
    flex: 1;
    padding: 10px 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    color: #64748b;
    font-weight: 500;
    transition: all 0.2s;
}

.dir-tab:hover {
    background: rgba(255,255,255,0.5);
}

.dir-tab.active {
    background: #ffffff;
    color: #1e293b;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.dir-tab-badge {
    background: #cbd5e1;
    color: #475569;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
}

.dir-tab.active .dir-tab-badge {
    background: #2c3e50;
    color: white;
}

/* Filtros */
.dir-filters-container {
    background: white;
    padding: 12px 16px;
    border-bottom: 1px solid #e5e7eb;
}

.dir-filters {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 10px;
    align-items: center;
}

.dir-search-box {
    position: relative;
}

.dir-search-box i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 14px;
}

.dir-search-box input {
    width: 100%;
    padding: 10px 10px 10px 38px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 14px;
    background: #f8fafc;
    transition: all 0.2s;
}

.dir-search-box input:focus {
    border-color: #2c3e50;
    background: white;
    outline: none;
}

.dir-filter-item select {
    width: 100%;
    padding: 10px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 14px;
    color: #475569;
    background: #f8fafc;
    cursor: pointer;
    transition: all 0.2s;
}

.dir-filter-item select:focus {
    border-color: #2c3e50;
    background: white;
    outline: none;
}

/* Contenido */
.dir-content {
    background: #f8fafc;
    padding: 10px;
}

/* ============================================
   RESPONSIVE - MÓVIL
   ============================================ */

@media (max-width: 768px) {
    /* Header móvil */
    .dir-header {
        padding: 10px 12px;
    }

    .dir-header-content {
        flex-direction: column;
        align-items: stretch;
    }

    .dir-header-left {
        justify-content: flex-start;
        margin-bottom: 10px;
    }

    .dir-title {
        font-size: 22px;
    }

    .dir-btn-nuevo {
        width: 100%;
        justify-content: center;
        padding: 12px 16px;
    }

    /* Tabs móvil - vertical */
    .dir-tabs-container {
        margin: 8px 12px;
        padding: 8px;
    }

    .dir-tabs {
        flex-direction: column;
        gap: 6px;
    }

    .dir-tab {
        justify-content: center;
        padding: 12px 16px;
        text-align: center;
    }

    /* Filtros móvil - vertical */
    .dir-filters-container {
        padding: 12px;
    }

    .dir-filters {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .dir-search-box input,
    .dir-filter-item select {
        padding: 12px;
        padding-left: 40px;
        font-size: 16px; /* Previene zoom en iOS */
    }

    .dir-filter-item select {
        padding-left: 12px;
    }

    /* Contenido móvil */
    .dir-content {
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .dir-header {
        padding: 8px 10px;
    }

    .dir-title {
        font-size: 22px;
    }

    .dir-title i {
        display: inline;
    }

    .dir-tabs-container {
        margin: 6px 8px;
    }

    .dir-filters-container {
        padding: 10px 8px;
    }

    .dir-content {
        padding: 6px;
    }
}

/* ============================================
   TABLA RESPONSIVE
   ============================================ */

.dir-table-section {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.dir-table-header {
    background: #b1bcc4;
    padding: 8px 12px;
    border-bottom: 1px solid #9aa6af;
}

.dir-table-header h3 {
    color: #1e293b;
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.dir-table-header h3 i {
    font-size: 14px;
}

.dir-table-count {
    display: inline-block;
    background: #2F3E4F;
    color: white;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
    margin-left: auto;
}

/* Indicador de cobertura de apartamentos */
.dir-apt-status {
    font-size: 11px;
    margin-left: 8px;
    font-weight: 600;
    white-space: nowrap;
}

.dir-apt-status i {
    font-size: 11px;
    margin-right: 3px;
}

.dir-apt-status.ok {
    color: #059669;
}

.dir-apt-status.warning {
    color: #dc2626;
}

.dir-apt-missing {
    display: block;
    width: 100%;
    font-size: 11px;
    font-weight: 500;
    color: #1e293b;
    background: #fef2f2;
    border-top: 1px solid #fecaca;
    padding: 6px 12px;
    margin-top: 6px;
}

.dir-apt-missing i {
    color: #dc2626;
    margin-right: 4px;
    font-size: 11px;
}

.dir-table-section.incomplete {
    border-left: 3px solid #dc2626;
}

.dir-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.dir-table {
    width: 100%;
    border-collapse: collapse;
}

.dir-table thead tr {
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
}

.dir-table th {
    padding: 10px 8px;
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.dir-table-row {
    border-bottom: 1px solid #e5e7eb;
    transition: background 0.2s;
}

.dir-table-row:hover {
    background: #f8fafc;
}

.dir-table td {
    padding: 4px 8px;
    font-size: 13px;
    color: #1e293b;
    vertical-align: middle;
}

.col-index {
    width: 40px;
    color: #64748b !important;
    font-weight: 600;
}

.col-acciones {
    text-align: center !important;
}

td.col-acciones .dir-actions {
    width: 100%;
}

.dir-nombre-cell {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dir-nombre-cell i {
    font-size: 18px;
}

.dir-nombre-cell span {
    font-weight: 600;
}

.dir-link-tel,
.dir-link-email {
    color: #2c3e50;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
}

.dir-link-tel:hover,
.dir-link-email:hover {
    color: #3498db;
}

.dir-link-email {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dir-empty {
    color: #94a3b8;
}

.dir-apt {
    font-weight: 600;
    color: #1e293b;
}

.dir-apt-empty {
    display: inline-block;
    background: #f1f5f9;
    color: #64748b;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
}

.dir-actions {
    display: flex;
    gap: 6px;
    justify-content: flex-end;
}

.dir-btn-edit,
.dir-btn-delete {
    padding: var(--btn-accion-padding-y) var(--btn-accion-padding-x);
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-size: var(--btn-accion-icon-size);
    transition: all 0.2s;
    color: white;
}

.dir-btn-edit {
    background: var(--btn-editar);
}

.dir-btn-edit:hover {
    background: var(--btn-editar-light);
}

.dir-btn-delete {
    background: var(--btn-eliminar);
}

.dir-btn-delete:hover {
    background: var(--btn-eliminar-light);
}

.dir-btn-duplicate {
    background: var(--btn-copiar);
    color: white;
    border: none;
    border-radius: 5px;
    padding: var(--btn-accion-padding-y) var(--btn-accion-padding-x);
    cursor: pointer;
    font-size: var(--btn-accion-icon-size);
    transition: all 0.2s;
}

.dir-btn-duplicate:hover {
    background: var(--btn-copiar-light);
}

.dir-btn-change-type {
    background: var(--btn-cambiar-tipo);
    color: white;
    border: none;
    border-radius: 5px;
    padding: var(--btn-accion-padding-y) var(--btn-accion-padding-x);
    cursor: pointer;
    font-size: var(--btn-accion-icon-size);
    transition: all 0.2s;
}

.dir-btn-change-type:hover {
    background: var(--btn-cambiar-tipo-light);
}

.dir-badge-tipo {
    display: inline-block;
    background: #3b82f6;
    color: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
}

.dir-badge-contrato {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    color: white;
}

.dir-badge-contrato.vigente {
    background: #10b981;
}

.dir-badge-contrato.vencido {
    background: #ef4444;
}

.dir-table-scroll-hint {
    display: none;
    text-align: center;
    font-size: 11px;
    color: #94a3b8;
    padding: 6px;
    background: #f1f5f9;
}

/* Mostrar/ocultar en móvil */
.show-mobile-inline {
    display: none;
}

/* Responsive tabla - estilos básicos, responsive.css tiene prioridad */
@media (max-width: 768px) {
    .hide-mobile {
        display: none !important;
    }

    .show-mobile-inline {
        display: inline !important;
    }
}

@media (max-width: 768px) {
    .dir-apt-status {
        font-size: 10px;
    }

    .dir-apt-missing {
        font-size: 10px;
        padding: 4px 10px;
    }
}

@media (max-width: 480px) {
    .dir-table-header {
        padding: 6px 10px;
    }

    .dir-table-header h3 {
        font-size: 11px;
    }

    .dir-table th,
    .dir-table td {
        padding: 6px 4px;
        font-size: 11px;
    }

    .dir-nombre-cell i {
        font-size: 16px;
    }

    .dir-apt-status {
        font-size: 9px;
        margin-left: 0;
        flex-basis: 100%;
    }

    .dir-apt-missing {
        font-size: 9px;
    }
}

/* ============================================
   ESTILOS ORIGINALES
   ============================================ */

/* Estilos para la vista de tabla */
.propietarios-table-container,
.representantes-table-container,
.inquilinos-table-container {
    padding: 0;
}

.edificio-section {
    margin-bottom: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.edificio-title {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 20px;
    margin: 0;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.edificio-title .badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.9rem;
    margin-left: auto;
}

.table-responsive {
    overflow-x: auto;
    padding: 20px;
}

.propietarios-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    border: 2px solid #000;
}

.propietarios-table thead {
    background: #e7e7e7;
    border-bottom: 2px solid #000;
}

.propietarios-table th {
    padding: 12px;
    text-align: left;
    font-weight: 600;
    color: #000;
    border: 1px solid #a0a0a0;
    background: #e7e7e7;
}

.propietarios-table tbody tr {
    transition: background-color 0.2s;
}

.propietarios-table tbody tr:hover {
    background-color: #fffacd;
}

.propietarios-table td {
    padding: 10px 12px;
    vertical-align: middle;
    border: 1px solid #c0c0c0;
    background: white;
}

.owner-name {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.owner-name i {
    font-size: 1.2rem;
}

.phone-link, .email-link {
    color: #007bff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.phone-link:hover, .email-link:hover {
    text-decoration: underline;
}

.action-buttons {
    display: flex;
    gap: 5px;
    justify-content: center;
}

.btn-action {
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.btn-action.btn-edit {
    background: #28a745;
    color: white;
}

.btn-action.btn-edit:hover {
    background: #218838;
    transform: scale(1.1);
}

.btn-action.btn-delete {
    background: #dc3545;
    color: white;
}

.btn-action.btn-delete:hover {
    background: #c82333;
    transform: scale(1.1);
}

.badge {
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
}

.badge-primary {
    background: #007bff;
    color: white;
}

.badge-secondary {
    background: #6c757d;
    color: white;
}

.text-success {
    color: #28a745;
}

.text-secondary {
    color: #6c757d;
}

.text-muted {
    color: #999;
    font-style: italic;
}

.text-center {
    text-align: center;
}

/* Tabs de navegación */
.directory-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    padding: 15px;
    background: var(--background-color);
    border-radius: 8px;
}

.tab-btn {
    flex: 1;
    padding: 12px 20px;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--text-color);
}

.tab-btn:hover {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-color: var(--primary-color);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--text-white);
    border-color: var(--primary-color);
}

.tab-btn .badge {
    background: rgba(255, 255, 255, 0.3);
    color: inherit;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
}

.tab-btn:not(.active) .badge {
    background: var(--primary-color);
    color: var(--text-white);
}

/* Controles del directorio */
.directory-controls {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.directory-controls .search-box {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.directory-controls .search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

.directory-controls .search-box input {
    padding-left: 40px;
    width: 100%;
}

.filter-group {
    display: flex;
    gap: 10px;
}

.filter-group select {
    min-width: 150px;
}

/* Grid del directorio */
.directory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

/* Cards del directorio */
.directory-card {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border-radius: 12px;
    border: 2px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.directory-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-light);
}

.directory-card .card-header {
    padding: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--text-white);
}

.person-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.person-info h4 {
    margin: 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.person-info h4 i {
    font-size: 1.2rem;
    opacity: 0.9;
}

.directory-card .card-body {
    padding: 15px;
    flex-grow: 1;
}

.info-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--text-color);
    font-size: 0.9rem;
}

.info-row i {
    width: 20px;
    text-align: center;
    color: var(--primary-color);
}

.info-row span {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.info-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    background: linear-gradient(135deg, var(--success-color), #27ae60);
    color: var(--text-white);
    border-radius: 20px;
    font-size: 0.85rem;
    margin-right: 8px;
    margin-top: 10px;
}

.info-tag.secondary {
    background: linear-gradient(135deg, #7f8c8d, #95a5a6);
}

.info-tag.warning {
    background: linear-gradient(135deg, var(--warning-color), #f39c12);
}

.info-tag.danger {
    background: linear-gradient(135deg, var(--danger-color), #c0392b);
}

.directory-card .card-footer {
    padding: 12px 15px;
    background: var(--background-color);
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 8px;
    justify-content: center;
    justify-content: flex-end;
}

/* Estado vacío */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
}

.empty-state i {
    color: var(--primary-light);
    opacity: 0.3;
    margin-bottom: 20px;
}

.empty-state h3 {
    color: var(--text-color);
    margin-bottom: 10px;
}

.empty-state p {
    color: var(--text-light);
}

/* Formularios del directorio */
.form-section {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 2px solid var(--border-color);
}

.form-section:last-child {
    border-bottom: none;
}

.form-section h4 {
    color: var(--text-color);
    margin-bottom: 20px;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-section h4 i {
    color: var(--primary-color);
}

.form-label.required::after {
    content: ' *';
    color: var(--danger-color);
}

select[multiple] {
    border: 2px solid var(--border-color);
    border-radius: 6px;
    padding: 8px;
}

select[multiple] option {
    padding: 5px 10px;
}

select[multiple] option:checked {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--text-white);
}

/* Modal de detalles */
.details-modal {
    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: 9999;
    animation: fadeIn 0.3s;
}

.details-content {
    background: var(--white);
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
}

.details-header {
    padding: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--text-white);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.details-body {
    padding: 30px;
}

.details-section {
    margin-bottom: 25px;
}

.details-section h5 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.1rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 8px;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.detail-item label {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 600;
}

.detail-item span {
    color: var(--text-color);
    font-size: 1rem;
}

/* Table Styles */
.table-responsive {
    overflow-x: auto;
    margin: 20px 0;
}

.directory-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--text-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px var(--shadow-color);
}

.directory-table thead {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--text-white);
}

.directory-table th {
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.directory-table tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.2s;
}

.directory-table tbody tr:hover {
    background-color: var(--background-color);
}

.directory-table td {
    padding: 12px 15px;
    color: var(--text-color);
    font-size: 0.95rem;
}

.name-cell {
    display: flex;
    align-items: center;
    gap: 8px;
}

.name-cell i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.name-cell .fa-home,
.name-cell .fa-car,
.name-cell .fa-paw {
    margin-left: 8px;
    font-size: 0.9rem;
}

.action-buttons {
    display: flex;
    gap: 5px;
    justify-content: center;
}

.action-buttons .btn {
    padding: 4px 8px;
}

.badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-block;
}

.badge-success {
    background: #d4edda;
    color: #155724;
}

.badge-danger {
    background: #f8d7da;
    color: #721c24;
}

.badge-moroso {
    display: inline-block;
    background: linear-gradient(135deg, #ef5350, #c62828);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 3px;
    letter-spacing: 0.5px;
    animation: pulse-moroso 2s infinite;
}

.badge-aldia {
    display: inline-block;
    background: linear-gradient(135deg, #4caf50, #2e7d32);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 3px;
    letter-spacing: 0.5px;
}

.col-pago {
    text-align: center;
    white-space: nowrap;
}

@keyframes pulse-moroso {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.badge-warning {
    background: #fff3cd;
    color: #856404;
}

.badge-info {
    background: #d1ecf1;
    color: #0c5460;
}

.badge-secondary {
    background: #e2e3e5;
    color: #383d41;
}

.text-muted {
    color: #6c757d;
    font-style: italic;
}

.text-primary {
    color: var(--primary-color);
}

.text-info {
    color: #17a2b8;
}

.text-warning {
    color: #ffc107;
}

/* Selector de apartamentos - Dropdown Style */
.apartment-dropdown-selector {
    position: relative;
    width: 100%;
}

.selected-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: var(--text-white);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    cursor: pointer;
    min-height: 45px;
    transition: all 0.3s ease;
}

.selected-display:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(52, 144, 220, 0.1);
}

.selected-items {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.selected-tag {
    display: inline-block;
    padding: 4px 10px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--text-white);
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

.placeholder {
    color: #999;
    font-style: italic;
}

.dropdown-arrow {
    color: #666;
    transition: transform 0.3s ease;
}

.dropdown-arrow.rotate {
    transform: rotate(180deg);
}

.apartment-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 5px;
    background: var(--text-white);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    max-height: 400px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.dropdown-search {
    padding: 10px;
    border-bottom: 1px solid var(--border-color);
}

.dropdown-search input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 0.9rem;
}

.dropdown-list {
    flex: 1;
    overflow-y: auto;
    max-height: 250px;
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.2s;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-item:hover {
    background-color: var(--background-color);
}

.dropdown-item.selected {
    background-color: rgba(52, 144, 220, 0.1);
}

.dropdown-item input[type="checkbox"] {
    margin-right: 10px;
    cursor: pointer;
}

.dropdown-item span {
    flex: 1;
    font-size: 0.95rem;
}

.contract-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.contract-info .badge {
    font-size: 0.75rem;
    padding: 3px 8px;
}

.contract-info small {
    font-size: 0.8rem;
    color: #666;
    margin-top: 2px;
}

.owner-name {
    display: flex;
    align-items: center;
    gap: 8px;
}

.owner-name i {
    font-size: 1.1rem;
}

.phone-link, .email-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.phone-link:hover {
    color: #28a745;
}

.email-link:hover {
    color: #007bff;
}

.phone-link i, .email-link i {
    margin-right: 5px;
    font-size: 0.9rem;
}

/* Estilos para la tabla responsive */
.table-responsive {
    overflow-x: auto;
    margin-bottom: 20px;
}

.propietarios-table .btn-group {
    display: flex;
    gap: 4px;
}

.propietarios-table .actions-cell {
    white-space: nowrap;
}

.dropdown-actions {
    padding: 10px;
    border-top: 1px solid var(--border-color);
    text-align: right;
}

/* Legacy styles for compatibility */
.apartment-selector {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.apartment-selector select {
    flex: 1;
}

.selected-apartments {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
    min-height: 40px;
    padding: 8px;
    background: var(--background-color);
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

.apartment-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--text-white);
    border-radius: 20px;
    font-size: 0.9rem;
}

.apartment-tag .remove-btn {
    background: none;
    border: none;
    color: var(--text-white);
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.apartment-tag .remove-btn:hover {
    opacity: 1;
}

/* Responsive */
@media (max-width: 992px) {
    .directory-tabs {
        flex-direction: column;
    }
    
    .directory-grid {
        grid-template-columns: 1fr;
    }
    
    .directory-controls {
        flex-direction: column;
    }
    
    .filter-group {
        width: 100%;
        flex-direction: column;
    }
    
    .filter-group select {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .person-info {
        flex-direction: column;
        align-items: flex-start;
    }

    .info-row {
        font-size: 0.85rem;
    }

    .directory-card .card-footer {
        justify-content: center;
    }
}

/* ============================================
   ESTILOS RESPONSIVE PARA MÓVIL - DIRECTORIO
   ============================================ */

/* Tablet y móvil grande (max 992px) */
@media (max-width: 992px) {
    /* Header del módulo */
    #moduleContainer > div:first-child > div:first-child:not(.cxp-header) {
        flex-direction: column !important;
        gap: 10px !important;
        align-items: stretch !important;
    }

    #moduleContainer[data-module="directorio"] > div:first-child > div:first-child > div:last-child {
        justify-content: flex-end !important;
    }
}

/* Móvil (max 768px) */
@media (max-width: 768px) {
    /* Barra de búsqueda y filtros - apilar verticalmente */
    #moduleContainer > div:nth-child(3) > div {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    /* Tabs - hacer más compactos */
    #moduleContainer > div:nth-child(2) > div {
        flex-wrap: wrap !important;
    }

    #moduleContainer > div:nth-child(2) button {
        flex: 1 1 calc(33% - 4px) !important;
        min-width: 100px !important;
        padding: 8px 6px !important;
        font-size: 11px !important;
    }

    /* Contenedor de tablas */
    .propietarios-table-container,
    .representantes-table-container,
    .inquilinos-table-container {
        padding: 0 !important;
    }

    /* Secciones de edificio */
    #moduleContainer [style*="border-radius: 8px"][style*="margin-bottom: 10px"] {
        margin: 0 -10px 10px -10px !important;
        border-radius: 0 !important;
        border-left: none !important;
        border-right: none !important;
    }

    /* Título del edificio */
    #moduleContainer [style*="background: #b1bcc4"] h3 {
        font-size: 12px !important;
    }

    /* Tablas - scroll horizontal visible */
    #moduleContainer [style*="overflow-x: auto"] {
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    /* Indicador de scroll en tablas */
    #moduleContainer [style*="overflow-x: auto"]::after {
        content: '← Desliza →';
        display: block;
        text-align: center;
        font-size: 10px;
        color: #94a3b8;
        padding: 4px;
        background: #f1f5f9;
    }

    /* Celdas de tabla más compactas */
    #moduleContainer table th,
    #moduleContainer table td {
        padding: 6px 4px !important;
        font-size: 11px !important;
    }

    /* Ocultar columnas menos importantes en móvil (solo dir-table) */
    #moduleContainer .dir-table th:nth-child(4),
    #moduleContainer .dir-table td:nth-child(4),
    #moduleContainer .dir-table th:nth-child(6),
    #moduleContainer .dir-table td:nth-child(6) {
        display: none !important;
    }

    /* Botones de acción más grandes para touch */
    #moduleContainer table button {
        padding: 8px 10px !important;
        min-width: 36px !important;
        min-height: 36px !important;
    }

    /* Input de búsqueda más grande */
    #searchDirectory {
        padding: 10px 10px 10px 36px !important;
        font-size: 14px !important;
    }

    /* Selects más grandes */
    #filterEdificio,
    #filterEstado {
        padding: 10px !important;
        font-size: 14px !important;
    }

    /* Botón nuevo registro */
    #btnNuevoRegistro {
        width: 100% !important;
        padding: 10px 15px !important;
        font-size: 14px !important;
    }
}

/* Móvil pequeño (max 480px) */
@media (max-width: 480px) {
    /* Header más compacto */
    #moduleContainer > div:first-child {
        padding: 8px 10px !important;
    }

    #moduleContainer > div:first-child h2 {
        font-size: 0.8rem !important;
    }

    /* Tabs en una columna en móviles muy pequeños */
    #moduleContainer > div:nth-child(2) {
        padding: 3px !important;
        margin: 5px 8px !important;
    }

    #moduleContainer > div:nth-child(2) > div {
        flex-direction: column !important;
        gap: 4px !important;
    }

    #moduleContainer > div:nth-child(2) button {
        width: 100% !important;
        flex: none !important;
        padding: 10px !important;
        font-size: 13px !important;
    }

    /* Búsqueda y filtros */
    #moduleContainer > div:nth-child(3) {
        padding: 8px 10px !important;
    }

    /* Área de contenido */
    #directoryContentArea {
        padding: 5px !important;
    }

    /* Ocultar más columnas en móvil pequeño (solo dir-table) */
    #moduleContainer .dir-table th:nth-child(3),
    #moduleContainer .dir-table td:nth-child(3),
    #moduleContainer .dir-table th:nth-child(5),
    #moduleContainer .dir-table td:nth-child(5) {
        display: none !important;
    }

    /* Mostrar solo nombre, apartamento y acciones (solo dir-table) */
    #moduleContainer .dir-table th:first-child,
    #moduleContainer .dir-table td:first-child {
        width: 30px !important;
    }

    /* Hacer el nombre más visible (solo dir-table) */
    #moduleContainer .dir-table td:nth-child(2) span {
        font-size: 13px !important;
        font-weight: 600 !important;
    }

    /* Centrar acciones (solo dir-table) */
    #moduleContainer .dir-table td:last-child > div {
        flex-direction: row !important;
        gap: 8px !important;
    }
}

/* Mejoras generales para touch */
@media (pointer: coarse) {
    /* Tabs directorio más grandes en móvil */
    .dir-tab {
        font-size: 16px !important;
    }

    /* Botones más grandes para dedos */
    #moduleContainer button {
        min-height: 44px;
        min-width: 44px;
    }

    /* Links telefónicos y email clickeables */
    #moduleContainer a[href^="tel:"],
    #moduleContainer a[href^="mailto:"] {
        padding: 8px 4px;
        display: inline-block;
    }

    /* Mejor espaciado entre elementos interactivos */
    #moduleContainer table td button {
        margin: 2px;
    }
}

/* ============================================
   TRAZABILIDAD - Vista por apartamento
   ============================================ */

.trazabilidad-container {
    padding: 4px 0;
}

/* Toolbar: resumen + toggle */
.traz-toolbar {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.traz-view-toggle {
    display: flex;
    gap: 4px;
    background: #f1f5f9;
    border-radius: 8px;
    padding: 4px;
    flex-shrink: 0;
    align-self: center;
}

.traz-toggle-btn {
    padding: 8px 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    background: transparent;
    color: #64748b;
    transition: all 0.2s;
}

.traz-toggle-btn:hover {
    background: rgba(255,255,255,0.6);
    color: #1e293b;
}

.traz-toggle-btn.active {
    background: white;
    color: #1e293b;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

/* Resumen estadísticas */
.trazabilidad-summary {
    display: flex;
    gap: 10px;
    flex: 1;
    flex-wrap: wrap;
}

.traz-stat {
    flex: 1;
    min-width: 140px;
    background: white;
    border-radius: 10px;
    padding: 12px 14px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.traz-stat-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

.traz-stat-body {
    flex: 1;
    min-width: 0;
}

.traz-stat-num {
    font-size: 22px;
    font-weight: 800;
    color: #1e293b;
    line-height: 1;
}

.traz-stat-pct {
    font-size: 12px;
    font-weight: 600;
    opacity: 0.7;
}

.traz-stat-label {
    font-size: 11px;
    color: #64748b;
    font-weight: 600;
    margin-top: 3px;
    line-height: 1.2;
}

/* Barra de progreso */
.traz-stat-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #f1f5f9;
}

.traz-stat-bar-fill {
    height: 100%;
    border-radius: 0 3px 3px 0;
    transition: width 0.4s ease;
}

.traz-bar-green { background: #059669; }

/* Variantes de color */
.traz-stat-total .traz-stat-icon {
    background: #eff6ff;
    color: #2563eb;
}

.traz-stat-success .traz-stat-icon {
    background: #f0fdf4;
    color: #059669;
}
.traz-stat-success .traz-stat-num { color: #059669; }

.traz-stat-danger .traz-stat-icon {
    background: #fef2f2;
    color: #dc2626;
}
.traz-stat-danger .traz-stat-num { color: #dc2626; }

.traz-stat-ok .traz-stat-icon {
    background: #f0fdf4;
    color: #059669;
}
.traz-stat-ok .traz-stat-num { color: #059669; }

.traz-stat-info .traz-stat-icon {
    background: #f5f3ff;
    color: #7c3aed;
}
.traz-stat-info .traz-stat-num { color: #7c3aed; }

/* Sección por edificio */
.traz-edificio-section {
    margin-bottom: 20px;
}

.traz-edificio-header {
    background: #b1bcc4;
    color: #1e293b;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 6px 6px 0 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.traz-edificio-badge {
    margin-left: auto;
    background: #2F3E4F;
    color: white;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
}

/* Grid de tarjetas */
.trazabilidad-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 10px;
    padding: 10px;
    background: #f1f5f9;
    border-radius: 0 0 6px 6px;
    border: 1px solid #e2e8f0;
    border-top: none;
}

/* Tarjeta de apartamento */
.traz-card {
    background: white;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: box-shadow 0.2s;
}

.traz-card:hover {
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.traz-card-warning {
    border-left: 3px solid #dc2626;
}

.traz-card-header {
    background: #f8fafc;
    padding: 8px 12px;
    font-weight: 700;
    font-size: 13px;
    color: #1e293b;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.traz-warning-badge {
    font-size: 10px;
    font-weight: 600;
    color: #dc2626;
    background: #fef2f2;
    padding: 2px 8px;
    border-radius: 4px;
}

.traz-warning-badge i {
    font-size: 9px;
    margin-right: 2px;
}

.traz-card-body {
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Secciones por rol */
.traz-role-section {
    border-radius: 6px;
    padding: 6px 8px;
}

.traz-role-prop { background: #eff6ff; }
.traz-role-inq  { background: #f0fdf4; }
.traz-role-rep  { background: #faf5ff; }

.traz-role-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.traz-role-prop .traz-role-label { color: #2563eb; }
.traz-role-inq  .traz-role-label { color: #16a34a; }
.traz-role-rep  .traz-role-label { color: #7c3aed; }

.traz-role-label i { font-size: 10px; }

/* Persona */
.traz-person {
    padding: 3px 0;
}

.traz-person-info {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.traz-person-name {
    font-size: 12px;
    font-weight: 600;
    color: #1e293b;
}

.traz-estado {
    font-size: 9px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 3px;
}

.traz-estado-activo {
    background: #dcfce7;
    color: #166534;
}

.traz-estado-inactivo {
    background: #f1f5f9;
    color: #64748b;
}

.traz-person-phone {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #16a34a;
    text-decoration: none;
    margin-top: 2px;
}

.traz-person-phone:hover {
    text-decoration: underline;
}

.traz-person-phone i {
    font-size: 12px;
}

.traz-empty {
    font-size: 11px;
    color: #94a3b8;
    font-style: italic;
    padding: 2px 0;
}

.traz-add-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    font-size: 11px;
    color: #94a3b8;
    background: transparent;
    border: 1px dashed #cbd5e1;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.traz-add-btn:hover {
    border-style: solid;
}

.traz-add-btn.traz-add-prop:hover {
    color: #2563eb;
    border-color: #2563eb;
    background: #eff6ff;
}

.traz-add-btn.traz-add-inq:hover {
    color: #059669;
    border-color: #059669;
    background: #ecfdf5;
}

.traz-add-btn.traz-add-rep:hover {
    color: #d97706;
    border-color: #d97706;
    background: #fffbeb;
}

.traz-add-btn-inline {
    padding: 2px 8px;
    font-size: 12px;
}

.traz-edit-link {
    cursor: pointer;
    transition: color 0.15s;
}

.traz-edit-link:hover {
    color: #2563eb;
    text-decoration: underline;
}

/* Responsive trazabilidad */
@media (max-width: 768px) {
    .trazabilidad-summary {
        gap: 8px;
    }

    .traz-stat {
        min-width: 120px;
        padding: 10px;
    }

    .traz-stat-icon {
        width: 30px;
        height: 30px;
        font-size: 13px;
    }

    .traz-stat-num {
        font-size: 18px;
    }

    .traz-stat-label {
        font-size: 9px;
    }

    .trazabilidad-grid {
        grid-template-columns: 1fr;
        padding: 8px;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .trazabilidad-summary {
        flex-wrap: wrap;
    }

    .traz-stat {
        flex: 1 1 calc(50% - 5px);
        min-width: 0;
    }

    .traz-edificio-header {
        font-size: 12px;
        padding: 6px 10px;
    }

    .traz-toolbar {
        flex-direction: column;
    }

    .traz-view-toggle {
        align-self: flex-end;
    }
}

/* ============================================
   TRAZABILIDAD - Vista Lista (tabla)
   ============================================ */

.traz-list-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 2px solid #000;
    border-top: none;
    border-radius: 0 0 4px 4px;
    background: white;
}

.traz-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.traz-table thead {
    background: #e7e7e7;
}

.traz-table th {
    padding: 10px 12px;
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border: 1px solid #a0a0a0;
    background: #e7e7e7;
    white-space: nowrap;
}

.traz-table th i {
    margin-right: 4px;
    font-size: 10px;
}

.traz-table td {
    padding: 8px 12px;
    border: 1px solid #c0c0c0;
    vertical-align: middle;
    color: #1e293b;
    background: white;
}

.traz-table tbody tr:hover td {
    background: #fffacd;
}

.traz-col-apt {
    font-weight: 700;
    white-space: nowrap;
    width: 70px;
}

.traz-row-warning {
    background: #fffbeb;
}

.traz-row-warning .traz-col-apt {
    color: #dc2626;
}

.traz-row-warn-icon {
    color: #dc2626;
    font-size: 10px;
    margin-left: 4px;
}

.traz-cell-name {
    font-weight: 600;
    font-size: 12px;
}

.traz-cell-wa {
    color: #16a34a;
    text-decoration: none;
    margin-left: 4px;
    font-size: 13px;
}

.traz-cell-wa:hover {
    color: #15803d;
}

/* Fila expandida móvil para vista lista */
.traz-row-mobile-expand {
    display: none;
}

.traz-mobile-role {
    font-size: 11px;
    padding: 2px 0;
}

.traz-mobile-label {
    font-weight: 700;
    font-size: 10px;
    text-transform: uppercase;
}

.traz-ml-inq { color: #16a34a; }
.traz-ml-rep { color: #7c3aed; }

.show-mobile-row {
    display: none;
}

@media (max-width: 768px) {
    .show-mobile-row {
        display: table-row;
    }

    .traz-row-mobile-expand td {
        padding: 4px 12px 8px;
        background: #f8fafc;
        border-bottom: 2px solid #e2e8f0;
    }

    .traz-table th,
    .traz-table td {
        padding: 6px 8px;
        font-size: 12px;
    }
}

/* Tags de conceptos de facturación en trazabilidad (vista lista) */
.traz-concepto-tag {
    display: inline-block;
    padding: 1px 6px;
    margin: 1px 2px;
    font-size: 10px;
    font-weight: 500;
    border-radius: 10px;
    background: #e0e7ff;
    color: #3730a3;
    line-height: 1.4;
    white-space: nowrap;
}

.traz-excluido-tag {
    display: inline-block;
    padding: 1px 6px;
    margin: 1px 2px;
    font-size: 10px;
    font-weight: 600;
    border-radius: 10px;
    background: #fee2e2;
    color: #b91c1c;
    line-height: 1.4;
    white-space: nowrap;
}

/* Card person layout mejorado */
.traz-person-header {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.traz-person-tel {
    color: #25d366;
    text-decoration: none;
    font-size: 11px;
    white-space: nowrap;
    margin-left: auto;
}

.traz-person-tel:hover {
    color: #15803d;
}

/* Conceptos list dentro de cards */
.traz-conceptos-list {
    margin-top: 3px;
    padding-left: 2px;
}

.traz-concepto-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1px 0;
    font-size: 11px;
    border-bottom: 1px dotted #e5e7eb;
}

.traz-concepto-line:last-child {
    border-bottom: none;
}

.traz-concepto-nombre {
    color: #4b5563;
}

.traz-concepto-monto {
    font-weight: 600;
    color: #1e40af;
    font-size: 11px;
}

.traz-concepto-excluido .traz-concepto-nombre {
    color: #b91c1c;
    font-weight: 600;
    font-size: 10px;
}

/* Export buttons */
.traz-pdf-btn {
    color: #dc2626 !important;
    border-color: #fca5a5 !important;
    margin-left: 4px;
}
.traz-pdf-btn:hover {
    background: #fef2f2 !important;
    border-color: #dc2626 !important;
}
.traz-excel-btn {
    color: #16a34a !important;
    border-color: #86efac !important;
}
.traz-excel-btn:hover {
    background: #f0fdf4 !important;
    border-color: #16a34a !important;
}