/* ===== Reset & Base ===== */
        *, *::before, *::after {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            background-color: #f2f2f2;
            color: #333;
            line-height: 1.5;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        a {
            text-decoration: none;
            color: inherit;
        }

        ul {
            list-style: none;
        }

        img {
            max-width: 100%;
            display: block;
        }

        /* ===== Container ===== */
        .container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* ===== Header ===== */
        .header {
            background: #fff;
            border-radius: 8px;
            margin: 16px auto;
            width: 100%;
            max-width: 1280px;
            padding: 12px 24px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .header__logo-area {
            display: flex;
            align-items: center;
            gap: 16px;
        }

        .header__logo {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .header__logo-icon {
            width: 40px;
            height: 40px;
        }

        .header__logo-text {
            font-size: 28px;
            font-weight: 700;
            color: #222;
            letter-spacing: 2px;
        }

        .header__tagline {
            font-size: 12px;
            color: #666;
            align-self: center;
            margin-top: 10px;
            margin-left: 10px;;
        }

        .header__actions {
            display: flex;
            align-items: center;
            gap: 24px;
        }

        .header__auth {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 13px;
            color: #333;
        }

        .header__auth-icon {
            width: 20px;
            height: 20px;
            color: #43a047;
        }

        .header__auth a {
            color: #333;
        }

        .header__auth a:hover {
            color: #43a047;
        }

        .header__auth-separator {
            color: #999;
        }

        .header__icons {
            display: flex;
            align-items: center;
            gap: 16px;
            margin-left: auto;
            margin-right: 64px;
        }

        .header__icon {
            width: 20px;
            height: 20px;
            color: #43a047;
            cursor: pointer;
        }

        .header__lang {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 13px;
        }

        .header__lang-item {
            cursor: pointer;
            padding: 4px 6px;
            border-radius: 4px;
        }

        .header__lang-item--active {
            border: 2px solid #43a047;
            color: #43a047;
            font-weight: 600;
        }

        .header__lang-item:not(.header__lang-item--active) {
            color: #333;
        }

        /* ===== Navigation ===== */
        nav.nav {
            background: #284597;
            border-radius: 8px;
            margin: 0 auto 16px;
            width: 100%;
            max-width: 1280px;
            padding: 0 24px;
        }

        nav.nav .nav__list {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0;
        }

        nav.nav .nav__item {
            position: relative;
        }

        nav.nav .nav__link {
            display: block;
            padding: 14px 24px;
            color: #fff;
            font-size: 14px;
            font-weight: 500;
            transition: background 0.2s;
        }

        nav.nav .nav__link:hover {
            background: rgba(255, 255, 255, 0.1);
        }

        nav.nav .nav__item:not(:last-child)::after {
            content: '';
            position: absolute;
            right: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 1px;
            height: 20px;
            background: rgba(255, 255, 255, 0.25);
        }

        /* ===== Breadcrumb ===== */
        .breadcrumb {
            width: 100%;
            max-width: 1280px;
            margin: 0 auto 16px;
            padding: 20px 0px 44px 28px;
            font-size: 12px;
            color: #333;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .breadcrumb__link {
            color: #333;
        }

        .breadcrumb__link:hover {
            color: #43a047;
        }

        .breadcrumb__separator {
            color: #43a047;
            font-size: 10px;
        }

        .breadcrumb__current {
            font-weight: 600;
        }

        /* ===== Tabs ===== */
        .tabs {
            width: 100%;
            max-width: 1280px;
            margin: 0 auto 16px;
            padding: 0 24px 24px 24px;
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
        }

        .tabs__item {
            padding: 10px 20px;
            border-radius: 6px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            text-transform: uppercase;
            transition: all 0.2s;
            white-space: nowrap;
        }

        .tabs__item--inactive {
            background: #dce4ff;
            color: #6b7dd4;
        }

        .tabs__item--inactive:hover {
            background: #c7d2fe;
        }

        .tabs__item--active {
            background: #43a047;
            color: #fff;
        }

        /* ===== Content Card ===== */
        .content {
            width: 100%;
            max-width: 1280px;
            margin: 0 auto 32px;
        }

        .card {
            background: #fff;
            border-radius: 8px;
            padding: 24px 40px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
        }

        /* ===== News Header ===== */
        .news-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 28px;
        }

        .news-header__button {
            display: inline-block;
            padding: 10px 24px;
            border: 2px solid #284597;
            border-radius: 6px;
            color: #284597;
            font-size: 13px;
            font-weight: 600;
            text-transform: uppercase;
            cursor: pointer;
            transition: all 0.2s;
            background: transparent;
            letter-spacing: 0.5px;
        }

        .news-header__button:hover {
            background: #284597;
            color: #fff;
        }

        .news-header__carousel-nav {
            display: flex;
            align-items: center;
            gap: 16px;
        }

        .carousel-nav__arrow {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            border: 2px solid #ddd;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.2s;
            background: #fff;
            color: #999;
        }

        .carousel-nav__arrow:hover {
            border-color: #43a047;
            color: #43a047;
        }

        .carousel-nav__arrow--right {
            border-color: #43a047;
            color: #43a047;
        }

        .carousel-nav__arrow--right:hover {
            background: #43a047;
            color: #fff;
        }

        .carousel-nav__arrow svg {
            width: 16px;
            height: 16px;
        }

        .carousel-nav__progress {
            display: flex;
            align-items: center;
            gap: 4px;
            width: 160px;
            height: 6px;
            background: #e8e8ff;
            border-radius: 3px;
            overflow: hidden;
        }

        .carousel-nav__progress-fill {
            height: 100%;
            width: 40%;
            background: #43a047;
            border-radius: 4px;
        }

        /* ===== News Carousel ===== */
        .news-carousel {
            display: flex;
            gap: 24px;
            overflow-x: auto;
            padding-bottom: 8px;
            scroll-behavior: smooth;
            scrollbar-width: none;
        }

        .news-carousel::-webkit-scrollbar {
            display: none;
        }

        /* ===== News Card ===== */
        .news-card {
            min-width: 280px;
            max-width: 280px;
            height: 420px;
            border-radius: 8px;
            overflow: hidden;
            background: #fff;
            flex-shrink: 0;
            transition: transform 0.2s, box-shadow 0.2s;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
            display: flex;
            flex-direction: column;
        }

        .news-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
        }

        .news-card--partial {
            opacity: 0.5;
        }

        .news-card__image {
            width: 100%;
            height: 180px;
            object-fit: cover;
            display: block;
            flex-shrink: 0;
        }

        .news-card__image-placeholder {
            width: 100%;
            height: 180px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            color: #999;
            flex-shrink: 0;
        }

        .news-card__body {
            padding: 16px;
            display: flex;
            flex-direction: column;
            flex-grow: 1;
        }

        .news-card__title {
            font-size: 14px;
            font-weight: 600;
            color: #222;
            line-height: 1.45;
            margin-bottom: auto;
            display: -webkit-box;
            -webkit-line-clamp: 4;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-decoration: underline;
            text-underline-offset: 3px;
            transition: color 0.2s;
        }

        .news-card__title:hover {
            color: #284597;
        }

        .news-card__date {
            font-size: 13px;
            color: #222;
            margin-top: 12px;
            margin-bottom: 10px;
        }

        .news-card__tags {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            margin-top: auto;
        }

        .news-card__tag {
            display: inline-block;
            padding: 6px 12px;
            background: #e8e8ff;
            border-radius: 4px;
            font-size: 11px;
            color: #284597;
            font-weight: 500;
        }

        .news-card__tag--faded {
            opacity: 0.4;
        }

        /* ===== Modal (no Bootstrap CSS loaded) ===== */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1050;
            background: rgba(0, 0, 0, 0.5);
            align-items: center;
            justify-content: center;
        }

        .modal.show {
            display: flex;
        }

        .modal-dialog {
            max-width: 700px;
            width: 90%;
            margin: 40px auto;
        }

        .modal-content {
            background: #fff;
            border-radius: 8px;
            overflow: hidden;
        }

        .modal-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 16px 20px;
            border-bottom: 1px solid #eee;
        }

        .modal-title {
            font-size: 16px;
            font-weight: 600;
        }

        .modal-header .close {
            background: none;
            border: none;
            font-size: 24px;
            cursor: pointer;
            color: #999;
            padding: 0;
            line-height: 1;
        }

        .modal-body {
            padding: 20px;
        }

        .news-full-content {
            line-height: 1.6;
        }

        /* ===== Footer ===== */
        .footer {
            margin-top: auto;
            background: #284597;
            border-radius: 8px;
            width: 100%;
            max-width: 1280px;
            margin: auto auto 16px;
            padding: 32px 40px;
            color: #fff;
        }

        .footer__top {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 24px;
        }

        .footer__logo-area {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .footer__logo {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 8px;
        }

        .footer__logo-icon {
            width: 36px;
            height: 36px;
        }

        .footer__logo-text {
            font-size: 28px;
            font-weight: 700;
            color: #fff;
            letter-spacing: 2px;
        }

        .footer__help-title {
            font-size: 14px;
            font-weight: 500;
            margin-bottom: 8px;
        }

        .footer__help-contact {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 8px;
            font-size: 15px;
            font-weight: 500;
        }

        .footer__help-contact svg {
            width: 16px;
            height: 16px;
            color: #43a047;
            flex-shrink: 0;
            margin-right: 10px; 
        }

        .footer__social-title {
            font-size: 14px;
            font-weight: 500;
            margin-bottom: 12px;
            margin-top: 16px;
        }

        .footer__social-icons {
            display: flex;
            gap: 16px;
        }

        .footer__social-icon {
            width: 20px;
            height: 20px;
            color: #43a047;
            cursor: pointer;
        }

        .footer__legal {
            font-size: 10px;
            color: rgba(255, 255, 255, 0.7);
            margin-top: 16px;
            line-height: 1.5;
        }

        .footer__column h4 {
            font-size: 14px;
            font-weight: 600;
            margin-bottom: 12px;
        }

        .footer__column ul {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .footer__column a {
            font-size: 13px;
            color: rgba(255, 255, 255, 0.8);
            transition: color 0.2s;
        }

        .footer__column a:hover {
            color: #fff;
        }

        .footer__app {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .footer__app-title {
            font-size: 13px;
            color: rgba(255, 255, 255, 0.9);
            line-height: 1.4;
        }

        .footer__qr-row {
            display: flex;
            align-items: center;
            gap: 16px;
            margin-top: 8px;
        }

        .footer__qr {
            width: 80px;
            height: 80px;

        }

        .footer__qr-placeholder {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .footer__store-badge {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .footer__store-icon {
            width: 32px;
            height: 32px;
        }

        .footer__store-text {
            font-size: 12px;
            color: rgba(255, 255, 255, 0.7);
        }

        .footer__store-text strong {
            display: block;
            font-size: 13px;
            color: #fff;
        }

        /* ===== Bottom Bar ===== */
        .bottom-bar {
            background: #555;
            border-radius: 8px;
            margin: 0 auto 16px;
            width: 100%;
            max-width: 1280px;
            padding: 16px 40px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-size: 13px;
            color: rgba(255, 255, 255, 0.7);
        }

        .bottom-bar__links {
            display: flex;
            gap: 24px;
        }

        .bottom-bar__link {
            color: rgba(255, 255, 255, 0.7);
            text-decoration: underline;
        }

        .bottom-bar__link:hover {
            color: #fff;
        }

        /* ===== Responsive ===== */
        @media (max-width: 900px) {
            .footer__top {
                grid-template-columns: 1fr 1fr;
                gap: 24px;
            }
        }

        @media (max-width: 600px) {
            .header {
                flex-direction: column;
                gap: 12px;
            }

            .nav__list {
                flex-wrap: wrap;
                justify-content: center;
            }

            .nav__link {
                padding: 10px 12px;
                font-size: 12px;
            }

            .tabs {
                flex-wrap: wrap;
            }

            .footer__top {
                grid-template-columns: 1fr;
            }

            .bottom-bar {
                flex-direction: column;
                gap: 12px;
                text-align: center;
            }

            .bottom-bar__links {
                flex-wrap: wrap;
                justify-content: center;
            }

            .news-header {
                flex-direction: column;
                gap: 16px;
            }

            .news-card {
                min-width: 240px;
                max-width: 240px;
            }
        }

                /* ===== Contact List ===== */
        .contact-list {
            display: flex;
            flex-direction: column;
        }

        .contact-item {
            display: grid;
            grid-template-columns: 80px 350px 240px 360px auto;
            align-items: center;
            padding: 20px 0;
            border-bottom: 1px solid #e8e8e8;
            gap: 0;
        }

        .contact-item:last-child {
            border-bottom: none;
        }

        .contact-item__avatar {
            width: 80px;
            height: 80px;
            border-radius: 8px;
            object-fit: cover;
            flex-shrink: 0;
            background: #f5f5f5;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }

        .contact-item__avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .contact-item__info {
            padding: 0 24px;
        }

        .contact-item__name {
            font-size: 18px;
            font-weight: 600;
            color: #222;
            margin-bottom: 4px;
        }

        .contact-item__title {
            font-size: 14px;
            color: #222;
        }

        .contact-item__phone {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 0 24px;
        }

        .contact-item__phone-icon {
            width: 18px;
            height: 18px;
            color: #43a047;
            flex-shrink: 0;
        }

        .contact-item__phone a {
            font-size: 15px;
            color: #222;
            font-weight: 500;
            text-decoration: underline;
        }

        .contact-item__phone a:hover {
            color: #43a047;
        }

        .contact-item__email {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 0 24px;
        }

        .contact-item__email-icon {
            width: 18px;
            height: 18px;
            color: #43a047;
            flex-shrink: 0;
        }

        .contact-item__email a {
            font-size: 15px;
            color: #222;
            font-weight: 500;
            text-decoration: underline;
        }

        .contact-item__email a:hover {
            color: #43a047;
        }

        .contact-item__actions {
            display: flex;
            align-items: center;
            gap: 16px;
            padding: 0 24px;
        }

        .contact-item__action {
            width: 32px;
            height: 32px;
            cursor: pointer;
            transition: opacity 0.2s;
        }

        .contact-item__action:hover {
            opacity: 0.7;
        }

        .contact-list-empty {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 48px 0;
            gap: 16px;
        }

        .contact-list-empty__icon {
            width: 64px;
            height: 64px;
            color: #ccc;
        }

        .contact-list-empty__icon svg {
            width: 100%;
            height: 100%;
        }

        .contact-list-empty__text {
            font-size: 16px;
            color: #999;
        }

        /* ===== Profile Card ===== */
        .profile-card {
            background: #fff;
            border-radius: 8px;
            padding: 40px;
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
        }

        .profile-card__inner {
            display: flex;
            gap: 60px;
        }

        .profile-card__left {
            flex-shrink: 0;
            width: 420px;
        }

        .profile-card__logo-wrapper {
            width: 150px;
            height: 150px;
            border-radius: 12px;
            overflow: hidden;
            margin-bottom: 24px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            background: #f5f5f5;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .profile-card__logo {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .profile-card__name {
            font-size: 28px;
            font-weight: 500;
            color: #000;
            margin-bottom: 12px;
            line-height: 1.3;
        }

        .profile-card__role {
            font-size: 15px;
            color: #000;
            margin-bottom: 24px;
            font-weight: 500;
        }

        .profile-card__contacts {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .profile-card__contact-item {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            font-size: 15px;
            color: #000;
            line-height: 1.5;
        }

        .profile-card__contact-icon {
            width: 18px;
            height: 18px;
            color: #43a047;
            flex-shrink: 0;
            margin-top: 2px;
        }

        .profile-card__contact-item a {
            color: #000;
            text-decoration: underline;
        }

        .profile-card__contact-item a:hover {
            color: #43a047;
        }

        .profile-card__right {
            flex: 1;
            min-width: 0;
        }

        .profile-card__description-header {
            font-size: 15px;
            font-weight: 500;
            color: #000;
            margin-bottom: 8px;
        }

        .profile-card__description {
            font-size: 15px;
            color: #000;
            line-height: 1.6;
            margin-bottom: 32px;
        }

        .profile-card__description-empty {
            color: #999;
        }

        .profile-card__tax-info {
            display: flex;
            gap: 24px;
            flex-wrap: wrap;
        }

        .profile-card__tax-item {
            font-size: 15px;
            color: #000;
        }

        .profile-card__tax-label {
            margin-right: 4px;
        }

        .profile-card__tax-value {
            font-weight: 400;
        }

        @media (max-width: 1024px) {
            .profile-card__inner {
                flex-direction: column;
                gap: 32px;
            }

            .profile-card__left {
                width: 100%;
            }
        }


/* top menu */        
.header .top-menu.dropdown {
    float: left;
    margin: 0 0 0 0;
    height: 30px;
    line-height: 30px;
}


.header .top-menu .lbl {
  color: #fff;
}

/* User Menu Dropdown - Inside header__icons */
.header__icons {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header .user-menu {
  position: relative;
  display: flex;
  align-items: center;
  margin-left: 8px;
}

.header .user-menu .dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #0C4467;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.header .user-menu__toggle {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header .user-menu .dropdown-toggle img {
  display: block;
  height: 35px;
  width: 35px;
  border-radius: 50%;
  border: 2px solid #e0e0e0;
  transition: border-color 0.2s ease-in-out;
  flex-shrink: 0;
}

.header .user-menu .dropdown-toggle:hover img {
  border-color: #43a047;
}

.header .user-menu__names {
  color: #0C4467;
  line-height: 1.3;
  text-align: left;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.header .user-menu__company {
  font-size: 12px;
  color: #666;
}

/* Dropdown Menu */
.header .user-menu .dropdown-menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 200px;
  padding: 8px 0;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.header .user-menu.open .dropdown-menu {
  display: block;
}

.header .user-menu .dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  color: #333;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}

.header .user-menu .dropdown-item:hover {
  background: #f8f9fa;
  color: #284597;
}

.header .user-menu .dropdown-item .font-icon {
  width: 18px;
  text-align: center;
  color: #888;
  font-size: 14px;
}

.header .user-menu .dropdown-item:hover .font-icon {
  color: #284597;
}

.header .user-menu .dropdown-divider {
  height: 1px;
  margin: 6px 16px;
  background: #e8e8e8;
}

/* ===== Notification Dropdown ===== */
.dropdown-notification {
  position: relative;
}

.header-alarm {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  position: relative;
  padding: 0;
}

.header-alarm:hover {
  background: rgba(67, 160, 71, 0.1);
}

.header-alarm .header__icon {
  color: #43a047;
  width: 22px;
  height: 22px;
}

.header-alarm.active .header__icon {
  color: #e53935;
}

/* Notification badge (red dot on bell) */
.header-alarm.active::after {
  content: '';
  position: absolute;
  top: 6px;
  right: 6px;
  width: 8px;
  height: 8px;
  background: #e53935;
  border-radius: 50%;
  border: 1.5px solid #fff;
}

/* Dropdown Panel */
.dropdown-menu-notif {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  width: 340px;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  z-index: 1050;
  overflow: hidden;
}

.dropdown-notification.open .dropdown-menu-notif,
.dropdown-menu-notif.show {
  display: block;
}

/* Header */
.dropdown-menu-notif-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  border-bottom: 1px solid #f0f0f0;
}

.dropdown-menu-notif-header .label label-pill.label-danger,
.dropdown-menu-notif-header .label.label-pill.label-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  background: #e53935;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  border-radius: 10px;
  line-height: 1;
}

/* Notification List */
.dropdown-menu-notif-list {
  max-height: 320px;
  overflow-y: auto;
  padding: 8px 0;
}

.dropdown-menu-notif-list::-webkit-scrollbar {
  width: 4px;
}

.dropdown-menu-notif-list::-webkit-scrollbar-track {
  background: transparent;
}

.dropdown-menu-notif-list::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 2px;
}

/* Notification Item */
.dropdown-menu-notif-item {
  display: flex;
  flex-direction: column;
  padding: 10px 16px;
  gap: 4px;
  transition: background 0.15s;
  position: relative;
}

.dropdown-menu-notif-item:hover {
  background: #f8f9fa;
}

.dropdown-menu-notif-item .photo {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.dropdown-menu-notif-item .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dropdown-menu-notif-item .dot {
  width: 6px;
  height: 6px;
  background: #43a047;
  border-radius: 50%;
  margin: 2px 0;
}

.dropdown-menu-notif-item > a {
  font-size: 13px;
  color: #333;
  text-decoration: none;
  line-height: 1.4;
}

.dropdown-menu-notif-item > a:hover {
  color: #284597;
  text-decoration: underline;
}

.dropdown-menu-notif-item .color-blue-grey-lighter {
  font-size: 11px;
  color: #999;
  margin-top: 2px;
}

/* Footer - View All */
.dropdown-menu-notif-more {
  padding: 10px 16px;
  border-top: 1px solid #f0f0f0;
  text-align: center;
}

.dropdown-menu-notif-more a {
  font-size: 13px;
  color: #284597;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s;
}
.dropdown-menu-notif-more a:hover {
  color: #1a2d6d;
  text-decoration: underline;
}

/* ===== Messages Dropdown ===== */
.dropdown-menu-messages {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  width: 340px;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  z-index: 1050;
  overflow: hidden;
}

.dropdown-notification.open .dropdown-menu-messages,
.dropdown-menu-messages.show {
  display: block;
}

/* Messages Header */
.dropdown-menu-messages-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid #f0f0f0;
  background: #fff;
}

.dropdown-menu-messages-header .nav {
  display: flex;
  gap: 0;
  background: transparent;
  margin: 0;
  padding: 0;
}

.dropdown-menu-messages-header .nav-item {
  background: transparent;
}

.dropdown-menu-messages-header .nav-item:hover {
  background: transparent;
}

.dropdown-menu-messages-header .nav-item {
  position: relative;
}

.dropdown-menu-messages-header .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}

.dropdown-menu-messages-header .nav-link:hover {
  background: #f5f5f5;
}

.dropdown-menu-messages-header .nav-link.active {
  color: #284597;
}

.dropdown-menu-messages-header .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 12px;
  right: 12px;
  height: 2px;
  background: #284597;
  border-radius: 1px;
}

.dropdown-menu-messages-header .label.label-pill.label-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: #e53935;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  border-radius: 10px;
  line-height: 1;
}

.dropdown-menu-messages-header .create {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #43a047;
  font-size: 16px;
  transition: color 0.15s;
}

.dropdown-menu-messages-header .create:hover {
  color: #284597;
}

/* Messages List */
.dropdown-menu-messages-list {
  max-height: 320px;
  overflow-y: auto;
  padding: 8px 0;
}

.dropdown-menu-messages-list::-webkit-scrollbar {
  width: 4px;
}

.dropdown-menu-messages-list::-webkit-scrollbar-track {
  background: transparent;
}

.dropdown-menu-messages-list::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 2px;
}

/* Message Item */
.mess-item {
  display: flex;
  align-items: flex-start;
  padding: 12px 16px;
  gap: 12px;
  text-decoration: none;
  transition: background 0.15s;
}

.mess-item:hover {
  background: #f5f7fa;
}

.mess-item .avatar-preview {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #e8e8e8;
  border: 2px solid #e8e8e8;
}

.mess-item .avatar-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mess-item .mess-item-name {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  margin-bottom: 2px;
}

.mess-item .mess-item-txt {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 12px;
  color: #666;
  line-height: 1.4;
  word-wrap: break-word;
}

/* Empty state */
.dropdown-menu-messages-list:empty::after {
  content: 'Нет непрочитанных сообщений';
  display: block;
  padding: 24px 16px;
  text-align: center;
  font-size: 13px;
  color: #999;
}

/* Tab content wrapper */
.tab-content {
  min-height: 100px;
}

.tab-pane {
  display: block;
}

.tab-pane:not(.active) {
  display: none;
}

/* Screen reader visually-hidden */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Global Modern Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-item {
  display: inline-flex;
}

.page-link {
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  color: #1E293B;
  text-decoration: none;
  background: #ffffff;
  border: 1px solid #E2E8F0;
  transition: all 0.2s ease;
  box-sizing: border-box;
  line-height: 1;
  user-select: none;
}

.page-link:hover {
  background-color: #F8FAFC;
  border-color: #CBD5E1;
  color: #1C4680;
}

.page-item.active .page-link {
  border-color: #2EA625;
  background-color: #2EA625;
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(46, 166, 37, 0.25);
}

.page-item.disabled .page-link {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
  background: #F8FAFC;
  border-color: #E2E8F0;
  color: #94A3B8;
}

