/* ===========================================
   SISTEMA RENTA 2025 - Estilos Custom
   =========================================== */

/* Animaciones */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.3s ease-out;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

/* Forms */
input:focus, select:focus, textarea:focus {
    outline: none;
}

/* Loading spinner */
.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #0051BA;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Step indicator */
.step-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 8px;
    border: 2px solid #e5e7eb;
    background: white;
    color: #9ca3af;
    transition: all 0.3s;
}

.step.active .step-number {
    border-color: #0051BA;
    background: #0051BA;
    color: white;
}

.step.completed .step-number {
    border-color: #10B981;
    background: #10B981;
    color: white;
}

.step-label {
    font-size: 12px;
    color: #6b7280;
    text-align: center;
}

.step.active .step-label {
    color: #0051BA;
    font-weight: 600;
}

/* File upload */
.file-upload {
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.file-upload:hover {
    border-color: #0051BA;
    background: #f0f7ff;
}

.file-upload.dragover {
    border-color: #0051BA;
    background: #e0efff;
}

/* Print */
@media print {
    header, footer, nav, .no-print {
        display: none !important;
    }
}
