/* Egg Academy website live chat - fixed bottom-right root (escapes page overflow) */

.egg-chat-root {
  position: fixed;
  inset: 0;
  z-index: 10050;
  pointer-events: none;
}

.egg-chat-root > * {
  pointer-events: auto;
}

.egg-chat-launcher {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right, 0px));
  bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-width: 3.5rem;
  min-height: 3.5rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(145deg, #8bc34a 0%, #558b2f 100%);
  color: #fff;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow:
    0 4px 14px rgba(85, 139, 47, 0.45),
    0 8px 28px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  overflow: hidden;
  box-sizing: border-box;
}

.egg-chat-launcher--has-avatar {
  width: auto;
  max-width: none;
  height: auto;
  min-width: 0;
  min-height: 3.5rem;
  max-height: none;
  padding: 0.28rem 0.75rem 0.28rem 0.28rem;
  gap: 0.45rem;
  background: linear-gradient(145deg, #8bc34a 0%, #558b2f 100%);
  border: 2px solid rgba(255, 255, 255, 0.85);
  overflow: visible;
}

.egg-chat-avatar-stack {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.egg-chat-launcher__avatars {
  min-width: 2.65rem;
}

.egg-chat-avatar-stack__img {
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 999px;
  object-fit: cover;
  flex-shrink: 0;
  pointer-events: none;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
  margin-left: -0.7rem;
  position: relative;
}

.egg-chat-avatar-stack__frame {
  display: inline-block;
  flex-shrink: 0;
  position: relative;
  margin-left: -0.7rem;
  pointer-events: none;
}

.egg-chat-launcher__avatars .egg-chat-avatar-stack__frame--fallback {
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 999px;
  overflow: hidden;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
}

.egg-chat-launcher__avatars
  .egg-chat-avatar-stack__frame--fallback
  .egg-chat-avatar-stack__img--fallback {
  display: block;
  width: 100%;
  height: 100%;
  margin-left: 0;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  object-fit: cover;
  transform: translateX(1px) scale(0.95);
  transform-origin: center center;
}

.egg-chat-avatar-stack > :first-child {
  margin-left: 0;
  z-index: 1;
}

.egg-chat-avatar-stack > :nth-child(2) {
  z-index: 2;
}

.egg-chat-avatar-stack > :nth-child(3) {
  z-index: 3;
}

.egg-chat-avatar-stack > :last-child {
  z-index: 4;
}

.egg-chat-avatar-stack__img:first-child {
  margin-left: 0;
  z-index: 1;
}

.egg-chat-avatar-stack__img:nth-child(2) {
  z-index: 2;
}

.egg-chat-avatar-stack__img:nth-child(3) {
  z-index: 3;
}

.egg-chat-avatar-stack__img:last-child {
  z-index: 4;
}

.egg-chat-launcher--has-avatar .egg-chat-launcher__avatars {
  display: inline-flex;
}

.egg-chat-launcher--has-avatar .egg-chat-launcher__icon {
  display: inline-flex;
  flex-shrink: 0;
}

.egg-chat-launcher--has-avatar .egg-chat-launcher__label {
  display: none;
  padding-right: 0.15rem;
}

.egg-chat-launcher::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  border: 2px solid rgba(139, 195, 74, 0.55);
  animation: egg-chat-pulse 2.4s ease-out infinite;
  pointer-events: none;
}

.egg-chat-launcher--has-avatar::before {
  inset: -5px;
}

.egg-chat-launcher:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow:
    0 6px 18px rgba(85, 139, 47, 0.5),
    0 12px 32px rgba(0, 0, 0, 0.2);
}

.egg-chat-launcher:focus-visible {
  outline: 3px solid rgba(139, 195, 74, 0.65);
  outline-offset: 3px;
}

.egg-chat-launcher__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.625rem;
  height: 1.625rem;
}

.egg-chat-launcher__label {
  display: none;
  padding-right: 0.35rem;
}

@media (min-width: 480px) {
  .egg-chat-launcher:not(.egg-chat-launcher--has-avatar) {
    padding: 0 1rem 0 0.85rem;
  }

  .egg-chat-launcher:not(.egg-chat-launcher--has-avatar) .egg-chat-launcher__label,
  .egg-chat-launcher--has-avatar .egg-chat-launcher__label {
    display: inline;
  }

  .egg-chat-launcher--has-avatar {
    padding-right: 1rem;
  }
}

@keyframes egg-chat-pulse {
  0% {
    transform: scale(1);
    opacity: 0.85;
  }
  70% {
    transform: scale(1.18);
    opacity: 0;
  }
  100% {
    transform: scale(1.18);
    opacity: 0;
  }
}

.egg-chat-panel {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right, 0px));
  bottom: calc(5rem + env(safe-area-inset-bottom, 0px));
  z-index: 3;
  width: min(380px, calc(100vw - 2rem));
  height: min(27rem, calc(100dvh - 6.5rem));
  max-height: min(27rem, calc(100dvh - 6.5rem));
  display: none;
  flex-direction: column;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  font-family: "DM Sans", system-ui, sans-serif;
  transform-origin: bottom right;
}

.egg-chat-panel.is-open {
  display: flex;
  animation: egg-chat-panel-in 0.22s ease-out;
}

@keyframes egg-chat-panel-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.egg-chat-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  background: #1b1b1b;
  color: #fff;
  flex-shrink: 0;
}

.egg-chat-panel__header-main {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex: 1;
  min-width: 0;
}

.egg-chat-panel__header-avatars {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
}

.egg-chat-panel__header-copy {
  flex: 1;
  min-width: 0;
}

.egg-chat-avatar-stack--header .egg-chat-avatar-stack__img {
  width: 3.51rem;
  height: 3.51rem;
  margin-left: -0.858rem;
  border-color: rgba(255, 255, 255, 0.85);
}

.egg-chat-avatar-stack--header .egg-chat-avatar-stack__frame {
  margin-left: -0.858rem;
}

.egg-chat-avatar-stack--header > :first-child,
.egg-chat-avatar-stack--header .egg-chat-avatar-stack__img:first-child,
.egg-chat-avatar-stack--header .egg-chat-avatar-stack__frame:first-child {
  margin-left: 0;
}

.egg-chat-avatar-stack--header .egg-chat-avatar-stack__frame--fallback-header {
  width: 3.51rem;
  height: 3.51rem;
  border-radius: 999px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
}

.egg-chat-avatar-stack--header
  .egg-chat-avatar-stack__frame--fallback-header
  .egg-chat-avatar-stack__img--fallback-header {
  display: block;
  width: 100%;
  height: 100%;
  margin-left: 0;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  object-fit: cover;
  transform: translateX(2px) scale(0.95);
  transform-origin: center center;
}

.egg-chat-panel__title {
  margin: 0;
  font-size: 1.09rem;
  font-weight: 700;
}

.egg-chat-panel__subtitle {
  margin: 0.15rem 0 0;
  font-size: 0.774rem;
  opacity: 0.75;
  line-height: 1.35;
}

.egg-chat-panel__minimize,
.egg-chat-panel__close {
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.egg-chat-panel__minimize:hover,
.egg-chat-panel__close:hover {
  background: rgba(255, 255, 255, 0.12);
}

.egg-chat-panel__minimize-icon {
  display: block;
  width: 0.95rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.egg-chat-panel__close {
  font-size: 1.25rem;
  line-height: 1;
}

.egg-chat-panel__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  position: relative;
}

.egg-chat-email-banner {
  position: relative;
  flex-shrink: 0;
  margin: 0;
  padding: 0.4rem 0.55rem 0.48rem;
  border-top: 1px solid #dce775;
  background: linear-gradient(180deg, #f7fbe8 0%, #f1f8e9 100%);
  animation: egg-chat-banner-in 0.22s ease-out;
}

@keyframes egg-chat-banner-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.egg-chat-email-banner__close {
  position: absolute;
  top: 0.2rem;
  right: 0.3rem;
  border: 0;
  background: transparent;
  color: #558b2f;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.1rem 0.25rem;
}

.egg-chat-email-banner__title {
  margin: 0 1.25rem 0.2rem 0;
  font-size: 0.72rem;
  font-weight: 700;
  color: #33691e;
  line-height: 1.2;
}

.egg-chat-email-banner__note {
  margin: 0 0 0.32rem;
  font-size: 0.68rem;
  color: #455a44;
  line-height: 1.3;
}

.egg-chat-email-banner__label input {
  width: 100%;
  padding: 0.38rem 0.5rem;
  border: 1px solid #d0d0d0;
  border-radius: 7px;
  font: inherit;
  font-size: 0.8rem;
  box-sizing: border-box;
}

.egg-chat-email-banner__save {
  margin-top: 0.35rem;
  border: 0;
  border-radius: 7px;
  padding: 0.38rem 0.65rem;
  background: #7cb342;
  color: #fff;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
}

.egg-chat-email-banner__save:hover {
  background: #689f38;
}

.egg-chat-email-banner__saved {
  margin: 0.25rem 0 0;
  font-size: 0.66rem;
  color: #558b2f;
}

.egg-chat-prechat,
.egg-chat-offline {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}

.egg-chat-live {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.egg-chat-prechat label,
.egg-chat-offline label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
}

.egg-chat-prechat input,
.egg-chat-offline input,
.egg-chat-offline textarea {
  padding: 0.55rem 0.65rem;
  border: 1px solid #d0d0d0;
  border-radius: 8px;
  font: inherit;
}

.egg-chat-messages {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 0.875rem;
  background: #f7f7f5;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.egg-chat-msg {
  max-width: 88%;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  font-size: 0.875rem;
  line-height: 1.4;
}

.egg-chat-msg--visitor {
  align-self: flex-end;
  background: #dbeafe;
}

.egg-chat-msg--staff {
  align-self: flex-start;
  background: #fff;
  border: 1px solid #e5e5e5;
}

.egg-chat-msg__meta {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 0.7rem;
  font-weight: 700;
  opacity: 0.7;
}

.egg-chat-msg--system {
  align-self: center;
  max-width: 100%;
  padding: 0.15rem 0.35rem;
  background: transparent;
  color: #666;
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
}

.egg-chat-typing {
  margin: 0;
  padding: 0 0.15rem 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #666;
}

.egg-chat-compose {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.75rem 0.75rem 0.55rem;
  border-top: 1px solid #ececec;
  background: #fff;
  flex-shrink: 0;
}

.egg-chat-compose__main {
  display: flex;
  gap: 0.55rem;
  align-items: stretch;
}

.egg-chat-compose__main button {
  border: 0;
  border-radius: 8px;
  padding: 0.66rem 1rem;
  background: #7cb342;
  color: #fff;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  align-self: stretch;
  min-height: 2.7rem;
}

.egg-chat-compose__end {
  align-self: center;
  border: 0;
  background: transparent;
  color: #666;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.1rem 0.35rem 0;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.egg-chat-compose__end:hover:not(:disabled) {
  color: #333;
}

.egg-chat-compose__end:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  text-decoration: none;
}

.egg-chat-compose textarea {
  flex: 1;
  min-width: 0;
  min-height: 2.7rem;
  max-height: 120px;
  resize: vertical;
  padding: 0.55rem 0.75rem;
  border: 1px solid #d0d0d0;
  border-radius: 8px;
  font: inherit;
  font-size: 1.05rem;
  line-height: 1.4;
}

.egg-chat-email-opt {
  flex-shrink: 0;
  margin: 0 0.75rem 0.75rem;
  border-radius: 12px;
  border: 1px solid #c5e1a5;
  background: linear-gradient(180deg, #f7fbe8 0%, #f1f8e9 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  overflow: hidden;
}

.egg-chat-email-opt--saved {
  border-color: #aed581;
  background: linear-gradient(180deg, #f1f8e9 0%, #e8f5e9 100%);
}

.egg-chat-email-opt__summary {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 0.875rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background 0.15s ease;
}

.egg-chat-email-opt__summary:hover {
  background: rgba(139, 195, 74, 0.12);
}

.egg-chat-email-opt__summary:focus-visible {
  outline: 2px solid #7cb342;
  outline-offset: -2px;
}

.egg-chat-email-opt__summary::-webkit-details-marker {
  display: none;
}

.egg-chat-email-opt__summary-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #c5e1a5;
  font-size: 1rem;
  line-height: 1;
  flex-shrink: 0;
}

.egg-chat-email-opt__summary-copy {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
  flex: 1;
}

.egg-chat-email-opt__summary-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #33691e;
  line-height: 1.25;
}

.egg-chat-email-opt__summary-action {
  font-size: 0.75rem;
  font-weight: 600;
  color: #558b2f;
  line-height: 1.3;
}

.egg-chat-email-opt__chevron {
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid #689f38;
  border-bottom: 2px solid #689f38;
  transform: rotate(45deg);
  margin-top: -0.15rem;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

.egg-chat-email-opt[open] .egg-chat-email-opt__chevron {
  transform: rotate(225deg);
  margin-top: 0.15rem;
}

.egg-chat-email-opt__body {
  padding: 0 0.875rem 0.875rem;
  border-top: 1px solid rgba(139, 195, 74, 0.22);
}

.egg-chat-email-opt__note {
  margin: 0.75rem 0 0.65rem;
  font-size: 0.8125rem;
  color: #455a44;
  line-height: 1.5;
}

.egg-chat-email-opt__hint {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  color: #777;
  line-height: 1.4;
}

.egg-chat-email-opt__label input {
  width: 100%;
  padding: 0.5rem 0.65rem;
  border: 1px solid #d0d0d0;
  border-radius: 8px;
  font: inherit;
  font-size: 0.875rem;
  box-sizing: border-box;
}

.egg-chat-email-opt__save {
  margin-top: 0.5rem;
  border: 0;
  border-radius: 8px;
  padding: 0.5rem 0.85rem;
  background: #7cb342;
  color: #fff;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
}

.egg-chat-email-opt__save:hover {
  background: #689f38;
}

.egg-chat-email-opt__saved {
  margin: 0.5rem 0 0;
  font-size: 0.72rem;
  color: #558b2f;
}

.egg-chat-compose button:disabled,
.egg-chat-compose__main button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.egg-chat-status {
  padding: 0.5rem 0.875rem;
  font-size: 0.75rem;
  color: #666;
  background: #fafafa;
  border-top: 1px solid #eee;
  flex-shrink: 0;
}

.egg-chat-status:empty {
  display: none;
}

.egg-chat-hidden {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .egg-chat-launcher::before {
    animation: none;
  }

  .egg-chat-panel.is-open {
    animation: none;
  }

  .egg-chat-email-banner {
    animation: none;
  }
}

.egg-contact-page {
  padding: 3rem 0 4rem;
}

.egg-contact-hero {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 2rem;
}

@media (min-width: 860px) {
  .egg-contact-hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(14rem, 0.95fr);
    gap: 2rem;
  }
}

.egg-contact-hero__lede {
  margin-bottom: 0;
}

.egg-contact-hero__visual {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 2px solid rgba(109, 40, 217, 0.14);
  box-shadow: 0 12px 28px rgba(45, 26, 77, 0.12);
}

.egg-contact-hero__visual img {
  display: block;
  width: 100%;
  height: auto;
}

.egg-contact-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .egg-contact-grid {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}

.egg-contact-card {
  padding: 1.5rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.egg-contact-card__figure {
  margin: -0.35rem -0.35rem 0.35rem;
  border-radius: 12px;
  overflow: hidden;
}

.egg-contact-card__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.egg-contact-card h2 {
  margin: 0;
  font-size: 1.25rem;
}

.egg-contact-nap {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin: 0;
  font-style: normal;
  line-height: 1.5;
}

.egg-contact-nap__name {
  font-size: 1rem;
}

.egg-contact-nap__location,
.egg-contact-nap__street,
.egg-contact-nap__city {
  color: rgba(45, 26, 77, 0.82);
}

.egg-contact-nap__maps {
  margin-top: 0.35rem;
  font-size: 0.95rem;
  font-weight: 600;
  width: fit-content;
}

.egg-contact-card p,
.egg-contact-card li {
  margin: 0;
  line-height: 1.55;
}

.egg-contact-card--chat {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.96) 0%, rgba(241, 248, 233, 0.92) 100%);
  border-color: rgba(85, 139, 47, 0.22);
}

.egg-contact-chat-pointer {
  margin-top: 0.35rem;
}

.egg-contact-chat-pointer__stage {
  position: relative;
  min-height: 8.5rem;
  padding: 0.35rem 0.5rem 0.25rem;
}

.egg-contact-chat-pointer__demo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  max-width: 7.5rem;
}

.egg-contact-chat-pointer__launcher {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 3.5rem;
  padding: 0 1rem 0 0.85rem;
  border-radius: 999px;
  background: linear-gradient(145deg, #8bc34a 0%, #558b2f 100%);
  color: #fff;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow:
    0 4px 14px rgba(85, 139, 47, 0.45),
    0 8px 28px rgba(0, 0, 0, 0.18);
}

.egg-contact-chat-pointer__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.625rem;
  height: 1.625rem;
}

.egg-contact-chat-pointer__arrow {
  position: absolute;
  left: 5.75rem;
  top: 0.85rem;
  width: min(10rem, calc(100% - 6rem));
  height: auto;
  color: #558b2f;
  pointer-events: none;
}

.egg-contact-chat-pointer__corner {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.25;
  color: #33691e;
}

.egg-contact-chat-pointer__note {
  margin: 0.35rem 0 0.35rem;
  font-size: 0.88rem;
  color: #3f3558;
}

.egg-contact-chat-uses {
  margin: 0;
  padding-left: 1.15rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #3f3558;
}

.egg-contact-chat-uses li + li {
  margin-top: 0.25rem;
}

.egg-contact-form-wrap {
  margin-top: 2rem;
}

.egg-contact-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.egg-contact-links a {
  color: inherit;
  font-weight: 600;
}

.egg-contact-faq {
  margin-top: 2rem;
}

.egg-contact-card--form {
  max-width: none;
}

.egg-contact-form {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.5rem;
}

.egg-contact-form__field {
  display: grid;
  gap: 0.35rem;
}

.egg-contact-form__label {
  font-size: 0.88rem;
  font-weight: 700;
  color: #2d1a4d;
}

.egg-contact-form__optional {
  font-weight: 600;
  color: #6b5a7a;
}

.egg-contact-form__field input,
.egg-contact-form__field textarea {
  width: 100%;
  font: inherit;
  font-size: 0.95rem;
  padding: 0.55rem 0.7rem;
  border: 2px solid rgba(109, 40, 217, 0.16);
  border-radius: 10px;
  background: #fff;
  color: inherit;
}

.egg-contact-form__field textarea {
  resize: vertical;
  min-height: 6rem;
}

.egg-contact-form__submit {
  justify-self: start;
  margin-top: 0.15rem;
}

.egg-contact-form__status {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--purple-800, #5b21b6);
}

.egg-contact-form__status[hidden] {
  display: none !important;
}

.egg-contact-faq details {
  margin-bottom: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.egg-contact-faq summary {
  cursor: pointer;
  font-weight: 600;
}

.egg-expansion-country {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(109, 40, 217, 0.12);
}

.egg-expansion-country__prompt {
  margin: 0 0 0.65rem;
  font-weight: 600;
  color: #3f3558;
}

.egg-expansion-country__form {
  display: grid;
  gap: 0.65rem;
  max-width: 28rem;
}

.egg-expansion-country__field {
  display: grid;
  gap: 0.35rem;
}

.egg-expansion-country__label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #3f3558;
}

.egg-expansion-country__field input {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  border: 1px solid rgba(109, 40, 217, 0.22);
  font: inherit;
  color: #2f2740;
  background: #fff;
}

.egg-expansion-country__field input:focus {
  outline: 2px solid rgba(109, 40, 217, 0.35);
  outline-offset: 1px;
}

.egg-expansion-country__submit {
  justify-self: start;
}

.egg-expansion-country__status {
  margin: 0;
  font-size: 0.9rem;
  color: #558b2f;
}

.egg-expansion-country__status[hidden] {
  display: none !important;
}

.egg-expansion-country__status.is-error {
  color: #c62828;
}

.egg-expansion-country__cloud {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.55rem 0.85rem;
  margin-top: 1rem;
  padding: 0.85rem 0.65rem;
  min-height: 3.5rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px dashed rgba(109, 40, 217, 0.18);
}

.egg-expansion-country__cloud[hidden] {
  display: none !important;
}

.egg-expansion-country__cloud-word {
  display: inline-block;
  line-height: 1.1;
  font-weight: 700;
  color: #5e35b1;
  transition: transform 0.2s ease;
}

.egg-expansion-country__cloud-word:hover {
  transform: scale(1.04);
}
