/* ===================================
   REVISOR REENVÍO CURP - ESTILOS
   =================================== */

.revisor-reenvio-curp {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    padding: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Header */
.reenvio-header {
    border-bottom: 3px solid #f44336;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.reenvio-header h2 {
    margin: 0 0 10px 0;
    font-size: 26px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 12px;
}

.reenvio-header h2 i {
    color: #f44336;
}

.reenvio-descripcion {
    margin: 0;
    color: #666;
    font-size: 15px;
}

/* Loading */
.reenvios-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 60px 20px;
    color: #999;
    font-size: 16px;
}

.reenvios-loading i {
    font-size: 24px;
    color: #f44336;
}

/* Lista vacía */
.lista-vacia {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.lista-vacia i {
    font-size: 48px;
    color: #ddd;
    margin-bottom: 15px;
}

.lista-vacia p {
    margin: 0;
    font-size: 16px;
}

/* Grid de tarjetas */
.reenvios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 20px;
}

/* Tarjeta individual */
.reenvio-card {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
}

.reenvio-card.tiene-documento {
    border-color: #4caf50;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.2);
}

.reenvio-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

/* Header de tarjeta */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f5f5f5;
}

.aspirante-info h3 {
    margin: 0 0 5px 0;
    font-size: 18px;
    color: #333;
}

.aspirante-info p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

.aspirante-info .curp-display {
    font-family: 'Courier New', monospace;
    color: #2196f3;
    font-weight: 600;
}

/* Badge de folio */
.folio-badge {
    background: #ff9800;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

/* Estado del documento */
.card-body {
    margin-bottom: 15px;
}

.estado-documento {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    border-radius: 6px;
    margin-bottom: 15px;
}

.estado-documento.pendiente {
    background: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
}

.estado-documento.subido {
    background: #d4edda;
    border: 1px solid #28a745;
    color: #155724;
}

.estado-documento i {
    font-size: 18px;
}

/* Visualizador de documento */
.documento-viewer {
    margin-top: 15px;
}

.documento-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    text-decoration: none;
    color: #495057;
    transition: all 0.2s ease;
}

.documento-link:hover {
    background: #e9ecef;
    border-color: #adb5bd;
}

.documento-link i {
    font-size: 24px;
    color: #dc3545;
}

.documento-info span {
    display: block;
    font-size: 14px;
    color: #6c757d;
}

.documento-info strong {
    color: #212529;
}

/* Acciones */
.card-actions {
    display: flex;
    gap: 10px;
}

.btn-validar {
    flex: 1;
    padding: 12px 20px;
    background: #4caf50;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-validar:hover {
    background: #45a049;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(76, 175, 80, 0.3);
}

.btn-validar:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.btn-cancelar {
    padding: 12px 20px;
    background: #f44336;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-cancelar:hover {
    background: #da190b;
}

/* Mensaje de info */
.mensaje-info {
    margin-top: 10px;
    padding: 10px 12px;
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
    border-radius: 4px;
    font-size: 13px;
    color: #1565c0;
}

/* Responsive */
@media (max-width: 768px) {
    .reenvios-grid {
        grid-template-columns: 1fr;
    }
    
    .card-actions {
        flex-direction: column;
    }
    
    .btn-validar,
    .btn-cancelar {
        width: 100%;
    }
}
