/* ═══════════════════════════════════════════════════════════════════════════════
   8. ENVÍO MASIVO / CONTACTOS
   Lista de contactos para selección y envío de mensajes masivos
   ═══════════════════════════════════════════════════════════════════════════════ */

.contacts-header {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.contacts-list {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #313d45;
    border-radius: 6px;
}

.contact-item {
    display: flex;
    align-items: center;
    padding: 12px;
    border-bottom: 1px solid #313d45;
    cursor: pointer;
    transition: background-color 0.2s;
}

.contact-item:hover {
    background: #2a3942;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-checkbox {
    margin-right: 12px;
}

.contact-details {
    flex: 1;
}

.contact-name {
    color: #e9edef;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 2px;
}

.contact-phone {
    color: #aebac1;
    font-size: 12px;
}

/* Parámetros de Template */
.template-params {
    margin-top: 16px;
}

.param-group {
    margin-bottom: 12px;
}

/* Vista Previa */
.preview-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.preview-summary {
    background: #111b21;
    padding: 16px;
    border-radius: 6px;
    border: 1px solid #313d45;
}

.preview-summary h4 {
    color: #e9edef;
    margin-bottom: 12px;
}

.preview-summary p {
    color: #aebac1;
    margin-bottom: 8px;
}

.message-preview {
    background: #005c4b;
    color: #e9edef;
    padding: 12px 16px;
    border-radius: 8px;
    max-width: 300px;
    margin-left: auto;
    position: relative;
}

.message-preview::before {
    content: '';
    position: absolute;
    right: -8px;
    top: 12px;
    width: 0;
    height: 0;
    border-left: 8px solid #005c4b;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

