#ira-brand-top, #ira-brand-bottom {
  position: fixed; z-index: 5;
  pointer-events: none;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  transition: opacity 250ms ease;
}
#ira-brand-top {
  top: 80px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
#ira-brand-top img.tenant-logo {
  max-height: 128px; max-width: 360px; object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}
#ira-brand-top .greeting {
  color: #fff; font-size: 17px; font-weight: 500;
  letter-spacing: 0.3px; opacity: 0.92;
  text-shadow: 0 1px 6px rgba(0,0,0,0.6);
  display: flex; align-items: center; gap: 8px;
}
#ira-brand-top .greeting .emoji {
  font-size: 26px;  /* ~1.5x of 17px */
  line-height: 1;
}
#ira-brand-bottom {
  bottom: 20px; left: 20px;
  display: flex; flex-direction: row; gap: 18px; align-items: center;
}
#ira-brand-bottom img.cloud7999 {
  height: 66px; width: auto;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,0.6));
}
#ira-brand-bottom img.uhasi {
  height: 66px; width: auto;
  filter: brightness(1.15) drop-shadow(0 1px 4px rgba(0,0,0,0.6));
}
/* Hidden by default; shown only when a Guacamole modal is visible (login/status). */
#ira-brand-top, #ira-brand-bottom {
  opacity: 0;
  pointer-events: none;
}
body.ira-show-brand #ira-brand-top,
body.ira-show-brand #ira-brand-bottom {
  opacity: 1;
}

#ira-toast-holder {
  position: fixed; top: 16px; right: 16px;
  display: flex; flex-direction: column; gap: 8px; z-index: 2147483647;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  pointer-events: none;
}
.ira-toast {
  padding: 10px 14px; background: #111827; color: #fff;
  border-radius: 6px; font-size: 13px; max-width: 320px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
  opacity: 0; transform: translateX(20px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: auto;
}
.ira-toast.show { opacity: 1; transform: translateX(0); }
.ira-toast.success { background: #059669; }
.ira-toast.info { background: #2563eb; }

#ira-paste-modal {
  position: fixed; inset: 0; background: rgba(0,0,0,0.55);
  display: none; align-items: center; justify-content: center; z-index: 2147483647;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
#ira-paste-modal.show { display: flex; }
#ira-paste-modal .ira-paste-panel {
  background: #fff; color: #111; border-radius: 12px; max-width: 540px; width: 92%;
  padding: 22px 24px; box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
#ira-paste-modal h3 { margin: 0 0 6px; font-size: 17px; font-weight: 700; }
#ira-paste-modal .hint { margin: 0 0 12px; font-size: 12px; color: #6b7280; }
#ira-paste-modal textarea {
  width: 100%; min-height: 120px; padding: 10px; font-size: 13px;
  border: 1px solid #d1d5db; border-radius: 6px; resize: vertical;
  font-family: inherit;
}
#ira-paste-modal textarea:focus { outline: 2px solid #2563eb; outline-offset: -1px; border-color: transparent; }
#ira-paste-modal .ira-paste-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 12px; }
#ira-paste-modal button {
  padding: 8px 16px; border: 0; border-radius: 6px;
  cursor: pointer; font-size: 13px; font-weight: 600;
}
#ira-paste-modal .btn-cancel { background: #e5e7eb; color: #111; }
#ira-paste-modal .btn-send { background: #111827; color: #fff; }
#ira-paste-modal .btn-send:hover { background: #2563eb; }
