.topbar-v2{
  position: sticky;
  top: 0;
  z-index: 1100;
  background: transparent;
  padding: 0 0 14px;
}

.topbar-v2-inner{
  position: relative;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  background: linear-gradient(to right, rgba(61,126,185,.96), rgba(7,168,105,.93));
  border-bottom: 2px solid rgba(255,255,255,.12);
  border-radius: 0 0 20px 20px;
  box-shadow: 0 12px 34px rgba(0,0,0,.22);
}

.topbar-v2-title{
  text-align: center;
  max-width: calc(100% - 90px);
}

.topbar-v2-title h1{
  margin: 0;
  font-size: 16px;
  font-weight: 900;
  color: #fff;
  text-align: center;
  line-height: 1.8;
  text-shadow: 0 10px 22px rgba(0,0,0,.30);
  word-break: break-word;
}

.menu-button{
  position: absolute;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
  z-index: 1200;
  background-color: #15445A;
  color: #fff;
  border: none;
  padding: 10px 15px;
  border-radius: 15px;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0,0,0,.35);
  transition: background-color .3s, color .3s, transform .15s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
}

.menu-button:hover{
  background-color: #fff;
  color: #15445A;
}

.menu-icon{
  font-size: 20px;
  transition: transform .3s ease, color .3s ease;
}

.menu-button.open .menu-icon{
  transform: rotate(180deg);
  color: #FF6666;
}

.menu-text{
  transition: opacity .3s ease;
}

.sidebar-v2{
  height: 100%;
  width: 260px;
  position: fixed;
  top: 0;
  right: 0;
  padding-top: 12px;
  background-color: rgba(21, 68, 90, 0.96);
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.35);
  transform: translateX(100%);
  transition: transform .3s ease-in-out;
  z-index: 1150;
  overflow-y: auto;
}

.sidebar-v2.show{
  transform: translateX(0);
}

.sidebar-subscription-info{
  text-align: center;
  margin-top: 58px;
  padding: 10px 14px 18px;
  color: #fff;
  width: 100%;
}

.sidebar-guest-info{
  margin-top: 70px;
}

.sidebar-brand-title{
  text-align: center;
  padding: 0 0 8px;
}

.sidebar-brand-title strong{
  color: gold;
  font-size: 20px;
  font-weight: 900;
}

.sidebar-subscription-lines{
  font-size: 14px;
  line-height: 1.9;
}

.sidebar-subscription-lines .dayend{
  font-size: 13px;
}

.sidebar-nav-v2{
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 0 16px;
  width: 100%;
}

.sidebar-nav-v2 > a,
.sidebar-dropdown-menu a{
  width: 100%;
  padding: 10px 14px;
  color: #fff;
  background: #3D7EB9;
  text-decoration: none;
  text-align: right;
  transition: background-color .3s, transform .2s, color .3s;
  box-shadow: 0 4px 8px rgba(0,0,0,.18);
}

.sidebar-nav-v2 > a i,
.sidebar-dropdown-menu a i{
  margin-left: 10px;
}

.sidebar-nav-v2 > a:hover,
.sidebar-nav-v2 > a.active,
.sidebar-dropdown-menu a:hover{
  background-color: #fff !important;
  color: #3D7EB9 !important;
  transform: scale(1.02);
}

.logout-link-v2{
  background-color: #FF6666 !important;
}

.logout-link-v2:hover{
  color: red !important;
}

.sidebar-dropdown-toggle{
  display: flex !important;
  align-items: center;
  justify-content: space-between;
}

.sidebar-dropdown-arrow{
  margin-right: auto;
  margin-left: 0;
  font-size: 12px;
  transition: transform .25s ease;
}

.sidebar-dropdown-toggle.open .sidebar-dropdown-arrow{
  transform: rotate(180deg);
}

.sidebar-dropdown-menu{
  width: 100%;
  display: none;
  padding: 6px 8px 8px;
  background: rgba(255,255,255,.08);
}

.sidebar-dropdown-menu.show{
  display: block;
}

.sidebar-dropdown-menu a{
  display: block;
  border-radius: 10px;
  margin-bottom: 6px;
  background: linear-gradient(to right, #3D7EB9, #07A869);
  font-size: 14px;
}

.sidebar-overlay-v2{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.18);
  z-index: 1140;
  display: none;
}

.sidebar-overlay-v2.show{
  display: block;
}

.app-main{
  position: relative;
  z-index: 1;
}

@media (max-width: 1000px){
  .sidebar-v2{
    width: 50%;
    min-width: 220px;
    max-width: 320px;
  }

  .topbar-v2-inner{
    min-height: 72px;
    padding: 14px 14px;
  }

  .topbar-v2-title{
    max-width: calc(100% - 82px);
  }

  .topbar-v2-title h1{
    font-size: 14px;
  }

  .menu-button{
    right: 14px;
    padding: 10px 13px;
  }
}