body.donasiwp-auth-page {
  background: #edf1f7;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  min-height: 100vh;
}

.dw-auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
  position: relative;
  overflow: hidden;
}

.dw-auth-page::before,
.dw-auth-page::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 52% 48% 42% 58% / 55% 44% 56% 45%;
  opacity: 0.45;
  z-index: 0;
}

.dw-auth-page::before {
  top: -20px;
  right: -40px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 164, 123, 0.55), rgba(255, 164, 123, 0) 60%);
}

.dw-auth-page::after {
  bottom: -60px;
  left: -30px;
  background: radial-gradient(circle at 60% 40%, rgba(135, 172, 255, 0.33), rgba(135, 172, 255, 0) 60%);
}

.dw-auth-frame {
  width: 100%;
  max-width: 420px;
  position: relative;
  z-index: 1;
}

.dw-auth-card {
  background: #ffffff;
  border-radius: 32px;
  padding: 44px 36px 32px;
  box-shadow: 0 35px 70px rgba(28, 35, 53, 0.18);
  position: relative;
  overflow: hidden;
}

.dw-auth-card::before,
.dw-auth-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  opacity: 0.6;
  z-index: 0;
}

.dw-auth-card::before {
  top: -60px;
  right: -40px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 210, 170, 0.6), rgba(255, 210, 170, 0) 65%);
}

.dw-auth-card::after {
  bottom: -70px;
  left: -40px;
  background: radial-gradient(circle at 60% 40%, rgba(135, 172, 255, 0.45), rgba(135, 172, 255, 0) 65%);
}

.dw-auth-brand {
  margin: 0 auto;
  width: 90px;
  height: 90px;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid var(--dw-theme-border, #e5e9f3);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.12);
}

.dw-auth-brand img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
}

.dw-auth-brand::before {
  content: none;
}

.dw-auth-brand::after {
  content: none;
}

.dw-auth-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  z-index: 1;
}

.dw-auth-title {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  color: #111f3c;
}

.dw-auth-sub {
  margin: 0;
  color: #6d7b95;
  font-size: 16px;
  line-height: 1.5;
}

.dw-auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dw-auth-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: #6c7b9a;
}

.dw-auth-field span {
  font-size: 14px;
  font-weight: 500;
  color: #4f5e7b;
}

.dw-auth-field input {
  border-radius: 14px;
  border: 1px solid #e5e9f3;
  background: #fbfbfb;
  padding: 14px 16px;
  font-size: 15px;
  color: #1b2a3d;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.dw-auth-field input:focus {
  outline: none;
  border-color: var(--dw-theme, #12a55c);
  box-shadow: 0 0 0 3px rgba(var(--dw-theme-rgb, 18, 165, 92), 0.25);
}

.dw-auth-checkbox input {
  accent-color: var(--dw-theme, #12a55c);
}

.dw-auth-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 16px;
  padding: 16px 0;
  font-size: 17px;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  cursor: pointer;
  background: var(--dw-theme, #12a24e) !important;
  box-shadow: 0 18px 35px rgba(var(--dw-theme-rgb, 18, 162, 78), 0.35);
  transition: transform 0.2s ease;
}

.dw-auth-btn:hover {
  transform: translateY(-1px);
}

.dw-auth-footer {
  text-align: center;
  font-size: 15px;
  margin-top: 4px;
}

.dw-auth-footer a {
  color: var(--dw-theme, #0f9b4f) !important;
  font-weight: 600;
  text-decoration: none;
}

.dw-auth-footer a:hover {
  text-decoration: underline;
}

.dw-auth-alert {
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.4;
}

.dw-auth-alert.success {
  background: #e6fff4;
  color: #1e7a5c;
  border: 1px solid rgba(30, 122, 92, 0.3);
}

.dw-auth-alert.error {
  background: #fff0f0;
  color: #972b2b;
  border: 1px solid rgba(151, 43, 43, 0.3);
}

.dw-auth-powered {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  color: #9aa3b4;
  margin-top: 12px;
}

.dw-auth-powered img {
  width: 24px;
  height: auto;
}

@media (max-width: 540px) {
  .dw-auth-card {
    padding: 32px 24px;
  }

  .dw-auth-title {
    font-size: 28px;
  }
}
