/* ========================================
📁 CRM CONTACTO - ESTILOS ESPECÍFICOS
======================================== */

/* Header del Contacto */
.contacto-header {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.header-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.contacto-info-principal h1 {
    color: #333;
    margin-bottom: 10px;
}

.contacto-categoria {
    color: #666;
    font-size: 1.1rem;
}

/* Sección de Información */
.info-section {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.info-section h2 {
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #667eea;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.info-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.info-card.info-full {
    grid-column: 1 / -1;
}

.info-label {
    display: block;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 5px;
    font-weight: 600;
}

.info-value {
    display: block;
    font-size: 1.1rem;
    color: #333;
    word-break: break-word;
}

.info-value.notas {
    font-size: 1rem;
    color: #555;
    font-style: italic;
}

.estado-activo { color: #28a745; font-weight: 600; }
.estado-inactivo { color: #dc3545; font-weight: 600; }

/* Formulario de Seguimiento */
.seguimiento-section {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.seguimiento-section h2 {
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #667eea;
}

.seguimiento-form {
    display: grid;
    gap: 20px;
}

/* Historial de Seguimiento */
.historial-section {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.historial-section h2 {
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #667eea;
}

.historial-timeline {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.timeline-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.timeline-date { flex-shrink: 0; }

.date-badge {
    display: inline-block;
    padding: 8px 12px;
    background: #667eea;
    color: white;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.timeline-content { flex: 1; }

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 10px;
}

.accion-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.accion-llamada { background: #e3f2fd; color: #1565c0; }
.accion-visita { background: #e8f5e9; color: #2e7d32; }
.accion-correo { background: #fff3e0; color: #ef6c00; }
.accion-verificacion { background: #f3e5f5; color: #7b1fa2; }
.accion-whatsapp { background: #e0f2f1; color: #00796b; }
.accion-reunion { background: #fce4ec; color: #c2185b; }

.resultado { font-weight: 600; color: #333; }

.timeline-observaciones {
    background: white;
    padding: 15px;
    border-radius: 5px;
    color: #555;
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 768px) {
    .header-top { flex-direction: column; align-items: stretch; }
    .header-actions { justify-content: center; }
    .info-grid { grid-template-columns: 1fr; }
    .timeline-item { flex-direction: column; gap: 15px; }
    .timeline-header { flex-direction: column; align-items: flex-start; }
}