:root {
  --header-blue: #001a5a;
  --header-gray: #515256;
  --header-top-line: #d9dde3;
  --surface: #ffffff;
  --bg-soft: #f2f4f8;
  --text-dark: #1f2a38;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(180deg, #f6f7f9 0%, #eceff4 100%);
  min-height: 100vh;
  color: var(--text-dark);
}

.page-title {
  background: #e3e8f1;
  color: #1f2a38;
  border: 1px solid #c8d1e1;
  /* border-left: 6px solid var(--header-blue); */
  border-radius: 10px;
  padding: 0.85rem 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.site-header {
  border-top: 6px solid var(--header-top-line);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
}

.header-blue {
  background: var(--header-blue);
  color: #fff;
}

.main-head {
  min-height: 98px;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.menu-button {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.7rem;
  background: transparent;
}

.menu-button:hover {
  background: rgba(255, 255, 255, 0.15);
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex: 1;
}

.brand-seal {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.9);
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.05rem;
  background: linear-gradient(140deg, #f5f8ff, #dce7ff);
  color: var(--header-blue);
}

.brand-main {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.brand-sub {
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
}

.head-date {
  opacity: 0.9;
  font-size: 0.9rem;
}

.header-nav {
  background: var(--header-gray);
  color: #f1f1f1;
  /* border-bottom: 6px solid #f6f7f9; */
}

.nav-home {
  min-height: 20px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.4rem;
}

.nav-home i {
  font-size: 1.25rem;
}

.form-card {
  border-radius: 14px;
  background: var(--surface);
}

.section-title {
  background: #99a1ae;
  color: #ffffff;
  padding: 0.6rem 0.9rem;
  border-radius: 8px;
}

.form-label {
  font-weight: 600;
  color: #26354f;
}

.form-control {
  border-radius: 9px;
  border-color: #c6cedb;
}

.form-control:focus {
  border-color: #385b9b;
  box-shadow: 0 0 0 0.2rem rgba(16, 58, 138, 0.12);
}

.btn-judicial {
  background: var(--header-blue);
  border-color: var(--header-blue);
  color: #fff;
}

.btn-judicial:hover {
  background: #123f98;
  border-color: #123f98;
  color: #fff;
}

@media (max-width: 992px) {
  .brand-main {
    font-size: 1.2rem;
  }

  .brand-sub {
    font-size: 1rem;
  }

  .brand-seal {
    width: 50px;
    height: 50px;
    font-size: 0.82rem;
  }
}

@media (max-width: 576px) {
  .main-head {
    min-height: 88px;
  }

  .head-date {
    display: none;
  }

  .brand-main {
    font-size: 0.96rem;
  }

  .brand-sub {
    font-size: 0.84rem;
  }

  .nav-home {
    font-size: 1.05rem;
  }
}
