
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", system-ui, sans-serif;

  background: linear-gradient(135deg, #e0f2fe, #f8fafc);

  height: 100vh;
}


body::before {
  content: "";
  position: fixed;
  inset: 0;

  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);

  z-index: 0;
}


.auth-container {
  position: relative;
  z-index: 1;

  display: flex;
  justify-content: center;
  align-items: center;

  min-height: 100vh;
  padding: 40px 15px;
}

.auth-card {
  width: 100%;
  max-width: 520px;

  background: rgba(255, 255, 255, 0.95);
  border-radius: 18px;

  padding: 30px 35px;

  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);

  animation: fadeIn 0.4s ease-in-out;
}


.auth-card h1 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #0f172a;
}


.auth-subtitle {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 20px;
}



#register-form {
  display: flex;
  flex-direction: column;
  gap: 14px;

  max-height: 65vh;
  overflow-y: auto;
  padding-right: 6px;

  scroll-behavior: smooth;
}


#register-form::-webkit-scrollbar {
  width: 4px;
}

#register-form::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}


.auth-card input,
.auth-card textarea {
  width: 100%;
  padding: 12px 14px;

  border: 1px solid #e2e8f0;
  border-radius: 10px;

  font-size: 14px;

  outline: none;
  transition: all 0.2s ease;
  background: white;
}

.auth-card input:focus,
.auth-card textarea:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}


.auth-card textarea {
  min-height: 90px;
  resize: none;
}

.auth-card button {
  width: 100%;
  padding: 12px;

  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: white;

  border: none;
  border-radius: 10px;

  font-weight: 600;
  cursor: pointer;

  transition: all 0.2s ease;
}

.auth-card button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

.auth-link {
  margin-top: 15px;
  text-align: center;
  font-size: 13px;
}

.auth-link a {
  color: #3b82f6;
  text-decoration: none;
}

.auth-link a:hover {
  text-decoration: underline;
}


#register-message {
  margin-top: 10px;
  text-align: center;
  font-size: 13px;
  color: red;
}


@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}