/* Expediente Mesa Parte Similitud - Estilos específicos */

/* Vue.js cloak directive */
[v-cloak] {
    display: none !important;
}

/* Custom table header styles */
.custom-thead {
    background-color: #f5f5f5 !important;
    font-weight: 600 !important;
}

/* Loading spinner animation */
@keyframes spin {
    0% { transform: rotate(0deg); }}
    100% { transform: rotate(360deg); }
}

/* Font size utilities */
.font-class-11 {
    font-size: 11px;
}

.font-class-12 {
    font-size: 12px;
}

/* Responsive Table Styles */
.table-responsive-container {
    overflow-x: auto;
    overflow-y: hidden;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.table-header-responsive {
    padding: 10px 16px;
}

.table-title-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.table-title {
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
}

.table-controls {
    flex-shrink: 0;
}

.pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 16px;
    padding: 0 8px;
}

.floating-button {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1000;
}

/* Hidden text on small screens */
@media (max-width: 768px) {
    .hidden-xs {
        display: none !important;
    }
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .table-responsive-container {
        margin: 0 -8px;
        border-radius: 0;
    }
    
    .table-title-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .table-title {
        font-size: 13px;
    }
    
    .pagination-container {
        margin-top: 12px;
        padding: 0 4px;
    }
    
    .floating-button {
        bottom: 20px;
        right: 20px;
    }
    
    /* Ensure tables have minimum width for horizontal scroll */
    .ant-table-tbody > tr > td,
    .ant-table-thead > tr > th {
        min-width: 80px;
        white-space: nowrap;
    }
}

@media (max-width: 576px) {
    .table-responsive-container {
        margin: 0 -12px;
    }
    
    .table-title {
        font-size: 12px;
    }
    
    .floating-button {
        bottom: 15px;
        right: 15px;
    }
    
    /* Smaller minimum width for very small screens */
    .ant-table-tbody > tr > td,
    .ant-table-thead > tr > th {
        min-width: 60px;
        font-size: 10px;
    }
}

/* Ensure horizontal scroll is always visible when needed */
.ant-table-body {
    overflow-x: auto !important;
    overflow-y: auto !important;
}

/* Improve table header responsiveness */
.ant-table-thead > tr > th {
    background-color: #fafafa !important;
    font-weight: 600 !important;
    border-bottom: 2px solid #e8e8e8 !important;
}

/* Better spacing for mobile */
@media (max-width: 768px) {
    .ant-row {
        margin-left: -8px !important;
        margin-right: -8px !important;
    }
    
    .ant-col {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
}

/* Initial loader styles */
.initial-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.9);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.initial-loader-content {
    text-align: center;
}

.initial-loader-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #1890ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px;
}

.initial-loader-text {
    color: #666;
    font-size: 14px;
}
.ant-message{
    z-index: 2100 !important;
}