*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: url('../img/stock-exchange-6699421_1280.jpg') center/cover no-repeat fixed;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, rgba(8, 20, 35, 0.88) 0%, rgba(14, 42, 66, 0.82) 50%, rgba(8, 28, 48, 0.90) 100%);
  backdrop-filter: blur(2px);
}

.login-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.login-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.login-brand img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid rgba(100, 200, 255, 0.35);
  box-shadow: 0 0 24px rgba(30, 120, 200, 0.4);
  object-fit: cover;
}

.login-brand h1 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #e8f4ff;
  text-transform: uppercase;
}

.login-brand p {
  font-size: 12px;
  color: rgba(160, 210, 255, 0.6);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

#loginBox {
  width: 360px;
  padding: 36px 32px;
  background: rgba(12, 28, 48, 0.72);
  border: 1px solid rgba(80, 160, 230, 0.18);
  border-radius: 16px;
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
}

.form-title {
  font-size: 14px;
  font-weight: 500;
  color: rgba(160, 210, 255, 0.55);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 28px;
  text-align: center;
}

.form-group {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(140, 195, 245, 0.7);
}

.input-field {
  width: 100%;
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(80, 160, 230, 0.22);
  border-radius: 8px;
  color: #e8f4ff;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.input-field::placeholder {
  color: rgba(160, 210, 255, 0.25);
}

.input-field:focus {
  border-color: rgba(80, 170, 255, 0.55);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 0 0 3px rgba(50, 140, 230, 0.12);
}

.btn-login {
  width: 100%;
  margin-top: 10px;
  padding: 12px;
  background: linear-gradient(135deg, #1565c0, #1e88e5);
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(21, 101, 192, 0.45);
}

.btn-login:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(21, 101, 192, 0.6);
}

.btn-login:active {
  transform: translateY(0);
  opacity: 1;
}

.error {
  color: #ff6b6b;
  font-size: 12px;
  margin-top: 2px;
}

.login-footer {
  font-size: 11px;
  color: rgba(120, 170, 220, 0.4);
  letter-spacing: 0.06em;
}
