.fyule-portal-theme {
  --fyule-purple: #4a1d8a;
  --fyule-purple-deep: #2f0f5c;
  --fyule-lime: #c8f000;
}

.fyule-portal-theme.snot-admin,
.fyule-portal-theme.admin-login-page {
  font-family: "DM Sans", system-ui, sans-serif;
}

.fyule-portal-theme .snot-admin__bg {
  background:
    radial-gradient(ellipse 70% 45% at 0% 0%, rgba(200, 240, 0, 0.16), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(74, 29, 138, 0.25), transparent 50%),
    linear-gradient(180deg, #efe8f8, #f7f4fb) !important;
}

.fyule-portal-theme .snot-admin__brand strong,
.fyule-portal-theme .snot-admin__hero h1,
.fyule-portal-theme .admin-login-brand strong,
.fyule-portal-theme .admin-login-card h1 {
  font-family: "Syne", system-ui, sans-serif;
  color: var(--fyule-purple-deep);
}

.fyule-portal-theme .snot-admin__eyebrow {
  color: var(--fyule-purple);
}

.fyule-portal-theme .snot-admin__btn--primary,
.fyule-portal-theme .admin-login-btn {
  background: linear-gradient(135deg, #2f0f5c, #5b2aa6) !important;
  border-color: transparent !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.fyule-portal-theme .snot-admin__stat {
  border-top: 3px solid var(--fyule-purple);
}

.fyule-portal-theme .fyule-status {
  display: inline-flex;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.fyule-portal-theme .fyule-status--paid {
  background: rgba(200, 240, 0, 0.3);
  color: #3d4d00;
}

.fyule-portal-theme .fyule-status--created {
  background: rgba(74, 29, 138, 0.12);
  color: var(--fyule-purple);
}

.fyule-portal-theme .fyule-status--failed {
  background: rgba(180, 35, 24, 0.12);
  color: #b42318;
}

.fyule-portal-theme .fyule-honeypot {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.fyule-portal-theme .snot-admin__pager {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 1rem 0 0;
}

.fyule-portal-theme .fyule-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

.fyule-portal-theme .fyule-edit-grades {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.35rem;
  margin-top: 0.35rem;
}

.fyule-portal-theme .snot-admin__field legend {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-muted, #5c4a6e);
  padding: 0;
  margin-bottom: 0.25rem;
}

.fyule-portal-theme fieldset.snot-admin__field {
  border: none;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.fyule-portal-theme .snot-admin__split-panel {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fyule-portal-theme .snot-admin__btn--editor {
  background: linear-gradient(135deg, #2f0f5c, #5b2aa6);
  color: #fff;
  border-color: transparent;
}

.fyule-portal-theme .snot-admin__period.is-active {
  background: var(--fyule-purple-deep, #2f0f5c);
  color: #fff;
  border-color: transparent;
}

.fyule-portal-theme .snot-admin__bar-fill--studyn {
  background: linear-gradient(90deg, #4a1d8a, #c8f000);
}

@media (max-width: 900px) {
  .fyule-portal-theme .snot-admin__split-panel {
    grid-template-columns: 1fr;
  }
}
