/* Invitation account hub — Thiệp của tôi / Mẫu thiệp / Khách mời (Soft UI Evolution — ui-ux-pro-max) */
:root {
  --ihub-bg: #faf5f0;
  --ihub-surface: #ffffff;
  --ihub-surface-soft: #fdf7f9;
  --ihub-ink: #1e293b;
  --ihub-wine: #701a3c;
  --ihub-berry: #b83260;
  --ihub-rose: #db2777;
  --ihub-muted: #526071;
  --ihub-border: #f3dce6;
  --ihub-border-strong: #ebbfd3;
  --ihub-gold: #b88a44;
  --ihub-radius-lg: 18px;
  --ihub-radius-md: 12px;
  --ihub-shadow-card: 0 10px 28px rgba(112, 26, 60, 0.06), 0 2px 6px rgba(15, 23, 42, 0.04);
  --ihub-shadow-hover: 0 16px 36px rgba(112, 26, 60, 0.11), 0 4px 10px rgba(15, 23, 42, 0.05);
}

.ihub-body {
  background:
    radial-gradient(960px 420px at 12% -6%, rgba(251, 207, 232, 0.45) 0%, transparent 60%),
    radial-gradient(860px 380px at 92% 4%, rgba(254, 240, 218, 0.55) 0%, transparent 55%),
    var(--ihub-bg) !important;
  font-family: Arial, Helvetica, sans-serif !important;
  color: var(--ihub-ink);
}

.ihub {
  padding: 1.5rem 15px 3.5rem;
  box-sizing: border-box;
  width: 100%;
}

.ihub__shell {
  max-width: 960px;
  margin: 0 auto;
}

.ihub-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.4rem;
  padding: 0.4rem;
  margin-bottom: 1.65rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid var(--ihub-border);
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(112, 26, 60, 0.06);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.ihub-tabs::-webkit-scrollbar { display: none; }

.ihub-tabs__link {
  flex: 1 1 auto;
  text-align: center;
  padding: 0.68rem 1.1rem;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ihub-wine);
  text-decoration: none;
  white-space: nowrap !important;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.ihub-tabs__link:hover {
  background: #fdf2f8;
  color: #9d174d;
}

.ihub-tabs__link:focus-visible {
  outline: 2px solid var(--ihub-rose);
  outline-offset: 2px;
}

.ihub-tabs__link.is-active {
  background: linear-gradient(135deg, #b83260 0%, #db2777 60%, #e14b85 100%);
  color: #fff;
  box-shadow: 0 6px 18px rgba(184, 50, 96, 0.32);
}

.ihub-page__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.35rem;
  flex-wrap: wrap;
}

.ihub-page__head--compact {
  margin-bottom: 0.9rem;
}

.ihub-page__title {
  margin: 0 0 0.3rem;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--ihub-wine);
  letter-spacing: -0.02em;
}

.ihub-page__sub {
  margin: 0;
  color: var(--ihub-muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.ihub-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.35rem;
}

.ihub-filters__btn {
  padding: 0.48rem 1rem;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid var(--ihub-border-strong);
  background: var(--ihub-surface);
  color: var(--ihub-wine);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap !important;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.ihub-filters__btn:hover {
  border-color: var(--ihub-rose);
  background: #fff5f9;
}

.ihub-filters__btn:focus-visible {
  outline: 2px solid var(--ihub-rose);
  outline-offset: 2px;
}

.ihub-filters__btn.is-active {
  background: var(--ihub-wine);
  border-color: var(--ihub-wine);
  color: #fff;
  box-shadow: 0 4px 12px rgba(112, 26, 60, 0.22);
}

.ihub-list {
  display: grid;
  gap: 0.95rem;
}

.ihub-inv-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1.1rem 1.35rem;
  align-items: center;
  padding: 1.2rem 1.35rem;
  background: var(--ihub-surface);
  border: 1px solid var(--ihub-border);
  border-radius: var(--ihub-radius-lg);
  box-shadow: var(--ihub-shadow-card);
  transition: box-shadow 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.ihub-inv-card:hover {
  border-color: var(--ihub-border-strong);
  box-shadow: var(--ihub-shadow-hover);
}

@media (max-width: 720px) {
  .ihub-inv-card {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "thumb main"
      "side side";
    padding: 1rem 1.05rem;
  }

  .ihub-inv-card__side {
    grid-area: side;
    padding-top: 0.65rem;
    border-top: 1px dashed var(--ihub-border);
  }
}

/* Mini preview — save-the-date / phong bì (hub list) */
.ihub-inv-thumb {
  display: block;
  flex-shrink: 0;
  text-decoration: none;
  color: inherit;
  border-radius: 14px;
  outline-offset: 3px;
}

.ihub-inv-thumb:focus-visible {
  outline: 2px solid var(--ihub-rose);
}

.ihub-inv-thumb__device {
  display: block;
  width: 108px;
  padding: 6px 5px 8px;
  border-radius: 14px;
  background: linear-gradient(165deg, #fff 0%, #fdf2f8 100%);
  border: 1px solid var(--ihub-border);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.1), 0 2px 4px rgba(15, 23, 42, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.ihub-inv-thumb:hover .ihub-inv-thumb__device,
.ihub-inv-thumb:focus-visible .ihub-inv-thumb__device {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(131, 24, 67, 0.14), 0 3px 8px rgba(15, 23, 42, 0.08);
}

.ihub-inv-thumb__screen {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 148px;
  padding: 0.45rem 0.35rem 0.5rem;
  border-radius: 10px;
  background-color: var(--ihub-thumb-paper, #faf5f0);
  background-image: url('../invitation/themes/common/paper-texture.svg');
  background-size: cover;
  background-blend-mode: multiply;
  overflow: hidden;
}

.ihub-inv-thumb__screen::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 88%;
  height: 42%;
  transform: translateX(-50%);
  background: url('../invitation/themes/common/watermark-palace.svg') center bottom / contain no-repeat;
  opacity: 0.12;
  pointer-events: none;
}

.ihub-inv-thumb__save {
  position: relative;
  z-index: 1;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 0.42rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--ihub-thumb-accent, #831843);
  white-space: nowrap !important;
  margin-bottom: 0.35rem;
}

.ihub-inv-thumb__scene {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 72px;
  margin-bottom: 0.25rem;
}

.ihub-inv-thumb__envelope {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 62px;
  height: 44px;
  transform: translateX(-50%) rotate(-4deg);
  background: linear-gradient(145deg, var(--ihub-thumb-accent, #831843) 0%, color-mix(in srgb, var(--ihub-thumb-accent, #831843) 75%, #000) 100%);
  border-radius: 3px 3px 6px 6px;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.18);
  clip-path: polygon(0 0, 100% 0, 100% 72%, 50% 100%, 0 72%);
}

.ihub-inv-thumb__photo {
  position: absolute;
  left: 50%;
  top: 2px;
  width: 38px;
  height: 48px;
  object-fit: cover;
  transform: translateX(-42%) rotate(6deg);
  border: 2px solid #fff;
  border-radius: 2px;
  box-shadow: 0 3px 8px rgba(15, 23, 42, 0.2);
  z-index: 2;
}

.ihub-inv-thumb__photo--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #fff 0%, #fce7f3 100%);
}

.ihub-inv-thumb__initials {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ihub-thumb-accent, #831843);
  letter-spacing: 0.04em;
}

.ihub-inv-thumb__seal {
  position: absolute;
  left: 50%;
  top: 38px;
  width: 14px;
  height: 14px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #f5e6a8 0%, #c9a227 45%, #9a7b1a 100%);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  z-index: 3;
}

.ihub-inv-thumb__floral {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  opacity: 0.55;
  z-index: 0;
}

.ihub-inv-thumb__floral--left {
  left: 2px;
  top: 18px;
  background: radial-gradient(circle at 30% 30%, #fecdd3 0%, #be123c 70%);
  filter: blur(0.2px);
}

.ihub-inv-thumb__names {
  position: relative;
  z-index: 1;
  max-width: 100%;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 0.48rem;
  font-weight: 600;
  color: var(--ihub-thumb-accent, #831843);
  text-align: center;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap !important;
  padding: 0 0.15rem;
}

.ihub-inv-thumb__date {
  position: relative;
  z-index: 1;
  font-size: 0.4rem;
  color: var(--ihub-muted);
  letter-spacing: 0.06em;
  margin-top: 0.1rem;
  white-space: nowrap !important;
}

.ihub-inv-thumb--garden-sage .ihub-inv-thumb__floral--left {
  background: radial-gradient(circle at 30% 30%, #bbf7d0 0%, #5f7a65 70%);
}

.ihub-inv-thumb--minimal-cream .ihub-inv-thumb__save {
  letter-spacing: 0.1em;
}

@media (prefers-reduced-motion: reduce) {
  .ihub-inv-card,
  .ihub-inv-thumb__device {
    transition: none;
  }
}

.ihub-inv-card__title-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 0.4rem;
}

.ihub-inv-card__title {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--ihub-ink);
}

.ihub-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.24rem 0.62rem;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
  white-space: nowrap !important;
}

.ihub-badge--live {
  background: #ecfdf5;
  color: #065f46;
  border-color: #a7f3d0;
}

.ihub-badge--draft-mini {
  display: inline-block;
  margin-top: 0.22rem;
  font-size: 0.66rem;
  padding: 0.14rem 0.48rem;
  background: #fffbeb;
  color: #92400e;
  border-color: #fde68a;
}

.ihub-inv-card__meta {
  margin: 0;
  font-size: 0.86rem;
  color: var(--ihub-muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.ihub-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #cbd5e1;
}

.ihub-inv-card__couple,
.ihub-inv-card__stats {
  margin: 0.38rem 0 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: #9d174d;
}

.ihub-inv-card__side {
  text-align: right;
  min-width: 220px;
}

@media (max-width: 720px) {
  .ihub-inv-card__side {
    text-align: left;
    min-width: 0;
  }
}

.ihub-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 0.65rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ihub-berry);
  text-decoration: none;
  white-space: nowrap !important;
}

.ihub-link-arrow::after {
  content: '→';
  transition: transform 0.18s ease;
}

.ihub-link-arrow:hover {
  color: var(--ihub-wine);
  text-decoration: underline;
}

.ihub-link-arrow:hover::after {
  transform: translateX(3px);
}

.ihub-inv-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
  justify-content: flex-end;
}

@media (max-width: 720px) {
  .ihub-inv-card__actions {
    justify-content: flex-start;
  }
}

.ihub-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.38rem;
  padding: 0.52rem 0.9rem;
  min-height: 38px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 0.84rem;
  font-weight: 700;
  font-family: Arial, Helvetica, sans-serif !important;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap !important;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.ihub-btn:focus-visible {
  outline: 2px solid var(--ihub-rose);
  outline-offset: 2px;
}

.ihub-btn:disabled {
  opacity: 0.58;
  cursor: not-allowed;
}

.ihub-btn--primary {
  background: linear-gradient(135deg, #b83260 0%, #db2777 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(184, 50, 96, 0.28);
}

.ihub-btn--primary:hover:not(:disabled) {
  filter: brightness(1.06);
  color: #fff;
  box-shadow: 0 6px 18px rgba(184, 50, 96, 0.36);
}

.ihub-btn--soft {
  background: #fdf2f8;
  color: #9d174d;
  border-color: #fbcfe8;
}

.ihub-btn--soft:hover:not(:disabled) {
  background: #fce7f3;
  border-color: #f472b6;
}

.ihub-btn--ghost {
  background: #fff;
  color: #334155;
  border-color: #cbd5e1;
}

.ihub-btn--ghost:hover:not(:disabled) {
  background: #f8fafc;
  border-color: #94a3b8;
  color: #0f172a;
}

.ihub-btn--danger-outline {
  background: #fff;
  color: #b91c1c;
  border-color: #fecaca;
}

.ihub-btn--danger-outline:hover:not(:disabled) {
  background: #fef2f2;
  border-color: #f87171;
}

.ihub-btn--danger-solid {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(185, 28, 28, 0.28);
}

.ihub-btn--danger-solid:hover:not(:disabled) {
  filter: brightness(1.06);
  color: #fff;
}

.ihub-btn--sm {
  padding: 0.36rem 0.7rem;
  min-height: 34px;
  font-size: 0.8rem;
}

.ihub-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.ihub-icon-btn:hover {
  background: #fdf2f8;
  border-color: #fbcfe8;
  color: var(--ihub-berry);
}

.ihub-icon-btn:focus-visible {
  outline: 2px solid var(--ihub-rose);
  outline-offset: 2px;
}

.ihub-inline-form {
  display: inline;
  margin: 0;
}

.ihub-empty {
  text-align: center;
  padding: 2.75rem 1.5rem;
  border: 1px dashed var(--ihub-border-strong);
  border-radius: var(--ihub-radius-lg);
  background: rgba(255, 255, 255, 0.85);
}

.ihub-empty--inline {
  padding: 1.65rem;
}

.ihub-empty h2 {
  margin: 0 0 0.5rem;
  color: var(--ihub-wine);
}

.ihub-empty p {
  margin: 0 0 1.1rem;
  color: var(--ihub-muted);
}

.ihub-alert {
  margin-bottom: 1.15rem;
  padding: 0.8rem 1.05rem;
  border-radius: 12px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-size: 0.9rem;
  font-weight: 600;
}

.ihub-catalog .tdo-section {
  padding: 0;
  margin: 0;
}

.ihub-catalog .tdo-section__head {
  display: none;
}

.ihub-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: flex-end;
  margin-bottom: 1.15rem;
  padding: 0.95rem 1.1rem;
  background: var(--ihub-surface);
  border: 1px solid var(--ihub-border);
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(112, 26, 60, 0.04);
}

.ihub-field {
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #475569;
  min-width: 180px;
}

.ihub-field select,
.ihub-field input[type="text"],
.ihub-field input:not([type]) {
  padding: 0.52rem 0.72rem;
  min-height: 40px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  font-size: 0.88rem;
  font-family: Arial, Helvetica, sans-serif !important;
  color: var(--ihub-ink);
  background: #fff;
  box-sizing: border-box;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.ihub-field select:focus,
.ihub-field input[type="text"]:focus,
.ihub-field input:not([type]):focus,
.ihub-bulk textarea:focus {
  outline: none;
  border-color: var(--ihub-rose);
  box-shadow: 0 0 0 3px rgba(219, 39, 119, 0.15);
}

.ihub-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.6rem;
  margin-bottom: 1.15rem;
}

@media (max-width: 640px) {
  .ihub-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

.ihub-stats > div {
  background: var(--ihub-surface);
  border: 1px solid var(--ihub-border);
  border-radius: 14px;
  padding: 0.75rem 0.55rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(112, 26, 60, 0.04);
}

.ihub-stats strong {
  display: block;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ihub-berry);
  line-height: 1.2;
}

.ihub-stats span {
  display: block;
  margin-top: 0.18rem;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--ihub-muted);
}

.ihub-guest-table-wrap {
  display: grid;
  gap: 0.55rem;
}

.ihub-panel {
  margin-bottom: 1.35rem;
  padding: 1.2rem 1.25rem;
  background: var(--ihub-surface);
  border: 1px solid var(--ihub-border);
  border-radius: var(--ihub-radius-lg);
  box-shadow: var(--ihub-shadow-card);
}

.ihub-panel__title {
  margin: 0 0 0.9rem;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--ihub-wine);
}

.ihub-panel__actions {
  margin-top: 0.75rem;
}

.ihub-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  gap: 0.75rem;
}

.ihub-field--full {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  margin-top: 0.75rem;
}

.ihub-bulk {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px dashed var(--ihub-border);
  font-size: 0.88rem;
  color: var(--ihub-muted);
}

.ihub-bulk summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ihub-wine);
}

.ihub-bulk textarea {
  width: 100%;
  margin: 0.55rem 0;
  padding: 0.6rem 0.72rem;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  font-family: Arial, Helvetica, sans-serif !important;
  box-sizing: border-box;
}

.ihub-guest-table__head {
  display: grid;
  grid-template-columns: minmax(110px, 0.9fr) minmax(0, 2fr) minmax(220px, 1.4fr);
  gap: 0.75rem;
  padding: 0.35rem 1.05rem 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
}

.ihub-guest-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  background: var(--ihub-surface);
  border: 1px solid var(--ihub-border);
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.ihub-guest-row:hover {
  border-color: var(--ihub-border-strong);
  box-shadow: 0 6px 16px rgba(112, 26, 60, 0.06);
}

.ihub-guest-row--wide {
  display: grid;
  grid-template-columns: minmax(110px, 0.9fr) minmax(0, 2fr) minmax(220px, 1.4fr);
  align-items: center;
}

.ihub-guest-row__inv-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #9d174d;
  white-space: nowrap !important;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  max-width: 150px;
}

.ihub-guest-row__name-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.ihub-rsvp-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.52rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap !important;
}

.ihub-rsvp-pill--yes {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.ihub-rsvp-pill--no {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.ihub-rsvp-pill--wait {
  background: #f8fafc;
  color: #475569;
  border: 1px solid #e2e8f0;
}

.ihub-text-warn {
  color: #b45309;
  font-weight: 600;
}

.ihub-modal {
  border: 1px solid var(--ihub-border);
  border-radius: 18px;
  padding: 0;
  max-width: 450px;
  width: calc(100% - 2rem);
  background: #fff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.24);
}

.ihub-modal::backdrop {
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(3px);
}

.ihub-modal__inner {
  padding: 1.25rem 1.35rem 1.3rem;
  margin: 0;
  border: 0;
  font-family: Arial, Helvetica, sans-serif !important;
}

.ihub-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.ihub-modal__head h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ihub-wine);
}

.ihub-modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  color: #64748b;
  transition: background 0.18s ease, color 0.18s ease;
}

.ihub-modal__close:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.ihub-modal__close:focus-visible {
  outline: 2px solid var(--ihub-rose);
  outline-offset: 2px;
}

.ihub-modal__foot {
  display: flex;
  justify-content: flex-end;
  gap: 0.55rem;
  margin-top: 1.15rem;
}

.ihub-modal__hint {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--ihub-muted);
  font-family: Arial, Helvetica, sans-serif !important;
}

@media (max-width: 720px) {
  .ihub-guest-row--wide {
    grid-template-columns: 1fr;
  }
  .ihub-guest-table__head {
    display: none;
  }
  .ihub-guest-row__actions {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}

.ihub-guest-row__info strong {
  color: var(--ihub-ink);
  font-size: 0.95rem;
}

.ihub-guest-row__info small {
  display: block;
  color: var(--ihub-muted);
  font-size: 0.81rem;
  margin-top: 0.2rem;
}

.ihub-guest-row__msg {
  font-style: italic;
  color: #9d174d !important;
}

.ihub-guest-row__actions {
  display: flex;
  gap: 0.38rem;
  flex-shrink: 0;
  justify-content: flex-end;
}

.ihub-link {
  color: var(--ihub-rose);
  font-weight: 700;
  text-decoration: none;
}

.ihub-toast {
  position: fixed;
  bottom: 1.35rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.72rem 1.2rem;
  max-width: calc(100vw - 2rem);
  background: var(--ihub-wine);
  color: #fff;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  z-index: 9999;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.22);
  animation: ihubToastIn 0.25s ease;
}

.ihub-toast--warn {
  background: #92400e;
  border: 1px solid #fde68a;
}

@keyframes ihubToastIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ihub-toast {
    animation: none;
  }
}

/* Trạng thái gói VIP trên trang Thiệp của tôi */
.ihub-vip-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  flex-wrap: wrap;
  margin: 0 0 1rem;
  padding: .75rem 1rem;
  border-radius: 14px;
  border: 1px solid #eadfd0;
  background: #fffaf4;
  color: #4a3a33;
  font-size: .9rem;
  line-height: 1.5;
}
.ihub-vip-strip.is-active { border-color: #c7e8d3; background: #f0fbf4; color: #1f5132; }
.ihub-vip-strip.is-expired { border-color: #f3d38b; background: #fff8e6; color: #6b4a07; }
.ihub-vip-strip__text { flex: 1 1 260px; min-width: 0; }
.ihub-vip-strip__cta { white-space: nowrap !important; flex-shrink: 0; }