/* color palette from <https://github.com/vuejs/theme> */
:root {
  --vt-c-white: #ffffff;
  --vt-c-white-soft: #f8f8f8;
  --vt-c-white-mute: #f2f2f2;

  --vt-c-black: #181818;
  --vt-c-black-soft: #222222;
  --vt-c-black-mute: #282828;

  --vt-c-indigo: #2c3e50;

  --vt-c-divider-light-1: rgba(60, 60, 60, 0.29);
  --vt-c-divider-light-2: rgba(60, 60, 60, 0.12);
  --vt-c-divider-dark-1: rgba(84, 84, 84, 0.65);
  --vt-c-divider-dark-2: rgba(84, 84, 84, 0.48);

  --vt-c-text-light-1: var(--vt-c-indigo);
  --vt-c-text-light-2: rgba(60, 60, 60, 0.66);
  --vt-c-text-dark-1: var(--vt-c-white);
  --vt-c-text-dark-2: rgba(235, 235, 235, 0.64);
}
/* semantic color variables for this project */
:root {
  --color-background: var(--vt-c-white);
  --color-background-soft: var(--vt-c-white-soft);
  --color-background-mute: var(--vt-c-white-mute);

  --color-border: var(--vt-c-divider-light-2);
  --color-border-hover: var(--vt-c-divider-light-1);

  --color-heading: var(--vt-c-text-light-1);
  --color-text: var(--vt-c-text-light-1);

  --section-gap: 160px;
}
/* @media (prefers-color-scheme: dark) {
  :root {
    --color-background: var(--vt-c-black);
    --color-background-soft: var(--vt-c-black-soft);
    --color-background-mute: var(--vt-c-black-mute);

    --color-border: var(--vt-c-divider-dark-2);
    --color-border-hover: var(--vt-c-divider-dark-1);

    --color-heading: var(--vt-c-text-dark-1);
    --color-text: var(--vt-c-text-dark-2);
  }
} */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  font-weight: normal;
}
body {
  min-height: 100vh;
  color: var(--color-text);
  background: var(--color-background);
  transition:
    color 0.5s,
    background-color 0.5s;
  line-height: 1.6;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    'Fira Sans',
    'Droid Sans',
    'Helvetica Neue',
    sans-serif;
  font-size: 15px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
html, body, #app {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  font-family: 'Segoe UI', sans-serif;
  background-color: white;
}
* {
  box-sizing: border-box;
}
a,
.green {
  text-decoration: none;
  color: hsla(160, 100%, 37%, 1);
}
/* стало — только класс .green */
.green {
  color: hsla(160, 100%, 37%, 1);
}
a {
  text-decoration: none;
  color: inherit;  /* наследует цвет от родителя */
}
.page {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
#app {
  width: 100%;
  padding: 0;
  font-weight: normal;
}
a,
.green {
  text-decoration: none;
  color: hsla(160, 100%, 37%, 1);
  transition: 0.4s;
  padding: 3px;
}
@media (hover: hover) {
  a:hover {
    background-color: hsla(160, 100%, 37%, 0.2);
  }
}
.logo {
  text-decoration: none;
}
.logo img {
  display: block;
}
:root {
  color-scheme: light;
}
.hero {
  width: 100%;
  background-color: #eaf3fb;
  padding: 30px 0 30px 0;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.hero-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  gap: 30px; /* чуть увеличь для свободы */

}
.text-block {
  flex: 1 1 400px;
  margin-bottom: 20px;
  font-weight: bold;
}
h1 {
  font-size: 42px;
  margin-bottom: 20px;
}
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Снежинки  */
.snowflakes-box,
.snowball-box {
  pointer-events: none;
}
.snowflakes-box { z-index: 99999 !important; pointer-events: none; }
.snowflakes-box .snowflake { pointer-events: none; }
.hero {
  animation: fadeInUp 0.8s ease-out both;
}
.hero-slogan {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 26px;
  margin-top: 24px;
  font-size: 20px;
  font-weight: 600;
  color: #246bb2;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 6px rgba(36, 107, 178, 0.04);
  text-transform: uppercase;
}
.hero-slogan span {
  padding: 7px 20px;
  border-radius: 16px;
  background: rgba(36, 107, 178, 0.07);
  box-shadow: 0 2px 8px rgba(36, 107, 178, 0.06);
  transition: background 0.2s;
}
.hero-slogan span:hover {
  background: #eaf3fb;
}
@media (max-width: 768px) {
  .hero-slogan {
    font-size: 16px;
    gap: 10px;
    flex-direction: column;
  }
  .hero-slogan span {
    width: 100%;
    display: block;
    text-align: center;
    margin-bottom: 8px;
  }
}
.buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.primary,
.secondary {
  transition: all 0.3s ease;
  transform: translateY(0);
  white-space: normal;     /* разрешить перенос текста */
  word-break: break-word;  /* переносить длинные слова */
  text-align: center;      /* центрировать текст */
  min-width: 240px;        /* минимальная ширина, чтобы не были узкие */
  max-width: 350px;        /* максимальная ширина для контроля */
  box-sizing: border-box;  /* гарантирует правильный размер */
  line-height: 1.4;        /* для красоты переноса */
}
.primary:hover,
.secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}
.primary:active,
.secondary:active {
  transform: scale(0.98);
  box-shadow: none;
}
.primary {
  background-color: #246bb2;
  color: white;
  padding: 30px 70px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.5s ease;
}
.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}
.primary:active {
  transform: scale(0.98);
  box-shadow: none;
}
.secondary {
  background-color: #29c4a9;
  color: white;
  padding: 30px 70px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}
.secondary:active {
  transform: scale(0.98);
  box-shadow: none;
}
.image-block {
  flex: 1 1 500px;
  text-align: center;
}
.image-block img {
  max-width: 100%;
  height: auto;
}
@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }
  .text-block, .image-block {
    flex: 1 1 100%;
  }
  h1 {
    font-size: 24px;
  }
  .buttons {
    flex-direction: column;
    align-items: center;
  }
}
.header {
  width: 100%;
  background-color: white;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  padding: 10px 0; 
}
.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
  font-weight: bold;
  font-size: 20px;
}
.logo img {
  height: 80px;
  margin-right: 20px;
}
.nav-links {
  display: flex;
  gap: 20px;
}
.nav-links a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
}
.contact-btn {
  padding: 6px 16px;
  border: 1px solid black;
  border-radius: 20px;
  transition: 0.2s;
}
.contact-btn:hover {
  background-color: #246bb2;
  color: white;
}
/* admin */
.admin-link {
  color: #fff;
  background: #246bb2;
  border-radius: 6px;
  padding: 6px 16px;
  margin-left: 20px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.2s;
}
.admin-link:hover {
  background: #164c8d;
}
/* modules */
.modules {
  background: #fff;
  padding: 120px 0 120px 0; /* БОЛЬШИЕ ОТСТУПЫ сверху и снизу! */
  display: flex;
  flex-direction: column;
  align-items: center; /* центрируем всё */}
.modules .container {
  max-width: 950px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  
}
.modules-heading {
  text-align: center;
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 60px; /* можно 60-100px */
  color: #1e1e1e;
}
.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 38px 44px; /* можно уменьшить, если хочется компактнее */
  justify-content: center;  /* новые браузеры — на всякий случай */
  align-items: stretch;
  margin: 0 auto;
  width: 100%;
  max-width: 800px; /* чтобы сетка не разъезжалась слишком */
}
.module h3 {
  margin-bottom: 12px;
  font-size: 20px;
  color: #246bb2;
}
.module p, .module ul {
  font-size: 14px;
  color: #333;
  margin: 0;
  line-height: 1.5;
}
.modules-heading {
  text-align: center;
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 100px;
  color: #1e1e1e;
}
.module {
  background: #f9fbfd;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  padding: 32px 18px;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(36, 107, 178, 0.06);
  text-align: center;
}
.module:hover {
  transform: translateY(-7px) scale(1.025);
  box-shadow: 0 14px 32px rgba(36, 107, 178, 0.09);
  background-color: #f5faff;
}
@media (max-width: 768px) {
  .modules {
    padding: 36px 0 36px 0;
  }
  .modules .container {
    padding: 16px 4px;
    max-width: 100%;
  }
  .modules-heading {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .modules-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    max-width: 100%;
  }
  .module {
    padding: 18px 8px;
    font-size: 15px;
  }
}
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Секция форма контактов */
.contact-section {
  background-color: #f7f7f7; /* или #ffffff */
  padding: 80px 20px;
  color: #333;
}
.contact-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.contact-content {
  flex: 1 1 400px;
  margin-bottom: 30px;
}
.contact-title {
  font-size: 36px;
  margin-bottom: 20px;
}
.contact-text {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
}
.contact-button {
  background-color: #10b981; /* зелёный акцент */
  color: white;
  font-size: 18px;
  padding: 16px 36px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}
.contact-button:hover {
  background-color: #059669;
  transform: scale(1.05);
}
.contact-image {
  flex: 1 1 400px;
  max-width: 100%;
  height: auto;
  animation: fadeInUp 1s ease-in-out both;
}
/* Адаптивность */
@media (max-width: 768px) {
  .contact-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .contact-image {
    margin-top: 30px;
  }

  .contact-title {
    font-size: 28px;
  }

  .contact-text {
    font-size: 16px;
  }

  .contact-button {
    width: 100%;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.footer-section {
  background: linear-gradient(to right,  #29c4a9, #246bb2);
  color: white;
  padding: 60px 20px 30px;
  animation: fadeIn 1s ease-out both;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}
.footer-brand img {
  height: 80px;
  margin-bottom: 12px;
}
.footer-brand p {
  max-width: 300px;
  font-size: 14px;
  line-height: 1.5;
}
.footer-links h4,
.footer-contact h4 {
  margin-bottom: 10px;
  font-size: 16px;
}
.footer-links ul {
  list-style: none;
  padding: 0;
}
.footer-links li {
  margin: 6px 0;
}
.footer-links a {
  color: white;
  text-decoration: none;
  font-size: 14px;
}
.footer-links a:hover {
  text-decoration: underline;
}
.footer-contact p {
  font-size: 14px;
  margin: 4px 0;
}
.social-icons a {
  margin-right: 12px;
  font-size: 20px;
  color: white;
  transition: transform 0.3s;
}
.social-icons a:hover {
  transform: scale(1.2);
  color: #fff;
}
hr {
  margin: 40px 0 20px;
  border: none;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}
copyright {
  text-align: center;
  font-size: 13px;
  opacity: 0.8;
}
/* Адаптивность */
@media (max-width: 768px) {
  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-brand,
  .footer-links,
  .footer-contact {
    width: 100%;
  }

  .footer-brand p {
    max-width: none;
  }
}
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease-out;
}
.reveal-active {
  opacity: 1;
  transform: translateY(0);
}
.hero.scroll-reveal {
  opacity: 1;
  transform: none;
}
/* auth*/
.phone-auth {
  max-width: 400px;
  margin: 50px auto;
  padding: 30px;
  border: 1px solid #ddd;
  border-radius: 8px;
}
input {
  display: block;
  margin: 20px 0;
  padding: 10px;
  width: 100%;
}
.primary-btn,
.register-btn,
.secondary-btn {
  padding: 10px 20px;
  background: #246bb2;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
button:hover {
  background: #1e5aa0;
}
/* 404 */
.not-found {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100vh;
  padding: 20px;
  animation: fadeIn 0.8s ease-out;
}
.not-found h1 {
  font-size: 100px;
  margin: 0;
  color: #246bb2;
}
.not-found p {
  font-size: 20px;
  margin: 20px 0;
  color: #555;
}
.home-link {
  margin-top: 30px;
  padding: 12px 24px;
  background-color: #246bb2;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.3s;
}
.home-link:hover {
  background-color: #1e5aa0;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* about - page */
.about-page {
  padding: 60px 20px;
}
.about-container {
  max-width: 1200px;
  margin: 0 auto;
}
.about-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 30px;
  color: #246bb2;
}
.about-description {
  font-size: 18px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
}
.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin-top: 40px;
}
.feature-card {
  flex: 1 1 300px;
  background: #f9f9f9;
  padding: 20px;
  margin: 10px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}
.home-button {
  display: inline-block;
  margin: 40px auto 0;
  background-color: #246bb2;
  color: white;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 18px;
  transition: background 0.3s;
}
.home-button:hover {
  background-color: #1e5aa0;
}
.about-contact-btn {
  display: inline-block;
  margin: 40px auto 0;
  background-color: #246bb2;
  color: white;
  padding: 15px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 18px;
  transition: background 0.3s;
}
.about-contact-btn:hover {
  background-color: #1e5aa0;
}
@media (max-width: 768px) {
  .features {
    flex-direction: column;
    align-items: center;
  }
}
.contact-block {
  margin-top: 40px;
  background: #f9f9f9;
  padding: 20px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  font-size: 16px;
  line-height: 1.6;
}
.contact-block h2 {
  font-size: 22px;
  margin-bottom: 10px;
}
/* register */
.register-page {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: #f9fbfd;
}
.register-container {
  background: white;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  width: 100%;
  max-width: 400px;
  text-align: center;
}
.register-title {
  font-size: 28px;
  margin-bottom: 24px;
  color: #0f172a;
}
.register-form input,
.register-form select {
  width: 100%;
  padding: 12px 16px;
  margin-bottom: 16px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 16px;
}
.register-form select {
  background-color: white;
  color: #0f172a;
}
.register-btn {
  width: 100%;
  padding: 12px;
  background: linear-gradient(90deg, #007cf0 0%, #00dfd8 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  cursor: pointer;
  transition: 0.3s;
}
.register-btn:hover {
  background: linear-gradient(90deg, #005bb5 0%, #00b8b5 100%);
}
.error {
  margin-top: 10px;
  color: #dc2626;
  font-size: 14px;
}
.back-home {
  display: block;
  margin-top: 20px;
  color: #007cf0;
  text-decoration: none;
  font-size: 16px;
}
.back-home:hover {
  text-decoration: underline;
}
.error {
  color: red;
  font-size: 0.9em;
  margin-top: 4px;
  margin-bottom: 12px;
}
/* auth */
.email-auth {
  max-width: 400px;
  margin: 80px auto;
  padding: 40px;
  background: #f9fbfd;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  text-align: center;
}
.title {
  font-size: 24px;
  margin-bottom: 24px;
  color: #0f172a;
}
.input {
  width: 100%;
  padding: 12px;
  margin-bottom: 16px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 16px;
}
.primary-btn {
  width: 100%;
  padding: 12px;
  background-color: #246bb2;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  margin-bottom: 12px;
}
.secondary-btn {
  width: 100%;
  padding: 12px;
  background-color: #29c4a9;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  margin-top: 8px;
}
.primary-btn:hover {
  background-color: #1e5aa0;
}
.secondary-btn:hover {
  background-color: #1ea78f;
}
.error {
  color: #dc2626;
  margin-top: 12px;
  font-size: 14px;
}
.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.5s ease;
}
.fade-enter-from,
.fade-leave-to {
  opacity: 0;
}
/* header user info */
.user-role {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-left: 20px;
}
.role-circle {
  background-color: #246bb2;
  color: white;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-left: 20px;
}
.role-label {
  font-size: 12px;
  text-align: center;
  color: #333;
  margin-top: 4px;
  font-weight: 500;
}
/* labselection page */
.lab-search-page {
  max-width: 1100px;
  margin: auto;
  padding: 2rem;
}
.description {
  margin-bottom: 1rem;
  font-size: 14px;
  color: #666;
}
.filters {
  display: flex;
  gap: 1rem;
  align-items: flex-end;
  margin-bottom: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
}
.form-group select {
  padding: 6px;
  min-width: 200px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.search-button {
  padding: 7px 14px;
  font-size: 14px;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
}
th, td {
  padding: 10px;
  border: 1px solid #ccc;
}
/* whatsapp banner */
.whatsapp-section {
  width: 100%;
  background: #fff; /* фон баннера */
  padding: 150px 0 150px 0; /* большие отступы сверху/снизу */
  display: flex;
  flex-direction: column;
  align-items: center;
}
.whatsapp-banner {
  display: flex;
  align-items: center;
  background-color: #eafaf1;
  padding: 40px 40px;
  border-radius: 22px;
  box-shadow: 0 4px 24px rgba(36, 107, 178, 0.08);
  margin: 0 auto;
  max-width: 720px;
  width: 100%;
  gap: 32px;
  animation: fadeInUp 0.9s;
}
.whatsapp-icon {
  width: 90px;
  height: 90px;
}
.banner-text h2 {
  margin: 0 0 14px 0;
  font-size: 28px;
  color: #075e54;
  font-weight: bold;
}
.banner-text p {
  font-size: 18px;
  color: #333;
  margin: 8px 0 18px;
}
.whatsapp-button {
  background-color: #25D366;
  color: white;
  font-size: 18px;
  font-weight: bold;
  padding: 14px 36px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s, background-color 0.2s;
  display: inline-block;
}
.whatsapp-button:hover {
  background-color: #1ebd5a;
  transform: scale(1.07);
}
@media (max-width: 768px) {
  .whatsapp-section {
    padding: 32px 0;
  }
  .whatsapp-banner {
    flex-direction: column;
    padding: 18px 6px;
    max-width: 99vw;
    gap: 10px;
    border-radius: 16px;
  }
  .whatsapp-icon {
    width: 60px;
    height: 60px;
  }
  .banner-text h2 {
    font-size: 20px;
    text-align: center;
  }
  .banner-text p {
    font-size: 14px;
    text-align: center;
  }
}
/* Заявитель вывод таблицы базы */
.applicant-section {
  background: #f9f9f9;
  padding: 60px 20px;
  text-align: center;
}
.applicant-section .title {
  font-size: 32px;
  margin-bottom: 10px;
  color: #1e1e1e;
}
.applicant-section .description {
  font-size: 16px;
  color: #555;
  margin-bottom: 30px;
}
.buttons-row {
  margin-bottom: 40px;
}
.table-actions {
  display: flex;
  justify-content: flex-end;
  max-width: 900px;
  margin: 0 auto 16px;
}
.applicant-table {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-collapse: collapse;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.applicant-table th,
.applicant-table td {
  padding: 14px;
  border-bottom: 1px solid #eee;
  text-align: left;
  font-size: 15px;
}
.applicant-table th {
  background-color: #246bb2;
  color: white;
  font-weight: 600;
}
.applicant-table tr:last-child td {
  border-bottom: none;
}
.contact-call-btn {
  background-color: #10b981;
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: 0.2s ease;
  display: inline-block;
}
.contact-call-btn:hover {
  background-color: #059669;
}
@media (max-width: 768px) {
  .table-actions {
    justify-content: center;
  }

  .applicant-section .title {
    font-size: 26px;
  }

  .applicant-section .description {
    font-size: 14px;
  }

  .applicant-table th, .applicant-table td {
    font-size: 13px;
    padding: 10px;
  }

  .contact-call-btn {
    font-size: 13px;
    padding: 6px 12px;
  }
}
/* logout */
.logout-btn {
  margin-top: 8px;
  background-color: #e74c3c;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}
.logout-btn:hover {
  background-color: #c0392b;
}
/* Faq */
.faq-page {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
}
.faq-question {
  width: 100%;
  text-align: left;
  background: #f0f0f0;
  padding: 12px;
  font-size: 16px;
  border: none;
  cursor: pointer;
}
.faq-answer {
  background: #ffffff;
  padding: 10px 12px;
  border-left: 2px solid #007bff;
  margin-bottom: 10px;
}
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #2196f3, #1e88e5);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, opacity 0.3s ease;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
}
.scroll-to-top:hover {
  transform: scale(1.1);
  opacity: 1;
  background: linear-gradient(135deg, #1e88e5, #1565c0);
}
.scroll-to-top::before {
  content: "↑";
  font-weight: bold;
}
/* modules views */
.modules-page {
  padding-top: 40px;
}
.modules-title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
}
.modules-intro {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 16px;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
/* news */
.news-section-bg {
  background: linear-gradient(90deg, #e3f1fb 0%, #f5f9fc 100%);
  padding: 100px 0 100px 0;
  width: 100%;
}
/* Центровка блока + максимальная ширина */
.news-section {
  max-width: 1200px;
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(36, 107, 178, 0.09);
  padding: 40px 32px 50px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.news-title {
  text-align: center;
  font-size: 32px;
  color: #246bb2;
  margin-bottom: 36px;
  font-weight: bold;
}
/* Горизонтальные карточки */
.news-cards {
  display: flex;
  flex-direction: row;
  gap: 30px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin-top: 10px;
  width: 100%;
  scroll-behavior: smooth;
}
.news-card {
  min-width: 310px;
  max-width: 340px;
  background: #f8fafc;
  border-radius: 16px;
  box-shadow: 0 1px 12px rgba(36, 107, 178, 0.07);
  padding: 26px 18px 22px 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform 0.19s, box-shadow 0.22s;
  cursor: pointer;
  animation: fadeInUp 0.5s;
}
.news-card:hover {
  transform: translateY(-6px) scale(1.025);
  box-shadow: 0 6px 28px rgba(36, 107, 178, 0.15);
  background: #eaf3fb;
}
.news-date {
  color: #246bb2;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 10px;
}
.news-header {
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: 700;
  color: #183c6a;
}
.news-content {
  font-size: 15px;
  color: #23272f;
  margin: 0 0 6px 0;
  line-height: 1.5;
}
.news-img {
  max-width: 120px;
  margin-top: 14px;
  border-radius: 8px;
  box-shadow: 0 2px 7px rgba(36, 107, 178, 0.04);
}
.no-news {
  text-align: center;
  color: #9ca3af;
  font-size: 16px;
  padding: 40px 0;
}
@media (max-width: 900px) {
  .news-cards {
    gap: 14px;
  }
  .news-card {
    min-width: 90vw;
    max-width: 97vw;
  }
  .news-section {
    padding: 18px 2vw;
  }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px);}
  to   { opacity: 1; transform: translateY(0);}
}
/* Modulabtools  */
.modulab-promo {
  background: #f9fafc;
  padding: 60px 24px;
}
.container-modulab-tool{
  max-width: 1100px;
  margin: auto;
}
.modulab-title {
  font-size: 32px;
  color: #246bb2;
  margin-bottom: 20px;
  text-align: center;
  font-weight: bold;
}
.modulab-subtitle {
  text-align: center;
  color: #555;
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 50px auto;
}
.modulab-row {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}
.reverse {
  flex-direction: row-reverse;
}
.modulab-image {
  width: 45%;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.center {
  display: block;
  margin: 0 auto;
  width: 60%;
}
.modulab-center-block {
  text-align: center;
  margin-bottom: 60px;
}
.modulab-caption {
  margin-top: 12px;
  color: #777;
  font-size: 16px;
}
.modulab-text {
  width: 50%;
}
.modulab-text h2 {
  font-size: 22px;
  color: #333;
  margin-bottom: 10px;
}
.modulab-text p {
  font-size: 16px;
  color: #555;
}
.start-button {
  display: block;
  width: max-content;
  margin: 40px auto 60px; /* ⬅️ добавлен нижний отступ */
  background-color: #246bb2;
  color: white;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}
.start-button:hover {
  background-color: #1f5ca0;
}
/* Живой финальный блок доработок */
.modulab-improvement {
  background: linear-gradient(135deg, #eef4fb, #ffffff);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.05);
  padding: 60px 32px;
  border-radius: 16px;
  max-width: 900px;
  margin: 0 auto 80px auto;
  text-align: left;
  animation: fadeInUp 0.8s ease both;
}
.modulab-improvement h2 {
  font-size: 26px;
  color: #246bb2;
  margin-bottom: 16px;
  font-weight: 700;
}
.modulab-improvement h3 {
  font-size: 18px;
  margin-top: 24px;
  color: #333;
  font-weight: 600;
}
.modulab-improvement p {
  font-size: 16px;
  color: #444;
  line-height: 1.6;
}
.modulab-improvement ul {
  margin-top: 16px;
  padding-left: 20px;
}
.modulab-improvement li {
  font-size: 15px;
  color: #222;
  margin-bottom: 10px;
  position: relative;
  padding-left: 20px;
}
.modulab-improvement li::before {
  content: "✅";
  position: absolute;
  left: 0;
  top: 0;
}
/* Анимация появления */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Мобильная адаптация */
@media (max-width: 768px) {
  .modulab-row {
    flex-direction: column !important;
    text-align: center;
  }

  .modulab-text,
  .modulab-image {
    width: 100% !important;
  }

  .modulab-image.center {
    width: 100%;
  }

  .start-button {
    padding: 12px 20px;
    font-size: 16px;
  }

  .modulab-improvement {
    padding: 40px 20px;
  }
}
.image-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeIn 0.3s ease-in-out;
}
.modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  animation: zoomIn 0.3s ease;
}
.modal-content img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.close-button {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #246bb2;
  color: white;
  border: none;
  padding: 8px 14px;
  font-size: 18px;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.2s ease;
}
.close-button:hover {
  background: #1f5ca0;
}
/* Анимации */
@keyframes fadeIn {
  from { opacity: 0 }
  to { opacity: 1 }
}
@keyframes zoomIn {
  from { transform: scale(0.9); opacity: 0.5 }
  to { transform: scale(1); opacity: 1 }
}
.start-button.secondary {
  background: #f7f7f7;
  color: #2978d6;
  border: 1px solid #2978d6;
}
.start-button.secondary:hover {
  background: #2978d6;
  color: #fff;
}
/* Нормативно правовая база */
.legal-block {
  background: linear-gradient(to bottom, #f9fafc, #eef5fb);
  padding: 70px 24px;
  border-top: 1px solid #e5e7eb;
  position: relative;
  overflow: hidden;
}
.legal-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
}
.legal-title {
  font-size: 30px;
  color: #1f2937;
  margin-bottom: 16px;
  font-weight: 700;
  position: relative;
  display: inline-block;
}
.legal-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: #246bb2;
  margin: 12px auto 0;
  border-radius: 2px;
}
.legal-text {
  font-size: 17px;
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 18px;
}
/* Анимация появления */
@keyframes fadeInUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
/* Мобильная адаптация */
@media (max-width: 768px) {
  .legal-title {
    font-size: 24px;
  }

  .legal-text {
    font-size: 15px;
  }
}
/* Admin access request */
.admin-requests {
  max-width: 950px;
  margin: 50px auto;
  background: #fff;
  padding: 32px 28px;
  border-radius: 18px;
  box-shadow: 0 4px 22px rgba(36, 107, 178, 0.07);
}
h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 32px;
  color: #246bb2;
}
.filters {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 20px;
}
.filters button {
  background: #f1f5f9;
  border: none;
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s;
}
.filters button.active {
  background: #246bb2;
  color: #fff;
}
.table-wrapper {
  overflow-x: auto;
}
.requests-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 auto;
  min-width: 800px;
}
.requests-table th,
.requests-table td {
  text-align: center;
  padding: 12px 8px;
  border-bottom: 1px solid #e3e9f2;
}
.requests-table th {
  background-color: #f7fafc;
  font-size: 16px;
  color: #333;
}
.status {
  padding: 6px 14px;
  border-radius: 16px;
  font-weight: 600;
  font-size: 15px;
  display: inline-block;
  min-width: 90px;
}
/* Цвета статусов */
.status.pending   { background: #fff3cd; color: #856404; }
.status.granted   { background: #d4edda; color: #155724; }
.status.rejected  { background: #f8d7da; color: #721c24; }
.status.revoked   { background: #e2e3e5; color: #383d41; }
.requests-table button {
  margin: 3px 5px;
  padding: 7px 14px;
  background: #246bb2;
  color: #fff;
  border: none;
  border-radius: 7px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
}
.requests-table button:hover {
  background: #174778;
}
.no-requests {
  text-align: center;
  color: #999;
  margin-top: 40px;
  font-size: 18px;
}
/* Admin просмотр заявок оодобрение и отклонение */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 999; /* чуть ниже самой модалки */
}
/* Для самой модалки — если содержимое длинное, пусть прокручивается */
.parsed-result-preview {
  position: fixed;
  top: 5vh;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  z-index: 1000;
  border-radius: 1em;
  box-shadow: 0 4px 32px #0002;
  padding: 2em;
  max-width: 1200px;
  min-width: 900px;
  max-height: 90vh;
  overflow-y: auto; /* Вот тут! */
}
.close-btn {
  position: absolute;
  top: 8px; right: 8px;
  background: transparent;
  border: none;
  font-size: 2em;
  cursor: pointer;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5em;
}
.compare-table th, .compare-table td {
  border: 1px solid #ddd;
  padding: 6px 10px;
}
.compare-table th {
  background: #f7f7f7;
  font-weight: 600;
}
.compare-table tr.error {
  background: #ffe4e4;
}
.compare-table tr:not(.error) {
  background: #e6fbe6;
}
/*  */
.parsed-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px;
  box-shadow: 0 4px 16px #0001;
  overflow: hidden;
  background: #fff;
}
th, td {
  border: 1px solid #e0e0e0;
  padding: 10px 14px;
  text-align: center;
  font-size: 1em;
}
th {
  background: #f7f7fa;
  font-weight: 600;
  font-size: 1.06em;
  border-bottom: 2px solid #e0e0e0;
}
tr.row-hover:hover td {
  background: #f5f8fc !important;
}
.user-group {
  background: #eaf7f3;
  font-weight: bold;
  border-right: 2px solid #60af90;
  color: #268b65;
  vertical-align: middle;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: bold;
  border-radius: 1em;
  padding: 3px 10px;
}
.approved { color: #1b7c16; background: #e8ffe5; }
.pending { color: #a57c06; background: #fffbe8; }
.rejected { color: #ae2323; background: #ffecec; }
.btn {
  border: none;
  border-radius: 6px;
  padding: 5px 13px;
  margin: 0 3px;
  font-size: 0.98em;
  cursor: pointer;
  background: #eaf2fb;
  transition: background 0.16s;
}
.btn-view {
  background: #dbf5fa;
  color: #278fa3;
}
.btn-view:hover {
  background: #b9e3f3;
}
.btn-status {
  background: #f8eedf;
  color: #b3923a;
}
.btn-status:hover {
  background: #ffe0a1;
}
.accordion-head {
  background: #eaf7f3 !important;
  font-weight: bold;
  color: #268b65;
  user-select: none;
  transition: background 0.16s;
}
.accordion-head:hover {
  background: #d8f3e5 !important;
}
.accordion-arrow {
  font-size: 1.08em;
  margin-right: 6px;
}
.count {
  color: #8eb2a4;
  margin-left: 10px;
  font-size: 0.96em;
}
.accordion-row {
  background: #f9f9f9;
  transition: background 0.16s;
}
.accordion-row.row-hover:hover td {
  background: #f5f8fc !important;
}
.user-group {
  background: unset;
  border-right: none;
  vertical-align: middle;
}
/* Статус одобрения */
.status-modal-overlay {
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0,0,0,0.20);
  display: flex;
  align-items: center;
  justify-content: center;
}
.status-modal {
  background: #fff;
  border-radius: 1em;
  padding: 2em 2.5em;
  min-width: 350px;
  max-width: 95vw;
  box-shadow: 0 8px 32px #0003;
  position: relative;
}
.status-modal label {
  font-weight: 500;
  margin-right: 12px;
}
.btn {
  padding: 6px 18px;
  border-radius: 1em;
  border: none;
  cursor: pointer;
  background: #f0f0f0;
  font-size: 1em;
}
.btn-approve { background: #1b7c16; color: #fff; }
.btn-reject { background: #ae2323; color: #fff; }
.btn-cancel { background: #bbb; color: #222; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; }
/* Админ модерация */
.admin-moderation-bg {
  background: linear-gradient(120deg, #f7fafd 0%, #f0f4fc 100%);
  min-height: 100vh;
  padding: 2vw;
}
.admin-moderation-container {
  background: #fff;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 1.5em;
  box-shadow: 0 8px 32px #0002;
  padding: 2em 2.5em 2.5em 2.5em;
  min-height: 70vh;
}
.mod-title {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-size: 2.1em;
  font-weight: 700;
  margin-bottom: 1.4em;
  letter-spacing: 0.02em;
}
.emoji {
  font-size: 1.2em;
  margin-right: 0.1em;
}
/* заявкеи пользователя -- статусы, одобрения и все всего..  */
.my-results-bg {
  background: linear-gradient(120deg, #f7fafd 0%, #f0f4fc 100%);
  min-height: 100vh;
  padding: 2vw;
}
.my-results-container {
  background: #fff;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 1.5em;
  box-shadow: 0 8px 32px #0002;
  padding: 2em 2.5em 2.5em 2.5em;
  min-height: 50vh;
}
h1 {
  font-size: 1.7em;
  font-weight: 700;
  margin-bottom: 1.2em;
  display: flex; align-items: center; gap: 0.6em;
}
.status-tabs {
  margin-bottom: 1.4em;
}
.tab-btn {
  margin-right: 8px;
  padding: 8px 20px;
  border-radius: 1em;
  border: none;
  background: #eee;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s;
}
.tab-btn.active, .tab-btn:hover {
  background: #2978d6;
  color: #fff;
}
.my-results-table {
  width: 100%;
  border-collapse: collapse;
}
.my-results-table th, .my-results-table td {
  border: 1px solid #e0e0e0;
  padding: 7px 14px;
  text-align: left;
}
.my-results-table th {
  background: #f7f7f7;
}
.status-badge {
  padding: 4px 10px;
  border-radius: 1em;
  font-weight: 500;
  font-size: 1em;
}
.status-badge.approved {
  background: #e5f6eb;
  color: #2e7d32;
}
.status-badge.pending {
  background: #fff9e0;
  color: #e0a100;
}
.status-badge.rejected {
  background: #ffeaea;
  color: #b71c1c;
}
.approved { background: #f3fff5; }
.rejected { background: #fff6f6; }
.pending { background: #fdfde4; }
.status-stats {
  margin-bottom: 1em;
  display: flex;
  gap: 1em;
}
.stat-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 1em;
  font-weight: 500;
  font-size: 1.1em;
  background: #f0f0f0;
}
.stat-badge.approved {
  background: #eafbe7;
  color: #218724;
}
.stat-badge.rejected {
  background: #ffeaea;
  color: #ae2323;
}
/* Доступ одобрения и отклонения */
/* ---------- Access / Token UI ---------- */
.access-card{
  max-width: 820px;
  margin: 24px auto;
  padding: 24px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(0,0,0,.06);
  text-align: center;
}
.access-card__header{
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.badge{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 14px;
}
.badge--ok{ background:#e9f7ef; color:#1b8f4f; border:1px solid #bfe9d0; }
.badge--warn{ background:#fff7e6; color:#996c00; border:1px solid #ffe1a6; }
.badge--error{ background:#fde9ea; color:#a82d2f; border:1px solid #f6c2c5; }
.token-row{
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 720px){
  .token-row{ grid-template-columns: 1fr 1fr; align-items: center; }
}
.token-info__label{
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 6px;
}
.token-code{
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  background: #f4f6fb;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px dashed #cbd5e1;
  word-break: break-all;
  max-width: 100%;
}
.token-exp{
  margin-top: 6px;
  font-size: 12px;
  color: #64748b;
}
.token-actions{
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn{
  background:#f5f7fb;
  color:#1f2937;
  border:1px solid #cbd5e1;
  padding:10px 16px;
  border-radius:10px;
  cursor:pointer;
  font-weight:600;
  transition: .2s ease;
  text-decoration: none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.btn:hover{ background:#eef2f7; }
.btn--primary{
  background:#246bb2;
  border-color:#246bb2;
  color:#fff;
}
.btn--primary:hover{ background:#1f5ca0; border-color:#1f5ca0; }
.btn--outline{
  background:#fff;
  color:#246bb2;
  border-color:#246bb2;
}
.btn--disabled{
  pointer-events:none;
  opacity:.6;
}
.access-textarea{
  width:100%;
  min-height:100px;
  padding:12px;
  border:1px solid #e5e7eb;
  border-radius:10px;
  resize:vertical;
  margin:14px 0;
}
.muted{ color:#6b7280; }
/* BrokerCabinet styles (namespaced with brk-) */
.brk-container { max-width: 980px; margin: 24px auto; padding: 0 16px; }
.brk-page__title { font-size: 24px; margin-bottom: 16px; }
.brk-card { background:#fff; border:1px solid #e5e7eb; border-radius:12px; padding:16px; margin-bottom:16px; }
.brk-card--error { border-color:#ef4444; }
.brk-row { display:flex; gap:12px; align-items:center; }
.brk-grid { display:grid; grid-template-columns: 1fr; gap:16px; }
@media (min-width: 960px){ .brk-grid{ grid-template-columns: 360px 1fr; } }
.brk-form { display:flex; flex-direction:column; gap:8px; }
.brk-input, .brk-textarea {
  width:100%; border:1px solid #d1d5db; border-radius:8px; padding:10px 12px;
}
.brk-textarea { min-height: 90px; resize: vertical; }
.brk-btn { border:1px solid #d1d5db; background:#f9fafb; padding:8px 12px; border-radius:8px; cursor:pointer; }
.brk-btn:hover { background:#f3f4f6; }
.brk-btn:disabled { opacity:.6; cursor:not-allowed; }
.brk-btn--primary { border-color:#2563eb; background:#2563eb; color:#fff; }
.brk-btn--outline { background:transparent; }
.brk-table__head { display:flex; justify-content:space-between; align-items:center; margin-bottom:8px; }
.brk-table { width:100%; border-collapse: collapse; }
.brk-table th, .brk-table td { border-bottom:1px solid #eee; padding:10px; text-align:left; vertical-align: top; }
.brk-table code { background:#f3f4f6; padding:2px 6px; border-radius:6px; }
.brk-rejection { color:#b91c1c; }
.brk-muted { color:#6b7280; font-size: 14px; }
.brk-badge { display:inline-block; padding:4px 8px; border-radius:999px; font-size:12px; border:1px solid transparent; }
.brk-badge--ok { background:#ecfdf5; color:#065f46; border-color:#a7f3d0; }
/* green */
.brk-badge--warn { background:#fff7ed; color:#9a3412; border-color:#fed7aa; }
/* orange */
.brk-badge--bad { background:#fef2f2; color:#991b1b; border-color:#fecaca; }
/* red */
.brk-badge--grey { background:#f3f4f6; color:#374151; border-color:#e5e7eb; }
/* grey */
/* brokerapplicantsforadmin */
.abapps { margin-top: 16px; }
.abapps__head { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:10px; }
.abapps__title { font-size:20px; margin:0; }
.abapps__filters { display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
.abapps__input, .abapps__select { border:1px solid #d1d5db; border-radius:8px; padding:8px 10px; }
.abapps__btn { border:1px solid #d1d5db; background:#f9fafb; padding:8px 12px; border-radius:8px; cursor:pointer; }
.abapps__btn:hover { background:#f3f4f6; }
.abapps__btn--ok { border-color:#16a34a; background:#16a34a; color:#fff; }
.abapps__btn--bad { border-color:#dc2626; background:#dc2626; color:#fff; }
.abapps__card { background:#fff; border:1px solid #e5e7eb; border-radius:12px; padding:16px; }
.abapps__card--err { border-color:#ef4444; color:#b91c1c; }
.abapps__table { width:100%; border-collapse: collapse; background:#fff; border:1px solid #e5e7eb; border-radius:12px; overflow:hidden; }
.abapps__table th, .abapps__table td { border-bottom:1px solid #eee; padding:10px; text-align:left; vertical-align: top; }
.abapps__table th { background:#f9fafb; }
.abapps__code { background:#f3f4f6; padding:2px 6px; border-radius:6px; }
.abapps__muted { color:#6b7280; font-size:12px; }
.abapps__rej { color:#b91c1c; }
.abapps__badge { display:inline-block; padding:4px 8px; border-radius:999px; font-size:12px; border:1px solid transparent; }
.abapps__badge--ok   { background:#ecfdf5; color:#065f46; border-color:#a7f3d0; }
.abapps__badge--warn { background:#fff7ed; color:#9a3412; border-color:#fed7aa; }
.abapps__badge--bad  { background:#fef2f2; color:#991b1b; border-color:#fecaca; }
.abapps__badge--grey { background:#f3f4f6; color:#374151; border-color:#e5e7eb; }
.abapps__actions { display:flex; gap:6px; flex-wrap:wrap; }
.abapps__modal { position:fixed; inset:0; background:rgba(0,0,0,.4); display:flex; align-items:center; justify-content:center; z-index:1000; }
.abapps__modal__inner { background:#fff; border-radius:12px; padding:16px; width:min(560px, 92vw); }
.abapps__modal__row { display:flex; justify-content:flex-end; gap:8px; margin-top:10px; }
.abapps__textarea { width:100%; min-height:90px; border:1px solid #d1d5db; border-radius:8px; padding:8px 10px; resize:vertical; }
.adm-tabs { display:flex; gap:8px; margin:12px 0 16px; }
.adm-tab { border:1px solid #d1d5db; background:#fff; padding:8px 12px; border-radius:8px; cursor:pointer; }
.adm-tab.is-active { background:#111827; color:#fff; border-color:#111827; }
\

.password-rules {
  margin: 4px 0 8px;
  padding-left: 18px;
  font-size: 12px;
  color: #888;
}
.password-rules li.ok {
  color: #1c7c2c; /* зелёный */
}
@media (max-width: 640px){

  /* Базовая типографика и отступы */
  html, body { height: auto; }
  body { font-size: 15px; line-height: 1.6; }
  .container { padding: 16px; }

  /* Заголовки/карточки */
  .page-header h1 { margin-bottom: 4px; }
  .subtle { margin-bottom: 12px; }
  .card { padding: 12px; margin-bottom: 12px; border-radius: 10px; }

  /* Ряды и инпуты */
  .row { flex-direction: column; align-items: stretch; gap: 8px; }
  input[type="text"], textarea {
    width: 100%;
    min-width: 0;
    font-size: 16px;          /* предотвращает авто-зум на iOS */
    padding: 12px 12px;
    border-radius: 10px;
  }
  textarea { min-height: 120px; }

  /* Кнопки: на всю ширину, увеличенные тапы */
  .actions { flex-direction: column; gap: 8px; }
  .btn {
    width: 100%;
    padding: 12px 14px;
    min-height: 44px;         /* комфортная зона нажатия */
    border-radius: 12px;
  }

  /* Чипы/бейджи — компактнее, переносы */
  .chip, .badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; }
  .token-status { display: block; margin: 6px 0 0; }

  /* Гриды */
  .grid-2 { grid-template-columns: 1fr; gap: 12px; }

  /* Фото-сетка: 2 колонки → 1 на очень узком экране */
  .grid-photos { grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 6px; }
  @media (max-width: 380px){
    .grid-photos { grid-template-columns: 1fr; }
  }
  .grid-photos img, .photo-thumb { border-radius: 10px; }

  /* События — компактные поля */
  .events { padding-left: 16px; }
  .event-item { padding: 8px; }
  .event-head { gap: 6px; }

  /* Информеры и ошибки */
  .notice { padding: 10px 12px; }
  .error-bar__toggle { padding: 12px 14px; }
  .error-bar__body { padding: 0 14px 12px; }
  .hint { font-size: 12.5px; padding: 8px 10px; }

  /* Таблица: по умолчанию скролл (как было), 
     НО можно включить "карточный" стек для мобильных,
     добавив таблице класс .table--stack и data-label у <td> (см. ниже). */
  .table-wrap { border-radius: 10px; }
  .table { min-width: 640px; }              /* горизонтальный скролл сохраняется */
  .table.table--stack {                     /* альтернативный «стек» */
    min-width: 0;
    display: block;
  }
  .table.table--stack thead { display: none; }
  .table.table--stack tbody { display: grid; gap: 10px; }
  .table.table--stack tr {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 8px;
  }
  .table.table--stack td {
    display: grid;
    grid-template-columns: 42% 1fr;
    gap: 8px;
    border: 0;
    padding: 6px 4px;
  }
  .table.table--stack td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--muted);
  }

  /* Модалка — полноэкранная, удобные контролы */
  .modal__content {
    inset: 0;
    border-radius: 0;
    padding: 8px;
    grid-template-rows: auto 1fr auto;
  }
  .modal__close {
    width: 44px; height: 44px; top: 8px; right: 8px;
    border-radius: 10px; font-size: 20px;
  }
  #photoModalImg { background: #000; }
  .modal__controls {
    position: sticky; bottom: 0;
    padding: 8px;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(6px);
  }

  /* Тени помягче на мобильном */
  :root { --shadow: 0 4px 16px rgba(2,8,23,.08); }
}
/* Узкие экраны (≤360px) — ещё компактнее */
@media (max-width: 360px){
  .container { padding: 12px; }
  .card { padding: 10px; }
  .btn { padding: 12px; }
}
/* ---------- Header: бургер и мобильный drawer ---------- */
.nav-toggle {
  display: none;
  appearance: none;
  border: 0;
  background: transparent;
  width: 40px; height: 40px;
  border-radius: 8px;
  justify-content: center; align-items: center;
  gap: 5px; flex-direction: column;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: #111; transition: transform .2s, opacity .2s;
  border-radius: 2px;
}
.nav-toggle.is-open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2){ opacity: 0; }
.nav-toggle.is-open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }
.mobile-drawer {
  position: fixed; inset: 0; z-index: 9998;
  background: rgba(0,0,0,.45);
  opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
.mobile-drawer.is-open { opacity: 1; pointer-events: auto; }
.mobile-drawer__panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(86vw, 360px);
  background: #fff; padding: 16px; box-shadow: -8px 0 28px rgba(0,0,0,.12);
  transform: translateX(100%); transition: transform .24s ease;
  display: grid; grid-template-rows: auto 1fr auto; gap: 12px;
}
.mobile-drawer.is-open .mobile-drawer__panel { transform: translateX(0); }
.mobile-menu {
  display: grid; gap: 8px; margin-top: 4px;
}
.mobile-menu a {
  display: block; padding: 12px; border-radius: 10px;
  background: #f7f9fc; color: #111; font-weight: 600;
}
.mobile-menu a:hover { background: #eef3fb; }
.mobile-user { margin-top: 8px; display: grid; gap: 10px; }
.mobile-user__who { display: flex; align-items: center; gap: 10px; }
/* ---------- Мобильные брейкпоинты для шапки ---------- */
@media (max-width: 900px) {
  .logo img { height: 52px; margin-right: 12px; }
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-container { gap: 10px; }
  .user-role { display: none; } /* на мобильном в drawer */
}
/* ---------- Кнопки hero: на мобильном не вылезают за край ---------- */
@media (max-width: 768px) {
  .primary, .secondary {
    width: 100%;
    max-width: 480px;
    min-width: 0;
    padding: 14px 18px;
    border-radius: 16px;
  }
}
/* ---------- Исправление ширины большой модалки предпросмотра ---------- */
@media (max-width: 900px){
  .parsed-result-preview{
    left: 50%; transform: translateX(-50%);
    min-width: auto; width: 96vw; padding: 1em;
  }
}
/* ---------- Лого в header чуть меньше на совсем узких ---------- */
@media (max-width: 420px){
  .logo img { height: 44px; }
}


.admin-import[data-v-2bd3907b] {
  margin-top: 32px;
  padding: 16px;
  border-radius: 12px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
}
.title[data-v-2bd3907b] {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}
.subtitle[data-v-2bd3907b] {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 12px;
}
.card[data-v-2bd3907b] {
  background: #ffffff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}
.file-label[data-v-2bd3907b] {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
  margin-bottom: 8px;
}
.file-label input[type="file"][data-v-2bd3907b] {
  max-width: 320px;
}
.file-info[data-v-2bd3907b] {
  font-size: 13px;
  margin-bottom: 8px;
}
.error[data-v-2bd3907b] {
  margin-top: 4px;
  font-size: 13px;
  color: #b91c1c;
}
.preview[data-v-2bd3907b] {
  margin-top: 12px;
}
.preview-header[data-v-2bd3907b] {
  font-size: 13px;
  margin-bottom: 4px;
}
.preview-table[data-v-2bd3907b] {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.preview-table th[data-v-2bd3907b],
.preview-table td[data-v-2bd3907b] {
  border: 1px solid #e5e7eb;
  padding: 4px 6px;
}
.preview-table th[data-v-2bd3907b] {
  background: #f3f4f6;
}
.actions[data-v-2bd3907b] {
  margin-top: 12px;
}
.btn[data-v-2bd3907b] {
  border-radius: 999px;
  border: none;
  padding: 8px 16px;
  font-size: 14px;
  cursor: pointer;
}
.btn.primary[data-v-2bd3907b] {
  background: #2563eb;
  color: #ffffff;
}
.btn.primary[data-v-2bd3907b]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.result[data-v-2bd3907b] {
  margin-top: 8px;
  font-size: 13px;
}
.result.success[data-v-2bd3907b] {
  color: #15803d;
}
.result.error[data-v-2bd3907b] {
  color: #b91c1c;
}
.help[data-v-2bd3907b] {
  margin-top: 12px;
  font-size: 12px;
}
.help pre[data-v-2bd3907b] {
  background: #111827;
  color: #e5e7eb;
  padding: 8px;
  border-radius: 8px;
  font-size: 11px;
  overflow-x: auto;
}
.admin-import--no-access[data-v-2bd3907b] {
  margin-top: 32px;
  font-size: 14px;
  color: #6b7280;
}

.admin-worker-stats[data-v-81b5e616] {
  margin-top: 24px;
  padding: 16px;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.35);
}
.admin-worker-stats__title[data-v-81b5e616] {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 600;
}
.admin-worker-stats__filters[data-v-81b5e616] {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: flex-end;
  margin-bottom: 12px;
}
.field[data-v-81b5e616] {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.field label[data-v-81b5e616] {
  font-size: 13px;
  color: #475569;
}
.field select[data-v-81b5e616],
.field input[type='date'][data-v-81b5e616] {
  padding: 6px 8px;
  font-size: 14px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
}
.buttons[data-v-81b5e616] {
  display: flex;
  gap: 8px;
}
.buttons button[data-v-81b5e616] {
  padding: 6px 12px;
  font-size: 14px;
  border-radius: 6px;
  border: none;
  background: #2563eb;
  color: #fff;
  cursor: pointer;
}
.buttons button[disabled][data-v-81b5e616] {
  opacity: 0.6;
  cursor: default;
}
.buttons button[data-v-81b5e616]:nth-child(2) {
  background: #e5e7eb;
  color: #111827;
}
.admin-worker-stats__error[data-v-81b5e616] {
  color: #b91c1c;
  font-size: 13px;
  margin-top: 4px;
}
.admin-worker-stats__empty[data-v-81b5e616] {
  font-size: 14px;
  color: #6b7280;
  margin-top: 12px;
}
.admin-worker-stats__content[data-v-81b5e616] {
  margin-top: 12px;
}
.admin-worker-stats__summary[data-v-81b5e616] {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  font-size: 14px;
  margin-bottom: 10px;
}
.admin-worker-stats__table[data-v-81b5e616] {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.admin-worker-stats__table th[data-v-81b5e616],
.admin-worker-stats__table td[data-v-81b5e616] {
  border: 1px solid #e5e7eb;
  padding: 6px 8px;
}
.admin-worker-stats__table th[data-v-81b5e616] {
  background: #f9fafb;
  text-align: left;
}

/* Статусы */
.status-chip[data-v-81b5e616] {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid transparent;
}
.status-approved[data-v-81b5e616] {
  background-color: #e8f5e9;
  color: #2e7d32;
  border-color: #2e7d32;
}
.status-rejected[data-v-81b5e616] {
  background-color: #ffebee;
  color: #c62828;
  border-color: #c62828;
}
.status-under-review[data-v-81b5e616] {
  background-color: #e3f2fd;
  color: #1565c0;
  border-color: #1565c0;
}
.admin-worker-stats__summary-global[data-v-81b5e616] {
  margin-top: 12px;
  margin-bottom: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f9fafb;
  border: 1px solid rgba(148, 163, 184, 0.5);
}
.summary-title[data-v-81b5e616] {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 600;
}
.summary-grid[data-v-81b5e616] {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}
.summary-item[data-v-81b5e616] {
  min-width: 160px;
}
.summary-label[data-v-81b5e616] {
  font-size: 12px;
  color: #6b7280;
}
.summary-value[data-v-81b5e616] {
  font-size: 18px;
  font-weight: 700;
  margin-top: 2px;
}
.summary-value--approved[data-v-81b5e616] {
  color: #15803d;
}
.summary-value--rejected[data-v-81b5e616] {
  color: #b91c1c;
}


.applications-view[data-v-323f84ee] {
  min-height: 100vh;
  background: #f3f4f6;
  padding: 32px 0;
}
.container[data-v-323f84ee] {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}
.page-title[data-v-323f84ee] {
  font-size: 28px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 24px;
}

/* Карточки */
.card[data-v-323f84ee] {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  padding: 20px 24px;
  margin-bottom: 16px;
}
.filters-card[data-v-323f84ee] {
  margin-bottom: 16px;
}
.stats-card[data-v-323f84ee] {
  margin-bottom: 16px;
}

/* Фильтры */
.filters-grid[data-v-323f84ee] {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.filter-item[data-v-323f84ee] {
  display: flex;
  flex-direction: column;
}
.filter-item--button[data-v-323f84ee] {
  justify-content: flex-end;
}
.filter-label[data-v-323f84ee] {
  font-size: 13px;
  color: #4b5563;
  margin-bottom: 6px;
}
.filter-input[data-v-323f84ee] {
  border-radius: 10px;
  border: 1px solid #d1d5db;
  padding: 8px 10px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.filter-input[data-v-323f84ee]:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.15);
}

/* Кнопки */
.btn[data-v-323f84ee] {
  border-radius: 999px;
  border: none;
  font-size: 14px;
  padding: 8px 16px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.05s;
}
.btn-secondary[data-v-323f84ee] {
  background: #2563eb;
  color: #ffffff;
}
.btn-secondary[data-v-323f84ee]:hover {
  background: #0f172a;
}
.btn-ghost[data-v-323f84ee] {
  background: #ffffff;
  border: 1px solid #d1d5db;
  color: #111827;
}
.btn-ghost[data-v-323f84ee]:hover:not(:disabled) {
  background: #f3f4f6;
}
.btn[data-v-323f84ee]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Статистика */
.stats-row[data-v-323f84ee] {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.stat-pill[data-v-323f84ee] {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #374151;
}
.stat-dot[data-v-323f84ee] {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}
.stat-dot--blue[data-v-323f84ee] {
  background: #3b82f6;
}
.stat-dot--green[data-v-323f84ee] {
  background: #10b981;
}
.stat-dot--red[data-v-323f84ee] {
  background: #ef4444;
}

/* Таблица */
.table-card[data-v-323f84ee] {
  padding: 0;
}
.table-wrapper[data-v-323f84ee] {
  width: 100%;
  overflow-x: auto;
}
.apps-table[data-v-323f84ee] {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}
.apps-table thead tr[data-v-323f84ee] {
  background: #f9fafb;
}
.apps-table th[data-v-323f84ee],
.apps-table td[data-v-323f84ee] {
  padding: 10px 16px;
  font-size: 14px;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
}
.apps-table th[data-v-323f84ee] {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6b7280;
}
.apps-row[data-v-323f84ee]:hover {
  background: #f9fafb;
}
.app-number[data-v-323f84ee] {
  font-weight: 500;
  color: #111827;
}
.text-muted[data-v-323f84ee] {
  color: #6b7280;
}
.table-empty[data-v-323f84ee] {
  text-align: center;
  padding: 16px;
  color: #6b7280;
}

/* Статусы */
.status-pill[data-v-323f84ee] {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid transparent;
}
.status-pill--pending[data-v-323f84ee] {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}
.status-pill--approved[data-v-323f84ee] {
  background: #ecfdf3;
  border-color: #bbf7d0;
  color: #15803d;
}
.status-pill--rejected[data-v-323f84ee] {
  background: #fef2f2;
  border-color: #fecaca;
  color: #b91c1c;
}
.status-pill--default[data-v-323f84ee] {
  background: #f3f4f6;
  border-color: #e5e7eb;
  color: #374151;
}

/* Очередь */
.queue-chip[data-v-323f84ee] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}
.queue-chip--top[data-v-323f84ee] {
  background: #22c55e;
  color: #ffffff;
}
.queue-chip--high[data-v-323f84ee] {
  background: #3b82f6;
  color: #ffffff;
}
.queue-chip--medium[data-v-323f84ee] {
  background: #eab308;
  color: #111827;
}

/* Пагинация */
.pagination[data-v-323f84ee] {
  padding: 12px 20px;
  border-top: 1px solid #e5e7eb;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}
.pagination-info[data-v-323f84ee] {
  font-size: 13px;
  color: #6b7280;
}
.pagination-controls[data-v-323f84ee] {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pagination-page[data-v-323f84ee] {
  font-size: 13px;
  color: #4b5563;
}

/* Состояния таблицы */
.table-state[data-v-323f84ee] {
  padding: 24px 20px;
  text-align: center;
  font-size: 14px;
}
.table-state--error[data-v-323f84ee] {
  color: #b91c1c;
}
.table-state--loading p[data-v-323f84ee] {
  margin-top: 8px;
  color: #4b5563;
}
.loader[data-v-323f84ee] {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 3px solid #d1d5db;
  border-top-color: #2563eb;
  margin: 0 auto;
  animation: spin-323f84ee 0.6s linear infinite;
}
.page-size-select[data-v-323f84ee] {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 8px;
}
.page-size-select select[data-v-323f84ee] {
  border-radius: 999px;
  border: 1px solid #d1d5db;
  padding: 4px 10px;
  font-size: 13px;
  outline: none;
}
.apps-table th.sortable[data-v-323f84ee] {
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}
.apps-table th.sortable span[data-v-323f84ee] {
  margin-left: 4px;
  font-size: 10px;
}
@keyframes spin-323f84ee {
to { transform: rotate(360deg);
}
}

/* Адаптив */
@media (max-width: 768px) {
.page-title[data-v-323f84ee] {
    font-size: 22px;
}
.filters-grid[data-v-323f84ee] {
    grid-template-columns: 1fr;
}
.card[data-v-323f84ee] {
    padding: 16px;
}
.apps-table[data-v-323f84ee] {
    min-width: 600px;
}
}

/* если у тебя уже есть стили header/header-container — оставь их,
   добавь только то, что ниже, либо дополни существующие .logo */
.svh-dropdown[data-v-faea28ee] {
  position: relative;
}
.svh-btn[data-v-faea28ee] {
  background: #fff !important;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 5px 12px;
  cursor: pointer;
  font-size: 14px;
  color: #222 !important;
}
.svh-menu[data-v-faea28ee] {
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  min-width: 220px;
  z-index: 100;
  padding: 6px 0;
}
.svh-menu a[data-v-faea28ee] {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  color: #222;
  text-decoration: none;
  white-space: nowrap;
}
.svh-menu a[data-v-faea28ee]:hover {
  background: #f5f5f5;
}
.logo[data-v-faea28ee] {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

/* основной логотип */
.logo-main[data-v-faea28ee] {
  height: 75px;
  width: auto;
  object-fit: contain;
}

/* логотип партнёра / второй логотип */
.logo-partner[data-v-faea28ee] {
  height: 50px;
  width: auto;
  object-fit: contain;
}

/* Можно на совсем маленьких экранах скрыть второй логотип,
   если будет мало места */
@media (max-width: 480px) {
.logo-main[data-v-faea28ee] {
    height: 30px;
}
.logo-partner[data-v-faea28ee] {
    height: 0;
    width: 0;
    opacity: 0;
    overflow: hidden;
}
}

.app-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.main-content {
  flex: 1;
}
