body.mojebjj-login-page {
  background: #f3f6fb;
}

body.mojebjj-login-page .site,
body.mojebjj-login-page .site-main,
body.mojebjj-login-page .entry-content,
body.mojebjj-login-page .wp-block-shortcode {
  background: transparent;
}

body.mojebjj-login-page .entry-content > *:last-child {
  margin-bottom: 0;
}

.mojebjj-app-logo-wrap {
  display: flex;
  justify-content: center;
  margin: 20px 0 16px;
}

.mojebjj-app-logo {
  width: min(180px, 52vw);
  max-width: 180px;
  height: auto;
  display: block;
}

.mojebjj-card {
  max-width: 460px;
  margin: 0 auto 20px;
  background: #ffffff;
  border: 1px solid #dbe3ef;
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
  padding: 24px;
  box-sizing: border-box;
}

.mojebjj-form-wrap h2,
.mojebjj-card h2 {
  margin: 0 0 18px;
}

.mojebjj-login-card h2 {
  text-align: center;
  font-size: 28px;
  line-height: 1.2;
}

.mojebjj-form {
  display: block;
}

.mojebjj-form label {
  display: block;
  font-weight: 700;
  margin: 0 0 8px;
  color: #0f172a;
}

.mojebjj-form input[type="text"],
.mojebjj-form input[type="email"],
.mojebjj-form input[type="password"] {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 14px 16px;
  margin: 0 0 16px;
  background: #ffffff;
  font-size: 16px;
  line-height: 1.3;
  color: #0f172a;
  appearance: none;
  -webkit-appearance: none;
}

.mojebjj-form input[type="text"]:focus,
.mojebjj-form input[type="email"]:focus,
.mojebjj-form input[type="password"]:focus {
  outline: 0;
  border-color: #0f2f6d;
  box-shadow: 0 0 0 3px rgba(15, 47, 109, 0.14);
}

.mojebjj-checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 6px 0 18px;
}

.mojebjj-checkboxes label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-weight: 500;
}

.mojebjj-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 12px;
  background: #111827;
  color: #ffffff;
  font-weight: 800;
  font-size: 16px;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.mojebjj-button:hover,
.mojebjj-button:focus {
  opacity: 0.96;
}

.mojebjj-button-secondary {
  background: #475569;
}

.mojebjj-alert {
  max-width: 460px;
  margin: 0 auto 16px;
  border-radius: 14px;
  padding: 14px 16px;
  font-weight: 700;
  box-sizing: border-box;
}

.mojebjj-alert-success {
  background: #ecfdf5;
  border: 1px solid #86efac;
  color: #166534;
}

.mojebjj-alert-error {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #991b1b;
}

.mojebjj-muted {
  color: #64748b;
  margin: 16px 0 0;
  text-align: center;
}

.mojebjj-muted a {
  color: #0f2f6d;
  font-weight: 700;
}

.mojebjj-cookie-banner {
  position: sticky;
  bottom: 12px;
  z-index: 20;
  max-width: 560px;
  margin: 18px auto 0;
  padding: 0 4px;
}

.mojebjj-cookie-banner__content {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: rgba(15, 23, 42, 0.96);
  color: #ffffff;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.28);
}

.mojebjj-cookie-banner__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.mojebjj-cookie-banner__text a,
.mojebjj-cookie-banner__policy {
  color: #bfdbfe;
}

.mojebjj-cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.mojebjj-cookie-banner__actions .mojebjj-button {
  width: auto;
  min-width: 140px;
  padding: 0 18px;
}

.mojebjj-cookie-banner__policy {
  font-weight: 700;
}

@media (max-width: 640px) {
  .mojebjj-card {
    padding: 20px;
    border-radius: 16px;
  }

  .mojebjj-login-card h2 {
    font-size: 24px;
  }

  .mojebjj-cookie-banner {
    bottom: 8px;
  }

  .mojebjj-cookie-banner__content {
    border-radius: 16px;
    padding: 16px;
  }

  .mojebjj-cookie-banner__actions {
    align-items: stretch;
  }

  .mojebjj-cookie-banner__actions .mojebjj-button,
  .mojebjj-cookie-banner__policy {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}
