
/* =======================
   AUTH MODAL OVERLAY
======================= */
.auth-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}

/* =======================
   AUTH BOX (MAIN CARD)
======================= */
.auth-box {
  background: #ffffff;
  width: 100%;
  max-width: 420px;
  padding: 28px 26px;
  border-radius: 14px;
  position: relative;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  animation: authPop 0.25s ease;
}

/* =======================
   CLOSE BUTTON
======================= */
.auth-close {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 22px;
  cursor: pointer;
}

/* =======================
   TEXT
======================= */
.auth-box h2 {
  margin-bottom: 6px;
}

.auth-box p {
  font-size: 14px;
  color: #666;
  margin-bottom: 18px;
}

.auth-box small {
  display: block;
  margin-top: 14px;
  font-size: 12px;
  color: #777;
}

/* =======================
   FORM
======================= */
.auth-box form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.auth-box input,
.auth-box select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  background: #fff;
}

.auth-box input:focus,
.auth-box select:focus {
  border-color: #caa34d;
}

/* =======================
   BUTTON
======================= */
.auth-box button {
  padding: 12px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  cursor: pointer;
}

.auth-box button:hover {
  background: #caa34d;
  color: #000;
}

/* =======================
   ANIMATION
======================= */
@keyframes authPop {
  from {
    transform: scale(0.92);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* =======================
   MOBILE
======================= */
@media (max-width: 480px) {
  .auth-box {
    margin: 0 14px;
    padding: 22px;
  }
}
