
/* Extracted from templates/components/notifications.php block 1 */
.admin-ajax-toast {
    position: fixed;
    top: 1.25rem;
    left: 50%;
    transform: translateX(-50%) translateY(-120%);
    z-index: 100000;
    padding: 0.65rem 1.15rem 0.65rem 0.72rem;
    border-radius: 2rem;
    -webkit-backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.96);
    color: var(--ec-dark);
    box-shadow: 0 14px 42px rgba(64, 85, 101, 0.14);
    font-size: 0.83rem;
    font-weight: 600;
    white-space: normal;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s, box-shadow 0.35s;
    max-width: calc(100vw - 2rem);
    overflow-wrap: anywhere;
    word-break: normal;
    border: 1px solid rgba(134, 183, 195, 0.45);
    display: flex;
    align-items: center;
    gap: 0.45rem;
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(10px);
  }
  .admin-ajax-toast .toast-icon {
    width: 1.55rem;
    height: 1.55rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
    line-height: 1;
  }
  .admin-ajax-toast .toast-text {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    line-height: 1.35;
  }
  .admin-ajax-toast.toast-success .toast-icon { background: rgba(16,185,129,0.12); color: #047857; }
  .admin-ajax-toast.toast-error .toast-icon { background: rgba(220,38,38,0.10); color: #b91c1c; }
  .admin-ajax-toast.has-desc {
    border-radius: 0.75rem;
    padding: 0.85rem 1.1rem 0.85rem 0.82rem;
    white-space: normal;
    max-width: min(420px, calc(100vw - 2rem));
    align-items: flex-start;
    line-height: 1.4;
  }
  .admin-ajax-toast.has-desc .toast-body { min-width: 0; }
  .admin-ajax-toast .toast-title { font-weight: 700; font-size: 0.85rem; margin-bottom: 0.05rem; }
  .admin-ajax-toast .toast-desc { font-weight: 400; opacity: 0.8; font-size: 0.76rem; }
  .admin-ajax-toast .toast-title,
  .admin-ajax-toast .toast-desc {
    overflow-wrap: anywhere;
  }
  .admin-ajax-toast .toast-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2.5px;
    background: linear-gradient(90deg, var(--ec-gold-light), var(--ec-burgundy));
    border-radius: 0 0 0.75rem 0.75rem;
  }
  .admin-ajax-toast.active {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
    box-shadow: 0 18px 48px rgba(64, 85, 101, 0.18);
  }
  .admin-ajax-toast.leaving {
    transform: translateX(-50%) translateY(-120%) scale(0.98);
    opacity: 0;
    pointer-events: none;
  }
  @media (max-width: 480px) {
    .admin-ajax-toast {
      top: 0.75rem;
      width: calc(100vw - 1rem);
      max-width: calc(100vw - 1rem);
      border-radius: 0.85rem;
      align-items: center;
      padding: 0.75rem 0.85rem;
    }

    .admin-ajax-toast.has-desc {
      align-items: center;
    }
  }

  .admin-confirm-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
  }
  .admin-confirm-backdrop.active { opacity: 1; visibility: visible; }
  .admin-confirm-dialog {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    padding: 1rem;
  }
  .admin-confirm-dialog.active { opacity: 1; visibility: visible; }
  .admin-confirm-dialog .dialog-box {
    background: #fff;
    border-radius: 0.75rem;
    padding: 2rem 1.75rem 1.5rem;
    max-width: 400px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  }
  .admin-confirm-dialog .dialog-icon { font-size: 2.5rem; margin-bottom: 0.6rem; }
  .admin-confirm-dialog .dialog-title { color: var(--ec-dark); font-weight: 700; font-size: 1.05rem; margin-bottom: 0.4rem; }
  .admin-confirm-dialog .dialog-text { color: var(--ec-muted); font-size: 0.88rem; margin-bottom: 1.5rem; line-height: 1.5; white-space: pre-line; }
  .admin-confirm-dialog .dialog-actions { display: flex; gap: 0.5rem; justify-content: center; }
  .admin-confirm-dialog .dialog-actions button {
    padding: 0.55rem 1.5rem;
    border-radius: 0.375rem;
    border: none;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.15s;
  }
  .admin-confirm-dialog .dialog-actions button:hover { opacity: 0.85; }
  .dialog-btn-cancel { background: #e5e5e5; color: #333; }
  .dialog-btn-danger { background: #dc2626; color: #fff; }
  .dialog-btn-primary { background: var(--ec-burgundy); color: #fff; }
  .dialog-btn-warning { background: #f59e0b; color: #000; }

  .cf-confirm-row { display: flex; gap: 0.6rem; padding: 0.45rem 0; border-bottom: 1px solid rgba(134, 183, 195, 0.24); overflow-wrap: anywhere; }
  .cf-confirm-row:last-child { border-bottom: none; }
  .cf-confirm-label { color: var(--ec-muted); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; min-width: 80px; font-weight: 600; }
.cf-confirm-value { flex: 1; color: var(--ec-dark); word-break: break-word; overflow-wrap: anywhere; }
.dialog-icon i { color: var(--confirm-icon-color, #dc2626); }
.footer-brand-logo { height: 58px; width: auto; max-width: min(260px, 100%); object-fit: contain; }
.footer-brand-title { color: var(--ec-gold); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1rem; }
.footer-brand-subtitle { color: var(--ec-gold-light); font-size: 0.7rem; text-transform: uppercase; }
.footer-brand-text { max-width: 320px; }
.footer-social-btn { width: 38px; height: 38px; padding: 0; display: flex; align-items: center; justify-content: center; }
.chatbot-disclaimer { margin-bottom: 0.25rem; align-self: center; max-width: 90%; }
.chatbot-disclaimer .chatbot-message-content { background: #edf2f7; border-color: rgba(134, 183, 195, 0.28); font-size: 0.78rem; color: var(--ec-muted); text-align: center; border-radius: 0.75rem; }
.chatbot-disclaimer p { font-size: 0.78rem; }
.chatbot-disclaimer a { color: var(--ec-burgundy); }
