@font-face {
  font-family: "DB Heavent";
  src: url("../fonts/DB Heavent v3.2.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}


@font-face {
  font-family: "DB Heavent";
  src: url("../fonts/DB Heavent Bd v3.2.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

body {
  display: flex;
  font-family: "DB Heavent", sans-serif;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

h1 {
  font-family: "DB Heavent", sans-serif;
  font-weight: 700;
}

.pf-v5-c-login {
  width: 50%;
  align-self: center;
}

header {
  text-align: center;
}

#kc-header-wrapper {
  color: black;
}

.pf-v5-c-login__container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100dvh;
}

.pf-v5-c-login__main {
  align-self: center;
  width: 100%;
  height: 100dvh;
  box-shadow: unset;
  padding: 8px 16px;
  background-color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#kc-page-title {
  font-size: 20px;
  text-align: center;
  color: black;
  width: 100%;
}

#social-okta {
  display: flex;
  gap: 10px;
  background: linear-gradient(90deg, #FB87B5 0%, #7051B6 100%);
  justify-content: center !important;
  color: white;
  font-size: 32px;
  padding: 12px;
}

#social-okta.pf-v5-c-button.pf-m-secondary {
  border-radius: 10px;
  --pf-v5-c-button--after--BorderColor: transparent;
}

.pf-v5-c-button {
  --pf-v5-c-button--after--BorderColor: transparent;
  --pf-v5-c-button--after--BorderRadius: 0px;
}

.pf-v5-c-login {
  --pf-v5-c-login--PaddingBottom: 0px;
  --pf-v5-c-login--PaddingTop: 0px;
  --pf-v5-c-login__main--MarginBottom: 0px;
}

#keycloak-main-left {
  background-image: linear-gradient(to bottom,
      #FB87B5,
      #7051B6);
  display: flex;
  flex-direction: column;
  width: 100%;
  justify-content: center;
  align-items: center;
  padding: 0 16px;
  gap: 16px;
}

.pf-v5-c-login__container {
  width: 100%;
  max-width: 28rem;
  padding: 0;
  background-color: white;
  margin: 0;
}

#keycloak-main-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: white;
}

.pf-v5-c-login__main-header {
  display: flex;
  flex-direction: column;
  padding: 0;
  text-align: center;
  gap: 0;
}

.pf-v5-c-login__main-body {
  padding: 0;
}

#keycloak-bg{
  height: auto;
}

@media (max-width: 1140px) {
  #keycloak-main-left {
    display: none !important;
  }
  .pf-v5-c-login {
    width: 100%;
  }
}

@media (max-width: 554px) {
  .aomi-modal-title {
    font-size: 26px !important;
  }

  .aomi-bubble {
    font-size: 20px !important;
  }

  #aomi-modal-accept {
    font-size: 20px !important;
    padding: 6px 24px;
  }

  .br-hide {
    display: none;
  }
}

/* ── Aomiverse Welcome Modal ── */
#aomi-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(30, 18, 60, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: aomi-fade-in 0.4s ease forwards;
}

@keyframes aomi-fade-in {
  to { opacity: 1; }
}

@keyframes aomi-slide-up {
  from { transform: translateY(32px) scale(0.97); opacity: 0; }
  to   { transform: translateY(0)    scale(1);    opacity: 1; }
}

@keyframes aomi-sparkle {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.25); }
}

#aomi-modal {
  background: linear-gradient(160deg, #ffffff 0%, #f5f0ff 60%, #ede6ff 100%);
  border-radius: 18px;
  box-shadow:
    0 0 0 1.5px rgba(150, 110, 220, 0.25),
    0 24px 64px rgba(72, 50, 101, 0.35),
    0 4px 16px rgba(72, 50, 101, 0.15);
  max-width: 520px;
  width: calc(100% - 40px);
  overflow: hidden;
  animation: aomi-slide-up 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s both;
  position: relative;
}

#aomi-modal-body {
  padding: 24px 24px 12px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.aomi-modal-title {
  font-size: 32px;
  font-weight: 700;
  color: #4E3E75;
  margin: 0;
  text-align: center;
}

.aomi-bubble {
  background: 
    linear-gradient(white, white) padding-box,
    linear-gradient(135deg, #FB87B5, #7051B6) border-box;
  border: 1.5px solid transparent;
  border-radius: 8px;
  padding: 20px 22px;
  position: relative;
  margin: 0;
  font-size: 24px;
  color: #4E3E75;
}

#aomi-modal-footer {
  padding: 12px 24px 24px;
  display: flex;
  justify-content: center;
}

#aomi-modal-accept {
  background: #7051B6;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 12px 32px;
  font-size: 24px;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.02em;
}

#aomi-modal-overlay.aomi-hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}