/* Verificador CFDI SAT - Estilos */

.vcfdi-wrapper {
    max-width: 960px;
    margin: 30px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
    color: #333;
}

.vcfdi-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8em;
    color: #1a1a1a;
}

.vcfdi-box {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
}

.vcfdi-box h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.25em;
    color: #222;
}

.vcfdi-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
}

.vcfdi-col {
    flex: 1 1 200px;
}

.vcfdi-col label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 0.9em;
}

.vcfdi-col input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 15px;
    box-sizing: border-box;
}

.vcfdi-col input:focus {
    outline: none;
    border-color: #28a745;
    box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.2);
}

.vcfdi-btn {
    display: inline-block;
    padding: 10px 22px;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.vcfdi-btn-primary {
    background: #28a745;
    color: #fff;
}

.vcfdi-btn-primary:hover {
    background: #218838;
}

.vcfdi-btn:disabled {
    background: #aaa;
    cursor: not-allowed;
}

/* Dropzone */
.vcfdi-dropzone {
    border: 2px dashed #aaa;
    border-radius: 6px;
    background: #fffef0;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 15px;
}

.vcfdi-dropzone:hover,
.vcfdi-dropzone.dragover {
    border-color: #28a745;
    background: #f0fff4;
}

.vcfdi-dropzone p {
    margin: 0;
    font-size: 1.1em;
    color: #555;
}

.vcfdi-lista-archivos {
    margin-bottom: 15px;
    font-size: 0.9em;
}

.vcfdi-lista-archivos ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vcfdi-lista-archivos li {
    padding: 4px 0;
    border-bottom: 1px solid #eee;
}

/* Resultados */
.vcfdi-resultado {
    margin-top: 20px;
    padding: 15px;
    border-radius: 6px;
}

.vcfdi-resultado.success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.vcfdi-resultado.error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.vcfdi-resultado.warning {
    background: #fff3cd;
    border: 1px solid #ffeeba;
    color: #856404;
}

/* Tabla masiva */
.vcfdi-tabla {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9em;
    margin-top: 15px;
}

.vcfdi-tabla th,
.vcfdi-tabla td {
    border: 1px solid #ddd;
    padding: 8px 10px;
    text-align: left;
}

.vcfdi-tabla th {
    background: #e9ecef;
    font-weight: 600;
}

.vcfdi-tabla tr:nth-child(even) {
    background: #f8f9fa;
}

.vcfdi-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 0.85em;
    font-weight: 600;
}

.vcfdi-badge-vigente {
    background: #28a745;
    color: #fff;
}

.vcfdi-badge-cancelado {
    background: #dc3545;
    color: #fff;
}

.vcfdi-badge-noencontrado {
    background: #ffc107;
    color: #212529;
}

.vcfdi-badge-error {
    background: #6c757d;
    color: #fff;
}

.vcfdi-nota {
    font-size: 0.85em;
    color: #666;
    text-align: center;
    margin-top: 20px;
}

.vcfdi-loading {
    text-align: center;
    padding: 20px;
    font-weight: 600;
    color: #555;
}

/* Responsive */
@media (max-width: 600px) {
    .vcfdi-row {
        flex-direction: column;
        gap: 10px;
    }
}
