html, body {
    height: 100%;
    margin: 0;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    background: #181A20;
    color: #fff;
}
body { min-height: 100vh; }
.topbar {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: #212933;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}

.topbar .app-title {
    font-weight: bold;
    font-size: 1.3em;
    flex: 0 0 auto;
}
.profile-section {
    position: relative;
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    margin-left: 16px;
}

.profile-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #212933;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-left: 12px;
}
.profile-icon:hover, .profile-icon:focus {
    background: #3388FF;
}
.profile-dropdown {
    position: absolute;
    right: 0;
    top: 48px;
    background: #212933;
    color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.18);
    min-width: 200px;
    border: 1px solid #20212C;
    display: none;
    z-index: 200;
}
.profile-dropdown.show {
    display: block;
}
.profile-dropdown a {
    display: block;
    padding: 14px 20px;
    text-decoration: none;
    color: #fff;
    transition: background 0.15s, color 0.15s;
    font-weight: 500;
}
.profile-dropdown a:hover {
    background: #181b23;
    color: #3388FF;
}
.profile-dropdown strong {
    font-size: 1.08em;
}
.profile-dropdown small {
    color: #B0B8C1;
}
.layout {
    display: flex;
    min-height: calc(100vh - 64px);
}
.sidebar {
    width: 260px;
    background: #111419;
    border-right: 1px solid #20212C;
    position: relative;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    height: calc(100vh - 64px);
    overflow-y: auto;
    transition: transform 0.3s;
}
.sidebar.closed {
    display: none;
}
.sidebar.closed ~ .main-content {
}
.sidebar-collapse {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.3em;
    cursor: pointer;
    padding: 2px 8px;
    border-radius: 50%;
    margin-left: 8px;
    transition: background 0.2s;
}
.sidebar-collapse:hover, .sidebar-collapse:focus {
    background: rgba(0,85,255,0.10);
    outline: none;
}
.sidebar-menu {
    flex: 1;
    padding: 20px 0;
}
.sidebar-menu a {
    display: block;
    padding: 12px 32px;
    color: #fff;
    text-decoration: none;
    font-size: 1.07em;
    transition: background 0.18s, color 0.18s;
    cursor: pointer;
    border: none;
    background: none;
    text-align: left;
}
.sidebar-menu a:hover, .sidebar-menu a.active {
    background: #181b23;
    color: #3388FF;
}

.sidebar-open-btn {
    position: relative;
    width:2em;
    z-index: 101;
    background: #212933;
    border: none;
    color: #fff;
    font-size: 1.5em;
    padding: 2px 10px 2px 6px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
    cursor: pointer;
}

.main-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    transition: width 0.3s, margin-left 0.3s;
    width: calc(100% - 260px);
}
.main-content .homeSection {
    display: flex;
    flex-direction: column;
    padding: 0 32px;
}
.main-content h1 {
    font-size: 2em;
    margin-bottom: 0.5em;
    font-weight: bold;
}
.user-info {
    margin-bottom: 32px;
    color: #B0B8C1;
}
.logout-link {
    color: #FF4B4B;
    text-decoration: none;
    font-weight: bold;
    margin-top: 12px;
    display: inline-block;
}
.logout-link:hover {
    text-decoration: underline;
}

.banner-hero {
  width: 100%;
  height: 120px;
  background: #000;  /* pure black for strong contrast */
  color: #fff;
  text-align: left;
  padding: 48px 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.8em;
  font-weight: bold;
  line-height: 1.1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.banner-hero img {
    align-self: flex-start;
    height: 40px;
    margin-left: 32px;
    margin-top: -20px;
}

.banner-hero div {
    width: auto;
}

.banner-hero .spacer{
      width:140px; 
      margin-right: 32px;
}

.highlighted-word {
  color: #A259FF; /* or #b35fc7 for purple accent */
  font-style: italic;
  font-weight: bold;
  border: 2px solid #A259FF;
  border-radius: 2em;
  padding: 0.01em 0.4em 0.16em 0.43em;
  margin: -0.2em -0.05em -1em -0.5em;
  display: inline-block;
  background: transparent;
  line-height: 0.9;
  white-space: nowrap;
  font-size: inherit;
  box-sizing: border-box;
}

@media (max-width: 900px) {
    .sidebar {
        width: 100vw;
        position: static;
        height: auto;
        border-right: none;
        border-bottom: 1px solid #20212C;
    }
    .main-content {
        width: 100vw;
    }
    .layout {
        flex-direction: column;
    }
    .proxy-form-topbar {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        margin: 8px 0;
    }
    .banner-hero {
      padding: 20px 0;
      font-size: 1.0em;
      font-weight: bold;
      line-height: 1.1;
    }
    .banner-hero .spacer{
      width:30px; 
      margin-right: 8px;
    }
    .banner-hero img {
        height: 25px;
        margin-left: 20px;
        margin-top: 0px;
    }
    .highlighted-word {
        border: 1.2px solid #A259FF;
    }

}
@media (max-width: 600px) {
    .topbar { padding: 0 8px; }
}