body {
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  background:
    url('signinlogo.png') no-repeat center top,
    linear-gradient(180deg, #0037a7, #0089ff);
  background-size: 60px 68px, cover;
  background-position: center 60px, center;
}

/* FORM CONTAINER */
.login-container {
  background: #fff;
  padding: 30px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  width: 416px;
  height: auto;
}

/* REMOVE HIDDEN PASSWORD BEHAVIOUR — ALWAYS VISIBLE */
.password-section,
#password-container {
  opacity: 1 !important;
  visibility: visible !important;
  height: auto !important;
  overflow: visible !important;
}

/* HEADINGS */
h2 {
  margin-bottom: 45px;
  font-size: 20px;
  color: #606060;
  font-weight: 100;
}

/* INPUTS */
.form-group {
  position: relative;
  text-align: left;
  margin-bottom: 50px;
}

.form-group input {
  width: 100%;
  border: none;
  border-bottom: 1px solid #ccc;
  padding: 5px 0;
  font-size: 16px;
  outline: none;
  color: #333;
}

.form-group input:focus {
  border-bottom: 1px solid #007BFF;
}

.form-group label {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  font-size: 16px;
  color: #666;
  transition: all 0.3s ease;
  pointer-events: none;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label {
  top: -15px;
  font-size: 14px;
  color: #007BFF;
}

/* PASSWORD GROUP */
.form-group.password-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-group.password-group input {
  flex-grow: 1;
}

/* BUTTONS */
.buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.buttons button {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s ease;
  height: 35px;
}

.sign-in-btn {
  background: #0033aa;
  color: #fff;
  border: none;
}

.sign-in-btn:hover {
  background: #4c8dff;
}

.register-btn {
  background: transparent;
  color: #007BFF;
  border: 2px solid #007BFF;
}

.register-btn:hover {
  background: #007BFF;
  color: #fff;
}
.spinner {
  border: 6px solid #f3f3f3;
  border-top: 6px solid #3498db;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin-top: 10px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}