@charset "UTF-8";
/* =========================================
   HIGH5 LOGIN WIDGET — PREMIUM REDESIGN
   ========================================= */
.h5ic-login-widget {
  --h5ic-login-primary: var(--h5-primary, #14263D);
  --h5ic-login-accent: var(--h5-accent, #D4AF37);
  --h5ic-login-background: var(--h5-background, #FFFFFF);
  --h5ic-login-text: var(--h5-text, #263445);
  --h5ic-login-border: rgba(148, 163, 184, 0.24);
  --h5ic-login-error: var(--h5-error, #DC2626);
  --h5ic-login-navy: #101E32;
  --h5ic-login-gold: #E5C76B;
  position: relative;
  isolation: isolate;
  width: 100%;
  /* Fill the viewport below the header */
  min-height: calc(100vh - var(--h5ic-header-height, 90px));
  min-height: calc(100dvh - var(--h5ic-header-height, 90px));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 20px;
  overflow: hidden;
  color: #F8FAFC;
  font-family: inherit;
  background: radial-gradient(ellipse at 12% 15%, rgba(39, 78, 119, 0.62), transparent 42%), radial-gradient(ellipse at 88% 85%, rgba(212, 175, 55, 0.14), transparent 36%), linear-gradient(135deg, #0B1525 0%, #14263D 48%, #101D30 100%);
}

.h5ic-login-widget *,
.h5ic-login-widget *::before,
.h5ic-login-widget *::after {
  box-sizing: border-box;
}

/* Ambient background effects */
.h5ic-login-widget::before,
.h5ic-login-widget::after {
  position: absolute;
  z-index: -1;
  display: block;
  content: "";
  pointer-events: none;
}

.h5ic-login-widget::before {
  top: -100px;
  right: -90px;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(229, 199, 107, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 32px rgba(229, 199, 107, 0.025), 0 0 0 68px rgba(229, 199, 107, 0.02);
  animation: h5ic-login-orbit 18s linear infinite;
}

.h5ic-login-widget::after {
  bottom: -140px;
  left: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(45, 91, 137, 0.22);
  filter: blur(65px);
  animation: h5ic-login-glow 8s ease-in-out infinite alternate;
}

/* Subtle decorative texture */
.h5ic-login-widget .h5ic-login-card {
  position: relative;
  width: 100%;
  max-width: 410px;
  margin: 0 auto;
  padding: 32px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.045));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  animation: h5ic-login-enter 0.7s cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.h5ic-login-widget .h5ic-login-card::before {
  position: absolute;
  top: 0;
  left: 32px;
  width: 68px;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--h5ic-login-gold), rgba(229, 199, 107, 0));
}

/* Heading */
.h5ic-login-widget .h5ic-login-heading {
  margin-bottom: 26px;
  text-align: left;
  animation: h5ic-login-content-enter 0.65s ease both;
}

.h5ic-login-widget .h5ic-login-heading h2 {
  margin: 0 0 9px;
  color: #FFFFFF;
  font-family: inherit;
  font-size: clamp(25px, 3vw, 31px);
  font-weight: 750;
  letter-spacing: -0.8px;
  line-height: 1.2;
}

.h5ic-login-widget .h5ic-login-heading p {
  margin: 0;
  color: #B8C5D5;
  font-size: 14px;
  line-height: 1.65;
}

/* Form */
.h5ic-login-widget .h5ic-login-form {
  display: flex;
  flex-direction: column;
  gap: 17px;
}

.h5ic-login-widget .h5ic-login-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.h5ic-login-widget .h5ic-login-field > label {
  color: #E4EAF2;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.35px;
}

/* Inputs */
.h5ic-login-widget .h5ic-login-field input[type=text],
.h5ic-login-widget .h5ic-login-field input[type=email],
.h5ic-login-widget .h5ic-login-field input[type=password] {
  width: 100%;
  min-width: 0;
  min-height: 45px;
  margin: 0;
  padding: 11px 13px;
  border: 1px solid rgba(203, 213, 225, 0.23);
  border-radius: 10px;
  background: rgba(6, 15, 28, 0.38);
  color: #FFFFFF;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.4;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.08);
  outline: none;
  transition: border-color 0.22s ease, background-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.h5ic-login-widget .h5ic-login-field input::placeholder {
  color: #8493A7;
  opacity: 1;
}

.h5ic-login-widget .h5ic-login-field input:hover {
  border-color: rgba(229, 199, 107, 0.42);
  background-color: rgba(6, 15, 28, 0.5);
}

.h5ic-login-widget .h5ic-login-field input:focus {
  border-color: var(--h5ic-login-gold);
  background-color: rgba(6, 15, 28, 0.62);
  box-shadow: 0 0 0 3px rgba(229, 199, 107, 0.12), 0 0 20px rgba(229, 199, 107, 0.045);
}

/* Password field and visibility toggle */
.h5ic-login-widget .h5ic-login-password-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
}

.h5ic-login-widget .h5ic-login-password-wrap input[type=password],
.h5ic-login-widget .h5ic-login-password-wrap input[type=text] {
  width: 100%;
  padding-right: 48px;
}

.h5ic-login-widget .h5ic-login-toggle-password {
  position: absolute;
  top: 50%;
  right: 8px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  transform: translateY(-50%);
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #AEBBCD;
  font-family: inherit;
  font-size: 0;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.h5ic-login-widget .h5ic-login-toggle-password:hover {
  border-color: rgba(229, 199, 107, 0.18);
  background: rgba(229, 199, 107, 0.09);
  color: var(--h5ic-login-gold);
}

.h5ic-login-widget .h5ic-login-toggle-password:focus-visible {
  outline: 2px solid var(--h5ic-login-gold);
  outline-offset: 2px;
}

/* Form options */
.h5ic-login-widget .h5ic-login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1px;
  font-size: 12px;
}

.h5ic-login-widget .h5ic-login-remember {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #C5D0DE;
  cursor: pointer;
}

.h5ic-login-widget .h5ic-login-remember input[type=checkbox] {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: var(--h5ic-login-gold);
  cursor: pointer;
}

.h5ic-login-widget .h5ic-login-forgot {
  color: var(--h5ic-login-gold);
  font-weight: 650;
  text-decoration: none;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.h5ic-login-widget .h5ic-login-forgot:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

/* Primary button */
.h5ic-login-widget .h5ic-login-button {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 47px;
  margin-top: 2px;
  padding: 12px 20px;
  overflow: hidden;
  border: 1px solid #E5C76B;
  border-radius: 10px;
  background: linear-gradient(110deg, #D4AF37 0%, #F0D98B 48%, #D4AF37 100%);
  background-size: 200% 100%;
  color: #14263D;
  font-family: inherit;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 7px 20px rgba(212, 175, 55, 0.15);
  cursor: pointer;
  transition: background-position 0.45s ease, box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.h5ic-login-widget .h5ic-login-button::before {
  position: absolute;
  z-index: -1;
  top: -50%;
  left: -70%;
  width: 40%;
  height: 200%;
  content: "";
  transform: rotate(22deg);
  background: rgba(255, 255, 255, 0.35);
  transition: left 0.55s ease;
}

.h5ic-login-widget .h5ic-login-button:hover {
  transform: translateY(-2px);
  border-color: #F5E3A6;
  background-position: 100% 0;
  color: #102039;
  box-shadow: 0 11px 27px rgba(212, 175, 55, 0.24);
}

.h5ic-login-widget .h5ic-login-button:hover::before {
  left: 135%;
}

.h5ic-login-widget .h5ic-login-button:active {
  transform: translateY(0) scale(0.99);
  box-shadow: 0 3px 10px rgba(212, 175, 55, 0.14);
}

.h5ic-login-widget .h5ic-login-button:focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: 4px;
}

/* Footer */
.h5ic-login-widget .h5ic-login-footer {
  margin: 3px 0 0;
  color: #9BAABE;
  font-size: 11px;
  line-height: 1.6;
  text-align: center;
}

/* Error notice */
.h5ic-login-widget .h5ic-login-error {
  margin: 0 0 18px;
  padding: 11px 13px;
  border: 1px solid rgba(248, 113, 113, 0.35);
  border-radius: 10px;
  background: rgba(127, 29, 29, 0.2);
  color: #FCA5A5;
  font-size: 12px;
  line-height: 1.55;
}

/* Already authenticated */
.h5ic-login-widget .h5ic-login-already-authenticated {
  text-align: center;
}

.h5ic-login-widget .h5ic-login-already-authenticated h2 {
  margin: 0 0 20px;
  color: #FFFFFF;
  font-size: 22px;
  line-height: 1.4;
}

/* Entrance and ambient animations */
@keyframes h5ic-login-enter {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes h5ic-login-content-enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes h5ic-login-orbit {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes h5ic-login-glow {
  from {
    transform: translate3d(0, 0, 0) scale(0.92);
    opacity: 0.65;
  }
  to {
    transform: translate3d(24px, -18px, 0) scale(1.08);
    opacity: 1;
  }
}
/* Tablet */
@media (max-width: 1280px) {
  .h5ic-login-widget {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 24px 100px;
  }
  .h5ic-login-widget .h5ic-login-card {
    width: 100%;
    max-width: 390px;
    padding: 29px;
  }
}
/* Mobile */
/* Mobile */
@media (max-width: 767px) {
  .h5ic-login-widget {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 36px 14px 100px;
  }
  .h5ic-login-widget .h5ic-login-card {
    width: 100%;
    max-width: 390px;
    padding: 25px 21px;
  }
  .h5ic-login-widget .h5ic-login-card::before {
    left: 21px;
  }
  .h5ic-login-widget .h5ic-login-heading {
    margin-bottom: 23px;
  }
  .h5ic-login-widget .h5ic-login-heading h2 {
    font-size: 26px;
  }
  .h5ic-login-widget .h5ic-login-form {
    gap: 15px;
  }
  .h5ic-login-widget .h5ic-login-options {
    gap: 12px;
  }
  .h5ic-login-widget .h5ic-login-button {
    min-height: 46px;
  }
}
/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
  .h5ic-login-widget *,
  .h5ic-login-widget *::before,
  .h5ic-login-widget *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/*# sourceMappingURL=h5ic-login.css.map */
