html {
  font-size: 14px;
  position: relative;
  min-height: 100%;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.publio-toast-container {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 1080;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: min(360px, calc(100vw - 24px));
}

.publio-toast {
  background: rgba(21, 26, 35, 0.94);
  color: #fff;
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.12);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.publio-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.publio-toast-title {
  font-weight: 700;
  margin-bottom: 4px;
}

.publio-toast-body {
  font-size: 0.95rem;
  line-height: 1.4;
}

.publio-share-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(12, 16, 24, 0.38);
}

.publio-share-menu-backdrop[hidden] {
  display: none;
}

.publio-share-menu-panel {
  position: relative;
  width: min(360px, calc(100vw - 36px));
  border-radius: 12px;
  padding: 18px;
  background: #fff;
  color: #151a23;
  border: 1px solid rgba(113, 177, 235, 0.42);
  box-shadow: 0 24px 60px rgba(12, 16, 24, 0.26);
}

.publio-share-menu-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #eef7ff;
  color: #151a23;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.publio-share-menu-close-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.publio-share-menu-title {
  padding-right: 42px;
  font-size: 1.15rem;
  font-weight: 800;
}

.publio-share-menu-subtitle {
  margin-top: 4px;
  margin-bottom: 16px;
  padding-right: 42px;
  color: #637083;
  font-size: 0.92rem;
  line-height: 1.35;
}

.publio-share-menu-action {
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  margin-top: 8px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #eef7ff;
  color: #151a23;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.publio-share-menu-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  fill: var(--publio-color, #71B1EB);
}

.publio-share-menu-action:hover,
.publio-share-menu-action:focus-visible,
.publio-share-menu-close:hover,
.publio-share-menu-close:focus-visible {
  background: #dff0fd;
  outline: none;
}

@media (max-width: 575px) {
  .publio-share-menu-backdrop {
    align-items: flex-end;
    padding: 0;
  }

  .publio-share-menu-panel {
    width: 100%;
    border-radius: 14px 14px 0 0;
  }
}
