@media (min-width: 992px) {
  .brand {
    background-color: #1a1a27;
    -webkit-box-shadow: none;
    box-shadow: none; }
    .brand .btn i {
      color: #494b74; }
    .brand .btn .svg-icon svg g [fill] {
      -webkit-transition: fill 0.3s ease;
      transition: fill 0.3s ease;
      fill: #494b74; }
    .brand .btn .svg-icon svg:hover g [fill] {
      -webkit-transition: fill 0.3s ease;
      transition: fill 0.3s ease; }
    .brand .btn.active .svg-icon svg g [fill], .brand .btn:hover .svg-icon svg g [fill] {
      -webkit-transition: fill 0.3s ease;
      transition: fill 0.3s ease;
      fill: #3699FF; }
    .brand .btn.active .svg-icon svg:hover g [fill], .brand .btn:hover .svg-icon svg:hover g [fill] {
      -webkit-transition: fill 0.3s ease;
      transition: fill 0.3s ease; }
    .brand .btn.active i, .brand .btn:hover i {
      color: #3699FF; } }

@media (max-width: 991.98px) {
  .header-mobile {
    background-color: #1a1a27; }
    .header-mobile .burger-icon span {
      background-color: #ffffff; }
      .header-mobile .burger-icon span::before, .header-mobile .burger-icon span::after {
        background-color: #ffffff; }
    .header-mobile .burger-icon:hover span {
      background-color: #3699FF; }
      .header-mobile .burger-icon:hover span::before, .header-mobile .burger-icon:hover span::after {
        background-color: #3699FF; }
    .header-mobile .burger-icon-active span {
      background-color: #3699FF; }
      .header-mobile .burger-icon-active span::before, .header-mobile .burger-icon-active span::after {
        background-color: #3699FF; }
    .header-mobile .btn i {
      color: #484f66; }
    .header-mobile .btn .svg-icon svg g [fill] {
      -webkit-transition: fill 0.3s ease;
      transition: fill 0.3s ease;
      fill: #484f66; }
    .header-mobile .btn .svg-icon svg:hover g [fill] {
      -webkit-transition: fill 0.3s ease;
      transition: fill 0.3s ease; }
    .header-mobile .btn.active .svg-icon svg g [fill], .header-mobile .btn:hover .svg-icon svg g [fill] {
      -webkit-transition: fill 0.3s ease;
      transition: fill 0.3s ease;
      fill: #3699FF; }
    .header-mobile .btn.active .svg-icon svg:hover g [fill], .header-mobile .btn:hover .svg-icon svg:hover g [fill] {
      -webkit-transition: fill 0.3s ease;
      transition: fill 0.3s ease; }
    .header-mobile .btn.active i, .header-mobile .btn:hover i {
      color: #3699FF; } }

/* UI refresh overrides - brand and mobile header */
@media (min-width: 992px) {
  .brand {
    background: #0b1220;
    border-right: 1px solid rgba(148, 163, 184, 0.16);
    box-shadow: 10px 0 30px rgba(15, 23, 42, 0.10); }

  .brand .brand-logo {
    justify-content: center; }

  .brand .brand-logo img {
    border-radius: 8px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18); }

  .brand .btn i {
    color: #bfdbfe; }

  .brand .btn.active i,
  .brand .btn:hover i {
    color: #ffffff; } }

@media (max-width: 991.98px) {
  .header-mobile {
    background: #0b1220;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.20); }

  .header-mobile a img {
    border-radius: 8px; }

  .header-mobile .burger-icon:hover span,
  .header-mobile .burger-icon:hover span::before,
  .header-mobile .burger-icon:hover span::after,
  .header-mobile .burger-icon-active span,
  .header-mobile .burger-icon-active span::before,
  .header-mobile .burger-icon-active span::after {
    background-color: #38bdf8; } }

/* Premium UI refinement - brand second pass */
@media (min-width: 992px) {
  .brand {
    background: #0b1220;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    box-shadow: 12px 0 34px rgba(2, 6, 23, 0.18); }

  .brand .brand-logo {
    min-height: 72px;
    padding-left: 18px;
    padding-right: 18px; }

  .brand .brand-logo img {
    max-width: 112px;
    padding: 3px;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.28); }

  .brand .brand-toggle {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: rgba(96, 165, 250, 0.12); }

  .brand .brand-toggle:hover,
  .brand .brand-toggle:focus {
    background: rgba(96, 165, 250, 0.22);
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.22); }

  .brand .btn i {
    color: #dbeafe;
    transition: color 220ms ease, transform 220ms ease; }

  .brand .btn:hover i {
    color: #ffffff;
    transform: translateX(-1px); } }

@media (max-width: 991.98px) {
  .header-mobile {
    min-height: 66px;
    background: #0b1220;
    border-bottom: 1px solid rgba(148, 163, 184, 0.16); }

  .header-mobile a img {
    padding: 2px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(2, 6, 23, 0.24); }

  .header-mobile .burger-icon span,
  .header-mobile .burger-icon span::before,
  .header-mobile .burger-icon span::after {
    transition: background-color 220ms ease; } }

/* Logo and collapse control refinement - third pass */
@media (min-width: 992px) {
  .brand {
    min-height: 82px;
    background: #08111f; }

  .brand::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 0;
    height: 1px;
    background: rgba(148, 163, 184, 0.18); }

  .brand .brand-logo {
    min-height: 82px;
    padding: 14px 18px;
    background: rgba(15, 23, 42, 0.22); }

  .brand .brand-logo img {
    max-width: 118px;
    padding: 5px 7px;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 12px 26px rgba(2, 6, 23, 0.32); }

  .brand .brand-toggle {
    position: relative;
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 999px;
    background: #132642;
    border: 1px solid rgba(147, 197, 253, 0.22);
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.24);
    transition: background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease; }

  .brand .brand-toggle .svg-icon,
  .brand .brand-toggle i {
    opacity: 0;
    visibility: hidden; }

  .brand .brand-toggle::before,
  .brand .brand-toggle::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 9px;
    height: 9px;
    border-top: 2px solid #dbeafe;
    border-left: 2px solid #dbeafe;
    transform: translateY(-50%) rotate(-45deg);
    transition: border-color 220ms ease, transform 220ms ease; }

  .brand .brand-toggle::before {
    left: 15px; }

  .brand .brand-toggle::after {
    left: 22px; }

  .brand .brand-toggle:hover,
  .brand .brand-toggle:focus {
    background: #1d4ed8;
    border-color: rgba(191, 219, 254, 0.7);
    box-shadow: 0 14px 30px rgba(29, 78, 216, 0.28);
    transform: translateX(-2px); }

  .brand .brand-toggle:hover::before,
  .brand .brand-toggle:hover::after,
  .brand .brand-toggle:focus::before,
  .brand .brand-toggle:focus::after {
    border-color: #ffffff;
    transform: translateY(-50%) rotate(-45deg) scale(1.08); }

  .aside-minimize .brand .brand-toggle::before,
  .aside-minimize .brand .brand-toggle::after {
    transform: translateY(-50%) rotate(135deg); }

  .aside-minimize .brand .brand-toggle:hover::before,
  .aside-minimize .brand .brand-toggle:hover::after,
  .aside-minimize .brand .brand-toggle:focus::before,
  .aside-minimize .brand .brand-toggle:focus::after {
    transform: translateY(-50%) rotate(135deg) scale(1.08); } }

@media (max-width: 991.98px) {
  .header-mobile {
    padding-left: 16px;
    padding-right: 16px; }

  .header-mobile a img {
    max-width: 76px;
    border-radius: 11px; } }
