/* ============================================
   Sound Technologies - Client Login
   Mobile-first
   ============================================ */

.st-login {
  background: linear-gradient(160deg, #0a1654 0%, var(--st-navy) 35%, var(--st-blue) 100%);
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 20px;
  position: relative;
}

.st-login::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 50% 30%, rgba(76, 175, 130, 0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 70%, rgba(33, 95, 154, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

.st-login-card {
  width: 100%;
  max-width: 440px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 40px 32px;
  position: relative;
  z-index: 1;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.st-login-logo {
  display: block;
  margin: 0 auto 32px;
  height: 44px;
  width: auto;
}

.st-login-card h1 {
  font-family: var(--st-font);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--st-white);
  text-align: center;
  margin-bottom: 8px;
}

/* Override the green heading underline for centred alignment */
.st-login-card h1::after {
  margin-left: auto;
  margin-right: auto;
}

.st-login-subtitle {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  margin-bottom: 32px;
}

/* --- Form Fields --- */
.st-login-group {
  margin-bottom: 20px;
}

.st-login-label {
  display: block;
  font-family: var(--st-font);
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 6px;
}

.st-login-input {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--st-font);
  font-size: 0.95rem;
  color: var(--st-white);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.st-login-input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.st-login-input:focus {
  border-color: var(--st-green);
  box-shadow: 0 0 0 3px rgba(76, 175, 130, 0.15);
  background: rgba(255, 255, 255, 0.09);
}

/* --- Submit --- */
.st-login-submit {
  width: 100%;
  padding: 14px;
  margin-top: 8px;
  font-family: var(--st-font);
  font-size: 15px;
  font-weight: 600;
  color: var(--st-white);
  background: var(--st-green);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
  letter-spacing: 0.02em;
}

.st-login-submit:hover {
  background: var(--st-green-hover);
  transform: translateY(-1px);
}

/* --- Footer link --- */
.st-login-footer {
  text-align: center;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.st-login-footer a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color 0.2s ease;
}

.st-login-footer a:hover {
  color: var(--st-white);
}

/* Tablet */
@media (min-width: 600px) {
  .st-login {
    padding: 60px 30px;
  }

  .st-login-card {
    padding: 48px 40px;
  }
}

/* Desktop */
@media (min-width: 960px) {
  .st-login-card {
    padding: 56px 48px;
  }

  .st-login-card h1 {
    font-size: 1.65rem;
  }
}
