﻿.edu-poster-button {
  cursor: pointer;
}

.edu-poster-modal[hidden] {
  display: none;
}

.edu-poster-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(17, 21, 28, 0.42);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.edu-poster-dialog {
  width: min(1080px, 94vw);
  max-height: 92vh;
  display: grid;
  grid-template-columns: minmax(300px, 420px) minmax(280px, 1fr);
  gap: 22px;
  padding: 22px;
  border: 1px solid rgba(216, 221, 230, 0.86);
  border-radius: 28px;
  background:
    radial-gradient(circle at 8% 0%, rgba(242, 78, 130, 0.12), transparent 34%),
    radial-gradient(circle at 95% 10%, rgba(139, 92, 246, 0.14), transparent 32%),
    rgba(255, 255, 255, 0.98);
  box-shadow: 0 34px 96px rgba(17, 21, 28, 0.22);
}

.edu-poster-preview {
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(216, 221, 230, 0.78);
}

.edu-poster-canvas {
  width: min(360px, 76vw);
  height: auto;
  max-height: 76vh;
  border-radius: 18px;
  box-shadow: 0 22px 54px rgba(17, 21, 28, 0.18);
}

.edu-poster-side {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 10px 8px 8px;
}

.edu-poster-side span {
  color: #8b5cf6;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.edu-poster-side h2 {
  margin: 16px 0 0;
  color: #111827;
  font-size: 30px;
  line-height: 1.14;
  letter-spacing: -0.04em;
}

.edu-poster-side p {
  margin: 14px 0 0;
  color: #667084;
  font-size: 14px;
  line-height: 1.8;
}

.edu-poster-side ul {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.edu-poster-side li {
  padding: 12px 14px;
  border: 1px solid rgba(216, 221, 230, 0.78);
  border-radius: 16px;
  color: #4c5668;
  background: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 400;
}

.edu-poster-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
  padding-top: 24px;
}

.edu-poster-action {
  min-height: 42px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(216, 221, 230, 0.9);
  background: rgba(255, 255, 255, 0.78);
  color: #111827;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
}

.edu-poster-action[data-website-i18n="site.eduSharePoster.saveButton"],
.edu-poster-action[data-website-i18n="site.eduSharePoster.closeButton"] {
  font-weight: 400;
}

.edu-poster-action.primary {
  -webkit-appearance: none;
  appearance: none;
  border: 0;
  color: #ffffff;
  background: linear-gradient(120deg, #f24e82, #8b5cf6, #245fdb);
  box-shadow: none;
}

@media (max-width: 860px) {
  .edu-poster-dialog {
    grid-template-columns: 1fr;
    overflow: auto;
  }

  .edu-poster-side h2 {
    font-size: 24px;
  }

  .edu-poster-actions {
    margin-top: 0;
  }
}
