/* Giriş yoksa sayfa içeriği hiç görünmesin */
body.is-locked #pageContent {
  display: none !important;
}

/* Modal overlay (default gizli) */
.lock-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 999999;
}

/* Guest ise otomatik aç */
body.is-locked .lock-modal {
  display: block;
}

/* Arka plan */
.lock-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.6);
}

/* Modal kart ortada */
.lock-modal__card {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);

  width: 420px;
  max-width: calc(100% - 32px);
  background: #fff;
  border-radius: 16px;
  padding: 18px 18px 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}

/* Header */
.lock-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.lock-modal__header h3 {
  margin: 0;
  font-size: 18px;
}

.lock-modal__close {
  border: none;
  background: transparent;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

/* Body */
.lock-modal__body p {
  margin: 12px 0 0;
}

/* Buttons */
.lock-modal__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 16px;
}

.lock-btn {
  padding: 10px 16px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.lock-btn--primary {
  background: #2563eb;
  color: #fff;
}

.lock-btn--secondary {
  background: #f3f4f6;
  color: #111;
}
