/* Auditor IVA - Estilos específicos */

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --success-color: #27ae60;
    --danger-color: #e74c3c;
    --warning-color: #f39c12;
    --light-gray: #ecf0f1;
    --dark-gray: #34495e;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
}

/* Progress Bar */
.progress-container {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.progress-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.progress-step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 3px solid #ddd;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: all 0.3s;
}

.progress-step.active .progress-step-circle {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
}

.progress-step.completed .progress-step-circle {
    background: var(--success-color);
    border-color: var(--success-color);
    color: white;
}

.progress-step-label {
    font-size: 12px;
    color: #666;
}

.progress-step.active .progress-step-label {
    color: var(--secondary-color);
    font-weight: bold;
}

/* Cards */
.card-custom {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 30px;
    margin-bottom: 20px;
}

/* Buttons */
.btn-primary-custom {
    background: var(--secondary-color);
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary-custom:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Upload zone */
.upload-zone {
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    background: #fafafa;
    transition: all 0.3s;
    cursor: pointer;
}

.upload-zone:hover {
    border-color: var(--secondary-color);
    background: #f0f8ff;
}

.upload-zone.dragover {
    border-color: var(--success-color);
    background: #e8f5e9;
}

/* Tables */
.table-custom {
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.table-custom thead {
    background: var(--dark-gray);
    color: white;
}

.table-custom tbody tr:hover {
    background: var(--light-gray);
}

/* Navbar custom */
.navbar-auditor {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-auditor .navbar-brand {
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
}

/* Footer */
.footer-auditor {
    background: var(--dark-gray);
    color: white;
    padding: 20px 0;
    text-align: center;
    margin-top: 50px;
}

/* Alerts */
.alert-custom {
    border-radius: 6px;
    border-left: 4px solid;
}

.alert-info-custom {
    background: #e3f2fd;
    border-left-color: #2196f3;
    color: #1565c0;
}

.alert-success-custom {
    background: #e8f5e9;
    border-left-color: #4caf50;
    color: #2e7d32;
}

/* Loading spinner */
.spinner-custom {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--secondary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

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

/* Responsive */
@media (max-width: 768px) {
    .progress-steps {
        flex-direction: column;
    }

    .progress-step {
        margin-bottom: 20px;
    }
}
