@font-face {
  font-family: 'font';
  src: url(font/TTFirsNeueTrialRegular.ttf);
}

body {
  font-family: 'font';
  margin: 0;
  background: linear-gradient(135deg, #f8bbd0, #f48fb1, #f06292);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  padding: 40px 20px;
  box-sizing: border-box;
}


.auth-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.auth-card {
  position: relative;
  background: #fff;
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  width: 100%;
  max-width: 400px;
  text-align: center;
}

.auth-card h2 {
  color: #e91e63;
  margin-bottom: 20px;
}

.back-btn {
  margin: 20px 0 0 10px;
  position: absolute;
  top: 10px;
  left: 10px;
  background: transparent;
  color: #e91e63;
  border: 2px solid #e91e63;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: bold;
  cursor: pointer;
}

.back-btn:hover {
  background: #e91e63;
  color: #fff;
}

.auth-logo {
  width: 120px;
  margin-bottom: 20px;
  border-radius: 10px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.auth-form input {
  padding: 12px;
  border-radius: 15px;
  border: 1px solid #ddd;
  background: #f8f8f8;
  font-size: 1rem;
}

.auth-form button {
  background: #e91e63;
  color: #fff;
  padding: 12px;
  border: none;
  border-radius: 15px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.auth-form button:hover {
  background: #d81b60;
}

.switch {
  font-size: 0.9rem;
  color: #555;
}

.switch a {
  color: #e91e63;
  text-decoration: none;
  font-weight: bold;
}

.switch a:hover {
  text-decoration: underline;
}

.show-password {
  display: block;
  font-size: 0.85rem;
  margin: 0 0 0 5px;
  color: #333;
  text-align: right;
}

.show-password input[type="checkbox"] {
  margin-right: 6px;
}

/* Terms Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background: #fff;
  margin: 10% auto;
  padding: 20px;
  border-radius: 15px;
  width: 80%;
  max-width: 500px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.modal-content h3 {
  margin-bottom: 15px;
  color: #e91e63;
}

.modal-content p {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 20px;
}

.modal-content button {
  background: #e91e63;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: bold;
}

.modal-content button:hover {
  background: #d81b60;
}

.close {
  float: right;
  font-size: 22px;
  cursor: pointer;
}

.terms-scroll {
  margin: 20px;
  max-height: 300px;
  overflow-y: auto;
  text-align: left;
  padding-right: 10px;
}

.terms-scroll p {
  white-space: pre-line;
}

.accept-button {
  text-align: center;
}

/* Forgot Password */
.forgot {
  font-size: 0.9rem;
  margin-top: -10px;
}

.forgot a {
  color: #e91e63;
  text-decoration: none;
  font-weight: bold;
}

.forgot a:hover {
  text-decoration: underline;
}