/* ── Admin login (new metronic theme) ── */
.ax-wrap {
  display: grid;
  grid-template-columns: 1fr 400px;
  min-height: 100vh;
}

/* Left — form */
.ax-form-wrap {
  background: var(--fmfp-paper);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  border-right: 1px solid var(--fmfp-rule);
}

.ax-form-inner {
  width: 100%;
  max-width: 400px;
}

.ax-field input:focus {
  border-color: var(--fmfp-ok);
  box-shadow: 0 0 0 3px rgba(46, 122, 74, .1);
}

/* Right — dark panel */
.ax-panel {
  background:
    radial-gradient(ellipse 100% 60% at 0% 100%, rgba(46, 122, 74, .2) 0%, transparent 55%),
    #0a1520;
  display: flex;
  flex-direction: column;
  padding: 52px 44px 40px;
  position: relative;
  overflow: hidden;
  border-left: 1px solid rgba(255, 255, 255, .05);
}

.ax-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.ax-panel::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, #2e7a4a, transparent 70%);
}

.ax-panel-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

.ax-panel-logo img {
  height: 38px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: .85;
}

.ax-panel-logo-name {
  font-weight: 600;
  font-size: 15px;
  color: rgba(255, 255, 255, .9);
  letter-spacing: .01em;
}

.ax-panel-logo-name small {
  display: block;
  font-weight: 400;
  font-size: 11px;
  color: rgba(255, 255, 255, .35);
  margin-top: 1px;
  font-family: Inter, sans-serif;
  letter-spacing: .06em;
}

.ax-panel-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding: 56px 0;
}

.ax-panel-eyebrow {
  font-family: Inter, sans-serif;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(46, 122, 74, .8);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ax-panel-eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: #2e7a4a;
}

.ax-panel-body h2 {
  font-size: 26px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.015em;
  color: #fff;
  margin-bottom: 16px;
}

.ax-panel-body h2 em {
  font-family: "Source Serif 4", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: rgba(150, 210, 170, .85);
}

.ax-panel-body p {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, .38);
  max-width: 280px;
  margin-bottom: 0;
}

.ax-badge {
  margin-top: 36px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(46, 122, 74, .35);
  padding: 8px 12px;
  width: fit-content;
}

.ax-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2e7a4a;
  animation: ax-pulse 2.5s ease-in-out infinite;
}

@keyframes ax-pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: .35;
  }
}

.ax-badge-label {
  font-family: Inter, sans-serif;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .35);
}

.ax-panel-footer {
  position: relative;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, .06);
}

.ax-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: Inter, sans-serif;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .28);
  text-decoration: none !important;
  transition: color .15s;
}

.ax-back:hover {
  color: rgba(255, 255, 255, .65);
}

.ax-back svg {
  transition: transform .15s;
}

.ax-back:hover svg {
  transform: translateX(-3px);
}

/* ── Diamonds décoration ── */
@keyframes ax-diamond-float {

  0%,
  100% {
    transform: rotate(45deg) translateY(0);
  }

  50% {
    transform: rotate(45deg) translateY(-8px);
  }
}

.ax-diamond {
  position: absolute;
  border: 2px solid rgba(46, 122, 74, .35);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(46, 122, 74, .06);
  transform: rotate(45deg);
  pointer-events: none;
  animation: ax-diamond-float 6s ease-in-out infinite;
}

.ax-diamond img {
  position: absolute;
  top: -25%;
  left: -25%;
  width: 150%;
  height: 150%;
  object-fit: cover;
  transform: rotate(-45deg) scale(1.7);
  opacity: .45;
}

.ax-diamond-1 {
  width: 78px;
  height: 78px;
  top: 48px;
  right: -16px;
  animation-delay: 0s;
}

.ax-diamond-2 {
  width: 52px;
  height: 52px;
  top: 218px;
  left: 28px;
  animation-delay: 1.5s;
}

.ax-diamond-3 {
  width: 96px;
  height: 96px;
  top: 408px;
  right: 16px;
  animation-delay: 2.6s;
}

.ax-diamond-4 {
  width: 42px;
  height: 42px;
  top: 610px;
  left: 52px;
  animation-delay: 0.8s;
}

@media (max-width: 860px) {
  .ax-wrap {
    grid-template-columns: 1fr;
  }

  .ax-panel {
    display: none;
  }

  .ax-form-wrap {
    padding: 40px 24px;
  }
}