/* Publish Type Selection (Free / Premium) modal shown right before publish. */

.publish-type-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}
.publish-type-modal.is-open {
  display: block;
}
.publish-type-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgba(15, 23, 42, 0.55);
  cursor: pointer;
}
.publish-type-dialog {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(420px, 92vw);
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}
.publish-type-dialog header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.publish-type-dialog header h3 {
  margin: 0;
  font-size: 17px;
  padding: 0;
  background: transparent !important;
  color: #17212b;
  box-shadow: none;
}
.publish-type-close {
  border: 0;
  background: transparent;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
}
.publish-type-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.publish-type-option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  border: 2px solid var(--green);
  border-radius: 11px;
  padding: 14px;
  background: var(--green);
  color: #fff;
  cursor: pointer;
  text-align: right;
}
.publish-type-option:hover {
  background: color-mix(in srgb, var(--green) 88%, #000);
}
.publish-type-option b {
  font-size: 15px;
  color: #fff;
}
.publish-type-option span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.88);
}
.publish-type-placeholder {
  text-align: center;
  padding: 10px 0;
}
.publish-type-back {
  margin-top: 12px;
  border: 1px solid #ccc;
  border-radius: 9px;
  background: #fff;
  padding: 8px 18px;
  cursor: pointer;
}
body.publish-type-modal-open {
  overflow: hidden;
}
