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

body.material-site {
  margin: 0;
  min-width: 320px;
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  color: #1f2940;
  background:
    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%, #eef4fd 100%);
}

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

.site-navbar {
  background: linear-gradient(90deg, #1f67ea 0%, #1f63e5 58%, #245ed7 100%);
  box-shadow: 0 4px 14px rgba(30, 73, 153, 0.2);
}

.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;
}

.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: rgba(255, 255, 255, 0.98);
  border-radius: 20px;
  box-shadow: 0 16px 36px rgba(32, 69, 149, 0.14);
}

.hero-badge {
  width: 108px;
  height: 108px;
  flex: 0 0 108px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #edf3ff;
  color: #1f67ea;
  border-radius: 50%;
}

.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: 2px solid #4a82f0 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  background: #ffffff !important;
  color: #232a39 !important;
  font-size: 17px !important;
}

.search-form .form-control:focus {
  border-color: #2c6de9 !important;
  box-shadow: 0 0 0 4px rgba(44, 109, 233, 0.08) !important;
}

.btn.neo-btn {
  border: 0;
  border-radius: 12px;
  padding: 15px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 17px;
  font-weight: 600;
}

.neo-btn-primary {
  color: #ffffff;
  background: linear-gradient(180deg, #2c70ef 0%, #1e5fe4 100%);
  box-shadow: 0 12px 24px rgba(35, 99, 234, 0.28);
}

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

.neo-btn-secondary {
  color: #2266ea;
  background: #ffffff;
  border: 1px solid #d7e4fd;
  box-shadow: 0 8px 18px rgba(22, 79, 174, 0.08);
}

.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;
}

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

#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: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 14px 30px rgba(32, 69, 149, 0.12);
  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: 16px;
  box-shadow: 0 14px 30px rgba(32, 69, 149, 0.1);
  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: "v";
  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);
}

.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: 78px;
    padding: 0 14px;
  }

  .site-brand {
    gap: 12px;
    font-size: 15px;
  }

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

  .site-menu-toggle {
    display: inline-flex;
  }

  .site-menu {
    display: none;
    position: absolute;
    top: calc(100% - 4px);
    right: 14px;
    min-width: 190px;
    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;
  }

  .site-home .glyphicon {
    font-size: 18px;
  }

  .nav-icon-svg {
    width: 19px;
    height: 19px;
    flex-basis: 19px;
  }

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

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

  .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;
  }

  .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;
  }
}
