/* Takıma Katıl pop-up — dikey form kartı */

.join-popup {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.join-popup.is-open {
  display: flex;
}

.join-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.84);
  backdrop-filter: blur(6px);
}

.join-popup__dialog {
  position: relative;
  width: min(600px, 100%);
  height: min(860px, 92vh);
  background: transparent;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.join-popup__dialog iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #eef1f6;
}

.join-popup__close {
  position: absolute;
  right: 14px;
  top: 12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #e30613;
  color: #ffffff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.join-popup__close:hover {
  transform: scale(1.05);
  background: #c00510;
}

body.join-popup-open {
  overflow: hidden;
}

@media (max-width: 600px) {
  .join-popup {
    padding: 0;
  }

  .join-popup__dialog {
    width: 100%;
    height: 100vh;
    border-radius: 0;
    box-shadow: none;
  }

  .join-popup__close {
    right: 12px;
    top: 10px;
  }
}
