/* Estilos para la zona de carga de archivos */
.uploadZone {
    position: relative;
    border-radius: 8px;
    padding: 1.2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1.2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px dashed #cbd5e0;
}

.uploadZone:hover {
    border-color: #405189;
    background: linear-gradient(135deg, #f0f4ff 0%, #e0e7ff 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(64, 81, 137, 0.1);
}

.uploadZoneDragging {
    border: 3px dashed #405189;
    background: linear-gradient(135deg, #f0f4ff 0%, #dbeafe 100%);
    box-shadow: 0 8px 24px rgba(64, 81, 137, 0.15);
}

.uploadZoneHasFile {
    border: 2px solid #22c55e;
    background: linear-gradient(135deg, #f0fff4 0%, #dcfce7 100%);
}

.uploadIcon {
    font-size: 1.6rem;
    color: #405189;
    margin-bottom: 0.4rem;
    display: block;
    animation: floatAnimation 3s ease-in-out infinite;
}

.uploadIconSuccess {
    font-size: 1.6rem;
    color: #22c55e;
    margin-bottom: 0.4rem;
    display: block;
    animation: successPulse 2s ease-in-out infinite;
}

@keyframes floatAnimation {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes successPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

.tableWrapper {
    max-height: 500px;
    overflow-y: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.tableWrapper::-webkit-scrollbar {
    width: 8px;
}

.tableWrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.tableWrapper::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.tableWrapper::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.btnProcesar {
    background: linear-gradient(145deg, #6a6d62 0%, #575a4f 50%, #4e5147 100%);
    border: 1px solid #575a4f;
    color: #ffffff;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    border-radius: 1rem;
    box-shadow:
        0 8px 16px rgba(0, 0, 0, 0.15),
        0 2px 4px rgba(0, 0, 0, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.btnProcesar:hover {
    background: linear-gradient(145deg, #787c6e 0%, #646759 50%, #5a5d52 100%);
    box-shadow:
        0 12px 24px rgba(0, 0, 0, 0.20),
        0 4px 8px rgba(0, 0, 0, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
    border-color: #646759;
    color: #ffffff;
}

.btnProcesar:active {
    transform: translateY(-1px);
    box-shadow:
        0 4px 8px rgba(0, 0, 0, 0.12),
        0 1px 2px rgba(0, 0, 0, 0.08),
        inset 0 -1px 0 rgba(0, 0, 0, 0.15);
}

/* Efecto de brillo en hover */
.btnProcesar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: skewX(-30deg);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.btnProcesar:hover::before {
    left: 100%;
}

/* Textos proporcionales para la zona de carga */
.uploadTitle {
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
    font-weight: 600;
}

.uploadSubtitle {
    font-size: 0.8rem;
    margin-bottom: 0.4rem;
}

.uploadSmallText {
    font-size: 0.7rem;
    margin-bottom: 0;
}

.uploadFileInfo {
    font-size: 0.75rem;
    margin-bottom: 0.2rem;
}

/* Botones de navegación horizontal para la tabla */
.scrollButton {
    background: orange !important;
    border: 2px solid orange !important;
    color: #fff !important;
    font-weight: 500 !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    padding: 0.375rem 0.75rem !important;
    border-radius: 0.25rem !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.scrollButton:hover {
    background: #e69500 !important;
    border-color: #e69500 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15) !important;
}

.scrollButton:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}

/* Estilos para la cabecera de la tabla */
.tableHeader {
    background: linear-gradient(145deg, #6a6d62 0%, #575a4f 50%, #4e5147 100%);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.tableHeader th {
    background: transparent !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    padding: 0.75rem 0.5rem;
    vertical-align: middle;
    text-align: center;
    white-space: nowrap;
}

.tableHeader th:first-child {
    border-top-left-radius: 8px;
}

.tableHeader th:last-child {
    border-top-right-radius: 8px;
}

/* Estilos para las filas de la tabla */
.tableRow {
    transition: all 0.2s ease;
}

.tableRow:hover {
    background-color: rgba(64, 81, 137, 0.05);
    transform: scale(1.001);
}

.tableCell {
    font-size: 0.85rem;
    padding: 0.6rem 0.5rem;
    vertical-align: middle;
    border-color: #e9ecef;
}

.tableCellIndex {
    font-weight: 600;
    color: #405189;
    text-align: center;
    background-color: rgba(64, 81, 137, 0.05);
}

