/* ══ LAYOUT UTAMA ══ */
/* ══ SISI KIRI (HERO PANEL) ══ */
/* ══ BENTO CARD ══ */
@keyframes glowPulse {
  0% {
    outline: 2px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 0 6px 1px rgba(255, 215, 0, 0.2);
  }
  50% {
    outline: 2px solid rgb(255, 215, 0);
    box-shadow: 0 0 16px 4px rgba(255, 215, 0, 0.6);
  }
  100% {
    outline: 2px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 0 6px 1px rgba(255, 215, 0, 0.2);
  }
}
/* ══ SISI KANAN (FORM PANEL) ══ */
/* ══ TABLET ══ */
/* ══ MOBILE ══ */
html {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.content-page-wrapper {
  display: grid;
  grid-template-columns: 55% 45%;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.left-panel {
  background-color: #0f172a;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.left-panel::before {
  content: "";
  position: absolute;
  inset: -10px;
  background-image: url("../../../images/bg_login_v1.jpg");
  background-size: cover;
  background-position: center;
  filter: blur(8px);
  z-index: -2;
}

.grid {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 48px);
  max-width: 520px;
  aspect-ratio: 1/1;
  padding: 0;
}

.moving-container {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 16px;
}

.bento-card {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  transition: none;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  perspective: 1000px;
}

.bento-card-fixed {
  transition: none !important;
  z-index: 2;
}

.bento-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.bento-card.flipped .bento-card-inner {
  transform: rotateY(180deg);
}

.bento-card-front {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 12px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.bento-card-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, #1a2332 0%, #0d1f14 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotateY(180deg);
  padding: 12px;
}

.bento-card-back-content {
  text-align: center;
  color: white;
}
.bento-card-back-content h3 {
  font-size: 0.75rem;
  font-weight: 700;
  color: #ff9d00;
  margin-bottom: 6px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}
.bento-card-back-content p {
  font-size: 0.65rem;
  line-height: 1.4;
  opacity: 0.9;
  margin: 0;
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  color: white;
}
.card-overlay h3 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ff9d00;
  margin-bottom: 2px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8), 0 0 8px rgba(0, 0, 0, 0.6);
}
.card-overlay p {
  font-size: 0.65rem;
  line-height: 1.2;
  opacity: 0.9;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

.right-panel {
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  overflow-y: auto;
}

.form-container {
  width: 100%;
  max-width: 400px;
}

.form-card {
  border: none !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08) !important;
  margin-bottom: 0 !important;
}

.header-logo {
  max-height: 50px;
}

.btn-primary {
  background-color: #00843D !important;
  border-color: #00843D !important;
}
.btn-primary:hover {
  background-color: #006e33 !important;
}

a {
  color: #dc3545;
  text-decoration: none;
}

@media (min-width: 768px) and (max-width: 992px) {
  .content-page-wrapper {
    grid-template-columns: 45% 55%;
  }
  .right-panel {
    padding: 20px 16px;
  }
  .form-container {
    max-width: 340px;
  }
}
@media (max-width: 768px) {
  html {
    overflow: auto;
    height: auto;
  }
  body {
    overflow: auto;
    height: auto;
  }
  .content-page-wrapper {
    grid-template-columns: 1fr;
    height: auto;
    overflow: visible;
  }
  .left-panel {
    display: none;
  }
  .right-panel {
    min-height: 100vh;
    padding: 40px 20px;
  }
}