﻿/* yapilacaklar: modal.css — kayıt formunun açıldığı pencere */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6);
}

.modal[hidden] {
  display: none;
}

.modal-kutu {
  width: 100%;
  max-width: 660px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 18px;
  background: var(--zemin);
  border: 1px solid var(--cizgi-belirgin);
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-ust {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.modal-ust h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: 1.8rem;
}

.modal-kapat {
  padding: 6px 10px;
  background: none;
  border: none;
  border-radius: 8px;
  color: var(--soluk);
  font-size: 1.2rem;
  cursor: pointer;
}

.modal-kapat:hover {
  background: var(--vurgu-halka);
  color: var(--yazi);
}

.modal .giris {
  max-width: none;
  margin: 0;
}

body.modal-acik {
  overflow: hidden;
}
