/* Site-wide header calls to action. */
.top-bar .buttons-flex { display: flex; justify-content: flex-end; align-items: center; gap: 10px; margin: 0; padding: 0; list-style: none; }
.top-bar .buttons-flex > li { margin: 0; padding: 0; list-style: none; }
.top-bar .buttons-flex .samvad-header-action { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; margin: 0; padding: 9px 17px; border: 1px solid transparent; border-radius: 9px; box-shadow: none; font-family: "Nirmala UI", "Mangal", system-ui, sans-serif; font-size: 14px; line-height: 1.3; font-weight: 800; white-space: nowrap; text-decoration: none; transition: background-color .2s ease, border-color .2s ease, transform .2s ease; }
.top-bar .buttons-flex .samvad-header-action:hover { transform: translateY(-1px); }
.top-bar .buttons-flex .samvad-header-action:focus-visible,
.mobile-button .samvad-header-action:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.top-bar .buttons-flex .samvad-header-action-primary { background: #163d57 !important; color: #fff !important; }
.top-bar .buttons-flex .samvad-header-action-primary:hover { background: #0f3148 !important; }
.top-bar .buttons-flex .samvad-header-action-secondary { border-color: rgba(255,255,255,.9); background: rgba(255,255,255,.12) !important; color: #fff !important; }
.top-bar .buttons-flex .samvad-header-action-secondary:hover { background: #fff !important; color: #007ba9 !important; }
.top-bar .buttons-flex .samvad-header-action-press { border-color: #fff; background: #fff; color: #075b7f; }
.top-bar .buttons-flex .samvad-header-action-press:hover { background: #dff5fc; color: #075b7f; }
.top-bar .buttons-flex .samvad-header-action-logout { border-color: #b9e9f6; background: #0b5273 !important; color: #fff !important; box-shadow: 0 5px 12px rgba(2,49,75,.18); }
.top-bar .buttons-flex .samvad-header-action-logout:hover { background: #073e5b !important; }
.samvad-header-action-logout .bi { font-size: 17px; line-height: 1; }
.top-bar .buttons-flex > li.samvad-member-menu { position: relative; min-width: 0; font-family: "Nirmala UI", "Mangal", system-ui, sans-serif; }
.samvad-member-trigger { display: flex; align-items: center; gap: 10px; width: 235px; min-height: 51px; padding: 6px 12px 6px 7px; border: 1px solid #d8e0e3; border-radius: 12px; background: #fff; box-shadow: 0 3px 12px rgba(23,45,55,.07); color: #172d37; cursor: pointer; transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease; }
.samvad-member-trigger:hover,
.samvad-member-trigger.show { border-color: #bd2438; background: #fff8f9; box-shadow: 0 5px 17px rgba(23,45,55,.1); }
.samvad-member-trigger:focus-visible { outline: 3px solid #bd2438; outline-offset: 3px; }
.samvad-member-avatar { display: grid; flex: 0 0 37px; place-items: center; width: 37px; height: 37px; border: 1px solid #f4d9de; border-radius: 10px; background: #fff0f2; color: #bd2438; }
.samvad-member-avatar svg { display: block; width: 21px; height: 21px; }
.samvad-member-details { display: flex; flex: 1 1 auto; flex-direction: column; min-width: 0; line-height: 1.25; text-align: left; }
.samvad-member-salutation { overflow: hidden; color: #718089; font-size: 10px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.samvad-member-name { overflow: hidden; color: #172d37; font-size: 13px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.samvad-member-chevron { flex: 0 0 7px; width: 7px; height: 7px; margin: -4px 2px 0 0; border-right: 2px solid #bd2438; border-bottom: 2px solid #bd2438; transform: rotate(45deg); transition: transform .2s ease; }
.samvad-member-trigger.show .samvad-member-chevron { transform: translateY(4px) rotate(225deg); }
.top-bar .buttons-flex .samvad-member-panel { width: 270px; margin-top: 8px !important; padding: 7px; border: 1px solid #e0e5e6; border-radius: 12px; background: #fff; box-shadow: 0 18px 38px rgba(23,45,55,.16); color: #172d37; }
.samvad-member-panel-head { display: flex; flex-direction: column; gap: 3px; min-width: 0; margin: 0 0 5px; padding: 11px 12px 13px; border-bottom: 1px solid #e9edef; text-align: left; }
.samvad-member-panel-label { color: #718089; font-size: 11px; font-weight: 700; }
.samvad-member-panel-head strong { overflow: hidden; color: #172d37; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.samvad-member-panel-status { color: #bd2438; font-size: 12px; font-weight: 700; line-height: 1.5; }
.top-bar .buttons-flex .samvad-member-panel .dropdown-item { display: flex; align-items: center; gap: 10px; min-height: 39px; padding: 9px 11px; border-radius: 7px; color: #253c46; font-size: 13px; font-weight: 700; text-decoration: none; }
.top-bar .buttons-flex .samvad-member-panel .dropdown-item:hover,
.top-bar .buttons-flex .samvad-member-panel .dropdown-item:focus { background: #fff0f2; color: #bd2438; }
.samvad-member-panel .dropdown-item .bi { font-size: 17px; line-height: 1; }
.samvad-member-panel .dropdown-divider { margin: 6px 4px; border-color: #e9edef; }
.top-bar .buttons-flex .samvad-member-panel .samvad-member-panel-logout { color: #a43d3a; }
.top-bar .buttons-flex .samvad-member-panel .samvad-member-panel-logout:hover,
.top-bar .buttons-flex .samvad-member-panel .samvad-member-panel-logout:focus { background: #fff0ef; color: #8f2f2b; }

@media (max-width: 1399px) {
  .samvad-member-avatar { flex-basis: 33px; width: 33px; height: 33px; }
}

@media (max-width: 1199px) {
  .navbar .samvad-navbar-controls { display: flex; align-items: center; gap: 8px; margin-left: auto; }
  body.logged-in .navbar .navbar-brand { max-width: calc(100% - 108px); width: auto !important; }
  body.logged-in .navbar .navbar-brand img { max-width: 100%; height: auto; }
  .navbar .samvad-mobile-logout-shortcut { display: grid; flex: 0 0 44px; place-items: center; width: 44px; height: 44px; border: 1px solid #fff; border-radius: 10px; background: #fff; color: #0b5273; text-decoration: none; }
  .navbar .samvad-mobile-logout-shortcut .bi { font-size: 21px; line-height: 1; }
  .navbar .samvad-mobile-logout-shortcut:hover { background: #e4f7fd; color: #073e5b; }
  .navbar .samvad-mobile-logout-shortcut:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
  .navbar-nav .mobile-button { display: grid; grid-template-columns: 1fr; gap: 8px; width: 100%; margin: 12px 0 0; padding: 0; }
  .navbar-nav .mobile-button > li.nav-item { display: block !important; width: 100% !important; min-width: 0; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 8px; background: transparent !important; list-style: none; }
  .navbar-nav .mobile-button .samvad-header-action { display: flex !important; align-items: center; justify-content: center; min-height: 42px; width: 100%; padding: 9px 12px !important; border: 1px solid rgba(255,255,255,.8) !important; border-radius: 8px; color: #fff !important; font-size: 14px; line-height: 1.3; font-weight: 800; text-align: center; white-space: normal; }
  .navbar-nav .mobile-button .samvad-header-action-primary { border-color: #163d57 !important; background: #163d57; }
  .navbar-nav .mobile-button .samvad-header-action-secondary { background: rgba(0,0,0,.16); }
  .navbar-nav .mobile-button .samvad-header-action-press { border-color: #fff !important; background: #fff; color: #075b7f !important; }
  .navbar .mobile-button > .samvad-mobile-press,
  .navbar .mobile-button > .samvad-mobile-logout { grid-column: 1 / -1; }
  .navbar .mobile-button .samvad-header-action-logout { border-color: #8ed9e9 !important; background: #0b6384; color: #fff !important; }
  .navbar .mobile-button .samvad-header-action-logout:hover { background: #0a779c; }
}
@media (min-width: 1200px) {
  .navbar .samvad-navbar-controls { display: none; }
}
/* Keep the menu controls identical at every collapsed-navbar width. */
@media (max-width: 1199px) {
  .navbar-light .navbar-toggler.samvad-menu-toggle,
  .navbar .samvad-mobile-menu-close {
    display: grid;
    flex: 0 0 44px;
    place-items: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .48);
    border-radius: 10px;
    background: #0b5d7d !important;
    color: #fff !important;
    box-shadow: none;
    cursor: pointer;
  }
  .navbar-light .navbar-toggler.samvad-menu-toggle:hover,
  .navbar .samvad-mobile-menu-close:hover { background: #084761 !important; }
  .navbar-light .navbar-toggler.samvad-menu-toggle:focus-visible,
  .navbar .samvad-mobile-menu-close:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
  .samvad-menu-icon { display: block; width: 24px; height: 24px; flex: none; }
}
