:root {
  --parky-mint: #13d4c6;
  --parky-mint-dark: #08a99d;
  --parky-black: #171717;
  --parky-text: #202124;
  --parky-muted: #6b7280;
  --parky-border: #e7e7e7;
  --parky-bg: #f2f2f2;
}

body {
  background: var(--parky-bg);
}

.parky-logo {
  display: inline-flex;
  width: 156px;
  height: 156px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
}

.parky-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.parky-logo--compact {
  width: 45px;
  height: 45px;
}

.parky-login {
  min-height: 100vh;
  color: var(--parky-text);
  background: #111;
}

.parky-login__hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 34%, rgba(19, 212, 198, 0.16), rgba(19, 212, 198, 0) 33%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.16) 48%, rgba(0, 0, 0, 0.46) 100%),
    url("/admin/theme/images/parky-login-bg.png");
  background-position: center;
  background-size: cover;
}

.parky-login__hero::after {
  position: absolute;
  inset: 0;
  content: '';
  background: rgba(0, 0, 0, 0.16);
  pointer-events: none;
}

.parky-login__card {
  position: relative;
  z-index: 1;
  width: min(460px, 100%);
  padding: 42px 42px 44px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.18));
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(26px) saturate(150%);
  -webkit-backdrop-filter: blur(26px) saturate(150%);
  display: flex;
  flex-direction: column;
}

.parky-login__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 34px;
  text-align: center;
}

.parky-login__logo {
  display: block;
  width: min(300px, 100%);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.22));
}

.parky-login__field {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 700;
}

.parky-login__field input {
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 4px;
  padding: 0 15px;
  background: rgba(255, 255, 255, 0.24);
  color: #fff;
  outline: none;
  font: inherit;
  font-weight: 500;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.parky-login__field input::placeholder {
  color: rgba(255, 255, 255, 0.68);
}

.parky-login__field input:focus {
  border-color: rgba(19, 212, 198, 0.92);
  background: rgba(255, 255, 255, 0.29);
  box-shadow:
    0 0 0 3px rgba(19, 212, 198, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.parky-login__button {
  position: relative;
  overflow: hidden;
  align-self: center;
  width: min(210px, 100%);
  height: 42px;
  margin-top: 10px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0) 42%),
    linear-gradient(135deg, #16efe1 0%, #12d4c6 44%, #08b7aa 100%);
  color: #111;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
  cursor: pointer;
  box-shadow:
    0 12px 28px rgba(19, 212, 198, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.62);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.parky-login__button::before {
  position: absolute;
  inset: 1px 1px auto;
  height: 48%;
  border-radius: 999px;
  content: '';
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.46), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.parky-login__button span {
  position: relative;
  z-index: 1;
}

.parky-login__button:hover {
  filter: saturate(1.08) brightness(1.03);
  transform: translateY(-1px);
  box-shadow:
    0 15px 32px rgba(19, 212, 198, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.parky-login__button:active {
  transform: translateY(0);
  box-shadow:
    0 8px 20px rgba(19, 212, 198, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.52);
}

[data-css='topbar'] {
  background: var(--parky-black) !important;
  border-bottom: 0 !important;
  color: #fff !important;
  overflow: visible !important;
}

.parky-topbar {
  width: 100%;
  height: 73px;
  padding: 0 28px;
  background: var(--parky-black);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  overflow: visible;
}

.parky-topbar__spacer {
  flex: 1 1 auto;
}

.parky-topbar__menu {
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.parky-topbar__menu span {
  width: 22px;
  height: 2px;
  background: #fff;
}

.parky-topbar__admin {
  min-height: 44px;
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.parky-topbar__avatar {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #9a55ff;
  color: #fff;
  display: inline-flex;
  flex: 0 0 36px;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.75);
}

[data-css='sidebar'] {
  background: #fff !important;
  border-right: 1px solid var(--parky-border) !important;
}

.parky-sidebar-brand {
  height: 73px;
  padding: 10px 22px;
  background: var(--parky-black);
  color: var(--parky-mint);
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
}

.parky-sidebar-brand > span {
  color: var(--parky-mint);
  font-size: 15px;
}

[data-css='sidebar-resources'] {
  padding-top: 0 !important;
}

[data-css='sidebar'] nav {
  padding-top: 0;
}

[data-css='sidebar'] nav > p {
  display: none;
}

[data-css='sidebar'] a,
[data-css='sidebar'] button {
  color: var(--parky-text) !important;
  font-size: 14px !important;
}

[data-css='sidebar'] a[aria-current='page'],
[data-css='sidebar'] a.active,
[data-css='sidebar'] a:hover {
  background: #f5f5f5 !important;
  color: var(--parky-text) !important;
}

[data-css='sidebar'] a[aria-current='page'] {
  border-right: 3px solid var(--parky-mint);
  font-weight: 800;
}

section[data-css='content'] {
  background: var(--parky-bg) !important;
}

.adminjs_Table,
table {
  border-collapse: collapse;
}

.adminjs_Table thead tr,
table thead tr {
  background: #f3f3f3;
}

.adminjs_Button_Contained,
button[type='submit']:not(.parky-login__button) {
  background: var(--parky-mint) !important;
  border-color: var(--parky-mint) !important;
  color: #111 !important;
}

@media (max-width: 1024px) {
  .parky-topbar {
    justify-content: space-between;
  }

  .parky-topbar__menu {
    display: inline-flex;
  }
}

@media (max-width: 760px) {
  .parky-login__hero {
    padding: 24px 18px;
    background-position: 34% center;
  }

  .parky-login__card {
    padding: 32px 24px 34px;
  }

  .parky-login__brand {
    gap: 14px;
    margin-bottom: 26px;
  }

  .parky-login__logo {
    width: min(250px, 100%);
  }
}
