html,
body {
  min-height: 100%;
}

@keyframes publicFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes publicDropReveal {
  from {
    opacity: 0;
    transform: translateY(-28px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes publicFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

@keyframes publicSweep {
  from {
    transform: translateX(-140%) skewX(-18deg);
  }

  to {
    transform: translateX(180%) skewX(-18deg);
  }
}

body.material-site {
  margin: 0;
  min-width: 320px;
  font-family: "Trebuchet MS", "Segoe UI", Tahoma, Arial, sans-serif;
  color: #1f2940;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.88) 0, rgba(255, 255, 255, 0) 14%),
    radial-gradient(circle at left bottom, rgba(214, 225, 247, 0.95) 0, rgba(214, 225, 247, 0.95) 12%, transparent 12.2%),
    radial-gradient(circle at right 22%, rgba(230, 237, 249, 0.92) 0, rgba(230, 237, 249, 0.92) 11%, transparent 11.2%),
    linear-gradient(180deg, #f7faff 0%, #e4edfb 100%);
}

a,
a:hover,
a:focus {
  text-decoration: none;
}

button,
.btn,
.hero-panel,
#xpengumuman > table.table,
.alert,
.site-menu,
.footer-inner {
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.site-navbar {
  background: linear-gradient(90deg, #2b74f3 0%, #2a6ceb 58%, #245ed7 100%);
  box-shadow: 0 12px 30px rgba(30, 73, 153, 0.2);
  animation: publicFadeUp 520ms ease both;
}

.site-nav-inner {
  max-width: 1440px;
  margin: 0 auto;
  min-height: 104px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  position: relative;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: #ffffff;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.2;
}

.site-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
  flex: 0 0 50px;
}

.site-menu {
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-home {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  padding: 0;
}

.site-home .glyphicon {
  font-size: 22px;
  top: 0;
}

.nav-icon-svg {
  width: 22px;
  height: 22px;
  display: inline-block;
  flex: 0 0 22px;
}

.nav-icon-megaphone {
  width: 21px;
  height: 21px;
}

.site-home-secondary {
  display: inline-flex;
}

.site-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.site-menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #ffffff;
  border-radius: 999px;
}

.site-main {
  padding: 42px 20px 22px;
}

.page-container {
  max-width: 1080px;
  padding: 0;
}

.hero-panel,
.results-stack > *,
.footer-inner {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.hero-panel {
  display: flex;
  align-items: flex-start;
  gap: 36px;
  padding: 56px 58px 54px;
  background: linear-gradient(145deg, rgba(248, 251, 255, 0.98), rgba(228, 236, 252, 0.98));
  border-radius: 30px;
  box-shadow: 16px 16px 36px rgba(161, 180, 217, 0.38), -14px -14px 28px rgba(255, 255, 255, 0.94);
  animation: publicFadeUp 680ms ease both;
}

.hero-badge {
  width: 108px;
  height: 108px;
  flex: 0 0 108px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #f7faff 0%, #dfeafc 100%);
  color: #1f67ea;
  border-radius: 32px;
  box-shadow: 12px 12px 24px rgba(167, 184, 219, 0.34), -10px -10px 22px rgba(255, 255, 255, 0.9);
  animation: publicFloat 4s ease-in-out infinite;
}

.hero-icon {
  width: 56px;
  height: 56px;
}

.hero-copy {
  flex: 1;
  min-width: 0;
}

.hero-title {
  margin: 2px 0 0;
  color: #1e2638;
  font-size: 38px;
  font-weight: 800;
  line-height: 1.15;
}

.hero-subtitle {
  margin-top: 18px;
  color: #2869eb;
  font-size: 22px;
  font-weight: 500;
}

.hero-description {
  margin: 22px 0 0;
  color: #7f8ca4;
  font-size: 16px;
  line-height: 1.7;
}

#clock {
  margin-top: 16px;
  color: #7f8ca4;
  font-size: 16px;
}

#clock span {
  display: inline-block;
  margin-top: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #eef4ff;
  color: #1a5ce1;
  font-weight: 600;
}

.search-form.material-form {
  margin-top: 30px;
}

.landing-form {
  display: block;
}

.field-group {
  position: relative;
  margin-bottom: 24px;
}

.field-group label {
  position: absolute;
  top: -8px;
  left: 14px;
  margin: 0;
  padding: 0 10px;
  background: #ffffff;
  color: #2d6ceb;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  z-index: 1;
}

.search-form .form-control {
  width: 100%;
  height: 76px !important;
  padding: 18px 18px !important;
  border: 0 !important;
  border-radius: 18px !important;
  box-shadow: inset 4px 4px 10px rgba(166, 183, 217, 0.22), inset -5px -5px 12px rgba(255, 255, 255, 0.88) !important;
  background: linear-gradient(145deg, rgba(245, 248, 255, 0.96), rgba(223, 233, 251, 0.96)) !important;
  color: #232a39 !important;
  font-size: 17px !important;
}

.search-form .form-control:focus {
  box-shadow: inset 4px 4px 10px rgba(166, 183, 217, 0.22), inset -5px -5px 12px rgba(255, 255, 255, 0.88), 0 0 0 4px rgba(44, 109, 233, 0.08) !important;
}

.btn.neo-btn {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  padding: 15px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 17px;
  font-weight: 600;
  box-shadow: 12px 12px 24px rgba(167, 184, 219, 0.32), -10px -10px 20px rgba(255, 255, 255, 0.92);
}

.btn.neo-btn::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -24%;
  width: 22%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0));
  transform: skewX(-18deg);
  opacity: 0;
}

.neo-btn-primary {
  color: #ffffff;
  background: linear-gradient(180deg, #4e87ff 0%, #2f6df6 100%);
  box-shadow: 14px 14px 28px rgba(96, 132, 207, 0.35), -8px -8px 18px rgba(255, 255, 255, 0.2);
}

.neo-btn-primary:hover,
.neo-btn-primary:focus {
  color: #ffffff;
  background: linear-gradient(180deg, #3577f1 0%, #215ddc 100%);
}

.btn.neo-btn:hover::after,
.btn.neo-btn:focus::after {
  opacity: 1;
  animation: publicSweep 720ms ease;
}

.neo-btn-secondary {
  color: #2266ea;
  background: linear-gradient(145deg, rgba(248, 251, 255, 0.98), rgba(228, 236, 252, 0.96));
  border: 0;
  box-shadow: 12px 12px 24px rgba(167, 184, 219, 0.24), -10px -10px 20px rgba(255, 255, 255, 0.96);
}

.search-submit {
  min-width: 148px;
  min-height: 56px;
  margin-top: 4px;
}

.search-icon-svg {
  width: 22px;
  height: 22px;
  display: inline-block;
  flex: 0 0 22px;
}

.hero-badge .glyphicon,
.neo-btn .glyphicon {
  top: 0;
}

.results-stack {
  display: grid;
  gap: 18px;
  margin-top: 18px;
  scroll-margin-top: 24px;
}

.results-stack > * {
  animation: publicFadeUp 760ms ease both;
}

.results-stack.is-smk-reveal > * {
  animation: publicDropReveal 760ms cubic-bezier(0.18, 0.84, 0.3, 1) both;
}

.results-stack.is-smk-reveal > *:nth-child(2) {
  animation-delay: 70ms;
}

.results-stack.is-smk-reveal > *:nth-child(3) {
  animation-delay: 140ms;
}

.results-stack.is-smk-reveal > *:nth-child(4) {
  animation-delay: 210ms;
}

#xpengumuman > table.table,
.alert,
.skl-actions {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

#xpengumuman > table.table {
  width: 100%;
  margin-bottom: 0;
  border: 0 !important;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(248, 251, 255, 0.98), rgba(228, 236, 252, 0.98));
  box-shadow: 16px 16px 34px rgba(161, 180, 217, 0.3), -12px -12px 24px rgba(255, 255, 255, 0.92);
  border-collapse: separate;
  border-spacing: 0;
}

#xpengumuman > table.table td,
#xpengumuman > table.table th {
  padding: 13px 16px;
  background: transparent !important;
  border-color: #dbe6fa !important;
  color: #324056;
  vertical-align: middle;
  font-size: 14px;
}

#xpengumuman > table.table:first-of-type td:first-child {
  width: 32%;
  color: #2266ea;
  font-weight: 600;
}

#xpengumuman > table.table:first-of-type td:last-child {
  font-weight: 600;
}

#xpengumuman > table.table:nth-of-type(2) tr:first-child td,
#xpengumuman > table.table:nth-of-type(2) tr:first-child th,
#xpengumuman > table.table:nth-of-type(2) td[colspan="3"] {
  font-weight: 700;
}

#xpengumuman > table.table:nth-of-type(2) td[colspan="3"] {
  background: #f5f9ff !important;
}

.alert {
  position: relative;
  margin-bottom: 0;
  padding: 18px 20px 18px 58px;
  border: 0;
  border-radius: 22px;
  box-shadow: 14px 14px 30px rgba(161, 180, 217, 0.24), -10px -10px 20px rgba(255, 255, 255, 0.94);
  font-size: 15px;
}

.alert::before {
  position: absolute;
  left: 18px;
  top: 50%;
  width: 26px;
  height: 26px;
  margin-top: -13px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffffff;
  font-weight: 700;
}

.alert-success {
  color: #257445;
  background: #eaf8ef;
}

.alert-success::before {
  content: "\2713";
  background: #49a95d;
}

.alert-danger {
  color: #c1445a;
  background: #ffedf0;
}

.alert-danger::before {
  content: "!";
  background: #e16277;
}

.skl-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.skl-actions .neo-btn {
  min-width: 170px;
}

.footer {
  padding: 0 20px 28px;
}

.footer-inner {
  padding: 28px 20px 20px;
  border-top: 1px solid rgba(187, 198, 220, 0.55);
  animation: publicFadeUp 880ms ease both;
}

.footer .text-muted,
.container .text-muted {
  margin: 0;
  text-align: center;
  color: #8b96aa;
  font-size: 15px;
}

@media (max-width: 991px) {
  .site-nav-inner {
    min-height: 92px;
    padding: 0 20px;
  }

  .site-brand {
    font-size: 21px;
  }

  .hero-panel {
    padding: 42px 34px 40px;
  }
}

@media (max-width: 767px) {
  .site-nav-inner {
    min-height: auto;
    padding: 14px;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
  }

  .site-brand {
    position: static;
    width: calc(100% - 56px);
    max-width: calc(100% - 56px);
    justify-content: flex-start;
    text-align: left;
    gap: 10px;
    font-size: 15px;
  }

  .site-logo {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .site-menu-toggle {
    display: inline-flex;
    position: relative;
    z-index: 2;
    flex: 0 0 44px;
  }

  .site-menu {
    display: none;
    position: static;
    width: 100%;
    min-width: 0;
    margin-top: 2px;
    padding: 10px;
    border-radius: 14px;
    background: rgba(29, 88, 211, 0.98);
    box-shadow: 0 14px 28px rgba(18, 52, 117, 0.24);
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    z-index: 20;
  }

  .site-menu.is-open {
    display: flex;
  }

  .site-home {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 15px;
    justify-content: flex-start;
    gap: 12px;
  }

  .site-home .glyphicon {
    font-size: 18px;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.14);
  }

  .nav-icon-svg {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
    padding: 6px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.14);
  }

  .site-main {
    padding: 24px 14px 16px;
  }

  .hero-panel {
    flex-direction: column;
    gap: 20px;
    padding: 30px 20px;
    border-radius: 18px;
    align-items: center;
    text-align: center;
  }

  .hero-badge {
    width: 86px;
    height: 86px;
    flex-basis: 86px;
  }

  .hero-icon {
    width: 46px;
    height: 46px;
  }

  .hero-title {
    font-size: 29px;
  }

  .hero-subtitle {
    font-size: 19px;
  }

  .hero-description,
  #clock {
    font-size: 15px;
  }

  .hero-copy {
    width: 100%;
  }

  .search-form .form-control {
    height: 64px !important;
    font-size: 16px !important;
  }

  .search-submit,
  .skl-actions .neo-btn {
    width: 100%;
  }

  #xpengumuman > table.table {
    display: block;
    overflow-x: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
