/* BidBridge dashboard-new — base styles (full set in indexNew.blade.php) */
* {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
}
body {
   font-family: "Public Sans", sans-serif;
   background: #f5f5f5;
   min-height: 100vh;
   display: flex;
   justify-content: center;
}
.dashboard {
   display: flex;
   width: 100%;
   max-width: 1384px;
   gap: 46px;
   margin: 0 auto;
   padding: 50px 0 180px 0;
}
.sidebar {
   width: 266px;
   background: #fff;
   border-radius: 12px;
   padding: 36px 38px 36px 24px;
   height: fit-content;
   flex-shrink: 0;
   display: flex;
   flex-direction: column;
   gap: 47px;
}
.logo {
   font-family: "Public Sans", sans-serif;
   font-weight: 900;
   font-size: 34px;
   line-height: 41px;
   text-transform: uppercase;
   color: #415598;
}
.menu {
   display: flex;
   flex-direction: column;
   gap: 28px;
}
.menu a {
   display: flex;
   align-items: center;
   gap: 12px;
   text-decoration: none;
   font-family: "Public Sans", sans-serif;
   font-weight: 400;
   font-size: 15px;
   color: #444050;
   transition: 0.2s;
}
.menu a:hover,
.menu a.active {
   color: #415598;
}
.menu .icon,
.topbar .icon {
   flex-shrink: 0;
   display: inline-block;
   vertical-align: middle;
}
.menu .icon {
   width: 20px;
   height: 20px;
}
.menu .icon svg,
.topbar .icons .icon svg {
   display: block;
   width: 100%;
   height: 100%;
}
.topbar .icons .icon {
   width: 24px;
   height: 24px;
}
.main {
   flex: 1;
   min-width: 0;
}
.topbar {
   display: flex;
   justify-content: space-between;
   align-items: center;
   margin-bottom: 38px;
   margin-top: 18px;
}
.topbar h1 {
   font-family: "Public Sans", sans-serif;
   font-weight: 500;
   font-size: 24px;
   line-height: 28px;
   color: #444050;
}
.icons {
   display: flex;
   gap: 26px;
   font-size: 24px;
   color: #444050;
   align-items: center;
}
.topbar .icons a.icon {
   color: inherit;
   text-decoration: none;
}

/* Пользователь в topbar: аватар слева, имя и должность справа, выпадающий список */
.topbar-user {
   position: relative;
}
.topbar-user__trigger {
   display: inline-flex;
   align-items: center;
   gap: 12px;
   padding: 6px 12px 6px 6px;
   border: 1px solid #D1D0D4;
   border-radius: 8px;
   background: #fff;
   font-family: "Public Sans", sans-serif;
   color: #444050;
   cursor: pointer;
   transition: border-color 0.2s, background 0.2s;
}
.topbar-user__trigger:hover {
   border-color: #415598;
   background: #f8f9ff;
}
.topbar-user__avatar {
   width: 40px;
   height: 40px;
   flex-shrink: 0;
   border-radius: 50%;
   overflow: hidden;
   background: #E0DEE4;
   display: flex;
   align-items: center;
   justify-content: center;
}
.topbar-user__avatar-img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   display: block;
}
.topbar-user__initials {
   font-size: 14px;
   font-weight: 500;
   color: #415598;
   line-height: 1;
}
.topbar-user__info {
   display: flex;
   flex-direction: column;
   align-items: flex-start;
   gap: 2px;
   min-width: 0;
   text-align: left;
}
.topbar-user__name {
   font-size: 14px;
   font-weight: 500;
   line-height: 1.2;
   max-width: 140px;
   overflow: hidden;
   text-overflow: ellipsis;
   white-space: nowrap;
}
.topbar-user__role {
   font-size: 12px;
   font-weight: 400;
   color: #6D6B77;
   line-height: 1.2;
}
.topbar-user__chevron {
   flex-shrink: 0;
   transition: transform 0.2s;
   margin-left: 4px;
}
.topbar-user__trigger[aria-expanded="true"] .topbar-user__chevron {
   transform: rotate(180deg);
}
.topbar-user__dropdown {
   position: absolute;
   top: calc(100% + 6px);
   right: 0;
   min-width: 160px;
   background: #fff;
   box-shadow: 0 4px 12px rgba(47, 43, 61, 0.16);
   border-radius: 6px;
   border: 1px solid #E0DEE4;
   padding: 6px 0;
   z-index: 100;
}
.topbar-user__dropdown[hidden] {
   display: none;
}
.topbar-user__item {
   display: block;
   padding: 10px 16px;
   font-family: "Public Sans", sans-serif;
   font-size: 14px;
   color: #444050;
   text-decoration: none;
   transition: background 0.2s;
}
.topbar-user__item:hover {
   background: #f5f5f5;
   color: #415598;
}

.content {
   background: #fff;
   box-shadow: 0 2px 8px rgba(47, 43, 61, 0.12);
   border-radius: 6px;
   padding: 44px 34px;
   box-sizing: border-box;
}

@media (max-width: 992px) {
   .dashboard {
      flex-direction: column;
   }
   .sidebar {
      width: 100%;
      flex-direction: row;
      flex-wrap: wrap;
      padding: 20px 24px;
   }
   .menu {
      flex-direction: row;
      flex-wrap: wrap;
   }
}
@media (max-width: 768px) {
   .topbar h1 {
      font-size: 20px;
   }
   .content {
      padding: 20px 16px;
   }
}
