/* Login page design (scoped) */

.oe-login-page {
  min-height: auto;
  width: 100%;
  padding: 14px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at top left, rgba(67, 85, 255, 0.08), transparent 32%),
    radial-gradient(circle at bottom right, rgba(78, 115, 255, 0.08), transparent 34%),
    #f8faff;
  box-sizing: border-box;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.oe-login-card {
  width: 100%;
  max-width: 640px;
  padding: 28px 28px 24px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(219, 225, 240, 0.95);
  border-radius: 22px;
  box-shadow:
    0 24px 60px rgba(16, 24, 40, 0.10),
    0 4px 18px rgba(67, 85, 255, 0.06);
  box-sizing: border-box;
}

.oe-login-card h1 {
  margin: 0 0 10px;
  color: #090f2b;
  font-size: 27px;
  line-height: 1.08;
  font-weight: 850;
  letter-spacing: -0.04em;
}

.oe-login-desc {
  margin: 0 0 18px;
  color: #64708a;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 500;
}

.oe-login-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.oe-form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.oe-form-group label {
  color: #151a35;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 800;
}

.oe-input-wrap {
  height: 50px;
  display: flex;
  align-items: center;
  position: relative;
  border: 1.5px solid #d8deee;
  border-radius: 14px;
  background: #fff;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.oe-input-wrap:focus-within {
  border-color: #4355ff;
  box-shadow: 0 0 0 4px rgba(67, 85, 255, 0.12);
}

.oe-input-icon {
  width: 46px;
  height: 100%;
  display: grid;
  place-items: center;
  color: #808aa6;
  flex: 0 0 auto;
}

.oe-input-icon svg,
.oe-password-toggle svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.oe-input-wrap input {
  width: 100%;
  height: 100%;
  padding: 0 18px 0 0;
  border: 0;
  outline: none;
  background: transparent;
  color: #121832;
  font-size: 15px;
  font-weight: 500;
  box-sizing: border-box;
}

.oe-input-wrap input::placeholder {
  color: #9aa3ba;
}

.oe-password-toggle {
  width: 46px;
  height: 100%;
  border: 0;
  background: transparent;
  color: #808aa6;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
  flex: 0 0 auto;
}

.oe-password-toggle:hover {
  color: #4355ff;
}

.oe-remember {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #69738c;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  margin-top: -2px;
}

.oe-remember input {
  width: 18px;
  height: 18px;
  accent-color: #4355ff;
  cursor: pointer;
}

.oe-login-button {
  height: 50px;
  margin-top: 4px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #4355ff 0%, #3146f5 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(67, 85, 255, 0.25);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.oe-login-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(67, 85, 255, 0.30);
  filter: brightness(1.02);
}

.oe-login-button:active {
  transform: translateY(0);
}

.oe-google-login {
  width: 100%;
  height: 50px;
  border-radius: 14px;
  border: 1.5px solid #d8deee;
  background: #ffffff;
  color: #121832;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.oe-google-login:hover {
  transform: translateY(-1px);
  border-color: rgba(67, 85, 255, 0.35);
  box-shadow: 0 14px 28px rgba(16, 24, 40, 0.08);
}

.oe-google-login__icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
}

.oe-google-login__icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.oe-login-links {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr auto auto auto 1fr;
  align-items: center;
  gap: 18px;
  color: #6f7890;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.oe-login-links span {
  height: 1px;
  background: #dde3f0;
}

.oe-login-links a {
  color: #4355ff;
  font-weight: 800;
  text-decoration: none;
}

.oe-login-links a:hover {
  text-decoration: underline;
}

.oe-login-links p {
  margin: 0;
  color: #6f7890;
}

.oe-login-links b {
  color: #707b94;
  font-size: 18px;
}

@media (max-width: 720px) {
  .oe-login-page {
    padding: 20px 12px;
    align-items: flex-start;
  }

  .oe-login-card {
    max-width: 100%;
    padding: 22px 16px;
    border-radius: 16px;
  }

  .oe-login-card h1 {
    font-size: 26px;
  }

  .oe-login-desc {
    font-size: 14px;
    margin-bottom: 16px;
  }

  .oe-login-links {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .oe-login-links span,
  .oe-login-links b {
    display: none;
  }
}

