@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-BoldItalic.eot');
    src: local('Inter Bold Italic'), local('Inter-BoldItalic'),
        url('../fonts/Inter-BoldItalic.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Inter-BoldItalic.woff2') format('woff2'),
        url('../fonts/Inter-BoldItalic.woff') format('woff'),
        url('../fonts/Inter-BoldItalic.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-MediumItalic.eot');
    src: local('Inter Medium Italic'), local('Inter-MediumItalic'),
        url('../fonts/Inter-MediumItalic.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Inter-MediumItalic.woff2') format('woff2'),
        url('../fonts/Inter-MediumItalic.woff') format('woff'),
        url('../fonts/Inter-MediumItalic.ttf') format('truetype');
    font-weight: 500;
    font-style: italic;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-ThinItalicBETA.eot');
    src: local('Inter Thin Italic BETA'), local('Inter-ThinItalicBETA'),
        url('../fonts/Inter-ThinItalicBETA.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Inter-ThinItalicBETA.woff2') format('woff2'),
        url('../fonts/Inter-ThinItalicBETA.woff') format('woff'),
        url('../fonts/Inter-ThinItalicBETA.ttf') format('truetype');
    font-weight: 100;
    font-style: italic;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Regular.eot');
    src: local('Inter Regular'), local('Inter-Regular'),
        url('../fonts/Inter-Regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Inter-Regular.woff2') format('woff2'),
        url('../fonts/Inter-Regular.woff') format('woff'),
        url('../fonts/Inter-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Black.eot');
    src: local('Inter Black'), local('Inter-Black'),
        url('../fonts/Inter-Black.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Inter-Black.woff2') format('woff2'),
        url('../fonts/Inter-Black.woff') format('woff'),
        url('../fonts/Inter-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-BlackItalic.eot');
    src: local('Inter Black Italic'), local('Inter-BlackItalic'),
        url('../fonts/Inter-BlackItalic.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Inter-BlackItalic.woff2') format('woff2'),
        url('../fonts/Inter-BlackItalic.woff') format('woff'),
        url('../fonts/Inter-BlackItalic.ttf') format('truetype');
    font-weight: 900;
    font-style: italic;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-LightBETA.eot');
    src: local('Inter Light BETA'), local('Inter-LightBETA'),
        url('../fonts/Inter-LightBETA.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Inter-LightBETA.woff2') format('woff2'),
        url('../fonts/Inter-LightBETA.woff') format('woff'),
        url('../fonts/Inter-LightBETA.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-SemiBold.eot');
    src: local('Inter Semi Bold'), local('Inter-SemiBold'),
        url('../fonts/Inter-SemiBold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Inter-SemiBold.woff2') format('woff2'),
        url('../fonts/Inter-SemiBold.woff') format('woff'),
        url('../fonts/Inter-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-ExtraBoldItalic.eot');
    src: local('Inter Extra Bold Italic'), local('Inter-ExtraBoldItalic'),
        url('../fonts/Inter-ExtraBoldItalic.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Inter-ExtraBoldItalic.woff2') format('woff2'),
        url('../fonts/Inter-ExtraBoldItalic.woff') format('woff'),
        url('../fonts/Inter-ExtraBoldItalic.ttf') format('truetype');
    font-weight: 800;
    font-style: italic;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Bold.eot');
    src: local('Inter Bold'), local('Inter-Bold'),
        url('../fonts/Inter-Bold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Inter-Bold.woff2') format('woff2'),
        url('../fonts/Inter-Bold.woff') format('woff'),
        url('../fonts/Inter-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-ExtraLightItalicBETA.eot');
    src: local('Inter Extra Light Italic BETA'), local('Inter-ExtraLightItalicBETA'),
        url('../fonts/Inter-ExtraLightItalicBETA.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Inter-ExtraLightItalicBETA.woff2') format('woff2'),
        url('../fonts/Inter-ExtraLightItalicBETA.woff') format('woff'),
        url('../fonts/Inter-ExtraLightItalicBETA.ttf') format('truetype');
    font-weight: 200;
    font-style: italic;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-ExtraLightBETA.eot');
    src: local('Inter Extra Light BETA'), local('Inter-ExtraLightBETA'),
        url('../fonts/Inter-ExtraLightBETA.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Inter-ExtraLightBETA.woff2') format('woff2'),
        url('../fonts/Inter-ExtraLightBETA.woff') format('woff'),
        url('../fonts/Inter-ExtraLightBETA.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-ExtraBold.eot');
    src: local('Inter Extra Bold'), local('Inter-ExtraBold'),
        url('../fonts/Inter-ExtraBold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Inter-ExtraBold.woff2') format('woff2'),
        url('../fonts/Inter-ExtraBold.woff') format('woff'),
        url('../fonts/Inter-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-ThinBETA.eot');
    src: local('Inter Thin BETA'), local('Inter-ThinBETA'),
        url('../fonts/Inter-ThinBETA.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Inter-ThinBETA.woff2') format('woff2'),
        url('../fonts/Inter-ThinBETA.woff') format('woff'),
        url('../fonts/Inter-ThinBETA.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-LightItalicBETA.eot');
    src: local('Inter Light Italic BETA'), local('Inter-LightItalicBETA'),
        url('../fonts/Inter-LightItalicBETA.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Inter-LightItalicBETA.woff2') format('woff2'),
        url('../fonts/Inter-LightItalicBETA.woff') format('woff'),
        url('../fonts/Inter-LightItalicBETA.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Italic.eot');
    src: local('Inter Italic'), local('Inter-Italic'),
        url('../fonts/Inter-Italic.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Inter-Italic.woff2') format('woff2'),
        url('../fonts/Inter-Italic.woff') format('woff'),
        url('../fonts/Inter-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-SemiBoldItalic.eot');
    src: local('Inter Semi Bold Italic'), local('Inter-SemiBoldItalic'),
        url('../fonts/Inter-SemiBoldItalic.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Inter-SemiBoldItalic.woff2') format('woff2'),
        url('../fonts/Inter-SemiBoldItalic.woff') format('woff'),
        url('../fonts/Inter-SemiBoldItalic.ttf') format('truetype');
    font-weight: 600;
    font-style: italic;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Medium.eot');
    src: local('Inter Medium'), local('Inter-Medium'),
        url('../fonts/Inter-Medium.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Inter-Medium.woff2') format('woff2'),
        url('../fonts/Inter-Medium.woff') format('woff'),
        url('../fonts/Inter-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

/* Eric Meyer's CSS Reset */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,

menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    font-family: "Inter", sans-serif;
    font-size: 13px;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: #9CA3AF #F3F4F6;
}

* {
    box-sizing: border-box;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* End of Eric Meyer's CSS Reset */


#wrapper {
    min-width: 1000px;
    width: 100%;
    height: 100vh;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

/** HEADER */
.main-header {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #00416633;
}

.header-top {
    display: flex;
    align-items: center;
    padding: 10px 24px;
}

.user-block {
    margin-left: auto;
}

.logout-block {
    padding-left: 16px;
    display: flex;
}

.logout-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 400;
    font-family: 'Inter';
    background: none;
    border: none;
    outline: none;
    box-shadow: none;
    color: #667985;
    cursor: pointer;
}
/** HEADER */

#headerBlock {
    min-height: 30px;
    color: rgb(49, 51, 51);
    background-color: #00A0E3;
    padding: 5px 15px;
    display: flex;
    flex-flow: row wrap;
    font-size: 14px;
    line-height: 30px;
}

.headerElement {
    height: 28px;
    margin: 0;
    padding: 0;
    float: left;
    color: #ffffff;
}

#headerTitleBlock {
    font-size: 18px;
    width: 150px;
    text-overflow: ellipsis;
}

#headerGreetingBlock {
    float: right;
    width: 250px;
    text-overflow: ellipsis;
    text-align: right;
    padding: 0;
}

#headerHelloBlock {font-size: 14px;min-width: 120px;text-overflow: ellipsis;text-align: right;margin-left: auto;display: flex;align-items: center;justify-content: flex-end;gap: 4px;}

#menuBlock {
    background-color: #fff;
    display: flex;
    flex-flow: row wrap;
    font-size: 14px;
    line-height: 30px;
}

#contentBlock {
    background-color: #F3F4F6;
    height: 100%;
}

main {
    height: 100%;
    width: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

/*common*/
.exinSelect {
    height: 25px;
    border: 1px solid #ddd;
    background-color: #428f82;
    color: #fff;
}


.qsButton {
    font-size: 12px;
    line-height: 14px;
    font-weight: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 12px;
    border: 2px;
    border-style: solid;
    border-color: #0078be;
    position: relative;
    background-color: #0078be;
    color: #fff;
    border-radius: 2px;
    cursor: pointer;
    transition: 0.16s background-color, 0.16s border-color;
}
.qsButton:hover {
    background-color: #00A0E3;
    border-color: #00A0E3;
}

.qsButton--red {
    border-color: #d52222;
    background-color: #d52222;
}

.qsButton--red:hover {
    border-color: #9d1313;
    background-color: #9d1313;
}

.qsButton.selected {
    background-color: coral;
}

.loader {
    background-color: #00000020;
    background-image: url("../img/loader.gif");
    background-position: 50% 50%;
    background-repeat: no-repeat;
    z-index: 9999;
}

strong {
    font-weight: bold;
}

.hidden {
    display: none;
}

.space {
    display: block;
    width: 20px;
    height: 20px;
    padding: 0;
    margin: 0;
    float: left;
}

.center {
    text-align: center;
}

input {
    font-size: 14px;
    line-height: 1.3;
    font-weight: 400;
    display: block;
    padding: 4px 8px;
    color: #1c1819;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 2px;
    transition: border-color 0.18s ease-in-out, box-shadow 0.18s ease-in-out;
  }
  input[type=checkbox] {
    display: inline-block;
    width: auto !important;
    padding: 8px;
    height: auto !important;
  }
  input[type=checkbox]:checked {
    background-color: #036958;
    border-color: #036958;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e");
  }
  input:focus, input:active {
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.25);
  }
  
select {
  font-size: 13.5px;
  line-height: 1;
  font-weight: 400;
  display: block;
  width: 100%;
  padding: 4px 8px;
  color: #1c1819;
  background-color: #fff;
  border: 1px solid #ced4da;
  border-radius: 4px;
  transition: border-color 0.18s ease-in-out, box-shadow 0.18s ease-in-out;
}

select:focus, .select:active {
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.support-phone > a {
    color: #fff;
    text-decoration: none;
}

.support-phone {
    margin-right: 16px;
}

.support-phone > a:hover {
    color: #e4e4e4;
}

.svpToolbar button {width: 100% !important;}

@media (max-width: 720px) {
    #headerHelloBlock > *:not(#helloButton):not(#helloMenu) {
        display: none;
        min-width: 0;
    }
    
    #headerTitleBlock {
        width: auto;
    }
    
    #headerBlock {
        display: flex;
    }
    
    #headerHelloBlock {
        min-width: 0;
    }
    
    #wrapper {
        min-width: 0;
    }

    .svmenu a {
        padding: 3px 17px 4px 8px;
    }
    
    .svmenu ul ul {
        z-index: 1001 !important;
    }
    
    .svmenu li {
        z-index: auto;
    }
    
    #headerTitleBlock {
        font-size: 14px;
        line-height: 1.3;
    }
    
    .headerElement {
        height: 20px;
    }
}

.user-company {
    padding-left: 24px;
}

.page-container {
  grid-area: content;
  overflow: auto;
  padding: 16px 28px 0 16px;
}

.workspace {
    display: grid;
    grid-template:
        "left-side content";
    grid-template-columns: 300px 1fr;
    grid-template-rows: 1fr;
}

.page-sidebar {
    grid-area: left-side;
    max-width: 332px;
    padding: 16px 28px;
    background: #fff;
    border-right: 1px solid #D1D5DB;
}

.main-menu__list {
    display: flex;
    flex-direction: column;
}

.main-menu__item > a {
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #000;
    line-height: 17px;
}

span.icon {
    display: flex;
    align-items: center;
}

.buttons-filter__wrapper {
    margin-bottom: 12px;
    display: flex;
    flex-direction: row;
    gap: 8px;
}

/* Общие стили */
.signers-sidebar {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 12px;
    font-size: 14px;
    margin-top: 10px;
    box-shadow: 0 0 4px rgba(0,0,0,0.05);
}

/* Мобильные устройства: 100% ширина */
@media (max-width: 767px) {
    .signers-sidebar {
        width: 100%;
        max-width: 100%;
    }
}

/* Остальные стили */
.chat-step-block {
    margin-bottom: 40px;
}

.chat-actors-wrapper {
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: space-between;
}

.chat-step-title {
    font-weight: 600;
    margin-bottom: 6px;
}

.chat-actor-item {
    display: flex;
    justify-content: space-between;
    padding: 6px 10px;
    background: white;
    border-radius: 6px;
    margin-bottom: 4px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}


@media (max-width: 1024px) {
    .workspace {
        display: flex;
        flex-direction: column;
    }

    .page-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 260px;
        background: #fff;
        z-index: 999;
        box-shadow: 2px 0 8px rgba(0, 0, 0, 0.15);
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        padding: 20px;
        display: block !important;
    }

    .page-sidebar.active {
        transform: translateX(0);
    }

    .sidebar-overlay.active {
        display: block;
    }

    .page-container {
        padding: 16px;
    }

    .main-header {
        flex-direction: row;
    }

    .header-top {
        flex-direction: row;
        align-items: flex-start;
        gap: 8px;
    }

    .user-block {
        margin-left: 0;
        margin-top: 8px;
        width: 100%;
        display: flex;
        justify-content: space-between;
    }

    .logout-block {
        padding-left: 0;
    }

    .logout-button {
        font-size: 13px;
    }

    .page-title {
        font-size: 20px;
    }
}

@media (max-width: 720px) {
    .workspace {
        grid-template-areas:
            "content";
        grid-template-columns: 1fr;
    }

    .page-sidebar {
        display: block !important;
    }

    .page-container {
        padding: 12px;
    }

    .main-menu__item>a {
        font-size: 14px;
        padding: 6px 12px;
    }

    .main-header {
        border-bottom: none;
    }

    .header-top {
        padding: 8px 16px;
    }

    .support-phone {
        margin-right: 0;
    }

    .logout-button {
        font-size: 12px;
    }

    #wrapper {
        min-width: 0;
        width: 100%;
    }

    .page-title {
        font-size: 18px;
        margin: 16px 0;
    }

    .buttons-filter__wrapper {
        flex-direction: column;
        gap: 6px;
    }
}

@media (max-width: 1024px) {
    .header-top {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        width: 100%;
        padding: 8px 16px;
    }

    .user-block {
        margin-left: 0;
        width: 100%;
        display: flex;
        justify-content: space-between;
    }

    .logout-block {
        padding-left: 0;
    }

    .logout-button {
        font-size: 12px;
        flex-direction: row;
        gap: 6px;
    }

    #headerTitleBlock {
        font-size: 16px;
        width: auto;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    #headerHelloBlock {
        font-size: 12px;
        text-align: right;
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
    }
}

@media (max-width: 720px) {
    .header-top {
        padding: 6px 12px;
        width: 100%;
    }

    .logout-button {
        font-size: 11px;
    }

    #headerTitleBlock {
        font-size: 14px;
        line-height: 1.3;
    }

    #headerHelloBlock {
        font-size: 11px;
    }

    .support-phone {
        margin-right: 0;
    }

    .support-phone>a {
        font-size: 12px;
    }

    .main-header {
        border-bottom: 0;
    }
}

.burger-button {
    font-size: 24px;
    background: none;
    border: none;
    color: #000;
    cursor: pointer;
    display: none;
    margin-left: 12px;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 998;
    display: none;
}

@media (max-width: 1024px) {
    .burger-button {
        display: block;
    }
}

@media (max-width: 1024px) {
    .header-top {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 8px 16px;
      gap: 8px;
    }
  
    .burger-button {
      order: -1;
      z-index: 3;
    }
  
    .logo-block {
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
      z-index: 2;
      display: flex;
      justify-content: center;
      align-items: center;
    }
  
    .logo-block img {
      max-width: 90px;
      height: auto;
    }
  
    .logout-block {
      margin-left: auto;
      z-index: 3;
    }
  
    .user-company {
      display: none;
    }
  
    .user-block {
      display: none;
    }
  }

/* ==========================================================================
   Pagination Component
   ========================================================================== */

.sys-table__pagination {
    margin-top: 20px;
    padding: 15px 0;
    /* border-top: 1px solid #e5e7eb; */
}

.pagination-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pagination-button {
    min-width: 40px;
    height: 40px;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    background-color: #ffffff;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-button:hover:not(:disabled) {
    background-color: #00A0E3;
    border-color: #00A0E3;
    color: #ffffff;
}

.pagination-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #f9fafb;
    color: #9ca3af;
}

.pagination-button--active {
    border-color: #00A0E3;
    background-color: #eff6ff;
    color: #00A0E3;
}

.pagination-button--active:hover {
    background-color: #00A0E3;
    border-color: #00A0E3;
    color: #ffffff;
}

.pagination-button--prev,
.pagination-button--next {
    font-size: 18px;
    font-weight: bold;
}

.pagination-ellipsis {
    padding: 8px 4px;
    color: #9ca3af;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.pagination-info {
    margin-left: 16px;
    padding: 8px 12px;
    font-size: 14px;
    color: #6b7280;
    background-color: #f9fafb;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
}

@media (max-width: 768px) {
    .pagination-wrapper {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
    }
    
    .pagination-info {
        margin-left: 0;
        text-align: center;
        width: 100%;
    }
    
    .pagination-button {
        min-width: 36px;
        height: 36px;
        padding: 6px 10px;
        font-size: 13px;
        flex-shrink: 0;
    }
}
  

    /* Стили для штрафных уведомлений */
    #fineModal {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.7);
        display: none;
        justify-content: center;
        align-items: center;
        z-index: 9999;
      }
      #fineModalContent {
        background: white;
        max-width: 600px;
        padding: 20px;
        border-radius: 12px;
        box-shadow: 0 0 20px rgba(0,0,0,0.5);
        text-align: left;
        max-height: 80%;
        overflow-y: auto;
        font-family: Arial, sans-serif;
      }
      #fineModalContent h2 {
        margin-top: 0;
        color: #d32f2f;
      }
      #fineModalContent p {
        white-space: pre-line; /* чтобы переносы из message отображались */
      }
      #fineModalContent button {
        margin-top: 20px;
        padding: 10px 20px;
        background: #4caf50;
        border: none;
        color: white;
        border-radius: 8px;
        cursor: pointer;
        font-size: 16px;
      }