/* ===== BACKDROP ===== */
.login-modal-bg {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}

/* ===== MODAL ===== */
.login-modal {
  background: #fff;
  border-radius: 18px;
  padding: 26px 24px 22px;
  max-width: 460px;
  width: calc(100% - 36px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.25);
  text-align: center;
  animation: fadeIn 0.18s ease-out;
  font-family: Inter, sans-serif;
}

.login-modal h3 {
  margin: 0 0 12px;
  font-size: 22px;
  font-family: "Playfair Display", serif;
  color: #BFAF92;
}

.login-modal p {
  margin: 0 0 18px;
  font-size: 15px;
  color: #555;
  line-height: 1.45;
}

.login-modal .row {
  display: flex;
  justify-content: center;
  margin-top: 12px;
  gap: 10px;
  flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.login-btn {
  background: #BFAF92;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

.login-btn-secondary {
  background: #f1eee8;
  color: #444;
}

.login-modal input {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 10px;
  font-size: 15px;
  border-radius: 8px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

.login-modal .forgot-link {
  margin-top: 4px;
  font-size: 13px;
  color: #bfa171;
  cursor: pointer;
  text-align: right;
}

.login-modal .forgot-link:hover {
  text-decoration: underline;
}

/* Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(.93); }
  to { opacity: 1; transform: scale(1); }
}
