﻿@charset "UTF-8";
.modal-wide {
  max-width: 90vw;
  width: auto;
  margin: 1rem auto;
}

.modal-body {
  max-height: 80vh;
  overflow-y: auto !important;
}

@media (max-width: 1200px) {
  .modal-wide {
    max-width: 95vw;
  }
}
@media (max-width: 768px) {
  .modal-wide {
    max-width: 98vw;
  }
}
.user-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  display: inline-block;
  aspect-ratio: 1/1;
}

@media (max-width: 576px) {
  .user-avatar {
    width: 28px;
    height: 28px;
  }
}
.lang-flag {
  height: 15px;
}

/* Dropdown flags */
.lang-flag-dropdown {
  height: 15px;
}

/* Mobile improvements */
@media (max-width: 576px) {
  .lang-flag {
    height: 14px; /* bigger flag */
    margin-right: 5px;
  }
  .navbar-nav .nav-link {
    padding: 0.5rem 0.75rem;
  }
  .dropdown-menu {
    min-width: 160px; /* more space */
  }
}
.navbar-badge {
  position: absolute;
  top: 0;
  right: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  color: #ff0000; /* жълт текст, може да смениш */
  padding: 0;
  background: none !important;
  border: none !important;
  /* за да стои точно */
  line-height: 1;
}

@keyframes notifGlowInfinite {
  0% {
    box-shadow: 0 0 0px rgba(255, 193, 7, 0.8);
  }
  50% {
    box-shadow: 0 0 12px rgb(255, 193, 7);
  }
  100% {
    box-shadow: 0 0 0px rgba(255, 193, 7, 0.8);
  }
}
.notif-glow {
  animation: notifGlowInfinite 1s ease-in-out infinite;
}

body {
  -ms-overflow-style: scrollbar;
  font-size: 12px;
}

.container-fluid {
  max-width: 1920px;
}

.btn {
  font-size: 12px;
}
.btn:focus {
  box-shadow: none;
}

.btn-white {
  background: white;
  border: 1px solid #ccc;
}

.btn-primary {
  background: #0060a0 !important;
  border-color: #0060a0 !important;
}
.btn-primary:hover, .btn-primary:active, .btn-primary:focus {
  background: rgb(0, 65.4, 109) !important;
  border-color: rgb(0, 65.4, 109) !important;
}

.btn-group button {
  cursor: pointer;
}

a, .nav-link {
  color: darkblue;
}

.text-danger {
  color: red;
}

.cke_notifications_area {
  display: none !important;
}

/* --- Основен контейнер --- */
.jGrowl {
  z-index: 9999;
  position: fixed;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
@media (max-width: 767px) {
  .jGrowl {
    font-size: 14px;
  }
}

/* --- Нотификация --- */
.jGrowl-notification {
  background: #fff !important;
  color: #333 !important;
  border-radius: 12px !important;
  padding: 16px 18px !important;
  margin: 12px !important;
  width: 380px !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12) !important;
  text-align: left !important;
  display: none;
  opacity: 0;
  transform: translateY(-10px);
  animation: growlFadeIn 0.25s ease-out forwards;
  /* цветна лента вляво */
  border-left: 6px solid transparent !important;
}
@media (max-width: 767px) {
  .jGrowl-notification {
    width: 300px !important;
  }
}
@media (max-width: 400px) {
  .jGrowl-notification {
    width: 220px !important;
  }
}

/* --- Успех --- */
.jGrowl-notification.bg-success {
  border-left-color: #28a745 !important;
}

/* --- Грешка --- */
.jGrowl-notification.bg-danger {
  border-left-color: #dc3545 !important;
}

/* --- Заглавие --- */
.jGrowl-notification .jGrowl-header {
  font-size: 1rem !important;
  font-weight: 600 !important;
  margin-bottom: 6px !important;
}

/* --- Текст --- */
.jGrowl-notification .jGrowl-message {
  font-size: 0.95rem !important;
  line-height: 1.4 !important;
}

/* --- Бутон за затваряне --- */
.jGrowl-closer {
  background-color: #007bff !important;
  color: white !important;
  border-radius: 12px !important;
  padding: 16px 26px !important; /* МНОГО по-голям */
  font-size: 1.15rem !important; /* по-голям текст */
  font-weight: 600 !important;
  margin-top: 18px !important;
  cursor: pointer;
  text-align: center;
  min-width: 180px !important; /* гарантира ширина */
  min-height: 55px !important; /* гарантира височина */
  line-height: 1.4 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18) !important;
  transition: all 0.2s ease;
}

.jGrowl-closer:hover {
  background-color: #0069d9 !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22) !important;
}

/* --- Анимация --- */
@keyframes growlFadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/*.modal-wide {
width: 90%;
max-width: 90%;
}*/
.modal-center {
  width: 50%;
  max-width: 50%;
}

.navbar form {
  color: rgba(255, 255, 255, 0.5);
}

.no-min-height {
  min-height: 0 !important;
}

.multiselectTab label, .multiselectTab .btn-white, .multiselectTab .multiselect {
  width: 100%;
}
.multiselectTab label {
  font-weight: bold;
}
.multiselectTab input, .multiselectTab textarea {
  width: 100%;
  height: 20px;
  padding-top: 15px;
  padding-bottom: 15px;
}
.multiselectTab input:disabled, .multiselectTab textarea:disabled {
  background-color: lightgrey;
  border: lightgrey;
}
.multiselectTab select {
  width: 100%;
  height: 30px;
  line-height: 50px;
}
.multiselectTab select:disabled {
  background-color: lightgrey;
  border: lightgrey;
}
.multiselectTab .multiselect {
  height: 30px;
  padding-top: 5px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.multiselectTab .multiselect:hover {
  border-color: #0060a0 !important;
  box-shadow: 0 2px 8px rgba(13, 110, 253, 0.15);
}
.multiselectTab .multiselect-container {
  width: 100%;
  max-width: 100%;
}
.multiselectTab .multiselect-container .active .dropdown-item {
  background: #0060a0;
  color: white;
}
.multiselectTab .multiselect-container .active:hover .dropdown-item {
  background: rgb(0, 65.4, 109);
}
.multiselectTab .multiselect-container input[type=text], .multiselectTab .multiselect-container .input-group-addon {
  border-radius: 0;
}
.multiselectTab .multiselect-container input[type=radio], .multiselectTab .multiselect-container input[type=checkbox] {
  width: auto;
  position: relative;
  top: 5px;
}

.jsgrid {
  margin: 10px 0;
  min-height: 400px;
}
.jsgrid .jsgrid-table {
  overflow: hidden;
  border-radius: 0;
  margin-bottom: 0;
  border-spacing: 1px;
  border-collapse: separate;
  width: 100%;
}
.jsgrid .jsgrid-table .jsgrid-header-row {
  background-color: #0060a0;
  border-radius: 0;
  color: white;
}
.jsgrid .jsgrid-table .jsgrid-header-row th {
  padding: 6px;
  border: 0;
  text-align: left;
  line-height: 1;
  font-weight: normal;
}
.jsgrid .jsgrid-table .jsgrid-header-row th.jsgrid-header-sortable {
  cursor: pointer;
}
.jsgrid .jsgrid-table .jsgrid-header-row th.jsgrid-header-sortable:hover {
  background-color: rgb(0, 65.4, 109);
}
.jsgrid .jsgrid-table .jsgrid-header-row th.jsgrid-header-sort-asc:after {
  content: "▲";
}
.jsgrid .jsgrid-table .jsgrid-header-row th.jsgrid-header-sort-desc:after {
  content: "▼";
}
.jsgrid .jsgrid-table tr.jsgrid-insert-row, .jsgrid .jsgrid-table tr.jsgrid-filter-row {
  background-color: white !important;
  font-size: 10px;
}
.jsgrid .jsgrid-table tr.jsgrid-insert-row td, .jsgrid .jsgrid-table tr.jsgrid-filter-row td {
  vertical-align: middle !important;
  border: 0;
}
.jsgrid .jsgrid-table tr.jsgrid-insert-row td input[type=text], .jsgrid .jsgrid-table tr.jsgrid-insert-row td input[type=number], .jsgrid .jsgrid-table tr.jsgrid-insert-row td select, .jsgrid .jsgrid-table tr.jsgrid-filter-row td input[type=text], .jsgrid .jsgrid-table tr.jsgrid-filter-row td input[type=number], .jsgrid .jsgrid-table tr.jsgrid-filter-row td select {
  width: 100%;
  height: 20px;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
}
.jsgrid .jsgrid-table tr.jsgrid-row, .jsgrid .jsgrid-table .jsgrid-alt-row {
  cursor: pointer;
}
.jsgrid .jsgrid-table tr.jsgrid-row:hover, .jsgrid .jsgrid-table .jsgrid-alt-row:hover {
  background-color: #e7e7e7;
}
.jsgrid .jsgrid-table tr.jsgrid-row.flash-row, .jsgrid .jsgrid-table .jsgrid-alt-row.flash-row {
  -webkit-animation: flashmessage 1.4s 4 ease-in-out both;
  animation: flashmessage 1.4s 4 ease-in-out both;
}
.jsgrid .jsgrid-table tr.jsgrid-row.red, .jsgrid .jsgrid-table .jsgrid-alt-row.red {
  background-color: #ff6666;
}
.jsgrid .jsgrid-table tr.jsgrid-row.yellow, .jsgrid .jsgrid-table .jsgrid-alt-row.yellow {
  background-color: #ffff99;
}
.jsgrid .jsgrid-table tr.jsgrid-row.green, .jsgrid .jsgrid-table .jsgrid-alt-row.green {
  background-color: #1aff1a;
}
.jsgrid .jsgrid-table tr.jsgrid-row.lightgreen, .jsgrid .jsgrid-table .jsgrid-alt-row.lightgreen {
  background-color: #B7FFAD;
}
.jsgrid .jsgrid-table tr.jsgrid-row.lightblue, .jsgrid .jsgrid-table .jsgrid-alt-row.lightblue {
  background-color: #85C7FF;
}
.jsgrid .jsgrid-table tr.jsgrid-row.lightpink, .jsgrid .jsgrid-table .jsgrid-alt-row.lightpink {
  background-color: #FFD1DC;
}
.jsgrid .jsgrid-table tr.jsgrid-row.blue, .jsgrid .jsgrid-table .jsgrid-alt-row.blue {
  background-color: #9999ff;
}
.jsgrid .jsgrid-table tr.jsgrid-row.orange, .jsgrid .jsgrid-table .jsgrid-alt-row.orange {
  background-color: #ffdb99;
}
.jsgrid .jsgrid-table tr.jsgrid-row.lightgrey, .jsgrid .jsgrid-table .jsgrid-alt-row.lightgrey {
  background-color: #e6e6e6;
}
.jsgrid .jsgrid-table tr.jsgrid-row.selected, .jsgrid .jsgrid-table .jsgrid-alt-row.selected {
  background-color: #0060a0;
  color: white;
}
.jsgrid .jsgrid-table tr.jsgrid-row.selected:hover, .jsgrid .jsgrid-table .jsgrid-alt-row.selected:hover {
  background-color: rgb(0, 111.3, 185.5);
}
.jsgrid .jsgrid-table tr.jsgrid-row.grey, .jsgrid .jsgrid-table .jsgrid-alt-row.grey {
  background-color: #e7e7e7;
}
.jsgrid .jsgrid-table tr.jsgrid-row.bold, .jsgrid .jsgrid-table .jsgrid-alt-row.bold {
  font-weight: bold;
}
.jsgrid .jsgrid-table tr.jsgrid-row.critical td:nth-of-type(5), .jsgrid .jsgrid-table .jsgrid-alt-row.critical td:nth-of-type(5) {
  background-color: red;
}
.jsgrid .jsgrid-table tr.jsgrid-row.high td:nth-of-type(5), .jsgrid .jsgrid-table .jsgrid-alt-row.high td:nth-of-type(5) {
  background-color: orange;
}
.jsgrid .jsgrid-table tr.jsgrid-row.medium td:nth-of-type(5), .jsgrid .jsgrid-table .jsgrid-alt-row.medium td:nth-of-type(5) {
  background-color: #cccc00;
}
.jsgrid .jsgrid-table tr.jsgrid-row.low td:nth-of-type(5), .jsgrid .jsgrid-table .jsgrid-alt-row.low td:nth-of-type(5) {
  background-color: green;
}
.jsgrid .jsgrid-table tr.jsgrid-row.report-invnumber td:nth-of-type(2), .jsgrid .jsgrid-table .jsgrid-alt-row.report-invnumber td:nth-of-type(2) {
  background-color: #cccc00;
}
.jsgrid .jsgrid-table tr.jsgrid-row.report-vendornumber td:nth-of-type(11), .jsgrid .jsgrid-table .jsgrid-alt-row.report-vendornumber td:nth-of-type(11) {
  background-color: #ff6666;
}
.jsgrid .jsgrid-table tr.jsgrid-row.td-expiring td:nth-of-type(1), .jsgrid .jsgrid-table .jsgrid-alt-row.td-expiring td:nth-of-type(1) {
  background-color: #cccc00;
}
.jsgrid .jsgrid-table tr.jsgrid-row.td-valid td:nth-of-type(1), .jsgrid .jsgrid-table .jsgrid-alt-row.td-valid td:nth-of-type(1) {
  background-color: #00e600;
}
.jsgrid .jsgrid-table tr.jsgrid-row.td-invalid td:nth-of-type(1), .jsgrid .jsgrid-table .jsgrid-alt-row.td-invalid td:nth-of-type(1) {
  background-color: #ff6666;
}
.jsgrid .jsgrid-table tr.jsgrid-row.td-whStatusRed td:nth-of-type(3), .jsgrid .jsgrid-table .jsgrid-alt-row.td-whStatusRed td:nth-of-type(3) {
  background-color: #ff6666;
}
.jsgrid .jsgrid-table tr.jsgrid-row.td-whStatusYellow td:nth-of-type(3), .jsgrid .jsgrid-table .jsgrid-alt-row.td-whStatusYellow td:nth-of-type(3) {
  background-color: #ffff99;
}
.jsgrid .jsgrid-table tr.jsgrid-row.td-whStatusGreen td:nth-of-type(3), .jsgrid .jsgrid-table .jsgrid-alt-row.td-whStatusGreen td:nth-of-type(3) {
  background-color: #1aff1a;
}
.jsgrid .jsgrid-table tr.jsgrid-row.td-whStatusBlue td:nth-of-type(3), .jsgrid .jsgrid-table .jsgrid-alt-row.td-whStatusBlue td:nth-of-type(3) {
  background-color: #9999ff;
}
.jsgrid .jsgrid-table tr.jsgrid-row.td-whStatusOrange td:nth-of-type(3), .jsgrid .jsgrid-table .jsgrid-alt-row.td-whStatusOrange td:nth-of-type(3) {
  background-color: #ffdb99;
}
.jsgrid .jsgrid-table tr.jsgrid-row.td-whStatusGrey td:nth-of-type(3), .jsgrid .jsgrid-table .jsgrid-alt-row.td-whStatusGrey td:nth-of-type(3) {
  background-color: rgb(204.5, 204.5, 204.5);
}
.jsgrid .jsgrid-table tr.jsgrid-row.td-wh2StatusRed td:nth-of-type(2), .jsgrid .jsgrid-table .jsgrid-alt-row.td-wh2StatusRed td:nth-of-type(2) {
  background-color: #ff6666;
}
.jsgrid .jsgrid-table tr.jsgrid-row.td-wh2StatusYellow td:nth-of-type(2), .jsgrid .jsgrid-table .jsgrid-alt-row.td-wh2StatusYellow td:nth-of-type(2) {
  background-color: #ffff99;
}
.jsgrid .jsgrid-table tr.jsgrid-row.td-wh2StatusGreen td:nth-of-type(2), .jsgrid .jsgrid-table .jsgrid-alt-row.td-wh2StatusGreen td:nth-of-type(2) {
  background-color: #1aff1a;
}
.jsgrid .jsgrid-table tr.jsgrid-row.td-wh2StatusBlue td:nth-of-type(2), .jsgrid .jsgrid-table .jsgrid-alt-row.td-wh2StatusBlue td:nth-of-type(2) {
  background-color: #9999ff;
}
.jsgrid .jsgrid-table tr.jsgrid-row.td-wh2StatusOrange td:nth-of-type(2), .jsgrid .jsgrid-table .jsgrid-alt-row.td-wh2StatusOrange td:nth-of-type(2) {
  background-color: #ffdb99;
}
.jsgrid .jsgrid-table tr.jsgrid-row.td-wh2StatusGrey td:nth-of-type(2), .jsgrid .jsgrid-table .jsgrid-alt-row.td-wh2StatusGrey td:nth-of-type(2) {
  background-color: rgb(204.5, 204.5, 204.5);
}
.jsgrid .jsgrid-table tr.jsgrid-row.td-deiQuantityRed td:nth-of-type(10), .jsgrid .jsgrid-table .jsgrid-alt-row.td-deiQuantityRed td:nth-of-type(10) {
  background-color: #ff6666;
}
.jsgrid .jsgrid-table tr.jsgrid-row.td-deiDocQuantityRed td:nth-of-type(11), .jsgrid .jsgrid-table .jsgrid-alt-row.td-deiDocQuantityRed td:nth-of-type(11) {
  background-color: #ff6666;
}
.jsgrid .jsgrid-table tr.jsgrid-row.td-locked td:nth-of-type(1), .jsgrid .jsgrid-table .jsgrid-alt-row.td-locked td:nth-of-type(1) {
  background-color: darkgray;
}
.jsgrid .jsgrid-table tr.jsgrid-row.td-column1Red20 td:nth-of-type(1), .jsgrid .jsgrid-table .jsgrid-alt-row.td-column1Red20 td:nth-of-type(1) {
  background-color: #ff6666;
}
.jsgrid .jsgrid-table tr.jsgrid-row td, .jsgrid .jsgrid-table .jsgrid-alt-row td {
  vertical-align: middle !important;
  border-bottom: 1px solid #e7e7e7;
  padding: 5px;
  word-wrap: break-word;
}
.jsgrid .jsgrid-table tr.jsgrid-row.td-revQuantityRed td, .jsgrid .jsgrid-table .jsgrid-alt-row.td-revQuantityRed td {
  background-color: #ff9999;
}
.jsgrid .jsgrid-table tr.jsgrid-row.td-revQuantityYellow td, .jsgrid .jsgrid-table .jsgrid-alt-row.td-revQuantityYellow td {
  background-color: #ffff99;
}
.jsgrid .jsgrid-table tr.jsgrid-row.lightGreen td, .jsgrid .jsgrid-table .jsgrid-alt-row.lightGreen td {
  background-color: lightgreen;
}
.jsgrid .jsgrid-table .jsgrid-nodata-row {
  text-align: center;
}
@keyframes flashmessage {
  from {
    background-color: #dff0d8;
  }
}
.jsgrid .jsgrid-pager-container {
  background-color: #e7e7e7;
  text-align: center;
  box-shadow: 0 6px 20px -5px rgba(0, 0, 0, 0.1) inset;
  display: table;
  width: 100%;
  height: 45px;
  border-radius: 0;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Chrome/Safari/Opera */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently not supported by any browser */
}
.jsgrid .jsgrid-pager-container[style] {
  display: block !important;
}
.jsgrid .jsgrid-pager-container .jsgrid-pager {
  display: inline-block;
  padding: 5px;
  border: 0;
  border-top: 1px solid #e0e0e0;
  position: relative;
}
.jsgrid .jsgrid-pager-container .jsgrid-pager .jsgrid-pager-page, .jsgrid .jsgrid-pager-container .jsgrid-pager .jsgrid-pager-nav-button {
  position: relative;
  text-decoration: none;
  color: #337ab7;
  background-color: #fff;
  border: 1px solid #ddd;
  margin-left: -1px;
  float: left;
  display: block;
  padding: 0;
}
.jsgrid .jsgrid-pager-container .jsgrid-pager .jsgrid-pager-page:hover, .jsgrid .jsgrid-pager-container .jsgrid-pager .jsgrid-pager-nav-button:hover {
  background-color: #eeeeee;
  border-color: #ddd;
}
.jsgrid .jsgrid-pager-container .jsgrid-pager .jsgrid-pager-page a, .jsgrid .jsgrid-pager-container .jsgrid-pager .jsgrid-pager-nav-button a {
  display: block;
  color: black;
  text-decoration: none;
  padding: 6px 12px;
  line-height: 1.42857;
}
.jsgrid .jsgrid-pager-container .jsgrid-pager .jsgrid-pager-page.jsgrid-pager-current-page, .jsgrid .jsgrid-pager-container .jsgrid-pager .jsgrid-pager-nav-button.jsgrid-pager-current-page {
  background-color: #0060a0 !important;
  color: white !important;
  border-color: rgb(0, 65.4, 109) !important;
  padding: 6px 12px;
  line-height: 1.42857;
  cursor: default;
}
.jsgrid .jsgrid-pager-container .jsgrid-pager .jsgrid-pager-page:first-child, .jsgrid .jsgrid-pager-container .jsgrid-pager .jsgrid-pager-nav-button:first-child {
  border-bottom-left-radius: 4px;
  border-top-left-radius: 4px;
}
.jsgrid .jsgrid-pager-container .jsgrid-pager .jsgrid-pager-page:last-child, .jsgrid .jsgrid-pager-container .jsgrid-pager .jsgrid-pager-nav-button:last-child {
  border-bottom-right-radius: 4px;
  border-top-right-radius: 4px;
}
.jsgrid .jsgrid-pager-container .jsgrid-pager .jsgrid-pager-page.jsgrid-pager-nav-inactive-button, .jsgrid .jsgrid-pager-container .jsgrid-pager .jsgrid-pager-nav-button.jsgrid-pager-nav-inactive-button {
  cursor: default !important;
}
.jsgrid .jsgrid-pager-container .jsgrid-pager .jsgrid-pager-page.jsgrid-pager-nav-inactive-button a, .jsgrid .jsgrid-pager-container .jsgrid-pager .jsgrid-pager-nav-button.jsgrid-pager-nav-inactive-button a {
  color: #ddd !important;
}
.jsgrid .jsgrid-grid-header {
  margin-right: 20px;
}
.jsgrid .jsgrid-grid-body {
  overflow-x: scroll;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
}

/*.filterPanel {
width: 600px;
padding: 20px;
background: lighten($primary-colour, 60%);
margin-top: 10px;
position: absolute;
z-index: 1;

.filterPanelCloseButton {
    margin-left: 205px;
    padding: 10px 20px;
}

.filterPanelCancelButton {
    margin-left: 325px;
    padding: 10px 20px;
    position: absolute;
}
}*/
/* =========================
Filter Panel
========================= */
.filterPanel {
  width: 600px;
  background-color: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.15);
  position: absolute;
  z-index: 1050;
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  max-height: 400px; /* ограничение височина за scroll */
}

/* =========================
Header
========================= */
.filterPanel .panel-heading {
  padding: 0.75rem 1rem;
  font-weight: 600;
  background-color: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
  text-align: center;
}

/* =========================
Body
========================= */
.filterPanel .panel-body {
  padding: 1rem;
  flex: 1 1 auto;
  overflow-y: auto;
}

/* =========================
Date inputs
========================= */
.filterPanel .datetimefilter {
  padding: 0.5rem;
}

/* =========================
Sticky бутоните
========================= */
.filterPanel .panel-body > .row:last-child {
  display: flex;
  justify-content: center; /* <- центрира бутоните по хоризонтала */
  align-items: center;
  gap: 2.5rem; /* разстояние между бутоните */
  flex-wrap: nowrap;
  position: sticky;
  bottom: 0;
  background-color: #fff;
  padding-top: 0.75rem;
  margin-top: 1rem;
  border-top: 1px solid #dee2e6;
}

/* Самите бутони */
.filterPanelCloseButton,
.filterPanelCancelButton {
  width: auto !important;
  min-width: auto !important;
  max-width: none !important;
  padding: 0.375rem 0.75rem !important;
  font-size: 0.875rem !important;
  position: static !important;
  margin: 0 !important;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.25rem; /* разстояние между иконка и текст */
}

.numberFilterPanel {
  width: 300px;
}
.numberFilterPanel .numberFilterPanelCloseButton {
  margin-left: 120px;
}

.btn.right {
  float: right;
  margin-right: 0;
}

.error {
  color: red;
}

input.error, select.error, textarea.error, .input-validation-error {
  border: 1px solid red;
}

.columns + div {
  display: inline;
  float: right;
  margin-right: 10px;
}
.columns + div .multiselect:hover {
  border-color: #0060a0 !important;
  box-shadow: 0 2px 8px rgba(13, 110, 253, 0.15);
}
.columns + div .multiselect-container {
  position: relative;
  transform: translate3d(-150px, -300px, 0px);
}
.columns + div .multiselect-container .active .dropdown-item {
  background: #0060a0;
  color: white;
}
.columns + div .multiselect-container .active:hover .dropdown-item {
  background: rgb(0, 65.4, 109);
}

.calendarSelects .multiselect {
  width: 100%;
}

#calendar {
  min-width: 991px;
}

.fc-day-grid-container, .fc-week {
  min-height: 400px;
}

.fc-day {
  cursor: pointer;
}

.fc-other-month {
  cursor: not-allowed;
}

.fc-event {
  cursor: pointer;
  color: white !important;
}

#loadIndicator {
  position: fixed;
  top: 50%;
  left: 50%;
  margin-top: -100px;
  margin-left: -75px;
  display: none;
  z-index: 9999;
}

.form-horizontal {
  margin: 10px auto;
  padding: 20px;
  width: 100%;
  min-width: 150px;
  max-width: 500px;
  border: 3px solid #0060a0;
}
.form-horizontal h2 {
  margin-top: 0;
  margin-bottom: 20px;
}
.form-horizontal div {
  margin-bottom: 10px;
}
.form-horizontal label {
  width: 100%;
}
.form-horizontal input[type=text], .form-horizontal input[type=password] {
  width: 100%;
  height: 30px;
}
.form-horizontal input[type=submit] {
  float: right;
}
.form-horizontal .input-group {
  display: flex;
  align-items: stretch;
}
.form-horizontal .input-group .form-control {
  flex: 1 1 auto;
  width: 1%;
  min-width: 0;
  height: 30px;
}
.form-horizontal .input-group .btn {
  display: flex;
  align-items: center;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  margin-left: 0;
  height: 30px;
  padding-top: 0;
  padding-bottom: 0;
}

.modal {
  overflow-x: scroll !important;
  overflow-y: auto;
}
.modal .modal-body .close {
  padding: 1rem;
  margin: -1rem -1rem -1rem auto;
  position: absolute;
  top: 15px;
  right: 15px;
}
.modal .close-button {
  position: absolute;
  top: 10px;
  right: 15px;
}
.modal #details h2 {
  margin-top: 0;
}
.modal #details h4, .modal #details p {
  margin-top: 20px;
}
.modal #details h4.underline, .modal #details p.underline {
  border-bottom: 1px solid black;
}
.modal form label, .modal form .btn-group, .modal form .multiselect {
  width: 100%;
}
.modal form input, .modal form select, .modal form textarea {
  width: 100%;
  height: 20px;
}
.modal form input:disabled, .modal form select:disabled, .modal form textarea:disabled {
  background-color: lightgrey;
  border: lightgrey;
}
.modal form label {
  font-weight: bold;
}
.modal form input[type=checkbox] {
  width: 20px;
}
.modal form input[type=file] {
  width: 400px;
  height: 30px;
}
.modal form textarea {
  height: 90px;
  resize: vertical;
}
.modal form .multiselect {
  height: 30px;
  padding-top: 5px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.modal form .multiselect:hover {
  border-color: #0060a0 !important;
  box-shadow: 0 2px 8px rgba(13, 110, 253, 0.15);
}
.modal form .multiselect-container {
  max-width: 100%;
}
.modal form .multiselect-container .active .dropdown-item {
  background: #0060a0;
  color: white;
}
.modal form .multiselect-container .active:hover .dropdown-item {
  background: rgb(0, 65.4, 109);
}
.modal form .multiselect-container input[type=text], .modal form .multiselect-container .input-group-addon {
  border-radius: 0;
}
.modal form .multiselect-container input[type=radio], .modal form .multiselect-container input[type=checkbox] {
  width: auto;
  position: relative;
  top: 5px !important;
}
.modal form .multiselect-container input, .modal form .multiselect-container textarea {
  padding-top: 15px;
  padding-bottom: 15px;
}

.multiselect-container > li > a > label {
  padding: 3px 20px 3px 5px;
}
.multiselect-container > li > a > label input[type=radio], .multiselect-container > li > a > label input[type=checkbox] {
  width: auto;
  position: relative;
  top: 5px !important;
}

#reportingPeriod, #year, #quarter, #month {
  margin-left: 15px;
  margin-bottom: 15px;
  height: 30px;
  padding-left: 0;
}

#year, #quarter, #month {
  display: none;
}

#HR #objectType {
  height: 38px;
}
#HR .multiselect {
  width: 100%;
}

@media (max-width: 850px) {
  .charts > .row {
    margin-right: 0;
  }
}
@media (min-width: 1200px) and (max-width: 1800px) {
  .charts .half {
    width: 50%;
  }
}
.charts .reportBlock {
  background-color: #e7e7e7;
  margin-top: 10px;
  height: 275px;
  padding-top: 10px;
  position: relative;
  width: 100%;
  max-width: 100%;
}
.charts .reportBlock h1 {
  font-size: 100px;
  margin-top: 30px;
}
.charts .reportBlock h2 {
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 50px;
}
@media (max-width: 1600px) {
  .charts .reportBlock h2 {
    font-size: 40px;
  }
}
@media (max-width: 1300px) {
  .charts .reportBlock h2 {
    font-size: 30px;
  }
}
.charts .reportBlock h2.darker {
  background: #b4b4b4;
}
.charts .reportBlock h4 {
  margin-bottom: 20px;
  font-size: 18px;
}
.charts .reportBlock .progress {
  background: black;
  margin-top: 5px;
  margin-bottom: 25px;
}
.charts .reportBlock .progress-bar {
  min-width: 5%;
}
.charts .reportBlock button {
  position: absolute;
  bottom: 10px;
  left: 10px;
}
.charts .reportBlock img[alt=funnel] {
  width: 100%;
  height: 100%;
}
.charts .reportBlock .opportunitiesValueByStatus {
  width: 60%;
  text-align: center;
  color: white;
  text-shadow: 1px 1px black;
  font-weight: bold;
  position: absolute;
  left: 20%;
}
.charts .reportBlock .opportunitiesValueByStatus:nth-of-type(1) {
  top: 90px;
}
.charts .reportBlock .opportunitiesValueByStatus:nth-of-type(2) {
  top: 135px;
}
.charts .reportBlock .opportunitiesValueByStatus:nth-of-type(3) {
  top: 175px;
}
.charts .reportBlock .opportunitiesValueByStatus:nth-of-type(4) {
  top: 200px;
}
.charts .reportBlock .opportunitiesValueByStatus:nth-of-type(5) {
  top: 220px;
}
.charts .reportBlock #opportunitiesWonValueByQuarter {
  height: 250px;
}
.charts .reportBlock .vertical {
  width: 200px;
  height: 40px;
  -webkit-transform: rotate(-90deg);
  transform: rotate(-90deg);
  box-shadow: inset 0px 4px 6px #ccc;
  margin-top: 100px;
  position: relative;
  right: 65px;
}
.charts .reportBlock .vertical .progress-bar {
  box-shadow: inset 0px 4px 6px rgba(100, 100, 100, 0.6);
}
.charts .reportBlock canvas {
  width: 400px;
  height: 250px;
  background: white;
  max-width: 100%;
}
.charts .bars {
  min-width: 800px;
}
.charts .long {
  height: 370px;
}
.charts .longer {
  height: 560px;
}

#reportTable, #itemsTable {
  width: 100%;
}
#reportTable th, #itemsTable th {
  width: 250px;
  background: #0060a0;
  color: white;
}
#reportTable td, #itemsTable td {
  background: white;
}
#reportTable th, #reportTable td, #itemsTable th, #itemsTable td {
  padding: 5px;
  border: 1px solid #e7e7e7;
}

.reportTable {
  width: 100%;
  text-align: center;
}
.reportTable th {
  background: #0060a0;
  color: white;
}
.reportTable td {
  background: white;
}
.reportTable th, .reportTable td {
  padding: 5px;
  border: 1px solid #e7e7e7;
}

.app-header {
  background-color: #0060a0 !important;
  color: #0060a0;
}
.app-header .nav-link {
  color: rgba(255, 255, 255, 0.5);
}
.app-header .nav-link:hover {
  color: rgba(229.5, 229.5, 229.5, 0.5);
}

footer {
  background-color: #0060a0 !important;
  color: #0060a0;
}
footer a {
  color: #0060a0;
}
footer a:hover {
  color: rgb(0, 65.4, 109);
}

.switch {
  padding: 0.4em;
  background: #eee;
  display: inline-block;
  border-radius: 0.5em;
  font-size: 12px;
  user-select: none;
}
.switch.is-on .switch__control {
  background: #0060a0 !important;
}
.switch.is-on .switch__toggle {
  color: black;
  margin-left: 50%;
}

.switch--round,
.switch--round .switch__toggle,
.switch--round .switch__control {
  border-radius: 5em;
}

.switch--round .switch__control {
  width: 4em;
}

.switch--round.is-on .switch__toggle {
  color: transparent;
}

.switch__control {
  float: left;
  display: inline-block;
  width: 5em;
  height: 2.2em;
  background: #999;
  box-sizing: border-box;
  padding: 0.25em;
  border-radius: 0.333em;
  transition: 200ms;
  cursor: pointer;
}

.switch__toggle {
  line-height: 1.75;
  text-align: center;
  display: inline-block;
  width: 50%;
  height: 100%;
  background: white;
  color: transparent;
  border-radius: 0.25em;
  transition: 200ms;
  box-sizing: border-box;
  font-weight: bold;
}

.switch__label {
  line-height: 2.2;
  float: left;
  padding-right: 1em;
  padding-left: 1em;
}

.switch__label:empty {
  display: none;
}

.switch {
  box-shadow: 0 0.1em 0.4em -0.1em rgba(0, 0, 0, 0.25);
  transition: box-shadow 200ms;
}

.switch:hover {
  box-shadow: 0 0.2em 0.66em 0px rgba(0, 10, 22, 0.25);
  background: #f5f5f5;
}

.custom-spinner {
  display: none;
  position: absolute;
  height: 60px;
  width: 60px;
  top: 50%;
  left: 50%;
  margin-left: -50px;
  margin-top: -50px;
  border: none;
  background: url(/Content/images/loadIndicator.gif);
  background-size: 100%;
  -webkit-animation: custom-spinner 0.75s linear infinite;
  animation: custom-spinner 0.75s linear infinite;
}

.flex-direction-column {
  flex-direction: column;
}

.tree-table {
  border-collapse: collapse;
  width: 100%;
  font-family: Arial, sans-serif;
  font-size: 14px;
}

.tree-table th, .tree-table td {
  border: 1px solid #ddd;
  padding: 8px;
}

.tree-table th {
  background-color: #f2f2f2;
  cursor: pointer;
}

.tree-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

.tree-table tr:hover {
  background-color: #e0e0e0;
}

.toggle-arrow {
  cursor: pointer;
  display: inline-block;
  width: 12px;
}

.pagination-bar {
  margin-top: 10px;
}

.pagination-bar button, .pagination-bar select {
  margin-right: 4px;
}

.clear-filter-btn {
  margin-top: 5px;
}

/* Custom navbar background color */
.bg-grey {
  background-color: rgb(204.5, 204.5, 204.5) !important; /* navbar background */
}

.navbar-grey .navbar-brand,
.navbar-grey .nav-link {
  color: #000000 !important; /* black text */
}

.navbar-grey .nav-link:hover {
  color: #333333 !important; /* darker black on hover */
}

.navbar,
.navbar * {
  font-size: 1rem !important;
  font-family: inherit !important;
}

#eventRegFormModal .modal-body {
  height: 80vh;
  overflow-y: auto;
}

#mobileNavbar .nav-item.active .nav-link {
  position: relative;
}

#mobileNavbar .nav-item.active .nav-link::before, #mobileNavbar > ul.navbar-nav.me-auto > li.nav-item.dropdown.active::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #0060a0;
  z-index: 10;
}

.date-picker-wrapper {
  z-index: 99999 !important;
}

.tabulator-row.tabulator-selected {
  background-color: #d0e6ff !important;
}

@keyframes glowPulse {
  0% {
    background-color: #fffde7;
    box-shadow: 0 0 0px rgba(255, 193, 7, 0);
  }
  50% {
    background-color: #fff9c4;
    box-shadow: 0 0 12px rgba(255, 193, 7, 0.7);
  }
  100% {
    background-color: transparent;
    box-shadow: 0 0 0px rgba(255, 193, 7, 0);
  }
}
.new-row-highlight {
  animation: glowPulse 1.4s 4 ease-in-out both;
}

.parent-row-background {
  background-color: #a4fcfc !important;
}

.page-size-btn {
  border-radius: 10px !important;
  border: 1px solid #d0d7de !important;
  background: #fff !important;
  padding: 6px 12px !important;
  min-width: 50px;
  min-width: 50px;
  text-align: left;
  transition: all 0.2s ease-in-out;
  margin-left: 10px;
}

.page-size-btn:hover {
  border-color: #0060a0 !important;
  box-shadow: 0 2px 8px rgba(13, 110, 253, 0.15);
}

.page-size-btn .caret {
  float: right;
  margin-top: 7px;
}

.datepicker-wrapper {
  position: relative;
}

.events-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(520px, 700px));
  justify-content: center;
  gap: 20px;
  padding: 20px;
}

@media (max-width: 600px) {
  .events-cards {
    grid-template-columns: 1fr;
    padding: 10px;
  }
}
/* Под 430px – една карта на ред */
@media (max-width: 430px) {
  .events-cards {
    grid-template-columns: 1fr;
  }
}
.cardEvent {
  background: #fff;
  border-radius: 14px;
  padding: 12px; /* вътрешно разстояние */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.cardEvent:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

/* Снимката да се вижда цялата */
.cardEvent img {
  width: 100%;
  max-height: 200px;
  height: auto; /* важно – не реже */
  border-radius: 10px;
}

.cardContent {
  padding: 4px 2px;
}

.event-name {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.event-date,
.event-location {
  font-size: 15px;
  color: #555;
  margin-bottom: 6px;
}

.markersEvent {
  margin-right: 6px;
  color: #007bff;
}

.section-title {
  font-weight: bold;
  font-size: 14px;
}

.swiper-slide.sponsor-slide {
  background: #fff; /* контрастен фон */
  border: 2px solid #cfcfcf; /* ясна, видима рамка */
  border-radius: 10px; /* леко заобляне */
  padding: 10px; /* вътрешно разстояние */
  text-align: center; /* центриране */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08); /* леко издигане */
}

.swiper-slide.sponsor-slide img {
  width: 100%;
  height: 90px;
  object-fit: contain;
  margin-bottom: 8px;
}

.sponsor-name {
  font-weight: bold;
  font-size: 14px;
}

.sponsor-link {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.4;
  color: #555;
  word-break: break-word; /* важен за дълги URL-и */
}

/* ако има линк вътре */
.sponsor-link a {
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
}

.sponsor-link a:hover {
  text-decoration: underline;
}

.lecturer-link,
.program-link {
  display: block;
  width: min(90%, 360px);
  text-align: center;
  margin: 10px auto 0;
  padding: 8px 20px;
  background: #009688;
  color: #fff !important;
  border: 1px solid #007f75;
  border-radius: 20px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.25s ease;
}

.lecturer-link:hover,
.program-link:hover {
  background: #00a79c;
  transform: translateY(-2px);
}

/* GRID LAYOUT */
#lecturerContainer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
  width: 100%;
}

/* CARD */
.lecturer-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border: 2px solid #007bff;
  border-radius: 10px;
  background: #fff;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.lecturer-card:hover {
  border-color: #0056c7;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.16);
  transform: translateY(-2px);
}

/* IMAGE */
.lecturer-image-wrapper {
  width: 100%;
  aspect-ratio: 1/1;
  flex-shrink: 0;
  padding: 5px;
  margin-bottom: 10px;
  overflow: hidden;
  border-radius: 10px;
}

.lecturer-image {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: cover;
}

/* TEXT */
.lecturer-name,
.lecturer-org,
.lecturer-job {
  width: 100%;
  min-width: 0;
  padding-right: 8px;
  padding-left: 8px;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.lecturer-name {
  margin-bottom: 4px;
  color: #1f2937;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.lecturer-org,
.lecturer-job {
  color: #555;
  font-size: 13px;
  line-height: 1.3;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.lecturer-org {
  margin-bottom: 3px;
}

.lecturer-job {
  margin-bottom: 10px;
}

/* BUTTON */
.lecturer-more-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  margin-top: auto;
  padding: 8px 6px;
  border: 0;
  border-radius: 0 0 6px 6px;
  background: #007bff;
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  transition: background 0.2s ease;
}

.lecturer-more-btn:hover,
.lecturer-more-btn:focus {
  background: #0056c7;
  color: #fff;
  outline: none;
}

/* DESKTOP */
@media (min-width: 992px) {
  #lecturerContainer {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
  }
}
/* MOBILE */
@media (max-width: 576px) {
  #lecturerContainer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .lecturer-card {
    border-width: 1px;
    border-radius: 8px;
  }
  .lecturer-card:hover {
    transform: none;
  }
  .lecturer-image-wrapper {
    padding: 4px;
    margin-bottom: 7px;
    border-radius: 8px;
  }
  .lecturer-image {
    border-radius: 7px;
  }
  .lecturer-name,
  .lecturer-org,
  .lecturer-job {
    padding-right: 5px;
    padding-left: 5px;
  }
  .lecturer-name {
    margin-bottom: 3px;
    font-size: 13px;
    line-height: 1.25;
  }
  .lecturer-org,
  .lecturer-job {
    font-size: 11px;
    line-height: 1.25;
    -webkit-line-clamp: 3;
  }
  .lecturer-org {
    margin-bottom: 2px;
  }
  .lecturer-job {
    margin-bottom: 7px;
  }
  .lecturer-more-btn {
    min-height: 46px;
    padding: 7px 4px;
    font-size: 11px;
    line-height: 1.2;
  }
}
/* VERY SMALL MOBILE */
@media (max-width: 340px) {
  #lecturerContainer {
    grid-template-columns: 1fr;
  }
  .lecturer-name {
    font-size: 14px;
  }
  .lecturer-org,
  .lecturer-job {
    font-size: 12px;
  }
  .lecturer-more-btn {
    font-size: 12px;
  }
}
/*Program*/
.program-favorites-legend {
  display: flex;
  align-items: center;
  margin-left: auto;
  color: #667085;
  font-size: 12px;
}
.program-favorites-legend .program-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.program-favorites-legend .program-legend-heart {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  line-height: 1;
}

@media (max-width: 576px) {
  .program-favorites-legend {
    font-size: 10px;
  }
  .program-favorites-legend .program-legend-item {
    gap: 5px;
  }
  .program-favorites-legend .program-legend-heart {
    font-size: 17px;
  }
}
#programFilters {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.program-filter-btn {
  background: #e6e6e6;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  transition: 0.2s;
}

.program-filter-btn.active {
  background: #007bff;
  color: #fff;
}

/* КАРТА */
.session-title {
  margin: 22px 0 10px;
  color: #20c9b0 !important;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

/* КАРТА */
.program-card {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #dce7f5;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.program-card:hover {
  transform: translateY(-2px);
  border-color: #9bc7f7;
  box-shadow: 0 6px 16px rgba(0, 123, 255, 0.13);
}
.program-card + .program-card {
  margin-top: 12px;
}

/* ОСНОВЕН РЕД */
.program-row-top {
  display: grid;
  grid-template-columns: 105px minmax(0, 1fr) 40px;
  align-items: start;
  gap: 14px;
  width: 100%;
}

/* ЧАС */
.program-time {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 95px;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 7px;
  background: #eaf4ff;
  color: #0056b3;
  font-size: 14px;
  font-weight: 700;
  line-height: 18px;
  white-space: nowrap;
}

/* Само когато датата и часът трябва да са един под друг */
.program-time-column {
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.program-time-column .program-date,
.program-time-column .program-hour {
  display: block;
  line-height: 18px;
  text-align: center;
}

/* ЗАГЛАВИЕ + МЯСТО */
.program-content {
  min-width: 0;
}

/* ЗАГЛАВИЕ */
.program-title {
  color: #1f2937;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
}

/* МЯСТО */
.program-place {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 7px;
  color: #667085;
  font-size: 13px;
  line-height: 1.4;
  white-space: normal;
  overflow-wrap: anywhere;
}
.program-place i {
  flex-shrink: 0;
  margin-top: 2px;
  color: #007bff;
}

/* ЛЮБИМИ – ВИНАГИ ВДЯСНО */
.program-fav {
  grid-column: 3;
  justify-self: end;
  align-self: start;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-top: -5px;
  margin-right: -7px;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}
.program-fav:hover {
  background-color: #fff6cc;
  transform: scale(1.06);
}
.program-fav.loading {
  pointer-events: none;
  opacity: 0.55;
}
.program-fav .fav-icon {
  color: #c5c9cf;
  font-size: 19px;
  transition: color 0.2s ease, transform 0.2s ease;
}
.program-fav .fav-icon.active {
  color: #ffc107;
}

.program-lecturer {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  width: 100%;
  min-width: 0;
  margin-top: 6px;
  color: #8a94a3;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
}
.program-lecturer > i {
  flex-shrink: 0;
  width: 14px;
  margin-top: 2px;
  color: #98a2b3;
  font-size: 11px;
  text-align: center;
}

.program-lecturer-text {
  display: block;
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
}

.program-lecturer-label {
  color: #7c8798;
  font-weight: 600;
}

.program-lecturer-names {
  color: #98a2b3;
  font-weight: 400;
}

/* МОБИЛЕН */
@media (max-width: 576px) {
  .program-lecturer {
    gap: 5px;
    margin-top: 5px;
    font-size: 11px;
    line-height: 1.4;
  }
  .program-lecturer > i {
    width: 12px;
    margin-top: 2px;
    font-size: 10px;
  }
}
/*Бутон забележка*/
.program-note-btn {
  width: fit-content;
  min-width: 100px;
  min-height: 42px;
  margin: 12px auto 18px;
  padding: 9px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #0d6efd;
  background: linear-gradient(135deg, #ffffff 0%, #f1f7ff 100%);
  border: 1px solid rgba(13, 110, 253, 0.4);
  border-radius: 22px;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(13, 110, 253, 0.12);
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  /*
   * Класът се добавя, когато програмата има бележка.
   */
}
.program-note-btn i {
  flex: 0 0 auto;
  font-size: 1rem;
  transition: transform 0.2s ease;
}
.program-note-btn span {
  white-space: nowrap;
}
.program-note-btn:hover {
  color: #fff;
  background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
  border-color: #0b5ed7;
  box-shadow: 0 6px 16px rgba(13, 110, 253, 0.25);
  transform: translateY(-2px);
}
.program-note-btn:hover i {
  transform: rotate(-8deg) scale(1.08);
}
.program-note-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.2), 0 5px 14px rgba(13, 110, 253, 0.2);
}
.program-note-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 7px rgba(13, 110, 253, 0.18);
}
.program-note-btn:disabled, .program-note-btn.loading {
  color: #6c757d;
  background: #f2f4f6;
  border-color: #dee2e6;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
  opacity: 0.75;
}
.program-note-btn.has-note {
  color: #fff;
  background: linear-gradient(135deg, #198754 0%, #157347 100%);
  border-color: #157347;
  box-shadow: 0 4px 12px rgba(25, 135, 84, 0.22);
}
.program-note-btn.has-note:hover {
  background: linear-gradient(135deg, #157347 0%, #0f5132 100%);
  border-color: #0f5132;
  box-shadow: 0 6px 16px rgba(25, 135, 84, 0.28);
}

@media (max-width: 576px) {
  .program-note-btn {
    width: calc(100% - 24px);
    min-width: 0;
    min-height: 44px;
    margin: 10px 12px 16px;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.9rem;
  }
  .program-note-btn span {
    white-space: normal;
    overflow-wrap: normal;
    word-break: normal;
  }
}
@media (prefers-reduced-motion: reduce) {
  .program-note-btn,
  .program-note-btn i {
    transition: none;
  }
  .program-note-btn:hover {
    transform: none;
  }
}
/* ЗАГЛАВНА СЕСИЯ */
.program-card-session {
  border-color: #20c9b0;
  background: linear-gradient(135deg, rgba(32, 201, 176, 0.11), rgba(32, 201, 176, 0.025));
}
.program-card-session .program-row-top {
  grid-template-columns: 105px minmax(0, 1fr) 40px;
}
.program-card-session .program-time {
  background: #20c9b0;
  color: #fff;
}
.program-card-session .program-title {
  color: #148f7d;
  font-size: 17px;
  font-weight: 700;
}
.program-card-session .program-place {
  color: #39756c;
}
.program-card-session .program-place i {
  color: #20c9b0;
}
.program-card-session:hover {
  border-color: #18ad97;
  box-shadow: 0 6px 16px rgba(32, 201, 176, 0.17);
}

/* ТАБЛЕТ */
@media (max-width: 768px) {
  .session-title {
    margin: 18px 0 8px;
    font-size: 17px;
  }
  .program-card {
    padding: 12px 13px;
  }
  .program-row-top,
  .program-card-session .program-row-top {
    grid-template-columns: 88px minmax(0, 1fr) 38px;
    gap: 10px;
  }
  .program-time {
    min-width: 82px;
    padding: 5px 7px;
    font-size: 13px;
  }
  .program-title {
    font-size: 15px;
    line-height: 1.45;
  }
  .program-card-session .program-title {
    font-size: 16px;
  }
  .program-fav {
    width: 38px;
    height: 38px;
    margin-right: -6px;
  }
}
/* МОБИЛЕН */
@media (max-width: 480px) {
  .session-title {
    margin: 16px 0 8px;
    font-size: 16px;
  }
  .program-card {
    padding: 12px;
    border-left-width: 4px;
    border-radius: 10px;
  }
  .program-row-top,
  .program-card-session .program-row-top {
    grid-template-columns: minmax(0, 1fr) 40px;
    gap: 8px 10px;
  }
  /* Часът е горе вляво */
  .program-time,
  .program-card-session .program-time {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    min-width: auto;
    font-size: 13px;
  }
  /* Звездата е винаги горе вдясно */
  .program-fav,
  .program-card-session .program-fav {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-self: start;
    width: 40px;
    height: 40px;
    margin-top: -6px;
    margin-right: -6px;
  }
  /* Текстът е на цялата ширина */
  .program-content,
  .program-card-session .program-content {
    grid-column: 1/-1;
    grid-row: 2;
    min-width: 0;
    padding-top: 2px;
  }
  .program-title,
  .program-card-session .program-title {
    font-size: 15px;
    line-height: 1.5;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
  }
  .program-place {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.4;
  }
  .program-fav .fav-icon {
    font-size: 19px;
  }
}
.event-scheme-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 65vh;
  object-fit: contain;
  margin: 0 auto;
  border-radius: 0.375rem;
}

.programD-lecturers {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.programD-lecturer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: 8px;
  background: #f8f9fa;
}

.programD-lecturer-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.programD-lecturer-info {
  display: flex;
  flex-direction: column;
}

.programD-lecturer-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.programD-lecturer-job {
  font-size: 0.85rem;
  color: #555;
}

.programD-lecturer-org {
  font-size: 0.85rem;
  color: #777;
}

.programD-lecturers-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #333;
  margin-top: 16px;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 2px solid #e5e5e5;
  display: flex;
  align-items: center;
  gap: 8px;
}

.programD-lecturers-title::before {
  content: "\f0c0"; /* Font Awesome users icon */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #007bff;
  font-size: 1rem;
}

.programD-description-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #333;
  margin-top: 18px;
  margin-bottom: 6px;
  padding-bottom: 6px;
  border-bottom: 2px solid #e5e5e5;
  display: flex;
  align-items: center;
  gap: 8px;
}

.programD-description-title::before {
  content: "\f02d";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #007bff;
  font-size: 1rem;
}

.programD-description {
  font-size: 0.95rem;
  color: black;
  line-height: 1.45;
  background: #f8f9fa;
  padding: 12px 14px;
  border-radius: 8px;
  margin-bottom: 12px;
}

/*-----------------------*/
.lecturer-programs-card {
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  text-align: center;
}

.lecturer-programs-image-wrapper {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.lecturer-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lecturer-programs-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: black;
}

.lecturer-programs-org {
  font-size: 0.95rem;
  color: black;
}

.lecturer-programs-job {
  font-size: 0.95rem;
  color: black;
}

/* --- Заглавие на секцията с програми --- */
.lecturer-programs-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin-top: 18px;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 2px solid #e5e5e5;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lecturer-programs-title::before {
  content: "\f02d"; /* Font Awesome icon */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #007bff;
  font-size: 1rem;
}

/* --- Списък с програми --- */
.lecturer-programs {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* --- Карта на програма --- */
.lecturer-program {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
}

.lecturer-program:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

/* --- Header на програмата --- */
.lecturer-program-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lecturer-program-name {
  font-size: 1rem;
  font-weight: 600;
  color: #222;
}

/* --- Favorite icon --- */
.lecturer-program-fav .fav-icon {
  font-size: 1.3rem;
  color: #ccc;
  cursor: pointer;
  transition: color 0.2s ease;
}

.lecturer-program-fav .fav-icon.active {
  color: #f7c600;
}

/* --- Time --- */
.lecturer-program-time {
  margin-top: 6px;
  font-size: 0.9rem;
  color: black;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* --- Description / Place --- */
.lecturer-program-description {
  margin-top: 10px;
  font-size: 0.9rem;
  color: black;
  line-height: 1.45;
  background: rgba(13, 110, 253, 0.15);
  padding: 10px 12px;
  border-radius: 8px;
}

/*.schema-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.85);
}

.schema-modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    border-radius: 10px;
    transition: transform .1s ease-out;
    cursor: grab;
    touch-action: none;*/ /* важно за pinch */
/*}

.schema-modal-content.zoomed {
    transform: scale(2.2);
    cursor: zoom-out;
}

.schema-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.schema-close:hover {
    color: #ccc;
}*/
#sponsorContainer {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
}

@media (min-width: 1400px) {
  #sponsorContainer {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
/* CARD */
.sponsor-card {
  position: relative;
  width: 100%;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.sponsor-card:hover {
  transform: translateY(-4px);
  border-color: #007bff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* IMAGE AREA */
.sponsor-image-wrapper {
  width: 100%;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background: #f8f9fa;
  border-radius: 10px;
  overflow: hidden;
}

/* LOGO */
.sponsor-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* NAME */
.sponsor-name {
  width: 100%;
  margin-top: 14px;
  margin-bottom: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  color: #343a40;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.icon-button {
  border: none;
  background: transparent;
  padding: 3px 5px;
  margin: 0 1px;
  font-size: 14px;
  cursor: pointer;
}

.icon-button:hover {
  background-color: #f1f1f1;
  border-radius: 4px;
}

.icon-button.edit-row {
  color: #0d6efd;
}

.icon-button.delete-row {
  color: #dc3545;
}

.icon-button.add-child-row {
  color: #198754;
}

.icon-footer-btn {
  width: 32px;
  height: 32px;
  padding: 0;
  margin: 0 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.inf-scroll {
  overflow-y: scroll;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.inf-scroll::-webkit-scrollbar {
  display: none;
}

.requested-services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
}

/* КАРТА */
.requested-service-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dce4ec;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.requested-service-card:hover {
  border-color: #b8d8fa;
  box-shadow: 0 5px 16px rgba(0, 123, 255, 0.12);
  transform: translateY(-2px);
}

/* ЗАГЛАВНА ЧАСТ */
.requested-service-header {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 58px;
  padding: 12px 15px;
  border-bottom: 1px solid #dce4ec;
  background: #f0f6fc;
}

.requested-service-icon {
  display: inline-flex;
  flex: 0 0 36px;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #007bff;
  color: #fff;
  font-size: 15px;
}

.requested-service-title {
  min-width: 0;
  color: #1f2937;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

/* ОПИСАНИЕ */
.requested-service-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 12px 18px;
  flex: 1;
  padding: 15px;
}

.service-detail {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  min-width: 0;
}
.service-detail > i {
  flex: 0 0 17px;
  width: 17px;
  margin-top: 3px;
  color: #007bff;
  font-size: 14px;
  text-align: center;
}

.service-detail-content {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 3px 5px;
  min-width: 0;
}

.service-detail-label {
  flex-shrink: 0;
  color: #667085;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.service-detail-value {
  min-width: 0;
  color: #344054;
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.service-detail-full {
  grid-column: 1/-1;
}

.service-no-information {
  grid-column: 1/-1;
  padding: 5px 0;
  color: #98a2b3;
  font-size: 12px;
  font-style: italic;
}

/* НЯМА ЗАЯВЕНИ УСЛУГИ */
.services-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 100px;
  padding: 20px;
  border: 1px solid #dce4ec;
  border-radius: 12px;
  background: #f8fafc;
  color: #667085;
  font-size: 14px;
  text-align: center;
}
.services-empty i {
  color: #007bff;
  font-size: 18px;
}

/* ТАБЛЕТ И МОБИЛЕН */
@media (max-width: 992px) {
  .requested-services {
    grid-template-columns: 1fr;
  }
}
/* МОБИЛЕН */
@media (max-width: 576px) {
  .requested-services {
    gap: 12px;
  }
  .requested-service-card {
    border-radius: 10px;
  }
  .requested-service-card:hover {
    transform: none;
  }
  .requested-service-header {
    min-height: 54px;
    padding: 10px 12px;
  }
  .requested-service-icon {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
    font-size: 14px;
  }
  .requested-service-title {
    font-size: 14px;
  }
  .requested-service-body {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 13px 12px;
  }
  .service-detail-full {
    grid-column: 1;
  }
}
.services-external-link-wrapper {
  display: flex;
  justify-content: flex-start;
  width: 100%;
  margin-top: 14px;
}

.services-external-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 9px 15px;
  border: 1px solid #007bff;
  border-radius: 8px;
  background: #007bff;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 123, 255, 0.18);
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.services-external-link i {
  flex-shrink: 0;
  font-size: 14px;
}
.services-external-link:hover, .services-external-link:focus {
  border-color: #0056b3;
  background: #0056b3;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 123, 255, 0.25);
  transform: translateY(-1px);
}
.services-external-link:focus-visible {
  outline: 3px solid rgba(0, 123, 255, 0.25);
  outline-offset: 2px;
}

@media (max-width: 768px) {
  .services-external-link-wrapper {
    justify-content: stretch;
  }
  .services-external-link {
    width: 100%;
  }
}
#surveyDetailsModal .modal-dialog {
  width: calc(100% - 30px);
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
}
#surveyDetailsModal .modal-content {
  overflow: hidden;
  border: 0;
  border-radius: 14px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
}
#surveyDetailsModal .modal-header {
  padding: 15px 20px;
  border-bottom: 1px solid #dce4ec;
  background: #f7faff;
}
#surveyDetailsModal .modal-title {
  margin: 0;
  color: #1f2937;
  font-size: 18px;
  font-weight: 700;
}
#surveyDetailsModal .modal-body {
  position: relative;
  max-height: 78vh;
  padding: 18px;
  overflow-x: hidden;
  overflow-y: auto;
  background: #f5f7fa;
}
#surveyDetailsModal .modal-footer {
  padding: 12px 18px;
  border-top: 1px solid #dce4ec;
  background: #fff;
}
#surveyDetailsModal .modal-footer .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 105px;
  min-height: 40px;
  border-radius: 8px;
  font-weight: 600;
}
#surveyDetailsModal #surveyDetailsForm {
  display: block;
  width: 100%;
}
#surveyDetailsModal .survey-settings {
  display: block;
  width: 100%;
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid #dce4ec;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.05);
}
#surveyDetailsModal .survey-settings .form-label {
  display: block;
  margin-bottom: 6px;
  color: #344054;
  font-size: 13px;
  font-weight: 700;
}
#surveyDetailsModal .survey-settings .form-control {
  display: block;
  width: 100%;
  min-height: 42px;
  padding: 8px 11px;
  border: 1px solid #cdd6e1;
  border-radius: 8px;
  background: #fff;
  color: #1f2937;
  font-size: 14px;
  box-shadow: none;
}
#surveyDetailsModal .survey-settings .form-control:focus {
  border-color: #007bff;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.12);
}
#surveyDetailsModal .survey-settings .form-control.is-invalid {
  border-color: #dc3545;
}
#surveyDetailsModal .survey-settings textarea.form-control {
  min-height: 90px;
  resize: vertical;
}
#surveyDetailsModal .survey-options {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  width: 100%;
  padding-top: 3px;
}
#surveyDetailsModal .survey-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #344054;
  font-size: 14px;
  cursor: pointer;
}
#surveyDetailsModal .survey-option input[type=checkbox] {
  flex-shrink: 0;
  width: 17px;
  height: 17px;
  margin: 0;
  cursor: pointer;
}
#surveyDetailsModal .survey-builder-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin-bottom: 8px;
  color: #344054;
}
#surveyDetailsModal .survey-builder-title > div {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
}
#surveyDetailsModal .survey-builder-title > div i {
  color: #007bff;
}
#surveyDetailsModal .survey-builder-title small {
  color: #667085;
  font-size: 12px;
}
#surveyDetailsModal .survey-builder-container {
  display: block;
  width: 100%;
  min-height: 360px;
  padding: 12px;
  border: 1px solid #dce4ec;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.05);
}
#surveyDetailsModal .build-wrap {
  display: block;
  width: 100%;
  min-height: 330px;
}
#surveyDetailsModal .form-builder {
  width: 100%;
  min-height: 330px;
}
#surveyDetailsModal .stage-wrap {
  min-height: 330px;
  border: 1px dashed #b9c5d2;
  border-radius: 9px;
  background: #fbfdff;
}
#surveyDetailsModal .frmb {
  min-height: 300px;
}
#surveyDetailsModal .frmb .form-field {
  border-radius: 8px;
}
#surveyDetailsModal .cb-wrap .frmb-control {
  border-radius: 8px;
}
#surveyDetailsModal .cb-wrap .frmb-control li {
  color: #344054;
  font-size: 13px;
}
#surveyDetailsModal .survey-validation-error {
  display: block;
  width: 100%;
  margin-top: 4px;
  color: #dc3545;
  font-size: 12px;
}
#surveyDetailsModal .survey-modal-loader {
  display: none;
  position: absolute;
  z-index: 20;
  inset: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  background: rgba(255, 255, 255, 0.82);
  color: #007bff;
  font-size: 14px;
  font-weight: 600;
}
#surveyDetailsModal .survey-modal-loader i {
  font-size: 25px;
}
#surveyDetailsModal.survey-modal-loading .survey-modal-loader {
  display: flex;
}

@media (max-width: 992px) {
  #surveyDetailsModal .survey-builder-container {
    overflow-x: auto;
  }
  #surveyDetailsModal .build-wrap {
    min-width: 680px;
  }
}
@media (max-width: 768px) {
  #surveyDetailsModal .modal-dialog {
    width: 100%;
    max-width: 100%;
    min-height: 100%;
    margin: 0;
  }
  #surveyDetailsModal .modal-content {
    min-height: 100vh;
    border-radius: 0;
  }
  #surveyDetailsModal .modal-body {
    max-height: calc(100vh - 130px);
    padding: 12px;
  }
  #surveyDetailsModal .modal-header {
    padding: 13px 14px;
  }
  #surveyDetailsModal .modal-footer {
    flex-wrap: nowrap;
    padding: 10px 12px;
  }
  #surveyDetailsModal .modal-footer .btn {
    flex: 1;
    min-width: 0;
  }
  #surveyDetailsModal .survey-settings {
    padding: 13px;
  }
  #surveyDetailsModal .survey-options {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  #surveyDetailsModal .survey-builder-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }
  #surveyDetailsModal .survey-builder-container {
    padding: 8px;
  }
}
/* Оригиналният select се управлява от bootstrap-multiselect */
.searchable-multiselect {
  display: none;
}

/* Генерираният контейнер */
.searchable-multiselect + .btn-group {
  position: relative;
  display: block;
  width: 100%;
  /* ОСНОВЕН БУТОН */
  /* DROPDOWN */
}
.searchable-multiselect + .btn-group > .multiselect {
  position: relative;
  display: flex;
  align-items: center;
  width: 100% !important;
  min-height: 42px;
  padding: 9px 38px 9px 12px;
  border: 1px solid #ced4da;
  border-radius: 8px;
  background: #fff;
  color: #344054;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  text-align: left;
  white-space: normal;
  box-shadow: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  /* Стрелката */
  /* Показва всички избрани имена на няколко реда */
}
.searchable-multiselect + .btn-group > .multiselect:hover {
  border-color: #9ebfe2;
  background: #fbfdff;
}
.searchable-multiselect + .btn-group > .multiselect:focus, .searchable-multiselect + .btn-group > .multiselect:active, .searchable-multiselect + .btn-group > .multiselect.show {
  border-color: #007bff;
  background: #fff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.12);
}
.searchable-multiselect + .btn-group > .multiselect:disabled {
  cursor: not-allowed;
  background: #f2f4f7;
  color: #98a2b3;
  opacity: 0.75;
}
.searchable-multiselect + .btn-group > .multiselect::after {
  position: absolute;
  top: 50%;
  right: 14px;
  flex-shrink: 0;
  margin: 0;
  transform: translateY(-50%);
}
.searchable-multiselect + .btn-group > .multiselect .multiselect-selected-text {
  display: block;
  width: 100%;
  min-width: 0;
  color: inherit;
  line-height: 1.45;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
}
.searchable-multiselect + .btn-group > .multiselect.lecturers-loading, .searchable-multiselect + .btn-group > .multiselect.customers-loading {
  cursor: wait;
  opacity: 0.65;
}
.searchable-multiselect + .btn-group > .multiselect-container {
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  max-height: 360px;
  margin-top: 5px;
  padding: 7px;
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid #d6dee8;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
  /* ФИЛТЪР */
  /* ОПЦИИ */
  /* Съобщение при липса на резултати */
}
.searchable-multiselect + .btn-group > .multiselect-container .multiselect-filter {
  position: sticky;
  z-index: 3;
  top: -7px;
  display: block;
  width: calc(100% + 14px);
  margin: -7px -7px 7px;
  padding: 8px;
  border-bottom: 1px solid #e5eaf0;
  background: #fff;
}
.searchable-multiselect + .btn-group > .multiselect-container .multiselect-filter .input-group {
  display: flex;
  width: 100%;
}
.searchable-multiselect + .btn-group > .multiselect-container .multiselect-filter .input-group-text,
.searchable-multiselect + .btn-group > .multiselect-container .multiselect-filter .input-group-addon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  border: 1px solid #ced4da;
  border-right: 0;
  border-radius: 7px 0 0 7px;
  background: #f4f7fa;
  color: #667085;
}
.searchable-multiselect + .btn-group > .multiselect-container .multiselect-filter .multiselect-search {
  width: 100%;
  min-width: 0;
  min-height: 38px;
  padding: 7px 10px;
  border: 1px solid #ced4da;
  border-radius: 7px;
  background: #fff;
  color: #1f2937;
  font-size: 13px;
  box-shadow: none;
}
.searchable-multiselect + .btn-group > .multiselect-container .multiselect-filter .multiselect-search:focus {
  position: relative;
  z-index: 1;
  border-color: #007bff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}
.searchable-multiselect + .btn-group > .multiselect-container .multiselect-filter .input-group-text + .multiselect-search,
.searchable-multiselect + .btn-group > .multiselect-container .multiselect-filter .input-group-addon + .multiselect-search {
  border-radius: 0 7px 7px 0;
}
.searchable-multiselect + .btn-group > .multiselect-container > li {
  width: 100%;
  margin: 2px 0;
}
.searchable-multiselect + .btn-group > .multiselect-container > li > a {
  display: block;
  width: 100%;
  color: #344054;
  text-decoration: none;
}
.searchable-multiselect + .btn-group > .multiselect-container .multiselect-option,
.searchable-multiselect + .btn-group > .multiselect-container .multiselect-group,
.searchable-multiselect + .btn-group > .multiselect-container > li > a > label {
  width: 100%;
}
.searchable-multiselect + .btn-group > .multiselect-container .multiselect-option,
.searchable-multiselect + .btn-group > .multiselect-container > li > a > label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-height: 38px;
  margin: 0;
  padding: 9px 10px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #344054;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  text-align: left;
  white-space: normal;
  cursor: pointer;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.searchable-multiselect + .btn-group > .multiselect-container .multiselect-option:hover, .searchable-multiselect + .btn-group > .multiselect-container .multiselect-option:focus,
.searchable-multiselect + .btn-group > .multiselect-container > li > a > label:hover,
.searchable-multiselect + .btn-group > .multiselect-container > li > a > label:focus {
  background: #eef6ff;
  color: #0056b3;
  outline: none;
}
.searchable-multiselect + .btn-group > .multiselect-container .multiselect-option input[type=checkbox],
.searchable-multiselect + .btn-group > .multiselect-container > li > a > label input[type=checkbox] {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  cursor: pointer;
}
.searchable-multiselect + .btn-group > .multiselect-container .multiselect-option .form-check-label,
.searchable-multiselect + .btn-group > .multiselect-container > li > a > label .form-check-label {
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}
.searchable-multiselect + .btn-group > .multiselect-container .multiselect-option.active,
.searchable-multiselect + .btn-group > .multiselect-container > li.active > a > label {
  background: #e5f2ff;
  color: #0056b3;
  font-weight: 600;
}
.searchable-multiselect + .btn-group > .multiselect-container .multiselect-option.disabled,
.searchable-multiselect + .btn-group > .multiselect-container > li.disabled > a > label {
  cursor: not-allowed;
  background: #f8f9fa;
  color: #98a2b3;
  opacity: 0.7;
}
.searchable-multiselect + .btn-group > .multiselect-container .multiselect-empty {
  padding: 12px;
  color: #667085;
  font-size: 13px;
  text-align: center;
}
.searchable-multiselect + .btn-group.show > .multiselect {
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.12);
}

/* ТАБЛЕТ */
@media (max-width: 768px) {
  .searchable-multiselect + .btn-group > .multiselect {
    min-height: 44px;
    padding: 10px 36px 10px 11px;
    font-size: 14px;
  }
  .searchable-multiselect + .btn-group > .multiselect-container {
    max-height: 320px;
  }
  .searchable-multiselect + .btn-group > .multiselect-container .multiselect-option,
  .searchable-multiselect + .btn-group > .multiselect-container > li > a > label {
    min-height: 42px;
    padding: 10px;
  }
}
/* МАЛЪК МОБИЛЕН */
@media (max-width: 480px) {
  .searchable-multiselect + .btn-group > .multiselect-container {
    /*
     * Dropdown-ът остава в рамките на екрана.
     */
    width: 100%;
    min-width: 100%;
    max-width: calc(100vw - 30px);
    max-height: 280px;
  }
  .searchable-multiselect + .btn-group > .multiselect {
    font-size: 13px;
  }
  .searchable-multiselect + .btn-group > .multiselect .multiselect-selected-text {
    line-height: 1.4;
  }
}
/* КОНТЕЙНЕР С НОВИНИ */
.news-cards-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-auto-rows: auto;
  align-items: start;
  gap: 16px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

/* КАРТА */
.news-card {
  display: block;
  align-self: start;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  overflow: hidden;
  box-sizing: border-box;
  border: 1px solid #dce7f5;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  outline: none;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.news-card:hover {
  border-color: #9bc7f7;
  box-shadow: 0 6px 16px rgba(0, 123, 255, 0.13);
}

/* СЪДЪРЖАНИЕ НА КАРТАТА */
.news-card-body {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  padding: 16px;
  overflow: visible;
  box-sizing: border-box;
}

/* ЗАГЛАВИЕ */
.news-card-title {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  margin: 0 0 10px;
  overflow: visible;
  box-sizing: border-box;
  color: #1f2937;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  white-space: normal !important;
  text-overflow: clip;
  /*
   * Думите се пренасят само цели.
   */
  overflow-wrap: normal !important;
  word-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
  /*
   * Няма ограничение на броя редове.
   */
  -webkit-box-orient: initial;
  -webkit-line-clamp: unset;
  line-clamp: unset;
}

/* ОПИСАНИЕ */
.news-card-description {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  margin-bottom: 14px;
  padding: 11px 12px;
  overflow: visible;
  box-sizing: border-box;
  border-radius: 8px;
  background: rgba(13, 110, 253, 0.15);
  color: #344054;
  font-size: 14px;
  line-height: 1.45;
  white-space: normal !important;
  text-overflow: clip;
  /*
   * Думите се пренасят само цели.
   */
  overflow-wrap: normal !important;
  word-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
  /*
   * Няма ограничение на броя редове.
   */
  -webkit-box-orient: initial;
  -webkit-line-clamp: unset;
  line-clamp: unset;
  /*
   * Премахва евентуални стилове от текстовия редактор,
   * които могат да разделят думите или да забранят
   * пренасянето на нов ред.
   */
  /*
   * Само дългите URL адреси могат да се разделят,
   * за да не излизат извън мобилния екран.
   */
}
.news-card-description p,
.news-card-description div,
.news-card-description span,
.news-card-description strong,
.news-card-description em,
.news-card-description b,
.news-card-description small,
.news-card-description h1,
.news-card-description h2,
.news-card-description h3,
.news-card-description h4,
.news-card-description h5,
.news-card-description h6,
.news-card-description ul,
.news-card-description ol,
.news-card-description li {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal !important;
  overflow-wrap: normal !important;
  word-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
  -webkit-box-orient: initial !important;
  -webkit-line-clamp: unset !important;
  line-clamp: unset !important;
}
.news-card-description p {
  margin: 0 0 7px;
  line-height: inherit;
}
.news-card-description p:last-child {
  margin-bottom: 0;
}
.news-card-description h1,
.news-card-description h2,
.news-card-description h3,
.news-card-description h4,
.news-card-description h5,
.news-card-description h6 {
  height: auto;
  max-height: none;
  margin: 10px 0 6px;
  overflow: visible;
  line-height: 1.35;
}
.news-card-description h1:first-child,
.news-card-description h2:first-child,
.news-card-description h3:first-child,
.news-card-description h4:first-child,
.news-card-description h5:first-child,
.news-card-description h6:first-child {
  margin-top: 0;
}
.news-card-description ul,
.news-card-description ol {
  margin: 6px 0;
  padding-left: 22px;
}
.news-card-description li {
  margin-bottom: 2px;
}
.news-card-description a {
  display: inline;
  max-width: 100%;
  color: #006fe6;
  text-decoration: underline;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-wrap: break-word !important;
  word-break: break-word !important;
  hyphens: none !important;
}
.news-card-description a:hover {
  color: #0056b3;
}
.news-card-description img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 10px auto;
  border-radius: 7px;
  object-fit: contain;
}
.news-card-description video {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 10px 0;
  border-radius: 7px;
}
.news-card-description iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 350px;
  margin: 10px 0;
  border: 0;
  border-radius: 7px;
}
.news-card-description table {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 10px 0;
  overflow-x: auto;
  border-collapse: collapse;
  -webkit-overflow-scrolling: touch;
}
.news-card-description table th,
.news-card-description table td {
  padding: 7px 9px;
  border: 1px solid #b8c9dc;
  text-align: left;
  white-space: normal !important;
  overflow-wrap: normal !important;
  word-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}
.news-card-description table th {
  background: rgba(255, 255, 255, 0.55);
  font-weight: 700;
}

/* ДОЛНА ЧАСТ */
.news-card-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #e7edf5;
}

/* ДАТА */
.news-card-date {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  max-width: 100%;
  color: #667085;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}
.news-card-date i {
  flex-shrink: 0;
  color: #007bff;
  font-size: 14px;
}
.news-card-date span {
  min-width: 0;
  max-width: 100%;
  white-space: normal !important;
  overflow-wrap: normal !important;
  word-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}

/* ПРАЗЕН РЕЗУЛТАТ И ГРЕШКА */
.news-empty,
.news-error {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 100px;
  padding: 20px;
  box-sizing: border-box;
  border: 1px solid #dce4ec;
  border-radius: 12px;
  background: #f8fafc;
  color: #667085;
  font-size: 14px;
  text-align: center;
}
.news-empty i,
.news-error i {
  color: #007bff;
  font-size: 18px;
}

.news-error {
  border-color: #f1b8bd;
  background: #fff5f5;
  color: #842029;
}
.news-error i {
  color: #dc3545;
}

/* ТАБЛЕТ */
@media (max-width: 992px) {
  .news-cards-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
}
/* МОБИЛЕН */
@media (max-width: 576px) {
  .news-cards-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  .news-card {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    border-radius: 10px;
  }
  .news-card-body {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    padding: 12px 10px;
  }
  .news-card-title {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    height: auto;
    max-height: none;
    margin-bottom: 7px;
    overflow: visible;
    font-size: 15px;
    line-height: 1.3;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
    -webkit-box-orient: initial;
    -webkit-line-clamp: unset;
    line-clamp: unset;
  }
  .news-card-description {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    height: auto;
    max-height: none;
    margin-bottom: 10px;
    padding: 9px;
    overflow: visible;
    border-radius: 7px;
    font-size: 13px;
    line-height: 1.3;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
    -webkit-box-orient: initial;
    -webkit-line-clamp: unset;
    line-clamp: unset;
  }
  .news-card-description p,
  .news-card-description div,
  .news-card-description span,
  .news-card-description strong,
  .news-card-description em,
  .news-card-description b,
  .news-card-description small,
  .news-card-description h1,
  .news-card-description h2,
  .news-card-description h3,
  .news-card-description h4,
  .news-card-description h5,
  .news-card-description h6,
  .news-card-description ul,
  .news-card-description ol,
  .news-card-description li {
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
  .news-card-description p {
    margin: 0;
    line-height: 1.3;
  }
  .news-card-description p + p {
    margin-top: 4px;
  }
  .news-card-description h1,
  .news-card-description h2,
  .news-card-description h3,
  .news-card-description h4,
  .news-card-description h5,
  .news-card-description h6 {
    margin: 7px 0 4px;
    line-height: 1.3;
  }
  .news-card-description ul,
  .news-card-description ol {
    margin: 4px 0;
    padding-left: 19px;
  }
  .news-card-description li {
    margin-bottom: 1px;
    line-height: 1.3;
  }
  .news-card-description a {
    overflow-wrap: anywhere !important;
    word-wrap: break-word !important;
    word-break: break-word !important;
  }
  .news-card-description img {
    margin: 8px auto;
  }
  .news-card-description video,
  .news-card-description iframe {
    margin: 8px 0;
  }
  .news-card-description iframe {
    min-height: 220px;
  }
  .news-card-footer {
    gap: 8px;
    padding-top: 9px;
  }
  .news-card-date {
    gap: 6px;
    font-size: 12px;
    line-height: 1.3;
  }
  .news-card-date i {
    font-size: 13px;
  }
  .news-empty,
  .news-error {
    min-height: 90px;
    padding: 16px;
    font-size: 13px;
  }
}
/* МАЛЪК МОБИЛЕН */
@media (max-width: 360px) {
  .news-card-body {
    padding: 10px 8px;
  }
  .news-card-title {
    font-size: 14px;
    line-height: 1.3;
  }
  .news-card-description {
    padding: 8px;
    font-size: 12px;
    line-height: 1.3;
  }
  .news-card-description p,
  .news-card-description li {
    line-height: 1.3;
  }
  .news-card-date {
    font-size: 11px;
  }
}
/* ЦЯЛАТА СЕКЦИЯ */
.news-details-section {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

/* ЗАГЛАВИЕ НА СЕКЦИЯТА */
.news-details-section-title {
  margin: 0 0 12px;
  color: #1f2937;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}

/* ОСНОВНА КАРТА */
.news-details-card {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  padding: 20px;
  border: 1px solid #dce7f5;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}

/* ЗАГЛАВНА ЧАСТ */
.news-details-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e7edf5;
}

/* ЗАГЛАВИЕ НА НОВИНАТА */
.news-details-title {
  min-width: 0;
  margin: 0;
  color: #1f2937;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
}

/* ДАТА */
.news-details-date {
  display: flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  max-width: 100%;
  padding: 6px 10px;
  border-radius: 7px;
  background: #eaf4ff;
  color: #0056b3;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}
.news-details-date i {
  flex-shrink: 0;
  color: #007bff;
  font-size: 14px;
}
.news-details-date span {
  min-width: 0;
  overflow-wrap: anywhere;
}

/* ОПИСАНИЕ */
.news-details-description {
  width: 100%;
  min-width: 0;
  padding: 16px;
  border-radius: 9px;
  background: rgba(13, 110, 253, 0.15);
  color: #344054;
  font-size: 15px;
  line-height: 1.65;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
}
.news-details-description p {
  margin-top: 0;
  margin-bottom: 12px;
}
.news-details-description p:last-child {
  margin-bottom: 0;
}
.news-details-description ul,
.news-details-description ol {
  margin-top: 8px;
  margin-bottom: 12px;
  padding-left: 24px;
}
.news-details-description li {
  margin-bottom: 5px;
}
.news-details-description a {
  color: #0056b3;
  font-weight: 600;
  text-decoration: underline;
  overflow-wrap: anywhere;
}
.news-details-description a:hover {
  color: #003f83;
}
.news-details-description img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 14px auto;
  border-radius: 8px;
}
.news-details-description video,
.news-details-description iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 14px 0;
  border: 0;
  border-radius: 8px;
}
.news-details-description table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}
.news-details-description th,
.news-details-description td {
  padding: 8px;
  border: 1px solid rgba(13, 110, 253, 0.25);
}

/* ПРАЗЕН РЕЗУЛТАТ И ГРЕШКА */
.news-details-empty,
.news-details-error {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 100px;
  padding: 20px;
  border: 1px solid #dce4ec;
  border-radius: 12px;
  background: #f8fafc;
  color: #667085;
  font-size: 14px;
  text-align: center;
}
.news-details-empty i,
.news-details-error i {
  color: #007bff;
  font-size: 18px;
}

.news-details-error {
  border-color: #f1b8bd;
  background: #fff5f5;
  color: #842029;
}
.news-details-error i {
  color: #dc3545;
}

/* МОБИЛЕН */
@media (max-width: 576px) {
  .news-details-section-title {
    margin-bottom: 10px;
    font-size: 17px;
  }
  .news-details-card {
    padding: 13px 12px;
    border-radius: 10px;
  }
  .news-details-header {
    gap: 8px;
    margin-bottom: 12px;
    padding-bottom: 11px;
  }
  .news-details-title {
    font-size: 18px;
    line-height: 1.4;
  }
  .news-details-date {
    padding: 5px 8px;
    font-size: 12px;
  }
  .news-details-date i {
    font-size: 13px;
  }
  .news-details-description {
    padding: 11px 10px;
    border-radius: 7px;
    font-size: 14px;
    line-height: 1.55;
  }
  .news-details-description ul,
  .news-details-description ol {
    padding-left: 20px;
  }
}
/* МАЛЪК МОБИЛЕН */
@media (max-width: 360px) {
  .news-details-card {
    padding: 11px 10px;
  }
  .news-details-title {
    font-size: 16px;
  }
  .news-details-date {
    font-size: 11px;
  }
  .news-details-description {
    padding: 9px;
    font-size: 13px;
  }
}
.notifications-table-wrapper {
  width: 100%;
  overflow: hidden;
  border: 1px solid #dce7f5;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}

.notifications-table {
  width: 100%;
  margin: 0;
  table-layout: fixed;
}
.notifications-table tbody {
  border: 0;
}
.notifications-table > tbody > tr > td {
  border-color: #e7edf5;
}

/* ОСНОВЕН РЕД */
.notif-row {
  cursor: pointer;
  outline: none;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}
.notif-row > td {
  padding: 13px 14px;
  vertical-align: middle;
}
.notif-row:hover {
  background: #f5f9ff;
}
.notif-row:focus-visible {
  background: #edf5ff;
  box-shadow: inset 0 0 0 2px rgba(13, 110, 253, 0.3);
}
.notif-row.notification-loading {
  opacity: 0.65;
  pointer-events: none;
}

/* НЕПРОЧЕТЕНА НОТИФИКАЦИЯ */
.notification-unread {
  background: rgba(13, 110, 253, 0.06);
}
.notification-unread .notification-title {
  color: #1f2937;
  font-weight: 700;
}
.notification-unread .notification-status-icon {
  color: #007bff;
}

/* ПРОЧЕТЕНА НОТИФИКАЦИЯ */
.notification-read {
  background: #fff;
}
.notification-read .notification-title {
  color: #667085;
  font-weight: 400;
}
.notification-read .notification-status-icon {
  color: #98a2b3;
}

/* ИКОНА И ЗАГЛАВИЕ */
.notification-main-cell {
  width: auto;
  min-width: 0;
}

.notification-title-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.notification-status {
  display: inline-flex;
  flex: 0 0 22px;
  align-items: center;
  justify-content: center;
  width: 22px;
}

.notification-status-icon {
  font-size: 16px;
}

.notification-title {
  min-width: 0;
  font-size: 14px;
  line-height: 1.4;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* ДАТА И СТРЕЛКА */
.notification-date-cell {
  width: 190px;
  text-align: right;
}

.notification-date {
  color: #98a2b3;
  font-size: 12px;
  white-space: nowrap;
}

.notification-arrow {
  margin-left: 10px;
  color: #007bff;
  font-size: 12px;
  transition: transform 0.2s ease;
}

.notification-arrow-open {
  transform: rotate(180deg);
}

/* РЕД С ОПИСАНИЕТО */
.notification-description-row {
  text-align: left !important;
}
.notification-description-row > td {
  padding: 0 14px 13px;
  border-top: 0;
  background: #fff;
  text-align: left !important;
}

.notification-description {
  width: 100%;
  min-width: 0;
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(13, 110, 253, 0.15);
  color: #344054;
  font-size: 14px;
  line-height: 1.55;
  text-align: left !important;
  /*white-space: pre-wrap;*/
  overflow-wrap: anywhere;
  word-break: normal;
}

/* ПРАЗЕН РЕЗУЛТАТ И ГРЕШКА */
.notifications-empty,
.notifications-error {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 100px;
  padding: 20px;
  border: 1px solid #dce4ec;
  border-radius: 12px;
  background: #f8fafc;
  color: #667085;
  font-size: 14px;
  text-align: center;
}
.notifications-empty i,
.notifications-error i {
  color: #007bff;
  font-size: 18px;
}

.notifications-error {
  border-color: #f1b8bd;
  background: #fff5f5;
  color: #842029;
}
.notifications-error i {
  color: #dc3545;
}

/* МОБИЛЕН */
@media (max-width: 576px) {
  .notifications-table-wrapper {
    border-radius: 10px;
  }
  .notif-row > td {
    padding: 11px 10px;
  }
  .notification-title-wrapper {
    align-items: flex-start;
    gap: 7px;
  }
  .notification-status {
    flex-basis: 18px;
    width: 18px;
    margin-top: 2px;
  }
  .notification-status-icon {
    font-size: 14px;
  }
  .notification-title {
    font-size: 13px;
    line-height: 1.4;
  }
  .notification-date-cell {
    width: 115px;
  }
  .notification-date {
    display: block;
    font-size: 10px;
    line-height: 1.3;
    white-space: normal;
  }
  .notification-arrow {
    display: inline-block;
    margin-top: 5px;
    margin-left: 0;
    font-size: 11px;
  }
  .notification-description-row > td {
    padding: 0 10px 10px;
  }
  .notification-description {
    padding: 10px;
    border-radius: 7px;
    font-size: 13px;
    line-height: 1.5;
  }
}
/* МНОГО МАЛЪК МОБИЛЕН */
@media (max-width: 360px) {
  .notification-date-cell {
    width: 90px;
  }
  .notification-title {
    font-size: 12px;
  }
  .notification-date {
    font-size: 9px;
  }
  .notification-description {
    padding: 9px;
    font-size: 12px;
  }
}
.notifications-scroll-status {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 35px;
  margin-top: 8px;
}

.notifications-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 12px;
  color: #667085;
  font-size: 13px;
}
.notifications-loading i {
  color: #007bff;
}

@media (max-width: 576px) {
  .notifications-loading {
    font-size: 12px;
  }
}
.schema-view {
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.schema-view:hover {
  transform: translateY(-1px);
}
.schema-view.loading {
  pointer-events: none;
  opacity: 0.55;
}

/* ОСНОВЕН GLIGHTBOX КОНТЕЙНЕР */
.glightbox-container {
  background: rgba(0, 0, 0, 0.94);
}

/* СНИМКА */
.glightbox-container .gslide-image img {
  max-width: 90vw;
  max-height: 82vh;
  object-fit: contain;
  transform-origin: center center;
  transition: transform 0.2s ease;
  user-select: none;
  -webkit-user-select: none;
}

/* СОБСТВЕНА TOOLBAR НАВИГАЦИЯ */
.schema-gallery-toolbar {
  position: fixed;
  top: 12px;
  left: 50%;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  max-width: calc(100vw - 120px);
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: rgba(20, 20, 20, 0.82);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);
  transform: translateX(-50%);
  backdrop-filter: blur(6px);
}

.schema-toolbar-btn {
  display: inline-flex;
  flex: 0 0 38px;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 15px;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.schema-toolbar-btn:hover {
  background: rgba(13, 110, 253, 0.85);
  color: #fff;
  transform: translateY(-1px);
}
.schema-toolbar-btn:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.45);
}

.schema-toolbar-divider {
  display: block;
  width: 1px;
  height: 25px;
  margin: 0 2px;
  background: rgba(255, 255, 255, 0.25);
}

/* CLOSE БУТОНЪТ ДА Е НАЙ-ОТГОРЕ */
.glightbox-container .gclose {
  z-index: 10002;
}

/* МОБИЛЕН */
@media (max-width: 576px) {
  .schema-gallery-toolbar {
    top: auto;
    bottom: 14px;
    max-width: calc(100vw - 20px);
    padding: 5px;
    gap: 2px;
  }
  .schema-toolbar-btn {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
    font-size: 15px;
  }
  .schema-toolbar-divider {
    height: 23px;
    margin: 0 1px;
  }
  .glightbox-container .gslide-image img {
    max-width: 94vw;
    max-height: 76vh;
  }
  .glightbox-container .gclose {
    width: 44px;
    height: 44px;
  }
}
/* МНОГО МАЛЪК МОБИЛЕН */
@media (max-width: 360px) {
  .schema-toolbar-btn {
    flex-basis: 35px;
    width: 35px;
    height: 35px;
    font-size: 13px;
  }
  .schema-gallery-toolbar {
    bottom: 10px;
  }
}
/*Notes page*/
.program-notes-page {
  width: 100%;
}

.program-notes-filters {
  margin-bottom: 18px;
  padding: 16px;
  display: grid;
  grid-template-columns: minmax(200px, 1.5fr) minmax(180px, 1fr) minmax(145px, 0.7fr) minmax(145px, 0.7fr) auto;
  align-items: end;
  gap: 12px;
  background: #fff;
  border: 1px solid #e5e9ef;
  border-radius: 14px;
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.06);
}

.program-notes-filter-item {
  min-width: 0;
}
.program-notes-filter-item label {
  display: block;
  margin-bottom: 5px;
  color: #495057;
  font-size: 0.82rem;
  font-weight: 700;
}

.program-notes-filter-actions {
  display: flex;
  gap: 8px;
}
.program-notes-filter-actions .btn {
  min-height: 38px;
  white-space: nowrap;
}

.program-notes-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.program-notes-group {
  overflow: hidden;
  background: #fff;
  border: 1px solid #dfe5ec;
  border-radius: 14px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
}

.program-notes-group-header {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, #f1f7ff, #fff);
  border-bottom: 1px solid #dfe8f3;
}

.program-notes-group-time {
  flex: 0 0 auto;
  min-width: 105px;
  padding: 7px 10px;
  color: #0056b3;
  background: #eaf4ff;
  border-radius: 9px;
  font-size: 0.83rem;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
}

.program-notes-group-info {
  min-width: 0;
  flex: 1;
}

.program-notes-group-title {
  margin: 0;
  color: #212529;
  font-size: 1rem;
  font-weight: 700;
  overflow-wrap: normal;
  word-break: normal;
}

.program-notes-group-place {
  margin-top: 5px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #6c757d;
  font-size: 0.85rem;
}

.program-notes-count {
  flex: 0 0 auto;
  min-width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #0d6efd;
  border-radius: 50%;
  font-size: 0.82rem;
  font-weight: 700;
}

.program-notes-list {
  padding: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.program-note-card {
  min-width: 0;
  padding: 13px;
  background: #f8f9fa;
  border: 1px solid #e3e6ea;
  border-left: 4px solid #0d6efd;
  border-radius: 9px;
}

.program-note-author {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #495057;
  font-size: 0.84rem;
  font-weight: 700;
}

.program-note-text {
  color: #212529;
  font-size: 0.92rem;
  line-height: 1.55;
  overflow-wrap: break-word;
  word-break: normal;
}

.program-notes-loading,
.program-notes-empty {
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #6c757d;
  background: #fff;
  border: 1px dashed #cfd6de;
  border-radius: 14px;
  font-size: 0.95rem;
}

@media (max-width: 992px) {
  .program-notes-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .program-notes-filter-actions {
    grid-column: 1/-1;
  }
}
@media (max-width: 576px) {
  .program-notes-filters {
    padding: 12px;
    grid-template-columns: 1fr;
  }
  .program-notes-filter-actions {
    grid-column: auto;
  }
  .program-notes-filter-actions .btn {
    flex: 1;
  }
  .program-notes-group-header {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 12px;
  }
  .program-notes-group-time {
    min-width: auto;
    width: auto;
  }
  .program-notes-group-info {
    flex: 1 1 calc(100% - 75px);
  }
  .program-notes-count {
    position: absolute;
    right: 25px;
  }
  .program-notes-list {
    padding: 10px;
    grid-template-columns: 1fr;
    gap: 9px;
  }
  .program-note-card {
    padding: 11px;
  }
  .program-note-text {
    font-size: 0.9rem;
  }
}
