@import url("auth-split.css");

/* Forgot password link duplicated styles kept minimal — layout lives in auth-split */

.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(17, 24, 39, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.modal.show {
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: rgba(255, 255, 255, 0.98);
  padding: 26px;
  border-radius: var(--radius, 16px);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.35);
  width: 90%;
  max-width: 480px;
  position: relative;
  border: 1px solid var(--border);
}

.close-modal {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 26px;
  font-weight: 400;
  color: #6b7280;
  cursor: pointer;
  line-height: 1;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: none;
  background: transparent;
}

.close-modal:hover {
  color: #111827;
  background: rgba(17, 24, 39, 0.06);
}

.modal-content h2 {
  margin-bottom: 15px;
  margin-top: 0;
  color: var(--text);
}

.modal-content p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 25px;
  line-height: 1.7;
}

.modal-content label {
  display: block;
  margin-top: 14px;
  margin-bottom: 8px;
  color: var(--muted);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.modal-content input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 14px;
  background: #fff;
  color: var(--text);
  outline: none;
}

.modal-content input:focus {
  border-color: #c7d2fe;
  box-shadow: 0 0 0 4px rgba(93, 95, 239, 0.12);
}

.modal-content button[type="submit"] {
  width: 100%;
  margin-top: 14px;
  background: linear-gradient(135deg, var(--primary), #6366f1);
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: 12px 16px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(93, 95, 239, 0.25);
}

.modal-content #resetStatus {
  margin-top: 15px;
  padding: 14px;
  border-radius: 10px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  min-height: 20px;
  color: var(--text);
}

.modal-content #resetStatus:not(:empty) {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.modal-content #resetStatus.error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}
