/**
 * ESPACE FAMILLE — Styles Discord-like
 * Design adapté seniors : gros texte, bon contraste, boutons larges.
 */

/* ============ MODAL OVERLAY ============ */
.ef-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100000;
  align-items: center;
  justify-content: center;
}
.ef-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}
.ef-container {
  position: relative;
  width: 96vw;
  max-width: 1400px;
  height: 92vh;
  max-height: 960px;
  background: #f5f5f5;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* ============ HEADER ============ */
.ef-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: #2b3545;
  color: #fff;
  flex-shrink: 0;
}
.ef-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ef-header-icon {
  font-size: 28px;
}
.ef-header h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}
.ef-close {
  background: none;
  border: none;
  color: #a0aab8;
  font-size: 32px;
  cursor: pointer;
  padding: 0 8px;
  line-height: 1;
  transition: color 0.2s;
}
.ef-close:hover { color: #fff; }

/* ============ BODY LAYOUT ============ */
.ef-body {
  display: flex;
  flex: 1;
  min-height: 0;
}

/* ============ SIDEBAR ============ */
.ef-sidebar {
  width: 250px;
  background: #2f3a48;
  color: #c5cdd8;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  flex-shrink: 0;
  border-right: 1px solid rgba(255,255,255,0.05);
}
.ef-sidebar-section {
  padding: 16px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.ef-sidebar-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #8b95a5;
  margin-bottom: 10px;
}

/* Channels */
.ef-channel-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #c5cdd8;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  margin-bottom: 4px;
  transition: background 0.2s, color 0.2s;
}
.ef-channel-btn:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}
.ef-channel-active {
  background: rgba(255,255,255,0.12) !important;
  color: #fff !important;
  font-weight: 600;
}
.ef-channel-icon { font-size: 18px; }
.ef-channel-lock {
  font-size: 12px;
  margin-left: auto;
  opacity: 0.5;
}

/* Members list */
.ef-members-list {
  max-height: 350px;
  overflow-y: auto;
}
.ef-role-group {
  margin-bottom: 12px;
}
.ef-role-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #6b7a8d;
  margin-bottom: 6px;
  padding-left: 4px;
}
.ef-member-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
  position: relative;
}
.ef-member-item:hover {
  background: rgba(255,255,255,0.08);
}
.ef-member-active {
  background: rgba(91, 155, 213, 0.2) !important;
}
.ef-member-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.ef-member-info {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 0;
}
.ef-member-name {
  font-size: 15px;
  font-weight: 500;
  color: #d8dde5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ef-member-name small {
  font-size: 12px;
  color: #8b95a5;
  font-weight: 400;
}
.ef-member-role-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.ef-member-dm-icon {
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.2s;
}
.ef-member-item:hover .ef-member-dm-icon {
  opacity: 0.7;
}
.ef-role-select {
  font-size: 11px;
  padding: 2px 4px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  background: rgba(0,0,0,0.3);
  color: #c5cdd8;
  cursor: pointer;
  flex-shrink: 0;
}

/* ============ MAIN AREA ============ */
.ef-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #f5f5f5;
}

/* Pinned messages */
.ef-pinned {
  background: #fff8e6;
  border-bottom: 2px solid #f0d060;
  padding: 12px 20px;
  flex-shrink: 0;
}
.ef-pinned-title {
  font-size: 14px;
  font-weight: 700;
  color: #8a6d00;
  margin-bottom: 6px;
}
.ef-pinned-msg {
  font-size: 15px;
  color: #4a3c00;
  padding: 6px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  line-height: 1.5;
}
.ef-pinned-msg:last-child { border-bottom: none; }

/* Messages container */
.ef-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ef-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  color: #8b95a5;
  font-size: 17px;
  text-align: center;
  line-height: 1.6;
  padding: 40px;
}

/* Message bubble */
.ef-msg {
  display: flex;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  transition: background 0.15s;
}
.ef-msg:hover {
  background: rgba(0, 0, 0, 0.04);
}
.ef-msg-pinned {
  background: rgba(240, 208, 96, 0.1);
  border-left: 3px solid #e8a824;
}
.ef-msg-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  margin-top: 2px;
}
.ef-msg-body {
  flex: 1;
  min-width: 0;
}
.ef-msg-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}
.ef-msg-sender {
  font-size: 16px;
  font-weight: 700;
  color: #1a2332;
}
.ef-msg-time {
  font-size: 13px;
  color: #8b95a5;
}
.ef-msg-actions {
  margin-left: auto;
  display: flex;
  gap: 4px;
  opacity: 0;
  transition: opacity 0.2s;
}
.ef-msg:hover .ef-msg-actions {
  opacity: 1;
}
.ef-msg-action {
  background: none;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 14px;
  cursor: pointer;
  color: #6b7a8d;
  transition: background 0.15s;
}
.ef-msg-action:hover { background: #e8ecf0; }
.ef-msg-delete:hover { background: #ffe0e0; color: #c00; }
.ef-msg-content {
  font-size: 17px;
  color: #1c2535;
  line-height: 1.55;
  word-wrap: break-word;
  white-space: pre-wrap;
}

/* ============ INPUT AREA ============ */
.ef-input-area {
  flex-shrink: 0;
  padding: 12px 20px 16px;
  background: #fff;
  border-top: 1px solid #e2e6ea;
}
.ef-dm-indicator {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: rgba(91, 155, 213, 0.1);
  border: 1px solid rgba(91, 155, 213, 0.2);
  border-radius: 8px;
  margin-bottom: 8px;
  font-size: 14px;
  color: #2b5a8a;
}
.ef-dm-close {
  background: none;
  border: none;
  font-size: 20px;
  color: #6b7a8d;
  cursor: pointer;
  padding: 0 4px;
}
.ef-form {
  display: flex;
  gap: 10px;
  align-items: flex-end;
}
.ef-input {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid #d0d5dc;
  border-radius: 10px;
  font-size: 17px;
  font-family: inherit;
  resize: none;
  min-height: 48px;
  max-height: 120px;
  line-height: 1.5;
  color: #1c2535;
  background: #fafbfc;
  transition: border-color 0.2s;
}
.ef-input:focus {
  outline: none;
  border-color: #5b9bd5;
  background: #fff;
}
.ef-input::placeholder {
  color: #a0aab8;
}
.ef-send-btn {
  padding: 12px 24px;
  background: #2b3545;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
  min-height: 48px;
}
.ef-send-btn:hover {
  background: #3e4a58;
}
.ef-send-btn:active {
  background: #1a2332;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
  .ef-container {
    width: 100vw;
    height: 100vh;
    max-height: none;
    border-radius: 0;
  }
  .ef-sidebar {
    width: 200px;
    font-size: 14px;
  }
  .ef-msg-content { font-size: 16px; }
  .ef-input { font-size: 16px; }
}

@media (max-width: 550px) {
  .ef-body {
    flex-direction: column;
  }
  .ef-sidebar {
    width: 100%;
    max-height: 180px;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    flex-direction: row;
    overflow-x: auto;
  }
  .ef-sidebar-section {
    min-width: 200px;
  }
  .ef-members-list {
    max-height: 100px;
  }
}

/* ============ ANNONCE GARDIEN ============ */

.ef-annonce {
  background: linear-gradient(135deg, #1a2332 0%, #2b3a4d 100%);
  border-bottom: 3px solid #e8a824;
  padding: 18px 24px;
  flex-shrink: 0;
  color: #fff;
}
.ef-annonce-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.ef-annonce-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e8a824;
  color: #1a2332;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 14px;
  border-radius: 20px;
}
.ef-annonce-tools {
  display: flex;
  gap: 6px;
}
.ef-annonce-edit,
.ef-annonce-delete {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #c5cdd8;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s;
}
.ef-annonce-edit:hover { background: rgba(255,255,255,0.2); }
.ef-annonce-delete:hover { background: rgba(200,50,50,0.4); color: #ff9999; }

.ef-annonce-titre {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.3;
}
.ef-annonce-contenu {
  font-size: 18px;
  color: #d8dde5;
  line-height: 1.6;
  white-space: pre-wrap;
  word-wrap: break-word;
}
.ef-annonce-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 13px;
  color: #8b95a5;
}
.ef-annonce-author-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

/* Formulaire annonce (gardien) */
.ef-annonce-form-wrap {
  background: #f8f4e8;
  border-bottom: 2px solid #e8a824;
  padding: 18px 24px;
  flex-shrink: 0;
}
.ef-annonce-form-title {
  font-size: 18px;
  font-weight: 700;
  color: #1a2332;
  margin-bottom: 12px;
}
.ef-annonce-input {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid #d0c8a8;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  font-family: inherit;
  color: #1a2332;
  background: #fff;
  margin-bottom: 10px;
  box-sizing: border-box;
}
.ef-annonce-input:focus {
  outline: none;
  border-color: #e8a824;
}
.ef-annonce-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid #d0c8a8;
  border-radius: 8px;
  font-size: 17px;
  font-family: inherit;
  color: #1a2332;
  background: #fff;
  resize: vertical;
  min-height: 80px;
  margin-bottom: 10px;
  line-height: 1.5;
  box-sizing: border-box;
}
.ef-annonce-textarea:focus {
  outline: none;
  border-color: #e8a824;
}
.ef-annonce-form-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.ef-annonce-cancel {
  background: none;
  border: 1px solid #c5bfa0;
  color: #6b6040;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s;
}
.ef-annonce-cancel:hover { background: rgba(0,0,0,0.05); }
.ef-annonce-feedback {
  margin-top: 8px;
  font-size: 14px;
}
.ef-annonce-feedback-error { color: #c00; }

/* Gardien button in sidebar */
.ef-gardien-btn {
  background: rgba(232, 168, 36, 0.1) !important;
  border: 1px solid rgba(232, 168, 36, 0.25) !important;
  color: #e8a824 !important;
}
.ef-gardien-btn:hover {
  background: rgba(232, 168, 36, 0.2) !important;
}

/* ============================================================ */
/* ÉVÉNEMENT / ALERTE — Modal broadcast email + SMS             */
/* ============================================================ */

.ef-evt-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 100001;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.ef-evt-dialog {
  background: #1c2535;
  color: #e8ecf0;
  border: 1px solid rgba(201,169,110,0.3);
  border-radius: 12px;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.ef-evt-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 22px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.ef-evt-header h2 {
  margin: 0;
  font-size: 18px;
  color: #c9a96e;
}
.ef-evt-close {
  background: transparent;
  border: none;
  color: #c9a96e;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
}
.ef-evt-close:hover { color: #e8d5a8; }

.ef-evt-body {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.ef-evt-field { display: flex; flex-direction: column; gap: 6px; }
.ef-evt-label {
  font-size: 12px;
  font-weight: 600;
  color: #c9a96e;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.ef-evt-input, .ef-evt-textarea {
  background: #f5f5f5;
  border: 1px solid rgba(0,0,0,0.15);
  color: #2c3338;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
}
.ef-evt-input::placeholder, .ef-evt-textarea::placeholder {
  color: #8a8f94;
}
.ef-evt-input:focus, .ef-evt-textarea:focus {
  outline: none;
  border-color: #c9a96e;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(201,169,110,0.2);
}

/* Encadré téléphone de contact */
.ef-evt-contact-box {
  border: 1px dashed rgba(201,169,110,0.5);
  border-radius: 10px;
  padding: 14px 16px;
  background: rgba(201,169,110,0.06);
}
.ef-evt-contact-hint {
  color: rgba(255,255,255,0.45);
  font-size: 12px;
  line-height: 1.4;
  margin-top: 2px;
}

.ef-evt-radio-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ef-evt-radio-inline { flex-direction: row; flex-wrap: wrap; }
.ef-evt-radio {
  display: flex;
  flex-direction: column;
  padding: 10px 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  gap: 2px;
}
.ef-evt-radio:has(input:checked) {
  border-color: #c9a96e;
  background: rgba(201,169,110,0.12);
}
.ef-evt-radio strong { color: #e8ecf0; font-size: 13px; }
.ef-evt-radio small { color: #a09a8e; font-size: 11px; line-height: 1.4; }
.ef-evt-radio-inline .ef-evt-radio {
  flex-direction: row;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 120px;
}

.ef-evt-preflight {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
}
.ef-evt-preflight-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.ef-evt-preflight-row small {
  color: #a09a8e;
  font-size: 11px;
  font-weight: normal;
}
.ef-evt-ok { color: #4ade80; }
.ef-evt-err { color: #f87171; }
.ef-evt-preflight-loading { color: #a09a8e; font-style: italic; }
.ef-evt-preflight-err { color: #f87171; }
.ef-evt-preflight-warn {
  margin-top: 8px;
  padding: 10px;
  background: rgba(248,113,113,0.1);
  border: 1px solid rgba(248,113,113,0.3);
  border-radius: 6px;
  color: #f87171;
  font-size: 12px;
}
.ef-evt-preflight-warn a {
  color: #fbbf24;
  text-decoration: underline;
}
.ef-evt-preflight-info {
  margin-top: 8px;
  padding: 10px;
  background: rgba(96,165,250,0.1);
  border: 1px solid rgba(96,165,250,0.3);
  border-radius: 6px;
  color: #93c5fd;
  font-size: 12px;
}

/* ── Modal SMS-only ── */
.ef-sms-only-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100001;
}
.ef-sms-only-dialog {
  background: #1c2535;
  border: 1px solid rgba(201,169,110,0.3);
  border-radius: 12px;
  width: 90%;
  max-width: 440px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}
.ef-sms-only-header {
  padding: 16px 20px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.ef-sms-only-header h3 {
  margin: 0;
  color: #c9a96e;
  font-size: 16px;
}
.ef-sms-only-body {
  padding: 16px 20px;
  color: #e0e0e0;
  font-size: 14px;
  line-height: 1.6;
}
.ef-sms-only-body p { margin: 0 0 10px; }
.ef-sms-only-note {
  font-size: 12px;
  color: #9ca3af;
  font-style: italic;
}
.ef-sms-only-footer {
  padding: 12px 20px 16px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.ef-sms-only-btn-no {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: #bbb;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
}
.ef-sms-only-btn-no:hover { border-color: #fff; color: #fff; }
.ef-sms-only-btn-yes {
  background: linear-gradient(135deg, #c9a96e 0%, #e8a824 100%);
  color: #1c2535;
  border: none;
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.ef-sms-only-btn-yes:hover { filter: brightness(1.1); }

.ef-evt-feedback {
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 13px;
}
.ef-evt-feedback.ef-evt-ok {
  background: rgba(74,222,128,0.12);
  border: 1px solid rgba(74,222,128,0.3);
  color: #4ade80;
}
.ef-evt-feedback.ef-evt-err {
  background: rgba(248,113,113,0.12);
  border: 1px solid rgba(248,113,113,0.3);
  color: #f87171;
}
.ef-evt-feedback a { color: #fbbf24; text-decoration: underline; }

.ef-evt-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 22px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.ef-evt-cancel, .ef-evt-send {
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  border: 1px solid transparent;
  font-weight: 600;
}
.ef-evt-cancel {
  background: transparent;
  border-color: rgba(255,255,255,0.2);
  color: #a09a8e;
}
.ef-evt-cancel:hover { color: #e8ecf0; border-color: rgba(255,255,255,0.35); }
.ef-evt-send {
  background: linear-gradient(135deg, #c9a96e 0%, #e8a824 100%);
  color: #1c2535;
  border: none;
}
.ef-evt-send:hover:not(:disabled) { filter: brightness(1.1); }
.ef-evt-send:disabled { opacity: 0.4; cursor: not-allowed; }

/* ============ MINI-FORMULAIRE D'ALERTE MEMBRE (sous zone DM) ============ */
.ef-alert-wrap {
  margin-top: 10px;
  padding: 10px 12px;
  background: rgba(201, 169, 110, 0.08);
  border: 1px solid rgba(201, 169, 110, 0.25);
  border-radius: 8px;
}
.ef-alert-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.ef-alert-title {
  color: #c9a96e;
  font-size: 13px;
  font-weight: 500;
}
.ef-alert-title strong { color: #e8ecf0; font-weight: 600; }
.ef-alert-toggle {
  background: transparent;
  border: 1px solid rgba(201, 169, 110, 0.4);
  color: #c9a96e;
  padding: 4px 10px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
}
.ef-alert-toggle:hover {
  background: rgba(201, 169, 110, 0.15);
  color: #e8a824;
}
.ef-alert-form {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ef-alert-row { display: flex; }
.ef-alert-input,
.ef-alert-textarea {
  width: 100%;
  background: #f5f5f5;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 6px;
  color: #2c3338;
  padding: 8px 10px;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.ef-alert-textarea { resize: vertical; min-height: 60px; }
.ef-alert-input::placeholder,
.ef-alert-textarea::placeholder { color: #8a8f94; }
.ef-alert-input:focus,
.ef-alert-textarea:focus {
  background: #ffffff;
  border-color: #c9a96e;
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.2);
}
.ef-alert-options {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12px;
}
.ef-alert-canal {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #c7ccd1;
  cursor: pointer;
}
.ef-alert-canal input[type="radio"] { accent-color: #c9a96e; }
.ef-alert-feedback {
  padding: 7px 10px;
  border-radius: 5px;
  font-size: 12px;
  line-height: 1.4;
}
.ef-alert-feedback.ef-alert-ok {
  background: rgba(76, 175, 80, 0.15);
  border: 1px solid rgba(76, 175, 80, 0.4);
  color: #a5d6a7;
}
.ef-alert-feedback.ef-alert-err {
  background: rgba(244, 67, 54, 0.12);
  border: 1px solid rgba(244, 67, 54, 0.4);
  color: #ef9a9a;
}
.ef-alert-feedback a { color: #e8a824; text-decoration: underline; }
.ef-alert-actions {
  display: flex;
  justify-content: flex-end;
}
.ef-alert-btn {
  background: linear-gradient(135deg, #c9a96e 0%, #e8a824 100%);
  color: #1c2535;
  border: none;
  padding: 7px 16px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.ef-alert-btn:hover:not(:disabled) { filter: brightness(1.1); }
.ef-alert-btn:disabled { opacity: 0.5; cursor: not-allowed; }
