/* Не удалось уменьшить размер. Содержимое возвращается без уменьшения.
(492,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(493,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(494,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(495,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(496,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(497,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(498,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(499,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(500,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(501,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(502,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(503,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(504,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(505,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(506,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(507,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(508,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(509,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(510,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(511,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(512,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(513,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(514,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(515,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(516,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(517,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(530,21): run-time error CSS1039: Token not allowed after unary operator: '-font-family'
(535,15): run-time error CSS1039: Token not allowed after unary operator: '-black'
(549,21): run-time error CSS1039: Token not allowed after unary operator: '-font-family'
(553,15): run-time error CSS1039: Token not allowed after unary operator: '-black'
(558,21): run-time error CSS1039: Token not allowed after unary operator: '-font-family'
(562,15): run-time error CSS1039: Token not allowed after unary operator: '-black'
(570,33): run-time error CSS1039: Token not allowed after unary operator: '-light-grey'
(574,21): run-time error CSS1039: Token not allowed after unary operator: '-font-family'
(578,15): run-time error CSS1039: Token not allowed after unary operator: '-white'
(582,20): run-time error CSS1039: Token not allowed after unary operator: '-green-1'
(607,20): run-time error CSS1039: Token not allowed after unary operator: '-white'
(640,21): run-time error CSS1039: Token not allowed after unary operator: '-font-family'
(644,15): run-time error CSS1039: Token not allowed after unary operator: '-grey'
(655,21): run-time error CSS1039: Token not allowed after unary operator: '-font-family'
(659,15): run-time error CSS1039: Token not allowed after unary operator: '-black'
(667,20): run-time error CSS1039: Token not allowed after unary operator: '-bg'
(672,21): run-time error CSS1039: Token not allowed after unary operator: '-font-family'
(677,15): run-time error CSS1039: Token not allowed after unary operator: '-white'
(685,20): run-time error CSS1039: Token not allowed after unary operator: '-white'
(703,21): run-time error CSS1039: Token not allowed after unary operator: '-font-family'
(755,21): run-time error CSS1039: Token not allowed after unary operator: '-third-family'
(765,20): run-time error CSS1039: Token not allowed after unary operator: '-dark-blue-main'
(781,20): run-time error CSS1039: Token not allowed after unary operator: '-white'
(817,20): run-time error CSS1039: Token not allowed after unary operator: '-green-1'
(818,21): run-time error CSS1039: Token not allowed after unary operator: '-font-family'
(822,15): run-time error CSS1039: Token not allowed after unary operator: '-white'
(832,15): run-time error CSS1039: Token not allowed after unary operator: '-grey'
(833,21): run-time error CSS1039: Token not allowed after unary operator: '-font-family'
(843,21): run-time error CSS1039: Token not allowed after unary operator: '-font-family'
(847,15): run-time error CSS1039: Token not allowed after unary operator: '-black'
(853,21): run-time error CSS1039: Token not allowed after unary operator: '-font-family'
(858,15): run-time error CSS1039: Token not allowed after unary operator: '-grey'
(869,20): run-time error CSS1039: Token not allowed after unary operator: '-dark-blue'
(880,21): run-time error CSS1039: Token not allowed after unary operator: '-font-family'
(884,15): run-time error CSS1039: Token not allowed after unary operator: '-white'
(918,21): run-time error CSS1039: Token not allowed after unary operator: '-font-family'
(923,13): run-time error CSS1039: Token not allowed after unary operator: '-white'
(938,21): run-time error CSS1039: Token not allowed after unary operator: '-font-family'
(943,15): run-time error CSS1039: Token not allowed after unary operator: '-purple-3'
(948,20): run-time error CSS1039: Token not allowed after unary operator: '-purple-1'
(949,15): run-time error CSS1039: Token not allowed after unary operator: '-purple-2'
(953,14): run-time error CSS1039: Token not allowed after unary operator: '-purple-2'
(957,15): run-time error CSS1039: Token not allowed after unary operator: '-purple-2'
(972,15): run-time error CSS1039: Token not allowed after unary operator: '-white'
(994,20): run-time error CSS1039: Token not allowed after unary operator: '-dark-blue-grey'
(998,21): run-time error CSS1039: Token not allowed after unary operator: '-font-family'
(1002,15): run-time error CSS1039: Token not allowed after unary operator: '-white'
(1019,20): run-time error CSS1039: Token not allowed after unary operator: '-dark-blue'
(1027,21): run-time error CSS1039: Token not allowed after unary operator: '-font-family'
(1036,15): run-time error CSS1039: Token not allowed after unary operator: '-black'
(1120,20): run-time error CSS1039: Token not allowed after unary operator: '-white'
(1128,21): run-time error CSS1039: Token not allowed after unary operator: '-font-family'
(1133,15): run-time error CSS1039: Token not allowed after unary operator: '-grey'
(1137,21): run-time error CSS1039: Token not allowed after unary operator: '-font-family'
(1142,15): run-time error CSS1039: Token not allowed after unary operator: '-grey'
(1197,26): run-time error CSS1039: Token not allowed after unary operator: '-white'
(1200,21): run-time error CSS1039: Token not allowed after unary operator: '-font-family'
(1204,15): run-time error CSS1039: Token not allowed after unary operator: '-white'
(1241,26): run-time error CSS1039: Token not allowed after unary operator: '-white'
(1289,20): run-time error CSS1039: Token not allowed after unary operator: '-purple-1'
(1292,21): run-time error CSS1039: Token not allowed after unary operator: '-font-family'
(1296,15): run-time error CSS1039: Token not allowed after unary operator: '-black'
(1310,20): run-time error CSS1039: Token not allowed after unary operator: '-purple-2'
(1311,15): run-time error CSS1039: Token not allowed after unary operator: '-purple-1'
(1315,26): run-time error CSS1039: Token not allowed after unary operator: '-purple-3'
(1321,20): run-time error CSS1039: Token not allowed after unary operator: '-purple-1'
(1467,26): run-time error CSS1039: Token not allowed after unary operator: '-purple-1'
(1540,26): run-time error CSS1039: Token not allowed after unary operator: '-purple-1'
(1560,26): run-time error CSS1039: Token not allowed after unary operator: '-purple-1'
(1565,20): run-time error CSS1039: Token not allowed after unary operator: '-white'
(1669,26): run-time error CSS1039: Token not allowed after unary operator: '-light-grey'
(1722,26): run-time error CSS1039: Token not allowed after unary operator: '-purple-1'
(1737,26): run-time error CSS1039: Token not allowed after unary operator: '-purple-2'
(1758,21): run-time error CSS1039: Token not allowed after unary operator: '-font-family'
(1788,21): run-time error CSS1039: Token not allowed after unary operator: '-font-family'
(1798,21): run-time error CSS1039: Token not allowed after unary operator: '-font-family'
(1826,20): run-time error CSS1039: Token not allowed after unary operator: '-purple-1'
(1862,21): run-time error CSS1039: Token not allowed after unary operator: '-font-family'
(1866,15): run-time error CSS1039: Token not allowed after unary operator: '-black'
(1875,21): run-time error CSS1039: Token not allowed after unary operator: '-font-family'
(1881,15): run-time error CSS1039: Token not allowed after unary operator: '-green-2'
(1898,21): run-time error CSS1039: Token not allowed after unary operator: '-font-family'
(1904,15): run-time error CSS1039: Token not allowed after unary operator: '-white'
(1991,21): run-time error CSS1039: Token not allowed after unary operator: '-font-family'
(1996,15): run-time error CSS1039: Token not allowed after unary operator: '-purple-2'
(2008,20): run-time error CSS1039: Token not allowed after unary operator: '-purple-1'
(2016,21): run-time error CSS1039: Token not allowed after unary operator: '-font-family'
(2021,15): run-time error CSS1039: Token not allowed after unary operator: '-black'
(2057,21): run-time error CSS1039: Token not allowed after unary operator: '-font-family'
(2062,15): run-time error CSS1039: Token not allowed after unary operator: '-grey'
(2085,20): run-time error CSS1039: Token not allowed after unary operator: '-bg-darker'
(2131,13): run-time error CSS1039: Token not allowed after unary operator: '-black'
(2194,21): run-time error CSS1039: Token not allowed after unary operator: '-font-family'
(2199,15): run-time error CSS1039: Token not allowed after unary operator: '-black'
(2219,21): run-time error CSS1039: Token not allowed after unary operator: '-font-family'
(2232,21): run-time error CSS1039: Token not allowed after unary operator: '-font-family'
(2310,21): run-time error CSS1039: Token not allowed after unary operator: '-font-family'
(2314,15): run-time error CSS1039: Token not allowed after unary operator: '-purple-4'
(2322,33): run-time error CSS1039: Token not allowed after unary operator: '-light-grey'
(2330,21): run-time error CSS1039: Token not allowed after unary operator: '-font-family'
(2334,15): run-time error CSS1039: Token not allowed after unary operator: '-black'
(2436,20): run-time error CSS1039: Token not allowed after unary operator: '-black'
(2460,20): run-time error CSS1039: Token not allowed after unary operator: '-white'
(2492,26): run-time error CSS1039: Token not allowed after unary operator: '-accent-color'
(2561,20): run-time error CSS1039: Token not allowed after unary operator: '-purple-1'
(2565,21): run-time error CSS1039: Token not allowed after unary operator: '-font-family'
(2570,15): run-time error CSS1039: Token not allowed after unary operator: '-black'
(2580,26): run-time error CSS1039: Token not allowed after unary operator: '-purple-1'
(2586,21): run-time error CSS1039: Token not allowed after unary operator: '-font-family'
(2591,15): run-time error CSS1039: Token not allowed after unary operator: '-grey'
(2596,22): run-time error CSS1039: Token not allowed after unary operator: '-purple-1'
(2600,21): run-time error CSS1039: Token not allowed after unary operator: '-font-family'
(2605,15): run-time error CSS1039: Token not allowed after unary operator: '-black'
(2631,21): run-time error CSS1039: Token not allowed after unary operator: '-font-family'
(2761,26): run-time error CSS1039: Token not allowed after unary operator: '-purple-2'
(2769,26): run-time error CSS1039: Token not allowed after unary operator: '-purple-2'
(2805,26): run-time error CSS1039: Token not allowed after unary operator: '-white'
(2809,26): run-time error CSS1039: Token not allowed after unary operator: '-white'
(2931,17): run-time error CSS1039: Token not allowed after unary operator: '-grey'
(2932,23): run-time error CSS1039: Token not allowed after unary operator: '-font-family'
(2995,23): run-time error CSS1039: Token not allowed after unary operator: '-font-family'
(3156,22): run-time error CSS1039: Token not allowed after unary operator: '-dark-purple'
(3237,28): run-time error CSS1039: Token not allowed after unary operator: '-white'
(3332,10): run-time error CSS1030: Expected identifier, found '.'
(3332,36): run-time error CSS1031: Expected selector, found ')'
(3332,36): run-time error CSS1025: Expected comma or open brace, found ')'
(3581,23): run-time error CSS1039: Token not allowed after unary operator: '-font-family'
(3585,17): run-time error CSS1039: Token not allowed after unary operator: '-white'
(3635,22): run-time error CSS1039: Token not allowed after unary operator: '-dark-blue-grey'
(3640,23): run-time error CSS1039: Token not allowed after unary operator: '-font-family'
(3644,17): run-time error CSS1039: Token not allowed after unary operator: '-white'
(3774,21): run-time error CSS1039: Token not allowed after unary operator: '-font-family'
(3778,15): run-time error CSS1039: Token not allowed after unary operator: '-white'
(3940,21): run-time error CSS1039: Token not allowed after unary operator: '-font-family'
(3945,15): run-time error CSS1039: Token not allowed after unary operator: '-grey'
(3950,21): run-time error CSS1039: Token not allowed after unary operator: '-font-family'
(3956,15): run-time error CSS1039: Token not allowed after unary operator: '-grey'
(3972,21): run-time error CSS1039: Token not allowed after unary operator: '-font-family'
(3978,15): run-time error CSS1039: Token not allowed after unary operator: '-grey'
(4001,21): run-time error CSS1039: Token not allowed after unary operator: '-font-family'
(4006,15): run-time error CSS1039: Token not allowed after unary operator: '-white'
(4014,20): run-time error CSS1039: Token not allowed after unary operator: '-bg'
(4019,21): run-time error CSS1039: Token not allowed after unary operator: '-font-family'
(4024,15): run-time error CSS1039: Token not allowed after unary operator: '-black'
(4027,20): run-time error CSS1039: Token not allowed after unary operator: '-purple-2'
(4035,21): run-time error CSS1039: Token not allowed after unary operator: '-font-family'
(4039,15): run-time error CSS1039: Token not allowed after unary operator: '-black'
(4040,20): run-time error CSS1039: Token not allowed after unary operator: '-purple-1'
(4053,20): run-time error CSS1039: Token not allowed after unary operator: '-bg'
(4068,21): run-time error CSS1039: Token not allowed after unary operator: '-font-family'
(4072,15): run-time error CSS1039: Token not allowed after unary operator: '-black'
(4143,21): run-time error CSS1039: Token not allowed after unary operator: '-font-family'
(4147,15): run-time error CSS1039: Token not allowed after unary operator: '-black'
(4163,20): run-time error CSS1039: Token not allowed after unary operator: '-bg'
(4184,26): run-time error CSS1039: Token not allowed after unary operator: '-purple-4'
(4201,26): run-time error CSS1039: Token not allowed after unary operator: '-purple-1'
(4227,26): run-time error CSS1039: Token not allowed after unary operator: '-superlight-purple'
(4275,28): run-time error CSS1039: Token not allowed after unary operator: '-light-grey'
(4286,20): run-time error CSS1039: Token not allowed after unary operator: '-superlight-purple'
(4371,8): run-time error CSS1030: Expected identifier, found '.'
(4371,34): run-time error CSS1031: Expected selector, found ')'
(4371,34): run-time error CSS1025: Expected comma or open brace, found ')'
(4379,8): run-time error CSS1030: Expected identifier, found '.'
(4379,36): run-time error CSS1031: Expected selector, found ')'
(4379,36): run-time error CSS1025: Expected comma or open brace, found ')'
(4385,8): run-time error CSS1030: Expected identifier, found '.'
(4385,18): run-time error CSS1031: Expected selector, found ')'
(4385,18): run-time error CSS1025: Expected comma or open brace, found ')'
(4474,23): run-time error CSS1039: Token not allowed after unary operator: '-green-1'
(4478,38): run-time error CSS1019: Unexpected token, found ','
(4478,38): run-time error CSS1042: Expected function, found ','
(4478,43): run-time error CSS1062: Expected semicolon or closing curly-brace, found ')'
(4504,8): run-time error CSS1030: Expected identifier, found '.'
(4504,44): run-time error CSS1031: Expected selector, found ')'
(4504,44): run-time error CSS1025: Expected comma or open brace, found ')'
(4610,21): run-time error CSS1039: Token not allowed after unary operator: '-font-family'
(4614,13): run-time error CSS1039: Token not allowed after unary operator: '-black'
(4661,20): run-time error CSS1039: Token not allowed after unary operator: '-grey-slidebar'
(4670,20): run-time error CSS1039: Token not allowed after unary operator: '-grey-slidebar'
(4763,21): run-time error CSS1039: Token not allowed after unary operator: '-font-family'
(4768,13): run-time error CSS1039: Token not allowed after unary operator: '-purple-2'
(4904,15): run-time error CSS1039: Token not allowed after unary operator: '-green-2'
(4907,15): run-time error CSS1039: Token not allowed after unary operator: '-accent-color'
(4917,21): run-time error CSS1039: Token not allowed after unary operator: '-font-family'
(4922,13): run-time error CSS1039: Token not allowed after unary operator: '-grey'
(5041,10): run-time error CSS1030: Expected identifier, found '.'
(5041,24): run-time error CSS1031: Expected selector, found ')'
(5041,24): run-time error CSS1025: Expected comma or open brace, found ')'
(5044,10): run-time error CSS1030: Expected identifier, found '.'
(5044,35): run-time error CSS1031: Expected selector, found ')'
(5044,35): run-time error CSS1025: Expected comma or open brace, found ')'
(5105,23): run-time error CSS1039: Token not allowed after unary operator: '-font-family'
(5109,17): run-time error CSS1039: Token not allowed after unary operator: '-black'
(5118,23): run-time error CSS1039: Token not allowed after unary operator: '-font-family'
(5122,17): run-time error CSS1039: Token not allowed after unary operator: '-black'
 */


/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

 * {
  box-sizing: border-box; /* Убедитесь, что padding включен в ширину */
 }

 html {
    line-height: 1.15; /* 1 */
    -webkit-text-size-adjust: 100%; /* 2 */
  }
  
  /* Sections
     ========================================================================== */
  
  /**
   * Remove the margin in all browsers.
   */
  
  body {
    margin: 0;
  }
  
  /**
   * Render the `main` element consistently in IE.
   */
  
  main {
    display: block;
  }
  
  /**
   * Correct the font size and margin on `h1` elements within `section` and
   * `article` contexts in Chrome, Firefox, and Safari.
   */
  
  h1 {
    font-size: 2em;
    margin: 0.67em 0;
  }
  
  /* Grouping content
     ========================================================================== */
  
  /**
   * 1. Add the correct box sizing in Firefox.
   * 2. Show the overflow in Edge and IE.
   */
  
  hr {
    box-sizing: content-box; /* 1 */
    height: 0; /* 1 */
    overflow: visible; /* 2 */
  }
  
  /**
   * 1. Correct the inheritance and scaling of font size in all browsers.
   * 2. Correct the odd `em` font sizing in all browsers.
   */
  
  pre {
    font-family: monospace, monospace; /* 1 */
    font-size: 1em; /* 2 */
  }
  
  /* Text-level semantics
     ========================================================================== */
  
  /**
   * Remove the gray background on active links in IE 10.
   */
  
  a {
    background-color: transparent;
  }
  
  /**
   * 1. Remove the bottom border in Chrome 57-
   * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
   */
  
  abbr[title] {
    border-bottom: none; /* 1 */
    text-decoration: underline; /* 2 */
    text-decoration: underline dotted; /* 2 */
  }
  
  /**
   * Add the correct font weight in Chrome, Edge, and Safari.
   */
  
  b,
  strong {
    font-weight: bolder;
  }
  
  /**
   * 1. Correct the inheritance and scaling of font size in all browsers.
   * 2. Correct the odd `em` font sizing in all browsers.
   */
  
  code,
  kbd,
  samp {
    font-family: monospace, monospace; /* 1 */
    font-size: 1em; /* 2 */
  }
  
  /**
   * Add the correct font size in all browsers.
   */
  
  small {
    font-size: 80%;
  }
  
  /**
   * Prevent `sub` and `sup` elements from affecting the line height in
   * all browsers.
   */
  
  sub,
  sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  
  sub {
    bottom: -0.25em;
  }
  
  sup {
    top: -0.5em;
  }
  
  /* Embedded content
     ========================================================================== */
  
  /**
   * Remove the border on images inside links in IE 10.
   */
  
  img {
    border-style: none;
  }
  
  /* Forms
     ========================================================================== */
  
  /**
   * 1. Change the font styles in all browsers.
   * 2. Remove the margin in Firefox and Safari.
   */
  
  button,
  input,
  optgroup,
  select,
  textarea {
    font-family: inherit; /* 1 */
    font-size: 100%; /* 1 */
    line-height: 1.15; /* 1 */
    margin: 0; /* 2 */
  }
  
  /**
   * Show the overflow in IE.
   * 1. Show the overflow in Edge.
   */
  
  button,
  input { /* 1 */
    overflow: visible;
  }
  
  /**
   * Remove the inheritance of text transform in Edge, Firefox, and IE.
   * 1. Remove the inheritance of text transform in Firefox.
   */
  
  button,
  select { /* 1 */
    text-transform: none;
  }
  
  /**
   * Correct the inability to style clickable types in iOS and Safari.
   */
  
  button,
  [type="button"],
  [type="reset"],
  [type="submit"] {
    -webkit-appearance: button;
  }
  
  /**
   * Remove the inner border and padding in Firefox.
   */
  
  button::-moz-focus-inner,
  [type="button"]::-moz-focus-inner,
  [type="reset"]::-moz-focus-inner,
  [type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
  }
  
  /**
   * Restore the focus styles unset by the previous rule.
   */
  
  button:-moz-focusring,
  [type="button"]:-moz-focusring,
  [type="reset"]:-moz-focusring,
  [type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
  }
  
  /**
   * Correct the padding in Firefox.
   */
  
  fieldset {
    padding: 0.35em 0.75em 0.625em;
  }
  
  /**
   * 1. Correct the text wrapping in Edge and IE.
   * 2. Correct the color inheritance from `fieldset` elements in IE.
   * 3. Remove the padding so developers are not caught out when they zero out
   *    `fieldset` elements in all browsers.
   */
  
  legend {
    box-sizing: border-box; /* 1 */
    color: inherit; /* 2 */
    display: table; /* 1 */
    max-width: 100%; /* 1 */
    padding: 0; /* 3 */
    white-space: normal; /* 1 */
  }
  
  /**
   * Add the correct vertical alignment in Chrome, Firefox, and Opera.
   */
  
  progress {
    vertical-align: baseline;
  }
  
  /**
   * Remove the default vertical scrollbar in IE 10+.
   */
  
  textarea {
    overflow: auto;
  }
  
  /**
   * 1. Add the correct box sizing in IE 10.
   * 2. Remove the padding in IE 10.
   */
  
  [type="checkbox"],
  [type="radio"] {
    box-sizing: border-box; /* 1 */
    padding: 0; /* 2 */
  }


  
  /**
   * Correct the cursor style of increment and decrement buttons in Chrome.
   */
  
  li,a {
    list-style-type: none;
    text-decoration: none;
  }

  [type="number"]::-webkit-inner-spin-button,
  [type="number"]::-webkit-outer-spin-button {
    height: auto;
  }
  
  /**
   * 1. Correct the odd appearance in Chrome and Safari.
   * 2. Correct the outline style in Safari.
   */
  
  [type="search"] {
    -webkit-appearance: textfield; /* 1 */
    outline-offset: -2px; /* 2 */
  }
  
  /**
   * Remove the inner padding in Chrome and Safari on macOS.
   */
  
  [type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  
  /**
   * 1. Correct the inability to style clickable types in iOS and Safari.
   * 2. Change font properties to `inherit` in Safari.
   */
  
  ::-webkit-file-upload-button {
    -webkit-appearance: button; /* 1 */
    font: inherit; /* 2 */
  }
  
  /* Interactive
     ========================================================================== */
  
  /*
   * Add the correct display in Edge, IE 10+, and Firefox.
   */
  
  details {
    display: block;
  }
  
  /*
   * Add the correct display in all browsers.
   */
  
  summary {
    display: list-item;
  }
  
  /* Misc
     ========================================================================== */
  
  /**
   * Add the correct display in IE 10+.
   */
  
  template {
    display: none;
  }
  
  /**
   * Add the correct display in IE 10.
   */
  
  [hidden] {
    display: none;
  }


/* Normal style */
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Thin.woff2") format("woff2");
  font-weight: 100;
  font-style: normal;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-ExtraLight.woff2") format("woff2");
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
}

/* Italic style */
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-ThinItalic.woff2") format("woff2");
  font-weight: 100;
  font-style: italic;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-ExtraLightItalic.woff2") format("woff2");
  font-weight: 200;
  font-style: italic;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-LightItalic.woff2") format("woff2");
  font-weight: 300;
  font-style: italic;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-MediumItalic.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-SemiBoldItalic.woff2") format("woff2");
  font-weight: 600;
  font-style: italic;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-BoldItalic.woff2") format("woff2");
  font-weight: 700;
  font-style: italic;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-ExtraBoldItalic.woff2") format("woff2");
  font-weight: 800;
  font-style: italic;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-BlackItalic.woff2") format("woff2");
  font-weight: 900;
  font-style: italic;
}

:root {
  --font-family: "Montserrat", serif;
  --second-family: "Roboto", sans-serif;
  --third-family: "RockStar", sans-serif;
  --font3: "SF Pro Display", sans-serif;
  --black: #000;
  --white: #fff;
  --bg: #f8faff;
  --dark-blue-main: #0a0e20;
  --dark-blue-grey: #1f2236;
  --dark-blue: #1f2c4f;
  --accent-color: #4f4bf6;
  --purple-1: #ededfe;
  --purple-2: #65658f;
  --purple-3: #8181a7;
  --purple-4: #adb7e2;
  --purple-5: #cbd2f2;
  --light-grey: #efefef;
  --green-1: #2fbf34;
  --green-2: #1caf21;
  --grey: #73737c;
  --dark-blue-header-stroke: #181a43;
  --dark-purple: #29294f;
  --bg-darker: rgba(18, 14, 33, 0.2);
  --superlight-purple: #f9f9ff;
  --red-2: #e80000;
  --grey-slidebar: #6a7fa2;
}

/* 
Главный UI
*/

.input-error:hover,
.input-error:focus {
  outline-color: red !important;
  border-color: red !important;
}
.main_title {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 24px;
  line-height: 133%;
  text-transform: uppercase;
  color: var(--black);
  margin: 0;
}

.title_content {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 15px;
}

.small_title {
  position: absolute;
  top: -41px;
  left: 0;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 18px;
  line-height: 156%;
  color: var(--black);
  margin: 0;
}

.text_bold {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 14px;
  line-height: 171%;
  color: var(--black);
}

.new_item {
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--light-grey);
}

.news_button {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 14px;
  line-height: 171%;
  color: var(--white);
  padding: 14px 35px;
  text-align: center;
  border-radius: 50px;
  background: var(--green-1);
}

.new_item:last-of-type {
  border-bottom: unset;
  margin-bottom: 0;
  margin-top: 30px;
}

.content-opoznanie {
  align-self: flex-start !important;
}
.form_content {
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  padding: 15px 20px;
}

.last-documents-container {
  width: 280px;
  gap: 10px;
  display: -webkit-inline-flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 20px 0 rgba(26, 29, 36, 0.08);
  background: var(--white);
  border-radius: 20px;
  text-align: center;
  height: 100%;
  padding: 7px 15px;
  margin-top: 75px;
}

.input_text-area {
  position: relative;
  display: block;
  width: 100%;
  padding-left: 20px;
}

.text-area-error {
  left: 25px !important;
}
.news_date {
  margin: 0;
}

.form-buttons {
  padding: 0 10px 0 10px;
  display: flex;
  align-items: center;
  background-color: white;
  justify-content: flex-end;
  gap: 10px;
  align-items: stretch;
}

.text_gray {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 171%;
  color: var(--grey);
  margin: 0;
}

.middle {
  justify-content: center;
}
.end {
  margin: end;
}
.text_semibold {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 172%;
  color: var(--black);
  margin: 0 0 5px 0;
}
/* 
Главный UI
*/

body {
  background: var(--bg);
  height: 100vh;
}

.login_form-title {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 171%;
  text-align: center;
  color: var(--white);
}

.login_form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  background: var(--white);
  border-radius: 10px;
  width: 100%;
  padding: 20px 25px;
}

.login-btn {
  margin: 0 auto !important;
}
.login_page {
  background: url(../img/login-bg.png);
  background-repeat: no-repeat;
}

.validation-summary-errors > ul > li {
  position: relative !important;
  font-size: 18px !important;
  color: red;
  font-family: var(--font-family);
  font-weight: 500;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 171%;
  text-align: center;
}

.validation-summary-errors > ul {
  padding: 0;
}
.login_form-container {
  width: 100%;
  max-width: 650px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50vh;
  left: 50vw;
  transform: translate(-50%, -50%);
}
html {
  min-width: 360px;
}

.content {
  width: 100%;
  min-height: 500px;
}

.container {
  width: 100%;
}

.tech_btn.disable {
  display: none;
}

.logo {
  padding: 30px 18px;
  min-height: 33px;
}

.logo_media {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
}

.logo_text {
  font-family: var(--third-family);
  font-weight: 400;
  font-size: 15px;
  line-height: 120%;
  margin: 0;
  color: #fafbfd;
}
.left_main {
  max-width: 280px;
  box-shadow: 0 4px 20px 0 rgba(26, 29, 36, 0.08);
  background: var(--dark-blue-main);
  border-radius: 10px;
}
.layout {
  display: flex;
  flex-direction: row;
  padding: 10px;
  gap: 15px;
}

.nav {
  align-items: center;
  max-height: 72px;
  position: relative;
  z-index: 5;
  box-shadow: 0 4px 20px 0 rgba(26, 29, 36, 0.08);
  background: var(--white);
  padding: 12px 12px;
  border-radius: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 50px;
}

.nav_tech {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  justify-content: center;
}

.content_main {
  padding-left: 15px;
}
.opoznanie-screen {
  padding-top: 30px !important;
  width: 100%;
  margin: 0 auto;
  border-radius: 10px;
  gap: 20px;
  align-items: center;
  margin-bottom: 50px;
  padding-left: 0 !important;
}

.last-documents-link {
  display: block;
  padding: 5px 25px;
  border-radius: 50px;
  margin-top: auto;
  background: var(--green-1);
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 14px;
  line-height: 171%;
  color: var(--white);
}

.link.gradient_btn {
  margin-left: auto;
  background: none !important;
  border-radius: 40px;
  width: 100%;
  background: inherit;
  cursor: pointer;
  color: var(--grey);
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 171%;
  border: none;
  text-align: center;
  padding: 10px 10px;
}

.last-documents-title {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 16px;
  line-height: 150%;
  color: var(--black);
  white-space: nowrap;
  width: 100%;
}

.last-documents-text {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 171%;
  margin-top: 0;
  color: var(--grey);
}

.title_container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
}
.exit_btn {
  background: var(--dark-blue);
  border-radius: 50px;
  display: flex;
  gap: 10px;
  padding: 10px 15px;
  justify-content: center;
  cursor: pointer;
  align-items: center;
}

.exit_btn-text {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: clamp(10px, 3dvw, 14px);
  line-height: 171%;
  color: var(--white);
}

.nav_btn {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  padding: 14px 14px;
  border-radius: 40px;
  gap: 8px;
  transition: all 0.3s linear;
}

.gradient_link-svg {
  fill: white;
  stroke: white;
}

.nav_svg {
  fill: #cbd2f2;
  transition: all 0.3s linear;
}
.nav_counter_container {
  position: relative;
}
.nav_counter {
  position: absolute;
  bottom: 2px;
  right: -2px;
  background-color: red;
  border-radius: 50%;
  padding: 3px 3px;
  color: white;
  font-family: var(--font-family);
font-weight: 500;
font-size: 6px;
line-height: 100%;
text-align: center;
color: var(--white);
display: flex;
justify-content: center;
align-items: center;
}

.link_container {
  gap: 15px;
}

.show_more_nav {
  display: none;
}
.nav_btn-text {
  margin: 0;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: clamp(10px, 3dvw, 14px);
  line-height: 171%;
  text-align: center;
  color: var(--purple-3);
  transition: all 0.3s linear;
}

.nav_btn:hover {
  background: var(--purple-1);
  color: var(--purple-2);
}

.nav_btn:hover > .nav_svg {
  fill: var(--purple-2);
}

.nav_btn:hover > .nav_btn-text {
  color: var(--purple-2);
}

.dwnload-svg > path {
  transition: all 0.3s linear;
}

.dwnload-svg:hover > path {
  fill: rgb(0, 90, 158);
}
.nav_btn.active {
  background: linear-gradient(90deg, #4f4bf6 0%, #2e2c90 100%);
}

.nav_btn.active > .nav_btn-text {
  color: var(--white);
}
.nav_menu_list {
  padding: 0 10px;
  list-style: none;
  gap: 10px;
  display: flex;
  flex-direction: column;
}

.nav_menu_item {
  display: flex;
  padding: clamp(10px, 5dvw, 17px);
  border-radius: 10px;
  align-items: center;
  justify-content: space-between;
  gap: 3px;
  transition: all 0.3s linear;
  cursor: pointer;
}

.nav_menu_item:hover {
  background: var(--dark-blue-grey);
}

.nav_menu_link {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: clamp(10px, 3dvw, 14px);
  line-height: 171%;
  color: var(--white);
  text-decoration: none;
}
.nav_btn.for_mobile {
  display: none;
}

.arrow_nav {
  min-width: 12px;
  min-height: 12px;
}

.nav_list {
  display: flex;
  gap: 10px;
}
.nav_menu_item.active {
  background: var(--dark-blue);
}

.settings_container {
  position: relative;
}

.settings_btn {
  font-family: var(--font-family);
  width: 100%;
  font-weight: 500;
  font-size: 14px;
  line-height: 171%;
  justify-content: space-between;
  padding: 16px 15px;
  align-items: center;
  display: flex;
  color: var(--black);
}

.hidden {
  display: none !important;
}

.settings_content {
  display: none;
  flex-direction: column;
  gap: 10px;
  position: fixed;
  z-index: 5;
  top: 95px;
  right: 30px;
  background-color: white;
  border-radius: 16px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin: 0;
  width: 214px;
}

.settings_content.active {
  display: flex;
}

.settings_list_item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}
.settings_btn-svg {
  width: 12px;
  height: 12px;
  stroke: #4f4bf6;
}

.main_screen {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 30px;
}
.news_logo {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background: #13182c;
  max-width: 270px;
  height: 146px;
  border-radius: 15px;
  gap: 15px;
  margin-bottom: 35px;
}

.news_info {
  display: flex;
  flex-wrap: wrap;
  background-image: url(../img/arrow.svg);
  background-repeat: no-repeat;
  background-position: top 31px right;
  width: 100%;
  padding: 0 30px 10px 0;
  margin: 0;
  word-wrap: break-word;
}

.news_content {
  display: flex;
  flex-direction: column;
  padding: 0;
}

.news_mail-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 20px 10px;
  border-radius: 10px;
  text-align: start;
  align-items: flex-start;
  box-shadow: 0 4px 20px 0 rgba(26, 29, 36, 0.08);
  background: var(--white);
  max-width: 1920px;
}
.news_content-single-page > .date-picker {
  min-width: 300px;
}

.news-mail-empty {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 171%;
  text-align: center;
  color: var(--grey);
}

.news-mail-empty-counter {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 171%;
  text-align: center;
  color: var(--grey);
  width: 100%;
  padding-right: 30px;
  text-align: end;
}

.news_mail_btns {
  width: 100%;
  display: flex;
  justify-content: space-between;
  max-width: 1920px;
  padding: 10px 10px;
}

.spravochnik-bik {
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 10px 10px;
}

.spravochnik-rublevih-platejei {
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 10px 10px;
}

.news_mail-container {
  display: flex;
  align-items: center;
  gap: 15px;
  max-width: 1920px;
  flex-direction: column;
  min-height: 300px;
  justify-content: center;
}
.news_content-single-page {
  display: flex;
  gap: 10px;
  width: 100%;
  align-items: center;
}

.news_single-btn {
  padding: 13px 45px !important;
  line-height: 15px !important;
}

.news_container {
  height: fit-content;
  border-radius: 10px;
  max-width: 270px;
  padding: 14px 14px;
  margin-bottom: 15px;
  background-color: var(--white);
}
.news_text {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 16px;
  line-height: 150%;
  color: var(--white);
  margin: 0;
}

.content_left {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0 auto;
  align-self: center;
}

.table-container {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 10px 10px;
  margin: 0 auto;
  border-radius: 20px;
}

.grid-table {
  border-radius: 10px;
  list-style-type: none;
  padding: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
}

.grid-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  padding: 12px;
  border-bottom: 1px solid #e7e9ef;
  background-color: var(--white);
}

.grid_account-faktura {
  min-height: 100px;
}

.grid_account {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
}

.grid-row:last-child {
  border-bottom: none;
}
.label {
  position: relative;
}
.header-row {
  font-weight: bold;
  background-color: #e7e9ef;
  border-radius: 8px 8px 0 0;
}
.grid-table {
  margin-bottom: 50px;
}
.grid-cell {
  margin: 0;
  background-color: #ffffff;
  padding: 12px;
  text-align: left;
}

.grid_btns {
  display: flex;
  flex-direction: row;
  gap: 10px;
  margin: 0 auto;
}

.grid-btn {
  display: inline-block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  text-align: center;
  line-height: 28px;
  font-size: 12px;
  background: var(--purple-1);
  color: #000;
  text-decoration: none;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 12px;
  transition: all 0.3s linear;
  color: var(--black);
}

.data-picker_title {
  margin: 0;
}

.grid-btn.more {
  background-image: url(../img/arrow.svg);
  background-repeat: no-repeat;
  background-position: center center;
}

.grid-btn.active {
  background: var(--purple-2);
  color: var(--purple-1);
}

.grid-btn:hover {
  background-color: var(--purple-3);
}



.grid_colored {
  background: var(--purple-1);
  border: none;
}



.archive-title-th {
  padding: 20px 5px 20px 5px;
}



.grid_colored-last-pc {
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

.grid_colored-last-tablet {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.tech_btn {
  position: relative;
}

.tech_btn-svg {
  position: relative;
}

.tech_btn-top {
  display: none;
}

.tech_btn-svg {
  pointer-events: none;
}
.settings_list_item.exit {
  display: none;
}

.sbmt-btn {
  position: absolute;
  bottom: -35px;
  right: 0;
}
.content_account {
  position: relative;
  display: flex;
  margin-bottom: 30px;
  justify-content: space-between;
  max-width: 1031px;
}

.content_account.radio {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: normal;
  gap: 29px;
  margin-bottom: 0;
  justify-content: space-evenly;
}

/* Стили для drop-down */

.dropdown_container {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.dropdown {
  width: 100%;
  position: relative;
  display: inline-block;
}

.archive-text {
  margin: 0 16px 0 0 !important;
}

.archive-title {
  margin-top: 10px !important;
  font-size: 20px;
}

.input-archive {
  min-width: 250px;
}

.archive-btn {
  display: block;
  margin-left: auto;
  padding: 10px 35px !important;
}

.dropdown-archive-box {
  display: flex;
  gap: 10px;
}

.dropdown-archive {
  display: flex;
  height: fit-content;
  gap: 10px;
  align-items: center;
}

.dropdown-button_text {
  position: relative;
  white-space: nowrap;
}

.dropdown-button::after {
  content: "";
  background-image: url(../img/arrow-bottom.svg);
  background-repeat: no-repeat;
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
  right: 9px;
  width: 10px;
  height: 10px;
}

.btns-create-faktura {
  position: absolute;
  bottom: -20px;
  right: 0;
  display: flex;
  gap: 15px;
}

.dropdown-button {
  min-height: 50px;
  text-align: center;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #ffffff;
  cursor: pointer;
  border: 1px solid var(--purple-1);
  border-radius: 10px;
  padding: 10px 35px;
}

.archive-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: fit-content;
  align-items: stretch;
}
.dropdown-content {
  margin-top: 10px;
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  z-index: 3;
  width: 100%;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
}

.archive-dropdown {
  top: 50px;
  /* left: 93px; */
  left: 0;
}

.dropdown-content a {
  color: black;
  padding: 8px 12px;
  text-decoration: none;
  display: block;
  text-align: center;
  border-radius: 5px;
}

.dropdown-content a:hover {
  background-color: #f1f1f1;
}

.dropdown.active .dropdown-content {
  display: block;
  max-height: 250px;
  overflow-y: auto;
}

.custom-checkbox input[type="checkbox"] {
  display: none;
}

/* Стиль для custom-checkbox */

.content_account {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 50px;
}

.radio_container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

input[type="hidden"] {
  display: none;
}

input[type="radio"] {
  border: 1px solid var(--purple-1);
}

/* Скрытие стандартного чекбокса */
.custom-checkbox input[type="checkbox"] {
  display: none;
}

/* Контейнер для кастомного чекбокса */
.custom-checkbox {
  margin-top: 20px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

/* Стиль для кастомного чекбокса */
.custom-checkbox .checkbox-mark {
  width: 20px;
  height: 20px;
  border: 1px solid var(--purple-1);
  border-radius: 4px;
  margin-right: 10px;
  position: relative;
  display: inline-block;
  background: var(--white);
  box-sizing: border-box;
}

/* Отображение галочки при активном состоянии чекбокса */
.custom-checkbox input[type="checkbox"]:checked ~ .checkbox-mark::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0px;
  width: 8px;
  height: 15px;
  border: solid #007bff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.year-dropdown-container {
  position: relative;
  display: inline-block;
}

.new-faktura {
  max-width: 100% !important;
  padding: 0;
}
.year-display {
  cursor: pointer;
}

.year-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid #ccc;
  z-index: 10;
  max-height: 150px;
  overflow-y: auto;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.year-dropdown.active {
  display: block;
  width: 100px;
}

.year-option {
  padding: 5px 10px;
  cursor: pointer;
}

.year-option:hover {
  background: #f0f0f0;
}

.radio_container {
  display: flex;
  align-items: center;
  gap: 5px;
}

input[type="radio"] {
  display: none; /* Скрываем стандартный радио-баттон */
}

.label_radio {
  display: inline-block;
  position: relative;
  cursor: pointer;
  padding-left: 30px; /* Пространство для кастомной кнопки */
}

.group-radio {
  max-width: 100px;
}
.visible-radio {
  display: block !important;
  margin: 0 auto;
  cursor: pointer;
}

.radio_container1 {
  padding-left: 5px;
}

/* Для всей строки tr */
.pointered {
  position: relative;
  text-align: center; /* Горизонтальное выравнивание */
  vertical-align: middle; /* Вертикальное выравнивание */
  height: 30px;
  border-bottom: 10px solid transparent;
  border-top: 10px solid transparent;
}

.pointered:not(:last-child)::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translate(-50%, 0);
  width: 97%;
  height: 1px;
  background-color: var(--light-grey);
}
.emtpy-tr {
  position: relative;
  width: 100%;
  text-align: center;
  height: 100px !important;
}

.active-row {
  background-color: rgba(212, 208, 208, 0.4);
}

/* Для каждой ячейки td внутри строки */
.pointered td {
  text-align: center; /* Горизонтальное выравнивание */
  vertical-align: middle; /* Вертикальное выравнивание */
}

td.pointer {
  word-break: keep-all;
}

/* Для кастомных элементов, например, радио-кнопок, если нужно */
.radio_container1 {
  display: table-cell;
  height: 100%;
  margin: 0 auto;
  justify-content: center; /* Центрируем элементы внутри контейнера */
  align-items: center; /* Центрируем по вертикали */
}

/* Для изображения в ячейке */
.pointered td img {
  display: block; /* Убираем возможные отступы */
  margin: 0 auto; /* Центрируем изображение */
}

/* Можно также задать размеры для ячеек и элементов внутри */
.pointered td,
.pointered input,
.pointered img {
  padding: 0 10px; /* Отступы между элементами */
}

.label_radio::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border: 1px solid var(--purple-1);
  border-radius: 50%;
  background-color: white;
  transition: background 0.3s;
}

input[type="radio"]:checked + .label_radio::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--purple-2);
}

.custom-checkbox input[type="checkbox"]:checked ~ .checkbox-mark::before,
.custom-checkbox input[type="radio"]:checked ~ .checkbox-mark::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0px;
  width: 8px;
  height: 15px;
  border: solid #007bff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.gradient_btn {
  z-index: 1;
  border-radius: 40px;
  background: linear-gradient(90deg, #4f4bf6 0%, #2e2c90 100%) !important;
  cursor: pointer;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 171%;
  color: white;
  border: none;
  text-align: center;
  padding: 10px 15px;
  transition: all 0.3s linear;
}

.gradient_btn:hover {
  background: linear-gradient(180deg, #716eff 0%, #425099 100%) !important;
}

textarea {
  resize: none; /* Отключает изменение размера */
}

.new-faktura {
  min-height: 150px;
}

.faktura-btn {
  bottom: -50px;
}

.show_more-btn {
  cursor: pointer;
  text-align: center;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 29px;
  line-height: 6px;
  color: #73737c;
}

.show_more-btn-faktura-b {
  display: block;
  text-align: center;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 29px;
  line-height: 6px;
  color: #73737c;
}

.checkbox_content {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px; /* Space between grid items */
  margin-bottom: 30px;
}

.dropdown_content.account {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.opoznanie-title {
  align-self: center;
}

.opoznanie-title-container {
  justify-content: center;
  width: 90%;
  border-radius: 10px;
  background: var(--purple-1);
  padding: 30px 30px;
  margin: 15px auto;
}

.news_content .new_item {
  display: none; /* Скрываем все элементы .new_item */
}

.news_content .new_item:nth-child(-n+4), /* Показываем первые 3 .new_item */
.news_content .new_item:last-child {
  /* Показываем последний .new_item */
  display: flex;
}

.text_content {
  box-sizing: border-box;
  overflow-wrap: break-word; /* Перенос слов */
  word-break: break-word; /* Перенос длинных слов */
  max-width: 100%; /* Ограничение ширины */
  display: flex;
  padding-left: 15px;
  flex-direction: column;
}

.table_content_info {
  display: flex;
  gap: 10px;
  flex-direction: row;
}

.table_content_info_item {
  display: flex;
  gap: 10px;
}
.title_table {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 16px;
  line-height: 150%;
  color: var(--black);
}
.vipiska_tabs_content {
  display: block;
  position: relative;
  min-height: 200px;
}

.color_green {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 14px;
  line-height: 171%;
  text-align: center;
  margin: 0;
  color: var(--green-2);
}

.vipiska_btns-container {
  margin: 0 0 0 0;
  display: flex;
  justify-content: space-between;
  padding-left: 10px;
  align-items: center;
}

.vipiska_btns-nav {
  margin: 0;
}

.help_btn {
  background: linear-gradient(180deg, #13182c 0%, #040325 100%), rgba(0, 0, 0, 0.6);
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 12px;
  line-height: 171%;
  text-align: center;
  cursor: pointer;
  color: var(--white);
  border-radius: 40px;
  padding: 12px 24px;
  border: unset;
  transition: background 0.3s linear;
}

.help_btn:hover {
  background: linear-gradient(90deg, #4f4bf6 0%, #2e2c90 100%);
  transition: background 0.3s linear;
}


.pc-tablet {
  display: block;
}

.mobile-only {
  display: none;
}

.onlypc {
  display: block;
}

th.onlypc,
td.onlypc {
  display: table-cell;
}
th.pc-tablet,
td.pc-tablet {
  display: table-cell;
}

.tablet-mobile {
  display: none;
}

.checkbox_container {
  width: fit-content;
}

.grid_data {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
}

.vipiska_tabs_content {
  padding: 0;
}

/* Основной контейнер попапа */
.popup-container_vipiska {
  position: fixed;
  top: 0;
  overflow: scroll;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Полупрозрачный фон */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 30;
}

/* Содержимое попапа */
.popup-content_vipiska {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  max-width: 600px;
  width: 90%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  position: relative;
  text-align: left;
}

/* Кнопка закрытия */
.popup-close {
  font-size: 39px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
}

.popup-title {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 12px;
  line-height: 200%;
  margin: 0;
  color: var(--purple-2);
}

.popup-title-main-vipiska {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#popup-data_vipiska {
  padding: 10px 15px;
  background: var(--purple-1);
  border-radius: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr; /* Два равных столбца */
  gap: 10px; /* Расстояние между блоками */
}

.popup-descr-vipiska {
  font-family: var(--font-family);
  font-weight: 600;
  word-break: break-all;
  font-size: 14px;
  line-height: 171%;
  color: var(--black);
}

/* Анимация появления попапа */
.popup-container_vipiska {
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Для адаптивности */

.empty-item {
  display: block !important;
  background: inherit;
  position: absolute;
  top: 50%;
  border-radius: 30px;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  padding: 0;
}

.empty-text {
  display: block;
  background: inherit;
  text-align: center;
  padding: 0;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 171%;
  text-align: center;
  color: var(--grey);
}

.operation_dropdown {
  min-width: 275px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.hidden-form {
  display: none;
}

/* Стили попапа */

/* Блокировка скролла */
body.no-scroll {
  overflow: hidden;
}

.dialog-wrapper {
  backdrop-filter: blur(4px);
  background: var(--bg-darker);
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 100;
  width: 100vw;
  height: 100vh;
  transform: translate(-50%, -50%);
}

.dialog {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #fff;
  width: 100%;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  max-width: 350px;
  padding: 0;
  animation: fadeIn 0.3s ease;
}

.mediumParagraph > ul {
display: flex;
padding: 0;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
gap: 20px;
}
.mediumParagraph › ul › li {
display: flex;
flex-direction: column;
gap: 5px;
}
.mediumParagraph › ul › li › .label {
display: flex;
flex-direction: column;
gap: 5px;
font-weight: 500;
font-size: 14px;
line-height: 171%;
color: var(--black);
}
.buttonArea > .paragraph {
display: flex;
flex-direction: row;
gap: 10px;
justify-content: center;
}
 .dialog-file {
max-width: 500px;
 }
/* Анимация появления */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Заголовок */
.ui-dialog-titlebar {
  background: white;
  color: #fff;
  padding: 10px 15px;
  font-size: 16px;
  font-weight: bold;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}



/* Кнопка закрытия */
.ui-dialog-titlebar-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 18px;
  margin-left: auto;
  cursor: pointer;
  transition: color 0.3s;
}

.ui-dialog-titlebar-close:hover {
  color: #ccc;
}

/* Контент */
.ui-dialog-content {
  padding: 20px;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
}

.ui-dialog-content p {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 16px;
  line-height: 150%;
  text-align: center;
  color: var(--black);
}

/* Кнопки */
#buttons {
  display: flex;
  justify-content: center;
  padding: 15px;
  gap: 10px;
}

.button112 {
  padding: 8px 45px;
  background: linear-gradient(90deg, #4f4bf6 0%, #2e2c90 100%);
  border: none;
  color: #fff;
  border-radius: 15px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 16px;
  line-height: 150%;
  text-align: center;
  color: white;
}

.button112:hover {
  background-color: #005a9e;
}

.ui-dialog-title {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 14px;
  line-height: 171%;
  text-align: center;
  color: rgb(0, 0, 0);
}

.input-content {
  min-width: 400px;
  margin-bottom: 30px;
}

.faktura-content_account_item {
  min-width: 400px;
}

.popup-item_vipiska {
  padding: 5px 5px;
}

.opoznanie-left {
  border-radius: 30px;
  box-shadow: 0 4px 20px 0 rgba(26, 29, 36, 0.08);
  background-color: white;
  padding-bottom: 30px;
}

.opoznanie-screen {
  padding-top: 30px;
  display: flex;
  align-items: flex-start;
}

.input-title {
  margin: 0;
}

.opoznanie-main-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px; /* Расстояние между элементами */
  padding: 20px; /* Внутренние отступы контейнера */
  box-sizing: border-box; /* Включает отступы в ширину */
  min-width: 0;
}

.opoznanie-main-container > div,
.opoznanie-main-container > label {
  grid-column: span 1; /* Каждый элемент занимает одну колонку */
}
.money-label {
  width: 100%;
  display: block;
}

.flex-container {
  display: flex;
  align-items: center;
  gap: 25px;
}

.dropdown-money {
  max-width: 150px;
}
.opoznanie-input-container {
  display: flex;
  flex-direction: column;
}

.documents-last-list {
  padding: 0;
  width: 100%;
  margin: 0;
}

.documents-last-item_text-small {
  margin: 0 0 0 0;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 10px;
  line-height: 200%;
  color: var(--purple-4);
}

.documents-last-item {
  padding-top: 10px;
  display: flex;
  display: none;
  flex-direction: column;
  border-bottom: 1px solid var(--light-grey);
}

.documents-last-item:nth-child(-n + 3) {
  display: flex;
}

.documents-last-item_text {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 12px;
  line-height: 200%;
  color: var(--black);
  margin: 0 0 15px 0;
}
.documents-last-item {
  width: 100%;
  text-align: start;
}

label {
  display: block;
}

input {
  position: relative;
}

.faktura-btns {
  position: absolute;
  bottom: -40px;
  right: 0;
}

.archive-right-content {
  display: flex;
}

.opoznanie-archive-container {
  display: flex;
  gap: 50px;
  justify-content: center;
  margin-top: 50px;
}

.archive_btns-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin: 0 !important;
  padding: 15px 10px;
}

.opoznanie-element {
  display: flex;
  gap: 10px;
  align-items: flex-end;
}

.opoznanie-element > label {
  width: 100%;
}

.dropdown_small {
  max-width: 100px;
}

.pointer {
  cursor: pointer;
  font-size: 25px;
}
.news_btns {
  background-color: inherit !important;
}

.change-password-item {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.change-password-container {
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

.change-phone-container {
  gap: 100px;
}
.change-password-container {
  margin-bottom: 30px;
}

.change-password-btns {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  padding: 10px 10px;
}

.change-phone-item {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.change-phone-btn {
  word-break: keep-all;
  white-space: nowrap;
}

.black-btn {
  background: var(--black) !important;
}

.radio_container-kassa {
  display: flex;
  gap: 10px;
}

.kovertacia-orders-radio {
  min-height: 50px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding-top: 18px;
}
.download-link {
  display: flex;
  justify-content: center;
  align-items: center;
}

#statementArea {
  border-radius: 15px;
  box-shadow: 0 4px 20px 0 rgba(26, 29, 36, 0.08);
  background: var(--white);
}



.rekviziti-btns {
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
}

.emtpy-tr > td {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.platej-btns {
  display: flex;
  flex-direction: column;
}
.btns-container {
  display: flex;
  gap: 10px;
  width: 100%;
}

.platej-btn {
  max-width: 300px;
  background-color: var(--accent-color);
  width: 100%;
}
@media screen and (max-width: 1350px) {
  .nav_menu_item {
    padding: 5px 10px;
  }
  .opoznanie-archive-container {
    flex-direction: column;
  }
  .btns-container {
    display: flex;
    gap: 10px;
    width: 100%;
    justify-content: center;
  }

  .main_screen {
    flex-direction: column !important;
    padding-bottom: 100px !important;
  }

  .change-password-container {
    flex-direction: column;
  }
  .opoznanie-help-btn {
    padding: 10px 25px;
    word-break: keep-all;
    white-space: nowrap;
  }

  .opoznanie-screen {
    padding-bottom: 100px !important;
  }
  .faktura-btns {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  .opoznanie_svg_title {
    display: none;
  }

  .form-buttons {
    padding: 0 10px 0 10px;
    justify-content: center;
  }
  .opoznanie-help-btn {
    width: 100%;
  }

  .opoznanie-screen {
    display: flex;
    flex-direction: column;
  }
  .nav_menu_link {
    font-size: 12px;
  }

  .logo {
    padding-left: 10px;
  }
}

/* Основные стили для date-picker */
.day.in-range {
  background: var(--purple-1);
}

.input-text {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 171%;
  text-align: center;
  color: var(--black);
}


.input-main {
  width: 100%;
  border-color: transparent;
  padding: 10px 0 10px 0;
  text-align: center;
  border-radius: 10px;
  border: 1px solid var(--purple-1);
  min-height: 50px;
  border-radius: 10px;
}

.input-main::placeholder {
  font-family: var(--font-family);
  font-weight: 300;
  font-size: 14px;
  line-height: 171%;
  text-align: center;
  color: var(--grey);
}

.input-main:focus,
.input-main:hover {
  border-color: var(--purple-1);
  outline: unset;
}
.calendar-days {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 171%;
  text-align: center;
  color: var(--black);
}

.input-label {
  position: relative;
}
.calendar-days > div {
  margin-bottom: 10px; /* Отступ только снизу */
}
.date-picker {
  position: relative;
  cursor: pointer;
  position: relative;
}
label {
  position: relative;
}
.error-text {
  color: red;
}
.error-data {
  position: absolute;
  bottom: -25px;
  margin: 0;
  left: 0;
  color: red;
  font-family: var(--font-family);
  font-weight: 500;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 171%;
  text-align: center;
}

.input-error {
  border: 1px solid red;
}

#date-input {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  cursor: pointer;
  text-align: center;
}

/* Календарь */
.calendar {
  display: none;
  position: absolute;
  top: 50px;
  width: 100%;
  min-width: 250px;
  background: #fff;
  border: 1px solid #ddd;
  z-index: 5;
  border-radius: 8px;
  padding: 10px;
}

.calendar.active {
  display: block;
}

/* Анимация для плавного перехода */
.calendar-content {
  position: relative;
  z-index: 6;
  opacity: 1;
  transition: opacity 0.5s linear;
}

.calendar-content.fade-out {
  opacity: 0.5;
}

/* Календарный заголовок и дни недели */
.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calendar-header button {
  background: none;
  border: none;
  cursor: pointer;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  margin-top: 10px;
  transition: all 0.3 linear;
}

.day {
  position: relative;
  transition: all 0.3s linear;
  cursor: pointer;
}

.selected-start {
  position: relative;
}

.selected-start.inrange > .day-text {
  background: linear-gradient(
    to left,
    rgba(237, 237, 254, 1) 50%,
    transparent 50%
  ) !important;
}

.day.in-range.selected-start {
  background: linear-gradient(
    to left,
    rgba(237, 237, 254, 1) 50%,
    transparent 50%
  ) !important;
}

/* Стили для выбранных и промежуточных дат */

.day.in-range {
  color: #000;
}

.day.selected-end {
  background: linear-gradient(
    to right,
    rgba(237, 237, 254, 1) 50%,
    transparent 50%
  ) !important;
}

.day.selected-start {
  background: linear-gradient(
    to left,
    rgba(237, 237, 254, 1) 50%,
    transparent 50%
  ) !important;
}
.day-text {
  display: block;
  width: 35px;
  margin: 0 auto;
  height: 35px;
  text-align: center;
  line-height: 35px;
  border-radius: 50%;
}

.day.selected-end > .day-text {
  color: white;
  background-color: var(--purple-2);
  border-radius: 50%;
  display: block;
  text-align: center;
}

.day.selected-start > .day-text {
  color: white;
  background-color: var(--purple-2);
  border-radius: 50%;
  display: block;
  text-align: center;
}

.form-buttons {
  justify-content: flex-end;
}

.archive-title-th-last-pc {
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

.opoznanie-help-btn {
  transition: background 0.3s linear;
  background: linear-gradient(180deg, #13182c 0%, #040325 100%), rgba(0, 0, 0, 0.6);
}

.opoznanie-help-btn:hover {
  background: linear-gradient(90deg, #4f4bf6 0%, #2e2c90 100%);
}
.content_account_item {
  display: flex;
  flex-direction: column;
}

.gradient_btn:focus {
  outline: #007bff;
}

.faktura-table-colored {
  grid-template-columns: repeat(7, 1fr);
  padding: 12px;
  border-bottom: 1px solid #e7e9ef;
  background-color: var(--white);
}

#ViewForm {
  background-color: var(--white);
}

.grid_account-faktura {
  grid-template-columns: repeat(7, 1fr);
}
.grid_colored-last {
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

.buttons_container {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  align-items: flex-end;
}
.archive-btns-zayavka {
  border-radius: 30px;
  padding: 0 15px 30px 0;
}

@media screen and (max-width: 1200px) {

  #SearchPhone {
    max-height: 68px;
  }
  .new-mail {
    margin-top: 0 !important;
    justify-content: flex-start !important;
  }



  .history-mail-content {
    flex-direction: column;
    justify-content: center;
  }
  .mail-buttons {
    padding: 0 10px !important;
  }

  .left_main {
    min-width: 250px;
    height: unset !important;
  } 
  .mail-btn {
    width: unset !important;
    min-width: 75px !important;
  }
  .left-mail_reglaments {
    display: b !important;
  }

  .spravochnik_fiz_container {
    grid-template-columns: 40vw 40vw !important;
  grid-template-rows: auto auto !important;
    gap: 20px;
  }

  .spravochnik_fiz_content-btns {
    grid-column: span 2 !important;
  }

  .spravochnik_fiz_content-btns button {
    max-width: 100% !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .grid4x4 {
    grid-template-columns: repeat(1, 1fr) !important;
  }
  .grid3x3 {
    grid-template-columns: repeat(1, 1fr) !important;
  }
  .counter-agents {
    align-items: center !important;
  }
  .spravochnik-bik_btns-item {
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 15px;
  }



  .konvertacia-archive-container {
    gap: 10px;
  }
  .change-password-container {
    flex-direction: column;
  }
  .form-buttons {
    padding-top: 10px;
    padding-left: 10px;
    flex-direction: column;
    padding-bottom: 30px;
  }

  .news_single-btn {
    width: unset !important;
  }

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


  th.pc-tablet,
  td.pc-tablet {
    display: table-cell;
  }

  .link.gradient_btn {
    margin-left: auto;
    background: none !important;
    border-radius: 40px;
    width: 100%;
    background: inherit;
    cursor: pointer;
    color: var(--grey);
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 14px;
    line-height: 171%;
    border: none;
    text-align: center;
    padding: 10px 10px;
  }

  .opoznanie-main-container {
    flex-direction: column;
    display: flex;
  }

  .faktura-fields {
    flex-direction: column !important;
    display: flex !important;
  }

  .last-documents-link {
    display: block;
    width: 80%;
    margin: 0 auto 10px auto;
  }



  .input_text-area {
    padding-left: 15px;
    max-width: 100%;
  }
  .nav_tech {
    display: none;
  }
  .table-container {
    margin-bottom: 30px;
  }

  .sbmt-btn {
    position: absolute;
    bottom: -40px;
    right: 0;
  }

  .grid_colored-last-pc {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
  }

  .grid_colored-last-tablet {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
  }

  .gradient_link-svg {
    display: none;
  }

  .link.gradient_btn {
    margin-left: auto;
    border-radius: 40px;
    background: linear-gradient(90deg, #4f4bf6 0%, #2e2c90 100%) !important;
    cursor: pointer;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 14px;
    line-height: 171%;
    color: white;
    border: none;
    text-align: center;
    padding: 10px 15px;
  }

  .gradient_btn {
    width: 100%;
    margin-left: 0;
  }



  .content_account {
    max-width: 100%;
  }
  .content_account_item {
    width: 100%;
    gap: 15px;
  }
  .grid_colored:nth-last-child(2) {
    border-top-right-radius: unset;
    border-bottom-right-radius: unset;
  }
  .show_more-btn {
    display: block;
  }
  .pc-tablet {
    display: block;
  }

  .mobile-only {
    display: none;
  }



  .tablet-mobile {
    display: block;
  }

  .settings_btn.tablet-mobile {
    display: flex !important;
  }

  .grid_colored-vipiska:nth-last-child(2) {
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
  }

  .grid_account {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
  }

  .nav_menu_item.active {
    background: linear-gradient(90deg, #4f4bf6 0%, #2e2c90 100%);
  }
  .layout {
    padding: 0;
  }
  .settings_list_item.exit {
    display: flex;
  }
  .title_container {
    align-items: center;
    margin-bottom: 50px;
    justify-content: center;
  }

  .title_content {
    order: 4;
    justify-content: center;
  }
  .content_main {
    padding: 0 10px;
  }
  .nav_btn:hover {
    background: initial;
  }

  .settings_container.hidden {
    display: flex;
  }

  .svg_title {
    display: none;
  }
  .nav_btn {
    padding: 5px 5px;
  }
  .layout {
    display: flex;
    flex-direction: column;
  }

  .nav_menu {
    padding: 0 10px;
  }

  .exit_btn {
    display: none;
  }
  .logo {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .left_main {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }
  .tech_btn.disable {
    display: flex;
  }

  .tech_btn.bottom {
    display: flex;
  }
  .nav_menu {
    width: 100%;
    overflow-x: hidden;
  }

  .nav_menu_list {
    padding: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    scrollbar-width: none;
  }

  .arrow_nav {
    display: none;
  }

  .nav_menu_item {
    white-space: nowrap;
    padding: 10px;
  }

  .nav_menu_list:active {
    cursor: grabbing;
  }

  .nav {
    align-items: center;
    justify-content: center;
  }

  .nav_menu_item {
    background: var(--dark-purple);
  }

  .nav {
    position: fixed;
    bottom: 0;
    left: 0;
    border-radius: 0;
    margin-bottom: 0;
    width: 100%;
  }

  .nav_svg {
    width: 24px;
    height: 24px;
  }

  .nav {
    background: linear-gradient(180deg, #13182c 0%, #3432a1 100%),
      rgba(0, 0, 0, 0.705);
    background-blend-mode: overlay;
    padding: 0 10px;
  }

  .nav_btn {
    display: flex;
    flex-direction: column;
    border-radius: 0;
    padding: 11px 17px;
    position: relative;
  }

  .nav_btn.active::after {
    content: " ";
    position: absolute;
    bottom: 3px;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #4f4bf6 0%, #2e2c90 100%);
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
  }
  .exit_btn-text {
    display: none;
  }
  .tech_btn {
    display: none;
  }

  .tech_btn-top {
    display: flex;
  }
  .nav_btn.active {
    background: initial;
  }

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

  .news_container {
    max-width: 100%;
  }
  .news_logo {
    max-width: 100%;
  }
  .news_info {
    flex-direction: column;
  }

  .content_account {
    flex-direction: column;
  }

  .faktura-table-colored {
    align-items: center;
    grid-template-columns: repeat(4, 1fr) !important;
    padding: 12px;
    border-bottom: 1px solid #e7e9ef;
    background-color: var(--white);
  }

  .grid-cell-faktura {
    height: 100%;
  }
  .grid_account-faktura {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}

@media screen and (max-width: 768px) {


  .table-input-th {
    max-width: 100px !important;
  }

  .double-header-btns-content {
    flex-direction: column !important;
  }
  .dropdown-nav {
    width: 100px;
    max-width: 100% !important;
  }
  .table-input {
    max-width: 150px;
  }

  .chat-container {
    height: calc(100vh - 150px) !important;
  }
  .chat_msg_content {
    max-width: 100% !important;
  }
  .chat-btn {
    margin: 0 auto 10px auto !important;
  }
  .btn-for-files {
    gap: 10px;
    display: flex;
    flex-direction: column;
  }
  .width-th {
    min-width: unset !important;
  }
  .spravochnik_adds_container {
    flex-direction: column !important;
    gap: 30px !important;
  }

  .spravochnik_adds_content_left {
    flex-direction: row !important;
    gap: 10px !important;
    width: 100%;
    justify-content: center;
    align-items: center;
    order: 5;
  }

  .spravochnik_adds_content_left .visible-radio {
    margin: 0 0 0 0 !important;
  }
  .spravochnik_adds_content_left {
    min-width: 50px !important;
    gap: 50px !important;
  }

  .spravochnik_fiz_container {
    display: flex !important;
    flex-direction: column;
    gap: 25px;
  }

  .grid5x5 {
    display: flex !important;
    flex-direction: column;
  }
  .grid3x33 {
    display: flex !important;
    flex-direction: column;
  }
  .spravochnik_fiz_content-btns {
    grid-column: span 2 !important;
  }

  .flex-container-btns {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .counter-agents {
    flex-direction: column;
    text-align: center;
  }
  :where(.counter-agents .info-text) {
    text-align: center !important;
  }
  .grid-signature {
    flex-direction: column !important;
    justify-content: center;
    align-items: center;
  }
  .signature-item {
    width: 100% !important;
  }
  .signature {
    margin: 30px auto 20px auto !important;
  }
  .colored-grid {
    flex-direction: column !important;
  }
  .non-colored-grid {
    flex-direction: column !important;
  }
  .card-colored {
    width: 100% !important;
  }
  .card-non-colored {
    width: 100% !important;
  }
  .add-remove-btns_container {
    flex-direction: column;
  }
  .popup-container_vipiska {
    display: block;
  }

  .group-page-content  {
    margin-bottom: 40px;
  }
  .error-group {
    left: 50%;
    bottom: -45px;
    transform: translate(-50%,0);
  }

  .info-text-edit  {
    bottom: -50px;
    right: 0;
    left: 0 !important;
    top: unset !important;
    word-break: break-all;
    white-space: wrap;
  }

  .radio_container-konvertacia {
    min-width: 100px;
  }

  .kovertacia-orders-radio {
    flex-direction: column;
  }
  .popup-content_vipiska {
    top: 10px;
    margin: 0 auto;
  }
  .checkbox_area-text {
    font-size: 12px !important;
  }
  .login_form-btns {
    flex-direction: column;
    gap: 10px !important;
  }

  .kassa-orders {
    gap: 10px !important;
  }

  #popup {
    top: 0;
  }

  .change-phone-item {
    display: flex;
    gap: 40px;
    flex-direction: column;
  }
  .main_title {
    font-size: 16px;
  }

  .change-password-btns {
    flex-direction: column;
  }
  .news_mail_btns {
    flex-direction: column;
    justify-content: center;
    gap: 15px;
  }

  .spravochnik-bik {
    flex-direction: column;
    justify-content: center;
    gap: 15px;
  }
  .spravochnik-rublevih-platejei {
    flex-direction: column;
    justify-content: center;
    gap: 15px;
  }
  .news-close-btn {
    order: -1;
  }

  .news_mail_btns-item {
    justify-content: center;
    width: 100%;
    gap: 10px;
    display: flex;
    justify-content: space-between;
  }

  .news_content-single-page {
    display: flex;
    flex-direction: column;
  }

  .documents-last-item {
    align-items: center;
    justify-content: center;
  }
  .documents-last-item_content {
    width: 100%;
    text-align: center;
  }
  .login_form-container {
    max-width: 90%;
    margin: 50px auto;
    position: relative;
    transform: none;
    top: 0;
    left: 0;
  }
  .opoznanie_show {
    display: grid;
    grid-template-columns: repeat(1, 1fr) !important;
    gap: 10px;
    width: 100%;
    margin: auto;
  }

  th.pc-tablet,
  td.pc-tablet {
    display: none;
  }

  .form_content {
    padding: 15px 5px;
  }
  .checkbox_content {
    gap: 10px;
  }
  .input-content {
    min-width: 300px;
    gap: 10px;
    display: flex;
    flex-direction: column;
  }

  .mobile-hidden {
    display: none;
  }

  .grid-table {
    margin-bottom: 70px;
  }

  .empty-item {
    min-height: 100px;
    width: 100%;
  }

  .faktura-checkbox {
    margin-top: 20px;
  }

  .faktura-label {
    margin-bottom: 30px;
  }

  .faktura-content {
    justify-content: inherit;
    cursor: pointer;
  }

  .faktura-content_account_item {
    min-width: 300px;
  }

  .calendar {
    min-width: unset;
  }

  .operation_dropdown {
    min-width: unset;
  }
  .grid_colored-last-tablet {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
  }

  .grid_colored-last-mobile {
    border-top-right-radius: 10px !important;
    border-bottom-right-radius: 10px !important;
  }

  .text_content {
    margin-top: 10px;
    margin-bottom: 15px;
    padding-left: 10px;
  }
  .middle {
    text-align: end;
  }
  .grid-main {
    grid-template-columns: 1fr auto;
  }
  .tablet-mobile {
    display: block;
  }

  .link_container {
    width: 100%;
  }

  .calendar {
    padding: 10px 0 !important;
    z-index: 5;
  }

  .day-text {
    width: 25px;
    height: 25px;
    line-height: 25px;
  }

  .show_more_nav_btn-close {
    border: none;
    background: transparent;
    width: 30px;
    height: 30px;
  }
  .nav_btn-text {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 12px;
    line-height: 133%;
    color: var(--white);
  }
  .show_more {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px 15px;
  }

  .show_more_nav {
    position: fixed;
    top: -5500px;
    left: 0;
    display: flex;
    gap: 30px;
    align-items: center;
    min-height: 1200px;
    flex-direction: column;
    min-width: 360px;
    width: 100vw;
    height: 100vh;
    z-index: 25;
    background: linear-gradient(180deg, #13182c 0%, #3432a1 100%),
      rgba(0, 0, 0, 0.6);
    transition: top 0.3s linear;
  }

  .show_more_nav.active {
    display: flex;
    top: 0;
  }

  .show_more_nav_content {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 25px;
  }
  .show_more_nav_content-item {
    border-radius: 15px;
    width: 90%;
    padding: 0 15px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: center;
    background: var(--dark-blue-grey);
    gap: 10px;
  }

  .show_more_nav-btn-text {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 15px;
    line-height: 160%;
    color: var(--white);
  }
  .nav {
    z-index: 30;
  }
  .nav_list {
    margin: 0 auto;
  }

  .table-container {
    padding: 0;
  }

  .dropdown-button {
    padding: 10px 10px;
    text-align: center;
  }

  .input-main::placeholder,
  .dropdown-button_text {
    font-size: 10px !important;
  }
  .input-main {
    font-size: 10px !important;
  }
  .archive-content {
    width: 100%;
  }

  .archive-span-dropdown {
    width: 100%;
  }
  .dropdown-archive {
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: center;
  }
  .label_radio {
    font-size: 10px;
  }

  .vipiska_btns {
    display: flex;
    gap: 10px;
    flex-direction: column;
    width: 100%;
  }

  .help_btn {
    display: block;
    width: 100%;
  }
  .vipiska_btns-container {
    flex-direction: column;
    gap: 30px;
  }
  .table_content_info {
    display: flex;
    gap: 10px;
    flex-direction: column;
  }

  .table_content_info_item {
    display: flex;
    gap: 3px;
    align-items: flex-start;
    flex-direction: column;
  }

  .title_table {
    text-align: center;
    font-size: 14px;
  }
  .nav {
    padding: 0;
  }
  .nav_btn {
    padding: 10px 10px;
  }
  .nav_btn.for_mobile {
    display: flex;
  }
  .nav_btn.for_pc {
    display: none;
  }

  .grid_account {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .pc-tablet {
    display: none;
  }

  .mobile-only {
    display: block;
  }

  .onlypc {
    display: none;
  }
  th.onlypc,
  td.onlypc {
    display: none;
  }

  .popup-content_vipiska {
    max-width: 100%;
    padding: 15px;
  }

  #popup-data_vipiska {
    grid-template-columns: 1fr; /* Два равных столбца */
  }
  .popup-item_vipiska {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .faktura-table-colored,
  .grid_account-faktura {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

.nav_btn-text-more {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 18px;
  line-height: 133%;
  color: var(--white);
}

.grid-archive {
  width: 100%;
}

.reference-archive {
  width: 100%;
  border-spacing: 10px 0;
}

table,
th,
td,
tr {
  border: none;
  outline: none;
}

th {
  padding: 0 10px;
  vertical-align: text-top;
  max-width: 350px;
}
td {
  text-align: center;
  min-height: 35px;
  word-break: break-word;
  max-width: 250px;
  cursor: pointer;
}

table {
  border-collapse: collapse; /* Объединяет границы */
}

.disabled-form-btn {
  position: relative;
  opacity: 0.5;
  pointer-events: none;
  cursor: not-allowed;
  z-index: 1;
}
.disabled-popup-btn {
  position: relative;
  opacity: 1;
  pointer-events: none;
  cursor: not-allowed;
}

.disabled-popup-btn .dropdown-button::after {
  content: '';
  background-image: none;
}
.opoznanie_show {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: 100%;
  margin: 30px auto 0 auto;
}

.login-btn {
  width: 80% !important;
  margin-top: 20px !important;
}

.login_form-btns {
  display: flex;
  gap: 20px;
}

.double-header-btns-nav {
  margin: 0 0 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.double-header-btns-content {
  display: flex;
  flex-direction: row;
  gap: 10px;
}
.double-header-btns {
  display: flex;
  justify-content: center;
  align-items: center;
}

.qr-code {
  display: block;
  margin: 0 auto;
  max-width: 350px;
  max-height: 350px;
}

.kassa-orders {
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 20px !important;
}

.kassa-orders-radio {
  display: flex;
  gap: 30px;
}

.make-copy-link {
  cursor: pointer;
}

.checkbox_area {
  min-height: 28px;
  margin-top: -5px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.kassa-orders > p {
  margin: -5px 0 0 0;
}

.checkbox-text {
  margin: 0;
}

.konvertacia-content {
  margin-bottom: 0;
}

.konvertacia-text {
  margin-right: 10px;
}

.error-text-area {
  left: 25px !important;
}
.konvertacia-currency {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
.currency-arrow {
  width: 35px;
  height: 35px;
}

.nav_menu-reglaments {
  display: none;
}

.left-mail_reglaments {
  display: none;
}
.info-text {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 171%;
  text-align: right;
  color: var(--grey);
  bottom: -45px;
}

.info-text-dropdown {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 171%;
  text-align: right;
  text-align: center;
  color: var(--grey);
}
.dropdown-nav {
  max-width: fit-content;
}

.page-counter {
  text-align: end;
  margin: 15px 0 10px 0;
}

.info-text-edit {
  display: block;
  width: 100%;
  position: absolute;
  text-align: center;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 171%;
  text-align: center;
  left: 0;
  color: var(--grey);
  bottom: -50px;
}

.platej_content1 {
  padding: 15px;
  border-radius: 15px;
  background-color: white;
  box-shadow: 0 4px 20px 0 rgba(26, 29, 36, 0.08);
  padding: 30px 0 30px 0;
}

.platej-input-content {
  display: flex;
}
.plateji-form {
  background-color: unset;
  box-shadow: unset;
}

.platej-choice-btn {
  display: block;
  width: 60%;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 14px;
  line-height: 171%;
  text-align: center;
  color: var(--white);
  padding: 10px 25px;
  height: 40px;
  margin: 0 auto;
}
.second-title {
  grid-column: span 2; /* Занимает обе колонки */
  text-align: center;
  background: var(--bg);
  border-radius: 15px;
  width: 90%;
  margin: 0 auto;
  padding: 15px 0;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 14px;
  line-height: 171%;
  text-transform: uppercase;
  color: var(--black);
}
.platej-choice-btn.gray {
  background: var(--purple-2) !important;
}
.form_content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.patej-title {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 16px;
  line-height: 150%;
  color: var(--black);
  background: var(--purple-1);
  text-align: center;
  padding: 20px 30px;
  margin: 20px auto;
  border-radius: 15px;
  width: 90%;
}

.faktura-content-title-container {
  padding: 20px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--bg);
  gap: 10px;
  cursor: pointer;
  width: 95%;
  margin: 0 auto;
  cursor:default;
  border-radius: 15px;
}

.plateji-form-buttons {
  background-color: unset;
  padding: 10px 20px;
}

.faktura-content-title {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 14px;
  line-height: 171%;
  color: var(--black);
  margin: 0;
}

.faktura-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 20px;
  box-sizing: border-box;
  min-width: 0;
}

.content_account_item_title {
  white-space: nowrap;
}
.platej-search-btn {
  margin-left: 0 !important;
}

.platej-dropdown {
  justify-content: center !important;
}

.grid-archive  > th:last-child {
  padding: 0;
}

.grid_colored:last-child {
  border-top-right-radius: 15px;
  border-bottom-right-radius: 15px;
}
.archive-platej-btn {
  min-width: 150px;
  height: 100%;
  margin-top: auto;
  margin-bottom: 8px;
}

.add-remove-btns_container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}
.add-remove-btn {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
}

.note-counter {
  text-align: center;
  margin: 0 auto;
}

.group-radio {
  width: 100px;
  border-top-left-radius: 15px;
  border-bottom-left-radius: 15px;
}
.group-radio input {
  margin: 0 !important;
  width: 100px;
}

.group-name {
  text-align: left !important;
  margin: 0 !important;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 14px;
  line-height: 170%;
  color: var(--black);
  border-top-right-radius: 15px;
  border-bottom-right-radius: 15px;
}

.group-name button {
  display: flex;
  margin-right: auto;
  margin-top: 5px;
  margin-bottom: 5px;
  margin-left: auto;
}



.non-color {
  background: var(--bg) !important;
  border: unset !important;
  box-shadow: unset !important;
}

.colored-archive-table {
  border-collapse: separate;
  border-spacing: 0 10px; /* 10px — расстояние между строками */
}

.group-colored {
  background-color: white;
  position: relative;
  border-bottom: unset !important; 
  border-top: unset !important;
  border-radius: 15px;
  height: 50px;
  transition: all 0.3s linear;
}

.group-colored.active-row {
  background-color: var(--purple-4);
}
.group-pointered {
  position: relative;
  border-bottom: 25px solid transparent;
  border-top: 25px solid transparent; 
}

.group-page-content {
  position: relative;
}
.group-pointered:not(:last-child)::after {
  bottom: -21px;
}

.watch-title {
  justify-content: center;
  background-color: var(--purple-1);
  padding: 30px 30px;
  border-radius: 15px;
  text-align: center;
}
.colored-grid {
  display: flex;
  flex-wrap: wrap;
  padding: 0 20px;
  width: 100%;
  justify-content: space-between;
  gap: 20px;
}
.non-colored-grid {
  display: flex;
  flex-wrap: wrap;
  padding: 0 20px;
  width: 100%;
  gap: 20px;
}
.card-colored {
  word-break: break-all;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--superlight-purple);
  padding: 15px 10px;
  width: calc(33% - 20px);
}

.card-non-colored {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 15px 10px;
  width: calc(33% - 20px);
  word-break: break-all;
}
.with-border {
  position: relative;
}
.title-split-container {
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 10px;
  padding: 10px 10px;
  align-items: center;
  justify-content: center;
}
.grid-signature {
  padding: 20px 50px;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: space-between;
}
.signature-item {
  flex: 1; 
  display: flex; 
  flex-direction: column; 
  text-align: center; 
  padding: 10px;
  box-sizing: border-box; 
  width: 30%;
}

.signature {
  margin: 10px auto 20px auto;
  display: block;
  width: 60%;
  height: 1px;
    background-color: var(--light-grey);
}

.signature:last-child {
  margin-top: auto;
}

.bank-marks {
  margin-top: auto;
  padding: 10px 0 0 10px;
  border-radius: 15px;
  background: var(--superlight-purple);
}
.title-split-container p {
  margin: 0;
  line-height: 170%;
}

.title-split {
  text-align: center;
  padding: 10px 10px;
}
.with-border::after {
  display: block;
  position: absolute;
  content: '';
  bottom: -5px;
  width: 90%;
  height: 1px;
  left: 50%;
  transform: translate(-50%,0);
  background-color: lightgray;
  margin: 0 auto;
}

.text-container {
  display: flex;
  gap: 10px;
}

.accordion-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 90% !important;
  cursor: pointer;
  padding: 10px 10px !important;
  position: relative;
}

.accordion-button p {
  margin: 0;
}

.accordion-button_specification {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 90% !important;
  cursor: pointer;
  padding: 10px 10px !important;
  position: relative;
}

.accordion-button_specification p {
  margin: 0;
}
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  padding: 5px 0 5px 0 ;
}

.active + .accordion-content {
  max-height: 100px;
  padding: 10px;
}

.accordion_content {
  background-color: white;
  padding: 15px 15px 5px 15px !important;
}

.accordion-svg-close {
  display: none;
}

.dropdown-container {
  display: flex;
  flex-direction: column;

}

:where(.dropdown-container button) {
  display: block !important;
  width: 150px !important;
  margin-left: auto !important;
}



:where(.flex-container .our-company) {
  max-width: 100% !important;
}



:where(.eror-info) {
  left: 20px !important;
}

.counter-agents {
  align-items: flex-start ;
}
.counter-agents p {
  margin: 0;
}

.accordion-icon {
  display: flex;
}

.flex-container-btns {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.spravochnik_container {
  padding: 0 20px;
  margin-top: 0 !important;
}

.grid3x3 {
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 20px;
}
.grid3x33 {
  padding: 20px 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(1, 1fr);
  gap: 20px;
}
.grid4x4 {
  padding: 20px 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(1, 1fr);
  gap: 20px;
}
.grid5x5 {
  padding: 20px 20px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(1, 1fr);
  gap: 20px;
}
.spravochnik-btn {
  margin-left: auto;
  max-width: 300px;
  min-width: 300px;
}

.buttons_container button {
  max-width: 300px;
  min-width: 300px;
}

.spravochnik_adds_content_left {
  min-width: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 150px;
  justify-content: center;
  
}

.spravochnik_adds_content_right {
  width: 100%;
}
.spravochnik_adds_container {
  display: flex;
  flex-direction: row;
}

.adds_main_container {
  border: 1px solid transparent;
  transition: all 0.3s linear;
}

.radio-active {
  border-color:  var(--green-1);
}
.checkbox-active {
  border-color:  transparent;
  background-color: rgb(252, 239, 239, 0.3);
}

.spravochnik_fiz_container {
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  grid-template-rows: repeat(1,1fr);
  margin-top: 0 !important;
}

.spravochnik_fiz_content-btns {
  display: flex;
  padding-top: 25px;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 30px !important;
}

.spravochnik_fiz_content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

:where(.spravochnik_fiz_content-btns button) {
  display: block !important;
  max-width: 200px !important;
  max-height: 50px !important;
  margin-top: 0 !important;
  width: 100%;
}


.colored-placeholder input::placeholder {
  color: black !important; /* Выбери свой цвет */
  font-weight: bold; /* По желанию */
  opacity: 1; /* У некоторых браузеров `placeholder` имеет полупрозрачность, убираем это */
}
.colored-placeholder .info-text-dropdown {
  color: black !important;
  color: black !important; /* Выбери свой цвет */
  font-weight: bold; /* По желанию */
}

.status-text {
  padding-left: 20px;
}

.width-th {
  min-width: 300px;
}

.mail-container  {
  margin-top: 20px !important;
}
.mail-btn {
  min-width: 200px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mail-content {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
  justify-content: center;
}
.mail-btn-add {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 35px;
}

.afterMailButtons {
  padding: 20px 10px;
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: center;
  gap: 15px;
}

.tr-more {
  flex-direction: column;
  gap: 15px;
  min-width: 100%;
  background-color: hsla(221, 72%, 89%, 0.35);
  padding: 10px 0;
}

.mail-buttons {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 15px 0;
  justify-content: center;
}
.left_main {
  min-width: 250px;
  height: 100%;
}
.links {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  margin-top: 5px;
  justify-content: center;
}
.tr-emtpy {
  height: 100px;
}
.new-mail {
  margin-top: 20px;
  display: flex;
  width: 100%;
  justify-content: space-between;
  flex-direction: column;
}
.new-mail-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.new-mail-info p {
  font-family: var(--font-family);
font-weight: 700;
font-size: 14px;
line-height: 171%;
color: var(--black);
}
.new-mail-info-dropdown {
  max-width: 300px;
  text-align: start;
  display: flex;
  width: 100%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.new-mail-content {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.new-mail_btns {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-top: 20px;
}

.new-mail_btns.show {
  justify-content: flex-end;
}

.new-mail-area {
  text-align: start;
}
.new-file-btn {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.with-files {
  max-width: 600px;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 10px;
}
.file-btn {
  background: var(--grey-slidebar) !important;
  cursor: default;
}
.btn-for-files {
  gap: 10px;
  display: flex;
  flex-direction: row;
}
.file-btn:hover {
  background: var(--grey-slidebar) !important;
}
.new-mail-content_show {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.show-mail {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.new-mail-content_show {
  width: 50%;
}

.chat-dropdown {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 300px;
  gap: 20px;
}
.chat-for-title {
  white-space: nowrap;
}


.chat_left {
  background-color: unset;
}

.chat-container {
  width: 100%;
height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.chat-messages {
  min-height: 500px;
  max-height: 550px;
  display: flex;
  flex-direction: row;
  gap: 35px;
  flex: 1;
  flex-direction: column;
  padding: 10px 20px;
  overflow-y: auto;
  overflow-x: hidden;
}

.chat-message {
  display: flex;
  flex-direction: column;
  max-width: 100%;
  gap: 5px;
  justify-content: flex-end;
}

.chat_msg_content {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0;
  max-width: 40vw;
  min-width: 200px;
  width: fit-content;
  border-radius: 40px;
  gap: 40px;
}

.chat-msg_text {
  background-color: white;
  padding: 10px 25px;
border-radius: 40px;
  line-height: 40px;
text-align: center;
min-width: 200px;
  width: 100%;
}
.chat-msg_date {
  position: absolute;
  bottom: -25px;
  right: 10px;
  margin: 0;
  display: block;
  padding-right: 10px;
text-align: end;
  font-family: var(--font-family);
font-weight: 500;
width: calc(40vw - 10px);
font-size: 12px;
line-height: 200%;
color: var(--purple-2);
}

.chat_msg_content.user {
  margin-left: auto;
  background: linear-gradient(90deg, #4f4bf6 0%, #2e2c90 100%);
}
.chat-msg_text.user {
  color: white;
  background: linear-gradient(90deg, #4f4bf6 0%, #2e2c90 100%);
}
.chat-msg_date.user {
  text-align: end;
  margin-left: auto;
}


.triangle {
  z-index: 2;
  position: relative;
}

.triangle::before {
  z-index: 0;
  content: '';
  position: absolute;
  top: 50%;
  left: 20px; /* Отступ от левого края */
  width: 2px; /* Толщина линии */
  height: 30px; /* Высота линии */
  background-color: white;
  transform: translateY(-50%); /* Центрирование вертикально */
}

/* Создание треугольника "<" */
.triangle::after {
  content: '';
  z-index: 0;
  position: absolute;
  top: 50%;
  left: -10px; /* Расположение слева */
  width: 0;
  height: 0;
  border-top: 20px solid transparent; /* Верхняя граница */
  border-bottom: 20px solid transparent; /* Нижняя граница */
  border-right: 20px solid white; /* Правая граница (создает треугольник) */
  transform: translateY(-50%); /* Центрирование вертикально */
}

.triangle.user::before {
  z-index: 0;
  content: '';
  position: absolute;
  top: 50%;
  left: 20px; /* Отступ от левого края */
  width: 2px; /* Толщина линии */
  height: 30px; /* Высота линии */
  background: transparent;
  transform: translateY(-50%); /* Центрирование вертикально */
}

/* Создание треугольника "<" */
.triangle.user::after{
  content: '';
  z-index: 0;
  position: absolute;
  top: 50%;
  right: -30px;
  left: unset;
  width: 0;
  height: 0;
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
  border-left: 20px solid #2e2c90;
  transform: translateY(-50%);
}

.chat-logo {
  width: 42px;
  height: 42px;
}

.chat-status {
  margin-top: 40px;
  margin-bottom: 10px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.chat-status p ,
.chat-status span {
  margin: 0;
}

.chat-input {
  padding: 10px 10px;
  border-radius: 15px;
}

.chat-label {
  width: 100%;
}

.chat-input_content {
  display: flex;
  gap: 20px;
  flex-direction: column;
  justify-content: flex-end;
}
.chat-area {
  text-align: start;
}
.chat-btn {
  max-width: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: linear-gradient(90deg, #4f4bf6 0%, #2e2c90 100%) !important;
  margin-left: auto;
}
.chat-btns {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  background: unset;
}

.status_text-chat {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.status_text-chat.online {
  color: var(--green-2);
}
.status_text-chat.pending {
  color: var(--accent-color);
}
.status_text-chat.offline {
  color: #f40000;
}
.chat_msg_content.admin .chat-msg_text {
  box-shadow: 0 4px 20px 0 rgba(26, 29, 36, 0.08);
}

.chat-message.empty p{
  font-family: var(--font-family);
font-weight: 500;
font-size: 14px;
line-height: 171%;
text-align: center;
color: var(--grey) !important;
  display: flex
;
    flex-direction: column;
    max-width: 100%;
    gap: 5px;
    justify-content: flex-end;
    text-align: center;
}
.history-mail-content {
  display: flex;
  gap: 30px;
  justify-content: center;
  align-items: center;
}
.table-input {
  border: none;
  text-align: center;
  outline: none;
}
.table-input:focus {
  box-shadow: 0 4px 20px 0 rgba(26, 29, 36, 0.08);
}
.group-width {
  width: 100%;
}
.input-table {
  border-color: transparent !important;
  margin-bottom: 0;
}

.new:not(:last-child)::after {
  content: none;
}
.new:last-child::after {
  content:  none;
}

.hidden-radio {
  background-color: white;
}
.new {
  background-color: white;
}

.button > .new {
background-color: unset;
}

.no-bg {
  background-color: unset;
}
@media screen and (max-width:1550px) {
  .chat-container {
    height: 100% !important;
  }
  .new-mail_btns {
    display: flex;
    flex-direction: column;
    gap: 35px;
    align-items: center;
  }
  .mail-help-btn {
    max-width: 200px;
  }
  .status-text {
    text-align: center;
  }
  .custom-label {
    grid-column: span 2;
  }
  .spravochnik-btn {
    margin-right: auto;
  }

  .buttons_container  {
    justify-content: space-between;
    align-items: center;
  }

  .grid5x5 {
    padding: 20px 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(1, 1fr);
    gap: 20px;
  }
  .grid3x33 {
    padding: 20px 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(1, 1fr);
    gap: 20px;
  }
  .spravochnik-rublevih-platejei {
    flex-direction: column;
    gap: 10px;
  }

  .adds_btns {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .grid4x4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .spravochnik-rublevih-platejei_btns-item {
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 15px;
  }
  .svg_title {
    display: none;
}
}
@media screen and (max-width:1300px) {

  :where(.show-more-btn) {
    display: block !important;
  }
  :where(.spravochnik-bik .new-btn) {
    display: flex !important;
          justify-content: center !important;;
          flex-direction: column !important;;
          gap: 15px !important;;
  }

  .onlypc {
    display: none;
  }
  th.onlypc,
  td.onlypc {
    display: none;
    white-space: nowrap;
  }
  .platej-dropdown {
    justify-content: flex-start !important;
  }

}

@media screen and (max-width: 1350px) {
  .last-documents-container {
    margin-bottom: 100px;
    width: 100%;
  }

  .left_main {
    height: 100vh;
  }
  .new-mail-content_show {
    width: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  .with-files {
    align-items: center;
    justify-content: center;
  }
  .btn-for-files {
    flex-direction: column;
  }

}
@media screen and (max-width: 1300px) and (min-width: 768px) {

 
  .documents-last-item {
    display: flex;
    padding: 10px 10px;
    gap: 10px;
    flex-direction: column;
    justify-content: space-between;
  }

  .documents-last-item_text {
    margin: 0;
  }

  .documents-last-item_text-small {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 14px;
    line-height: 171%;
    color: var(--black);
  }

  .documents-last-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  .documents-last-item_text {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 14px;
    line-height: 171%;
    color: var(--black);
  }
}

@media screen and (max-width: 400px) {
  .dropdown.active .dropdown-content {
    display: block;
    overflow-y: auto;
      max-height: 180px;
  }

  .grid_colored {
    padding: 20px 5px;
  }
  .kassa-orders {
    padding: 0;
    flex-direction: column !important;
  }
  .dropdown-button::after {
    right: 2px;
  }
  .dropdown-button {
    padding: 10px 15px;
  }
}

