
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    box-sizing: border-box;
}


.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    padding: 10px 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.left logo {
    font-size: 20px;
    font-weight: bold;
}

.right .menu {
    display: flex;
    gap: 15px;
    list-style: none;
}

.button {
    padding: 8px 16px;
    background-color: #007bff;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
}

.button:hover {
    background-color: #0056b3;
}

/* Контент */
.body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-bottom: 70px;
    box-sizing: border-box;
    height: CALC(100% - 120px);
    overflow: auto;
}

.line {
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
    text-align: center;
}

.line .miniH {
    display: block;
    font-size: 20px;
    color: black;
    text-transform: capitalize;
    margin-bottom: 3px;
    padding-left: 34px;
}

.line .scroller {
    display: flex;
    overflow-x: auto;
    padding: 10px 0;
    height: 190px;
    box-sizing: border-box;
    /* padding-right: 110px; */
    );)1;)10;)1;);
    margin-right: 30px;
    margin-left: 30px;
}

.line .scroller .decisionlist {
    display: flex;
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.line .scroller .decision {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 1px 1px 0px rgba(0, 0, 0, 0.1);
    width: 200px;
}

.line .scroller .decision .decisioninfo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.line .scroller .decision .icon img {
    width: 100%;
    height: 120px;
    object-fit: contain;
}

.line .scroller .decision .info {
    padding: 10px;
}

.line .scroller .decision .decisionname {
    font-size: 14px;
    font-weight: bold;
    color: black;
}

.line .scroller .decision .decisionuser {
    font-size: 12px;
    color: gray;
}


.line .arrow {
    display: inline-block;
    width: 30px;
    border-radius: 50%;
    color: #007bff;
    text-align: center;
    cursor: pointer;
    position: absolute;
    height: 190px;
    line-height: 190px;
    font-size: 70px;
    box-sizing: border-box;
    top: 27px;
}

.line .leftarrow:hover, .line .rightarrow:hover {
    color: #0056b3;
}

.line .arrow.leftarrow{left: 5px;}

.line .arrow.rightarrow{
    right: 15px;
}

.line .categories{
    list-style: none;
    display: inline-block;
    max-width: CALC(100% - 200px);
    vertical-align: middle;
    white-space: nowrap;
    overflow: hidden;
}
.line .search{
    display: inline-block;
    vertical-align: super;
}
.line .categories li{
    display: inline-block;
    background-color: #fff;
    border: 1px solid #dadce0;
    border-radius: 9999px;
    box-sizing: border-box;
    cursor: pointer;
    font-size: 14px;
    margin-bottom: 8px;
    margin-right: 8px;
    padding: 6px 16px;
    transition: background .2s .1s;
    cursor:pointer;
}

.line .categories li a{
    text-decoration:none;
    color:black;
}

.line .categories li.selected{
    background-color: #027bff;
    color: white;
}
.line .categories li:active{
    box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.75) inset;
    -webkit-box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.75) inset;
    -moz-box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.75) inset;
}
.line .categories li:hover{
    background-color: #e0e2e3;
}



.footer {
    text-align: center;
    padding: 20px;
    background: white;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    position: absolute;
    bottom: 0px;
    width: 100%;
}

#searchForm input[type=text]{
    border: 1px solid #ccc;
    border-radius: 5px;
    height: 32px;
    padding: 1px;
    padding-left: 10px;
}

logo{
    background-image: url("/img/slogo.svg");
    background-size: contain;
    display: block;
    width: 15vw;
    height: 2vw;
    background-repeat: no-repeat;
}




.toast-wrapper {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}


.toast {
    width: 350px;
    max-width: 100%;
    font-size: 0.875rem;
    background-color: #fff;
    border-radius: 0.375rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}


.toast.shadow-sm {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}


.toast.hide {
    opacity: 0;
}


.toast-body {
    display: flex;
    align-items: center;
    padding: 1rem;
}


.toast-body p {
    margin-bottom: 0;
    margin-right: 0.5rem;
    flex-grow: 1;
}


.toast-body .text-info svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
    margin-right: 0.5rem;
}

/* Кнопка закрытия */
.toast .btn-close {
    margin-left: auto;
    background: transparent;
    border: none;
    opacity: 0.5;
}

.toast .btn-close:hover {
    opacity: 1;
}


@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

.toast.fade.show {
    animation: fadeIn 0.5s ease-in-out;
}

.toast.fade.hide {
    animation: fadeOut 0.5s ease-in-out;
}


.loading {
    color: transparent;
  }
  
  .loading *{
    visibility: hidden;!i;!;
  }

.loading::after {
    content: "";
    position: absolute;
    /* width: 50px; */
    height: 90px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='22 22 44 44'%3E%3Ccircle cx='44' cy='44' r='20.2' fill='none' stroke='%231976d2' stroke-width='3.6' stroke-linecap='round' stroke-dasharray='80 200' stroke-dashoffset='0'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
    animation: spin 1s linear infinite;
    top: 250px;
    right: 0px;
    left: 0px;
    bottom: 0px;
    background-position: center;
  }
  

  @keyframes spin {
    100% {
      transform: rotate(360deg);
    }
  }


   .chatbot-button {
      bottom: 20px;
      right: 20px;
      width: 50px;
      height: 50px;
      font-size: 1.25rem;
    }

 @media (max-width: 480px) {
   .chatbot-button {
      bottom: 15px;
      right: 15px;
      width: 45px;
      height: 45px;
      font-size: 1rem;
    }
}


.chatbot-button {
    align-items: center;
    background: #2c5aa0;
    border-radius: 50%;
    bottom: 30px;
    box-shadow: 0 4px 20px #00000026;
    color: #fff;
    cursor: pointer;
    display: flex;
    font-size: 1.5rem;
    height: 60px;
    justify-content: center;
    position: fixed;
    right: 30px;
    transition: .3s ease;
    width: 60px;
    z-index: 1000;
   
}

  .chatbot-button:hover {
    background: $secondary-blue;
    transform: scale(1.1);
    box-shadow: $shadow-heavy;
  }

  .chatbot-button:active {
    transform: scale(0.95);
  }
  .chatbot-button:hover .chatbot-tooltip {
    opacity: 1;
    visibility: visible;
  }

@media (max-width: 768px) {
    .chatbot-button {
      bottom: 20px;
      right: 20px;
      width: 50px;
      height: 50px;
      font-size: 1.25rem;
    }
}

.fa-circle-question:before,.fa-question-circle:before {
     font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f059"
}

.chatbot-tooltip {
    background: #343a40;
    border-radius: 6px;
    color: #fff;
    font-size: .875rem;
    opacity: 0;
    padding: 8px 12px;
    pointer-events: none;
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    transition: .3s ease;
    visibility: hidden;
    white-space: nowrap;
}

div.colorinline {
    display: inline-block;
    width: auto;
    padding: 0px;
    margin: 0px;
    text-align: center;
    width: 50px;
    margin-right: 30px;
    margin-left: 14px;
    vertical-align: middle;
}
div.colorinline input[type=color] {
    width: 50px;
    padding: 0px;
    height: 50px;
    margin-right: 20px;
    cursor: pointer;
    /* margin-left: 14px; */
    position: relative;
    border: none;
}

div.colorinline input[type=checkbox] {font-family: inherit;font-size: 100%;font-weight: inherit;line-height: inherit;color: inherit;margin: 0;padding: 0;}

div.colorinline input[type=color]:disabled{
    opacity: 0.4 !important;
}
div.colorinline input[type=color]:disabled::after,div.colorinline input[type=color]:disabled::before{
    content: " ";
    position: absolute;
    top: 0px;
    left: 0px;
    width: 1px;
    height: 100%;
    background-color: red;
    left: CALC(50% - 1px);
    border: 1px solid #7c1b1b;
}
div.colorinline input[type=color]:disabled::after{
    content: " ";
    transform: rotate(-45deg);
}
div.colorinline input[type=color]:disabled::before{
    content: " ";
    transform: rotate(45deg);
}