:root {
  --background: #18181d;
  --surface: #232329;
  --dark-shadow: #0c0c0f;
  --light-shadow: #35353e;
  --red: #ef3d57;
  --muted: #96969f;
}

body {
  min-height: 100vh;
  color: white;
  background: radial-gradient(circle at 50% 15%, rgba(239, 61, 87, 0.17), transparent 30%), var(--background);
  font-family: Arial, sans-serif;
}

.auth-page {
  position: relative;
  overflow: hidden;
}

.auth-page::before,
.auth-page::after {
  content: "";
  position: fixed;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.auth-page::before {
  top: -100px;
  right: -80px;
  background: rgba(239, 61, 87, 0.12);
}

.auth-page::after {
  bottom: -120px;
  left: -80px;
  background: rgba(106, 64, 180, 0.1);
}

.login-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  background: linear-gradient(145deg, #27272e, #1f1f24);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 28px;
  box-shadow: 18px 18px 38px var(--dark-shadow), -12px -12px 28px var(--light-shadow);
}

.brand-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  padding-left: 4px;
  background: linear-gradient(145deg, #ff4d68, #c7253d);
  border-radius: 20px;
  box-shadow: 8px 8px 17px #111115, -6px -6px 14px #3b3b44;
  font-size: 24px;
}

.auth-logo {
  display: block;
  width: 125px;
  height: auto;
  margin: -10px auto -4px;
  object-fit: contain;
  filter: drop-shadow(0 12px 12px rgba(0, 0, 0, 0.5));
}

.brand-label {
  color: #ff667c;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 1.8px;
}

.text-secondary {
  color: var(--muted) !important;
}

.form-label {
  color: #d7d7dc;
  font-size: 14px;
}

.form-control {
  min-height: 46px;
  padding-left: 16px;
  color: white;
  background-color: #1d1d22;
  border: 0;
  border-radius: 14px;
  box-shadow: inset 5px 5px 10px #101013, inset -5px -5px 10px #303038;
}

.form-control:focus {
  color: white;
  background-color: #1d1d22;
  box-shadow: inset 5px 5px 10px #101013, inset -5px -5px 10px #303038, 0 0 0 3px rgba(239, 61, 87, 0.2);
}

.form-control::placeholder {
  color: #74747d;
}

.password-box {
  position: relative;
}

.password-box .form-control {
  padding-right: 70px;
}

.show-password {
  position: absolute;
  top: 50%;
  right: 14px;
  color: #ff7185;
  background: transparent;
  border: 0;
  transform: translateY(-50%);
  font-size: 13px;
  font-weight: bold;
}

.login-button {
  min-height: 46px;
  color: white;
  background: linear-gradient(145deg, #ff4d68, #c7253d);
  border: 0;
  border-radius: 14px;
  box-shadow: 7px 7px 15px #101013, -5px -5px 12px #393942;
}

.login-button:hover,
.login-button:focus {
  color: white;
  background: linear-gradient(145deg, #d72f48, #ff4964);
  transform: translateY(-2px);
}

.secure-badge {
  display: inline-block;
  padding: 7px 12px;
  color: #ff8b9b;
  background-color: #2a2024;
  border-radius: 20px;
  box-shadow: inset 3px 3px 6px #171216, inset -3px -3px 6px #3d2d32;
  font-size: 11px;
}

.alert-danger {
  color: #ffb4bf;
  background-color: #3a1c23;
  border-color: #6e2a37;
  border-radius: 13px;
}

@media (max-width: 575px) {
  .login-card {
    border-radius: 22px;
    box-shadow: 10px 10px 24px var(--dark-shadow), -7px -7px 18px var(--light-shadow);
  }
}
