/**
 * Mr. Omelette — Widget Styles
 * All colors driven by CSS custom properties (--mro-*) injected via PHP.
 * Sizing matched to snippet #54 v1.5
 *
 * @version 2.0.5
 */

/* ───── Reset ───── */

.mro-panel *,
.mro-panel *::before,
.mro-panel *::after,
.mro-bubble,
.mro-peek {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ───── Bubble (circle fallback) ───── */

.mro-bubble {
  position: fixed;
  bottom: 100px;
  right: 24px;
  z-index: 99998;
  width: 85px;
  height: 85px;
  border-radius: 50%;
  background: var(--mro-primary, #1a1a2e);
  border: 3px solid var(--mro-accent, #f5c518);
  color: var(--mro-accent, #f5c518);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.3s ease;
  overflow: hidden;
  padding: 0;
}

.mro-bubble:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(245, 197, 24, 0.4);
}

/* Pulse ring — only on circle bubbles */
.mro-bubble::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid var(--mro-accent, #f5c518);
  animation: mro-pulse 2.5s ease-out infinite;
  pointer-events: none;
}

@keyframes mro-pulse {
  0%   { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.6); opacity: 0; }
}

.mro-bubble--left {
  right: auto;
  left: 24px;
}

.mro-bubble--small {
  width: 60px;
  height: 60px;
}

.mro-bubble--large {
  width: 100px;
  height: 100px;
}

.mro-bubble--hidden {
  transform: scale(0);
  opacity: 0;
  pointer-events: none;
}

.mro-bubble__icon {
  width: 28px;
  height: 28px;
}

.mro-bubble__img {
  width: 79px;
  height: 79px;
  border-radius: 50%;
  object-fit: cover;
  image-rendering: auto;
}

.mro-bubble--small .mro-bubble__img {
  width: 54px;
  height: 54px;
}

.mro-bubble--large .mro-bubble__img {
  width: 94px;
  height: 94px;
}

/* ───── Full-Figure Character Bubble ───── */

.mro-bubble--figure {
  width: auto;
  height: auto;
  max-height: 220px;
  border-radius: 0;
  background: none;
  border: none;
  box-shadow: none;
  overflow: visible;
  padding: 0;
}

.mro-bubble--figure::after {
  display: none; /* no pulse ring on full figure */
}

.mro-bubble--figure:hover {
  transform: scale(1.05);
  box-shadow: none;
}

.mro-bubble--figure.mro-bubble--hidden {
  transform: scale(0) translateY(20px);
  opacity: 0;
  pointer-events: none;
}

.mro-bubble--figure.mro-bubble--small {
  max-height: 160px;
}

.mro-bubble--figure.mro-bubble--large {
  max-height: 280px;
}

.mro-bubble--figure .mro-bubble__figure-img {
  max-height: 220px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.4));
  image-rendering: auto;
  transition: filter 0.2s ease;
}

.mro-bubble--figure.mro-bubble--small .mro-bubble__figure-img {
  max-height: 160px;
}

.mro-bubble--figure.mro-bubble--large .mro-bubble__figure-img {
  max-height: 280px;
}

.mro-bubble--figure:hover .mro-bubble__figure-img {
  filter: drop-shadow(0 6px 24px rgba(245, 197, 24, 0.35));
}

/* Speech hint on hover */
.mro-bubble--figure .mro-bubble__hint {
  position: absolute;
  top: -8px;
  right: 100%;
  margin-right: 8px;
  background: var(--mro-primary, #1a1a2e);
  color: var(--mro-accent, #f5c518);
  font-family: var(--mro-font, 'Lexend', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 12px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

/* Speech bubble arrow */
.mro-bubble--figure .mro-bubble__hint::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--mro-primary, #1a1a2e);
}

.mro-bubble--figure:hover .mro-bubble__hint {
  opacity: 1;
  transform: translateX(0);
}

/* Left-positioned: flip the hint to the right side */
.mro-bubble--figure.mro-bubble--left .mro-bubble__hint {
  right: auto;
  left: 100%;
  margin-right: 0;
  margin-left: 8px;
  transform: translateX(-8px);
}

.mro-bubble--figure.mro-bubble--left .mro-bubble__hint::after {
  left: auto;
  right: 100%;
  border-left-color: transparent;
  border-right-color: var(--mro-primary, #1a1a2e);
}

/* ───── Dismiss Button ───── */

.mro-bubble__dismiss {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.15s ease;
  z-index: 2;
  padding: 0;
}

.mro-bubble__dismiss svg {
  width: 10px;
  height: 10px;
}

.mro-bubble:hover .mro-bubble__dismiss {
  opacity: 1;
  transform: scale(1);
}

.mro-bubble__dismiss:hover {
  background: rgba(220, 38, 38, 0.9);
}

/* Figure mode: position dismiss at top-right of the image */
.mro-bubble--figure .mro-bubble__dismiss {
  top: 0;
  right: 0;
}

/* Dismissed state */
.mro-bubble--dismissed {
  transform: translateY(30px) scale(0);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ───── Mini Restore Bubble ───── */

.mro-mini-bubble {
  position: fixed;
  bottom: 100px;
  right: 24px;
  z-index: 99997;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--mro-primary, #1a1a2e);
  border: 2px solid var(--mro-accent, #f5c518);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  opacity: 0;
  transform: scale(0);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.mro-mini-bubble--visible {
  opacity: 0.7;
  transform: scale(1);
  pointer-events: auto;
}

.mro-mini-bubble:hover {
  opacity: 1;
  transform: scale(1.1);
}

.mro-mini-bubble--left {
  right: auto;
  left: 24px;
}

.mro-mini-bubble__img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
}

/* ───── Peek Image ───── */

.mro-peek {
  width: 180px;
  height: 180px;
  margin-bottom: -40px;
  margin-left: 60px;
  z-index: 2;
  position: relative;
  pointer-events: none;
  flex-shrink: 0;
}

.mro-peek img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
  image-rendering: auto;
}

/* ───── Panel (outer wrapper — transparent flex container) ───── */

.mro-panel {
  position: fixed;
  bottom: 96px;
  right: 0;
  z-index: 99999;
  width: 420px;
  max-height: calc(100vh - 140px);
  margin-bottom: 12px;
  font-family: var(--mro-font, 'Lexend', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: visible;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.mro-panel--open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ───── Chat Body (the styled card) ───── */

.mro-panel__body {
  width: 100%;
  background: var(--mro-primary, #1a1a2e);
  border-radius: 20px;
  border: 3px solid var(--mro-accent, #f5c518);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  min-height: 0;
}

.mro-panel--left {
  right: auto;
  left: 24px;
}

.mro-panel--inline {
  position: relative;
  bottom: auto;
  right: auto;
  left: auto;
  width: 100%;
  height: 100%;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

/* ───── Header ───── */

.mro-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px 8px;
  background: var(--mro-primary, #1a1a2e);
  flex-shrink: 0;
}

.mro-panel__title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--mro-accent, #f5c518);
}

.mro-panel__actions {
  display: flex;
  gap: 6px;
}

.mro-panel__btn {
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  border-radius: 6px;
  color: var(--mro-accent, #f5c518);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
}

.mro-panel__btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.mro-panel__btn svg {
  width: 16px;
  height: 16px;
}

/* ───── Messages ───── */

.mro-messages {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  margin: 0 8px 8px;
  background: #fff;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #ccc transparent;
  min-height: 200px;
  max-height: 380px;
}

.mro-messages::-webkit-scrollbar {
  width: 5px;
}

.mro-messages::-webkit-scrollbar-track {
  background: transparent;
}

.mro-messages::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

/* ───── Message Bubbles ───── */

.mro-msg {
  display: flex;
  max-width: 90%;
  padding: 2px 0;
  font-size: 14px;
  line-height: 1.55;
  word-wrap: break-word;
  animation: mro-msg-in 0.25s ease-out;
}

@keyframes mro-msg-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.mro-msg--bot {
  align-self: flex-start;
  background: var(--mro-msg-bg, #ffffff);
  color: var(--mro-msg-text, #1a1a2e);
  padding: 10px 14px;
  border-radius: 14px 14px 14px 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.mro-msg--user {
  align-self: flex-end;
  background: var(--mro-user-bg, #f5c518);
  color: var(--mro-primary, #1a1a2e);
  padding: 10px 14px;
  border-radius: 14px 14px 4px 14px;
  font-weight: 500;
  text-align: right;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.mro-msg__content {
  font-size: 14px;
  line-height: 1.55;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.mro-msg--bot .mro-msg__content {
  color: inherit;
}

.mro-msg--user .mro-msg__content {
  color: inherit;
}

.mro-msg__content a {
  color: #b8860b;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.mro-msg__content a:hover {
  opacity: 0.85;
}

.mro-msg__content code {
  background: rgba(0, 0, 0, 0.06);
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
}

.mro-msg__content strong {
  color: inherit;
  font-weight: 700;
}

.mro-msg__content p {
  margin-bottom: 8px;
}

.mro-msg__content p:last-child {
  margin-bottom: 0;
}

.mro-msg__content ul,
.mro-msg__content ol {
  padding-left: 18px;
  margin-bottom: 8px;
}

.mro-msg__content li {
  margin-bottom: 3px;
}

/* ───── Navigation Action Buttons ───── */

.mro-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 8px 16px;
  background: var(--mro-accent, #f5c518);
  color: var(--mro-primary, #1a1a2e);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.15s ease;
  line-height: 1.4;
}

.mro-nav-btn::before {
  content: '\2192'; /* → arrow */
  font-size: 14px;
}

.mro-nav-btn:hover {
  opacity: 0.88;
  transform: scale(1.03);
}

.mro-nav-btn:active {
  transform: scale(0.97);
}

/* ───── Action Buttons ───── */

.mro-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  margin-right: 6px;
  padding: 8px 16px;
  background: var(--mro-primary, #1a1a2e);
  color: var(--mro-accent, #f5c518);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  border: 2px solid var(--mro-accent, #f5c518);
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1.4;
}

.mro-action-btn:hover {
  background: var(--mro-accent, #f5c518);
  color: var(--mro-primary, #1a1a2e);
}

.mro-action-btn:active {
  transform: scale(0.97);
}

.mro-action-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ───── Lead Capture Form ───── */

.mro-lead-form {
  background: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 16px;
  max-width: 90%;
  align-self: flex-start;
  animation: mro-msg-in 0.3s ease-out;
}

.mro-lead-form__heading {
  font-size: 14px;
  font-weight: 700;
  color: var(--mro-primary, #1a1a2e);
  margin-bottom: 12px;
}

.mro-lead-form__input,
.mro-lead-form__textarea {
  display: block;
  width: 100%;
  padding: 8px 12px;
  margin-bottom: 8px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  color: #333;
  background: #fff;
  outline: none;
  transition: border-color 0.2s;
}

.mro-lead-form__input:focus,
.mro-lead-form__textarea:focus {
  border-color: var(--mro-accent, #f5c518);
}

.mro-lead-form__textarea {
  resize: vertical;
  min-height: 50px;
  max-height: 100px;
}

.mro-lead-form__actions {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.mro-lead-form__submit {
  flex: 1;
  padding: 8px 16px;
  background: var(--mro-accent, #f5c518);
  color: var(--mro-primary, #1a1a2e);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.mro-lead-form__submit:hover {
  opacity: 0.88;
}

.mro-lead-form__submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.mro-lead-form__dismiss {
  padding: 8px 12px;
  background: none;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: inherit;
  font-size: 12px;
  color: #888;
  cursor: pointer;
  transition: border-color 0.2s;
}

.mro-lead-form__dismiss:hover {
  border-color: #999;
  color: #555;
}

.mro-lead-form__thanks {
  font-size: 14px;
  font-weight: 600;
  color: #155724;
  text-align: center;
  padding: 12px;
}

.mro-lead-form__error {
  font-size: 12px;
  color: #dc2626;
  margin-top: 6px;
}

/* ───── Typing Indicator ───── */

.mro-typing {
  display: flex;
  gap: 5px;
  padding: 12px 16px;
  align-self: flex-start;
}

.mro-typing span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mro-accent, #f5c518);
  opacity: 0.4;
  animation: mro-bounce 1.4s ease-in-out infinite;
}

.mro-typing span:nth-child(1) { animation-delay: 0s; }
.mro-typing span:nth-child(2) { animation-delay: 0.16s; }
.mro-typing span:nth-child(3) { animation-delay: 0.32s; }

@keyframes mro-bounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
  40%           { transform: translateY(-6px); opacity: 1; }
}

/* ───── Chips ───── */

.mro-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: 90%;
  align-self: flex-start;
  margin-top: 2px;
  animation: mro-msg-in 0.3s ease-out;
}

.mro-chip {
  background: transparent !important;
  border: 1.5px solid #b8860b !important;
  color: #b8860b !important;
  font-family: inherit !important;
  font-size: 12px !important;
  padding: 7px 16px !important;
  border-radius: 20px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  line-height: 1.4 !important;
  white-space: normal !important;
}

.mro-chip:hover {
  background: var(--mro-accent, #f5c518) !important;
  border-color: var(--mro-accent, #f5c518) !important;
  color: var(--mro-primary, #1a1a2e) !important;
  transform: scale(1.04);
}

.mro-chip:active {
  transform: scale(0.97);
}

.mro-chip:disabled {
  opacity: 0.4;
  cursor: default !important;
  transform: none;
  pointer-events: none;
}

.mro-chips--inline {
  margin-top: 2px;
}

/* ───── Input Area ───── */

.mro-input-area {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: var(--mro-primary, #1a1a2e);
  flex-shrink: 0;
}

.mro-input {
  flex: 1;
  border: 1px solid rgba(245, 197, 24, 0.25);
  background: rgba(255, 255, 255, 0.04);
  color: var(--mro-text, #e8e8e8);
  font-family: inherit;
  font-size: 16px;
  padding: 10px 14px;
  border-radius: 12px;
  outline: none;
  transition: border-color 0.2s;
  resize: none;
  min-height: 40px;
  max-height: 80px;
  line-height: 1.4;
}

.mro-input::placeholder {
  color: var(--mro-text-dim, #aaaaaa);
}

.mro-input:focus {
  border-color: var(--mro-accent, #f5c518);
}

.mro-send {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: none;
  background: var(--mro-accent, #f5c518);
  color: var(--mro-primary, #1a1a2e);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: opacity 0.2s, transform 0.15s;
}

.mro-send svg {
  width: 18px;
  height: 18px;
}

.mro-send:hover {
  opacity: 0.9;
  transform: scale(1.05);
}

.mro-send--busy {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
}

/* ───── Branding ───── */

.mro-branding {
  text-align: center;
  font-size: 10px;
  color: var(--mro-text-dim, #aaaaaa);
  padding: 6px;
  background: var(--mro-primary, #1a1a2e);
  flex-shrink: 0;
  opacity: 1;
}

.mro-branding a {
  color: inherit;
  text-decoration: none;
}

.mro-branding a:hover {
  text-decoration: underline;
}

.mro-branding strong {
  color: var(--mro-accent, #f5c518);
}

/* ───── Error Banner ───── */

.mro-error-banner {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
  font-size: 12px;
  padding: 8px 12px;
  border-radius: 8px;
  text-align: center;
  align-self: center;
  max-width: 90%;
}

/* ───── Mobile ───── */

@media (max-width: 480px) {
  .mro-bubble {
    bottom: 90px;
    right: 12px;
    width: 68px;
    height: 68px;
  }

  .mro-bubble__img {
    width: 62px;
    height: 62px;
  }

  .mro-bubble--figure {
    width: auto;
    height: auto;
    max-height: 150px;
    right: 8px;
  }

  .mro-bubble--figure .mro-bubble__figure-img {
    max-height: 150px;
  }

  .mro-bubble--figure .mro-bubble__hint {
    display: none; /* too cramped on mobile */
  }

  .mro-bubble--left {
    right: auto;
    left: 12px;
  }

  .mro-bubble--figure.mro-bubble--left {
    left: 8px;
  }

  .mro-mini-bubble {
    right: 12px;
    width: 36px;
    height: 36px;
  }

  .mro-mini-bubble--left {
    right: auto;
    left: 12px;
  }

  .mro-mini-bubble__img {
    width: 30px;
    height: 30px;
  }

  .mro-panel {
    width: calc(100vw - 24px);
    position: fixed;
    bottom: 90px;
    right: 12px;
    max-height: calc(100vh - 110px);
  }

  .mro-panel--left {
    left: 12px;
    right: auto;
  }

  .mro-peek {
    width: 110px;
    height: 110px;
    margin-bottom: -20px;
  }

  .mro-messages {
    min-height: 150px;
    max-height: 45vh;
  }

  .mro-chip {
    font-size: 11px !important;
    padding: 6px 13px !important;
  }

  .mro-chips {
    max-width: 95%;
  }
}

/* ───── Inline Mount ───── */

.mro-inline-mount {
  border-radius: var(--mro-radius, 16px);
  overflow: hidden;
}

.mro-inline-mount .mro-panel--inline {
  border-radius: 0;
  box-shadow: none;
}

/* ───── Draft Email Card ───── */

.mro-draft-card {
  background: var(--mro-msg-bg, #ffffff);
  color: var(--mro-msg-text, #1a1a2e);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  padding: 14px 16px;
  margin: 6px 40px 6px 8px;
  font-family: var(--mro-font);
  font-size: 13px;
  line-height: 1.5;
}

.mro-draft-card__header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 10px;
  color: var(--mro-msg-text, #1a1a2e);
  opacity: 0.7;
}

.mro-draft-card__icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.mro-draft-card__field {
  display: flex;
  gap: 6px;
  margin-bottom: 4px;
  font-size: 12px;
}

.mro-draft-card__label {
  font-weight: 600;
  opacity: 0.6;
  flex-shrink: 0;
}

.mro-draft-card__value {
  word-break: break-word;
}

.mro-draft-card__divider {
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  margin: 10px 0;
}

.mro-draft-card__body {
  white-space: pre-wrap;
  font-size: 13px;
  line-height: 1.6;
  padding: 4px 0;
}

.mro-draft-card__actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.mro-draft-card__btn {
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--mro-font);
  transition: opacity 0.15s ease;
}

.mro-draft-card__btn:hover {
  opacity: 0.85;
}

.mro-draft-card__btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.mro-draft-card__btn--send {
  background: var(--mro-accent, #f5c518);
  color: var(--mro-primary, #1a1a2e);
}

.mro-draft-card__btn--edit {
  background: rgba(0, 0, 0, 0.06);
  color: var(--mro-msg-text, #1a1a2e);
}

.mro-draft-card__btn--cancel {
  background: transparent;
  color: var(--mro-msg-text, #1a1a2e);
  opacity: 0.5;
}

.mro-draft-card__btn--cancel:hover {
  opacity: 0.7;
}

/* Sent state */
.mro-draft-card--sent {
  border-color: #22c55e;
  background: rgba(34, 197, 94, 0.06);
}

.mro-draft-card__result {
  font-weight: 600;
  color: #16a34a;
  text-align: center;
  padding: 8px 0;
  font-size: 14px;
}

.mro-draft-card__error {
  color: #dc2626;
  font-size: 12px;
  margin-top: 8px;
}
