@charset "UTF-8";

* {
  padding: 0;
  margin: 0;
  outline: none;
}

body {
  width: 100%;
  height: 100%;
  color: black;
  font-size: 1em;
  font-size: 14px;
  font-family: sans-serif;
  line-height: 135%;
}

a {
  color: black;
}

a:active {
  color: black;
}

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

fieldset,
img {
  border: 0;
}

img {
  max-width: 100%;
  height: auto;
  width: auto\9;
}

address,
caption,
cite,
code,
dfn,
em,
th,
var {
  font-weight: normal;
  font-style: normal;
}

ol,
ul {
  list-style: none;
}

caption,
th {
  text-align: left;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
}

q:before,
q:after {
  content: "";
}

abbr,
acronym {
  border: 0;
}

a {
  text-decoration: none;
}

::-moz-selection {
  background-color: #469ad1;
  color: #fff;
}

::selection {
  background-color: #469ad1;
  color: #fff;
}

::-webkit-selection {
  background-color: #469ad1;
  color: #fff;
}

::-moz-selection {
  background-color: #469ad1;
  color: #fff;
}

::-ms-selection {
  background-color: #469ad1;
  color: #fff;
}

::-o-selection {
  background-color: #469ad1;
  color: #fff;
}

* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.header {
  background: #013318;
  border-bottom: 2px solid #c9a64b;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
}

.header__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 15px;
}

.header__logo-block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 15px;
}

.header__logo {
  -ms-flex-negative: 0;
      flex-shrink: 0;
}

.header__logo img {
  width: 55px;
  height: auto;
  -webkit-transition: -webkit-transform 0.2s ease;
  transition: -webkit-transform 0.2s ease;
  -o-transition: transform 0.2s ease;
  transition: transform 0.2s ease;
  transition: transform 0.2s ease, -webkit-transform 0.2s ease;
}

.header__logo img:hover {
  -webkit-transform: scale(1.02);
      -ms-transform: scale(1.02);
          transform: scale(1.02);
}

.header__title-block {
  line-height: 1.3;
}

.header__title {
  font-size: 18px;
  font-weight: 700;
  color: #f5f0e6;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.header__subtitle {
  font-size: 11px;
  color: #c9a64b;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.header__nav-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 8px;
}

.header__nav-item {
  list-style: none;
}

.header__nav-link {
  display: inline-block;
  padding: 8px 16px;
  color: #f5f0e6;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  -webkit-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
  border-radius: 4px;
}

.header__nav-link:hover {
  color: #c9a64b;
  background: rgba(201, 166, 75, 0.1);
}

.header__actions {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 20px;
}

.header__phone,
.header__email {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 6px;
}

.header__phone-icon,
.header__email-icon {
  width: 16px;
  height: 16px;
  -webkit-filter: brightness(0) invert(1);
          filter: brightness(0) invert(1);
}

.header__phone-link {
  color: #f5f0e6;
  font-size: 13px;
  font-weight: 500;
  -webkit-transition: color 0.2s;
  -o-transition: color 0.2s;
  transition: color 0.2s;
}

.header__phone-link:hover {
  color: #c9a64b;
}

.header__email-text {
  color: #b0b5a8;
  font-size: 12px;
}

.header__auth {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 12px;
  padding-left: 15px;
  border-left: 1px solid rgba(201, 166, 75, 0.3);
}

.header__auth-link {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 6px;
  color: #f5f0e6;
  font-size: 13px;
  font-weight: 500;
  -webkit-transition: color 0.2s;
  -o-transition: color 0.2s;
  transition: color 0.2s;
}

.header__auth-link img {
  width: 16px;
  height: 16px;
  -webkit-filter: brightness(0) invert(1);
          filter: brightness(0) invert(1);
}

.header__auth-link:hover {
  color: #c9a64b;
}

.header__auth-link:hover img {
  -webkit-filter: brightness(0) invert(0.8) sepia(1) hue-rotate(30deg);
          filter: brightness(0) invert(0.8) sepia(1) hue-rotate(30deg);
}

.header__burger {
  display: none;
}

.header__burger .burger {
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  position: relative;
  cursor: pointer;
  z-index: 11;
  padding: 0;
}

.header__burger .burger span,
.header__burger .burger span::before,
.header__burger .burger span::after {
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: #f5f0e6;
  border-radius: 2px;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
  content: "";
}

.header__burger .burger span {
  top: 50%;
  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
}

.header__burger .burger span::before {
  top: -10px;
}

.header__burger .burger span::after {
  top: 10px;
}

.header__burger .burger.active span {
  background: transparent;
}

.header__burger .burger.active span::before {
  -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
          transform: rotate(45deg);
  top: 0;
}

.header__burger .burger.active span::after {
  -webkit-transform: rotate(-45deg);
      -ms-transform: rotate(-45deg);
          transform: rotate(-45deg);
  top: 0;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  background: #1a2a1c;
  width: 75vw;
  max-width: 320px;
  height: 100vh;
  padding: 32px 24px;
  z-index: 20;
  opacity: 0;
  -webkit-transform: translateX(100%);
      -ms-transform: translateX(100%);
          transform: translateX(100%);
  pointer-events: none;
  -webkit-transition: all 0.35s ease;
  -o-transition: all 0.35s ease;
  transition: all 0.35s ease;
  border-left: 2px solid #c9a64b;
  -webkit-box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
          box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
}

.mobile-nav.active {
  opacity: 1;
  -webkit-transform: translateX(0);
      -ms-transform: translateX(0);
          transform: translateX(0);
  pointer-events: auto;
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav ul li {
  margin-bottom: 20px;
}

.mobile-nav ul li a {
  color: #f5f0e6;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  -webkit-transition: color 0.2s;
  -o-transition: color 0.2s;
  transition: color 0.2s;
}

.mobile-nav ul li a:hover {
  color: #c9a64b;
}

.mobile-nav .close {
  cursor: pointer;
  background: none;
  color: #c9a64b;
  font-size: 32px;
  border: none;
  margin-bottom: 30px;
  margin-left: auto;
  display: block;
  padding: 0;
  width: 32px;
  height: 32px;
}

.mobile-nav .block-line {
  border-bottom: 1px solid #c9a64b;
  margin: 15px 0;
  opacity: 0.5;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 15;
  opacity: 0;
  pointer-events: none;
  -webkit-transition: opacity 0.3s ease;
  -o-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}

.overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.head-contacts {
  display: none;
}

.home-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.welcome-block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 40px;
  background: -o-linear-gradient(315deg, #1a2a1c 0%, #2a4020 100%);
  background: linear-gradient(135deg, #1a2a1c 0%, #2a4020 100%);
  border-radius: 24px;
  padding: 40px;
  margin-bottom: 40px;
  color: #f5f0e6;
}

.welcome-block__content {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}

.welcome-block__image {
  -ms-flex-negative: 0;
      flex-shrink: 0;
}

.welcome-block__image img {
  max-width: 200px;
  border-radius: 20px;
}

.welcome-title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 15px;
  line-height: 25px;
}

.welcome-title span {
  color: #c9a64b;
}

.welcome-user {
  font-size: 18px;
  color: #c9a64b;
  margin-bottom: 15px;
}

.welcome-desc {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 25px;
  opacity: 0.9;
}

.welcome-buttons {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 15px;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.welcome-buttons .btn-primary,
.welcome-buttons .btn-secondary {
  padding: 12px 30px;
  border-radius: 40px;
  font-weight: 600;
  text-decoration: none;
  -webkit-transition: all 0.2s;
  -o-transition: all 0.2s;
  transition: all 0.2s;
}

.welcome-buttons .btn-primary {
  background: #c9a64b;
  color: #1a2a1c;
}

.welcome-buttons .btn-primary:hover {
  background: #a8883a;
  -webkit-transform: translateY(-2px);
      -ms-transform: translateY(-2px);
          transform: translateY(-2px);
}

.welcome-buttons .btn-secondary {
  background: transparent;
  border: 2px solid #c9a64b;
  color: #f5f0e6;
}

.welcome-buttons .btn-secondary:hover {
  background: rgba(201, 166, 75, 0.2);
  -webkit-transform: translateY(-2px);
      -ms-transform: translateY(-2px);
          transform: translateY(-2px);
}

.progress-block {
  background: #fff;
  border-radius: 20px;
  padding: 25px;
  margin-bottom: 40px;
  text-align: center;
  -webkit-box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
          box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.block-title {
  font-size: 24px;
  font-weight: 700;
  color: #C9A638;
  text-align: center;
  margin-bottom: 25px;
}

.progress-stats {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 50px;
  margin-bottom: 25px;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 36px;
  font-weight: 800;
  color: #3a5a2a;
}

.stat-label {
  font-size: 14px;
  color: #666;
  margin-top: 5px;
}

.progress-bar-container {
  width: 100%;
  height: 12px;
  background: #e0e0e0;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 12px;
}

.progress-bar {
  height: 100%;
  background: #3a5a2a;
  border-radius: 6px;
  -webkit-transition: width 0.5s ease;
  -o-transition: width 0.5s ease;
  transition: width 0.5s ease;
}

.progress-text {
  font-size: 14px;
  color: #666;
}

.courses-section {
  margin-bottom: 40px;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
}

.course-card {
  background: #fff;
  border-radius: 20px;
  padding: 25px;
  text-align: center;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
  -webkit-box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
          box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid #e0e0e0;
}

.course-card:hover {
  -webkit-transform: translateY(-5px);
      -ms-transform: translateY(-5px);
          transform: translateY(-5px);
  -webkit-box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
          box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-color: #c9a64b;
}

.course-icon {
  font-size: 48px;
  margin-bottom: 15px;
}

.course-title {
  font-size: 18px;
  font-weight: 700;
  color: #1a2a1c;
  margin-bottom: 10px;
}

.course-desc {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
  margin-bottom: 20px;
}

.course-link {
  display: inline-block;
  color: #3a5a2a;
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
}

.course-link:hover {
  color: #c9a64b;
}

.features-section {
  margin-bottom: 20px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.feature-card {
  background: #f0ede5;
  border-radius: 20px;
  padding: 25px;
  text-align: center;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.feature-card:hover {
  -webkit-transform: translateY(-3px);
      -ms-transform: translateY(-3px);
          transform: translateY(-3px);
  background: #e8e4d8;
}

.feature-card .feature-icon {
  font-size: 20px;
  margin-bottom: 15px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1a2a1c;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 13px;
  color: #555;
  line-height: 1.5;
}

.registration-container {
  max-width: 400px;
  margin: 0 auto;
  padding: 4px 0px;
  text-align: center;
}

.regform {
  width: 100%;
}

.regform-item {
  margin-bottom: 14px;
}

.regform-item__field {
  width: 100%;
}

.block-submit {
  margin-bottom: 15px;
}

.checkboxBlock {
  text-align: left;
}

.office-container h1 {
  font-size: 20px;
  text-align: center;
  margin-bottom: 20px;
}

.office-container p {
  font-size: 16px;
}

.office-container p span {
  color: #47b159;
  font-weight: 900;
}

.users-block {
  margin-top: 10px;
}

.btn-link {
  width: 100px;
  font-size: 12px;
  height: 30px;
  font-weight: 900;
  color: #0082B0;
  text-transform: uppercase;
  cursor: pointer;
  padding: 2px 4px;
}

.selectfield2 {
  -webkit-box-flex: 3;
      -ms-flex: 3;
          flex: 3;
  padding: 4px 5px;
  border-radius: 8px;
  border: 1px solid #0082B0;
  background: #dceef5;
  color: #0082B0;
  font-size: 12px;
  -webkit-transition: border 0.25s;
  -o-transition: border 0.25s;
  transition: border 0.25s;
  height: 30px;
  width: 80%;
  text-align: center;
  font-weight: 900;
  cursor: pointer;
  margin-left: 20px;
}

.selectfield2:focus {
  background: #dceef5;
  outline: none;
}

.data-users {
  text-align: center;
}

.data-users a {
  color: #0082B0;
  text-decoration: underline;
  font-weight: 900;
  text-align: center;
}

.btn-link {
  color: #4A6B3A;
}

.btn-link:hover {
  color: #2D4A22;
}

.selectfield2 {
  border: 1px solid #4A6B3A;
  background: #F5F2E8;
  color: #2D4A22;
}

.footer {
  background: #013318;
  color: #f0ede5;
  margin-top: 60px;
  font-family: "Inter", -apple-system, sans-serif;
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 20px 30px;
}

.footer__top {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 40px;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  border-bottom: 1px solid rgba(139, 170, 110, 0.3);
  padding-bottom: 40px;
  margin-bottom: 30px;
}

.footer__brand {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  min-width: 250px;
}

.footer__brand .footer__logo {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.footer__brand .footer__logo-img {
  width: 45px;
  height: 50px;
}

.footer__brand .footer__logo-text {
  font-size: 20px;
  font-weight: 700;
  color: #c9a64b;
  letter-spacing: 1px;
}

.footer__brand .footer__description {
  font-size: 13px;
  line-height: 1.5;
  color: #b0b5a8;
  margin-bottom: 20px;
}

.footer__brand .footer__social {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 15px;
}

.footer__brand .footer__social .social-link {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.footer__brand .footer__social .social-link img {
  width: 18px;
  height: 18px;
}

.footer__brand .footer__social .social-link:hover {
  background: #c9a64b;
  -webkit-transform: translateY(-2px);
      -ms-transform: translateY(-2px);
          transform: translateY(-2px);
}

.footer__nav {
  -webkit-box-flex: 2;
      -ms-flex: 2;
          flex: 2;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 40px;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
}

.footer__nav-column {
  min-width: 130px;
}

.footer__nav-column h4 {
  font-size: 14px;
  font-weight: 700;
  color: #c9a64b;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer__nav-column ul li {
  margin-bottom: 10px;
}

.footer__nav-column ul li a {
  font-size: 13px;
  color: #b0b5a8;
  text-decoration: none;
  -webkit-transition: color 0.2s;
  -o-transition: color 0.2s;
  transition: color 0.2s;
}

.footer__nav-column ul li a:hover {
  color: #c9a64b;
}

.footer__middle {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 20px;
  padding: 25px 0;
  border-bottom: 1px solid rgba(139, 170, 110, 0.3);
  margin-bottom: 25px;
}

.footer__contacts {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 30px;
}

.footer__contacts .footer__contact-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
  font-size: 14px;
}

.footer__contacts .footer__contact-item .contact-icon {
  width: 20px;
  height: 20px;
  -webkit-filter: brightness(0) invert(1);
          filter: brightness(0) invert(1);
}

.footer__contacts .footer__contact-item a {
  color: #f0ede5;
  text-decoration: none;
}

.footer__contacts .footer__contact-item a:hover {
  color: #c9a64b;
}

.footer__support-btn {
  background: #3a5a2a;
  border: none;
  padding: 10px 20px;
  border-radius: 30px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
  color: #f0ede5;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  -webkit-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.footer__support-btn img {
  width: 18px;
  height: 18px;
  -webkit-filter: brightness(0) invert(1);
          filter: brightness(0) invert(1);
}

.footer__support-btn:hover {
  background: #2a4020;
  -webkit-transform: scale(1.02);
      -ms-transform: scale(1.02);
          transform: scale(1.02);
}

.footer__bottom {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 15px;
  font-size: 12px;
  color: #8a8f83;
}

.footer__bottom .footer__legal a {
  color: #8a8f83;
  text-decoration: none;
}

.footer__bottom .footer__legal a:hover {
  color: #c9a64b;
}

.footer__bottom .footer__legal .separator {
  margin: 0 10px;
}

/*
   <!-- МЕНЮ БУРГЕР -->
   <div class="icon-burger">
         <div class="icon-burger__lines">
            <span></span>
            <span></span>
            <span></span>
         </div>
   </div>
*/

/*
   <div class="header-mini">
      <div class="header-mini__menu">
            <ul>
               <li><a href="index.php">Главная</a></li>
               <li><a href="about.php">О нас</a></li>
               <li><a href="spa.php">СПА услуги</a></li>
               <li><a href="guarantees.php">Гарантии</a></li>
               <li><a href="responses.php">Отзывы</a></li>
               <?php
                  if($_SESSION['auth']=='yes' && $_SESSION['u_login'] == 'admin'){
                        ECHO '<li><a href="office.php">Личный кабинет</a></li>';
                  }
               ?>
            </ul>
      </div>
   </div>
*/

.header-mini {
  width: 60%;
  height: auto;
  background-color: #ffffff;
  opacity: 0.95;
  position: absolute;
  left: 40%;
  top: 0px;
  padding-top: 50px;
  padding-bottom: 30px;
  padding-left: 10%;
  display: none;
  z-index: 999998;
  -webkit-box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
          box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header-mini__menu ul {
  font-size: 20px;
}

.header-mini__menu ul li {
  margin-top: 20px;
}

.header-mini__menu ul li a {
  color: black;
}

.header-mini__menu ul li a:hover {
  text-decoration: underline;
}

.btn {
  width: 100%;
  border: none;
  cursor: pointer;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  padding: 0 25px;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
  height: 42px;
  color: #ffffff;
  background-color: #5C7C42;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn:hover {
  background-color: #3D5A2E;
}

.btn.disabled {
  background-color: #999;
  color: #666;
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.6;
}

/*
<div class="btnMoveTop"></div>
*/

.btnMoveTop {
  width: 45px;
  height: 45px;
  position: fixed;
  right: 30px;
  bottom: 30px;
  background: #4A6B3A;
  border-radius: 50%;
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  opacity: 0;
  -webkit-transition: opacity 0.3s, background 0.2s;
  -o-transition: opacity 0.3s, background 0.2s;
  transition: opacity 0.3s, background 0.2s;
  z-index: 99;
}

.btnMoveTop::after {
  content: "↑";
  display: block;
  color: white;
  font-size: 24px;
  font-weight: bold;
  line-height: 2;
  text-align: center;
}

.btnMoveTop:hover {
  background: #2D4A22;
}

.btnMoveTop.visible {
  opacity: 1;
}

.selectfield {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1.5px solid #4A6B3A;
  background: #F5F2E8;
  color: #2D4A22;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
}

.selectfield:focus {
  border-color: #5C7C42;
  outline: none;
}

.textareafield {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1.5px solid #4A6B3A;
  background: #F5F2E8;
  color: #2C2C2C;
  font-size: 14px;
  width: 100%;
  resize: vertical;
  font-family: inherit;
}

.textareafield:focus {
  border-color: #5C7C42;
  outline: none;
  background: #fff;
}

.inputfield {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1.5px solid #4A6B3A;
  background: #F5F2E8;
  color: #2C2C2C;
  font-size: 14px;
  width: 100%;
  -webkit-transition: border 0.2s;
  -o-transition: border 0.2s;
  transition: border 0.2s;
}

.inputfield:focus {
  border-color: #5C7C42;
  outline: none;
  background: #fff;
}

/*
<label class='categories-search__checkbox checkbox' for='chb4'>
   <input data-error='Ошибка' class='checkbox__input' type='checkbox' id='chb4' value='1' name='form[]'>
   <span class='checkbox__text'><span>Гребные тренажер</span></span>
</label>
*/

.checkbox__input {
  position: absolute;
  visibility: hidden;
  width: 0;
  height: 0;
  opacity: 0;
}

.checkbox__input:checked + .checkbox__text {
  color: #f68038;
}

.checkbox__text {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  position: relative;
  font-size: 16px;
  color: #999;
  letter-spacing: -0.3px;
  line-height: calc(20 / 16);
  cursor: pointer;
}

.checkbox__text::before {
  position: absolute;
  -ms-flex-item-align: flex-center;
      align-self: flex-center;
  margin: 2px 0px 0px 0px;
  -webkit-box-flex: 1;
      -ms-flex: 1 1 10px;
          flex: 1 1 10px;
  top: 0;
  left: 0;
  width: 15px;
  height: 15px;
  border: 2px solid #a7a9ac;
}

/*
   <label class='checkbox2'>
      <input data-error='Ошибка' class='checkbox2__input2' type='checkbox' value='1' name='form[]'>
      <span class='checkbox2__text2'><span>Без выбора цвета</span></span>
   </label>
*/

.checkbox2 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  cursor: pointer;
}

.checkbox2__input2 {
  accent-color: #3a5a2a;
  width: 18px;
  height: 18px;
  margin-right: 7px;
}

.checkbox2__text2 {
  color: #ffffff;
  font-size: 16px;
}

.checkbox2__text2 span {
  font-weight: 900;
}

/*
.checkbox2{
   display: inline;
   margin: 0px 0px 15px 0px;
   cursor: pointer;

   &__text2{
      // стиль текста
      display: inline-flex;
      align-items: center;
      position: relative;
      font-size: 16px;
      color: black;
      letter-spacing: -0.3px;
      line-height: calc(20 / 16);
      cursor: pointer;
      margin-top:-40px;
      margin-bottom: 10px;
   }

   &__input2{
      // скрытие компонента checkbox2
      position: absolute;
      visibility: hidden;
      width: 0;
      height: 0;
      opacity: 0;

      // галочка компонента
      &:checked + .checkbox2__text2::after{
         content: '';
         position: absolute;
         left: 4px;
         top: 6px;
         width: 11px;
         height: 11px;
         background-color: #53b5de;
      }

      // контур рамки при выборе элемента
      &:checked + .checkbox2__text2::before{
         border: 2px solid #009AAF;
      }
   }

   // контур рамки без выбора элемента
   &__text2::before{
      content: '';
      align-self: flex-center;
      margin: 2px 15px 0px 0px;
      flex: 1 1 10px;
      top: 0;
      left: 0;
      width: 15px;
      height: 15px;
      border: 2px solid #a7a9ac;
   }

   &:last-child{
      margin: 0px 0px 0px 0px;
   }
}
.checkbox2__input{
   cursor: pointer;
}
*/

/*
   <?PHP 
      // первое изображение для слайдера
      $randImages = readTableToArray("SELECT it_img FROM titems ORDER BY RAND() LIMIT 5");
      $sliderImg = $randImages[0]['it_img'];
   ?>
      <div class="question-block__image">
         <div class="simple-slider">
            <div class="simple-slider__block">
               <div class="simple-slider__block-prev">
               <button id="prev">&#10094;</button>
               </div>
               <div class="simple-slider__block-img">
               <!-- Все изображения слайдера -->
               <img src="img/questions/3U5fpMwZjfpfpZmf1nfptp43MfpAlzJ.jpg" class="slide-image" style="display: block;">
               <img src="img/questions/Pfh501HfpZZnfhfP128Fhp.jpg" class="slide-image" style="display: none;">
               <img src="img/questions/UpFZjfp31JpfhZnfptp43MfpAlzJ.jpg" class="slide-image" style="display: none;">
               </div>
               <div class="simple-slider__block-next">
               <button id="next">&#10095;</button>
               </div>
            </div>
         </div>
      </div>
*/

.simple-slider {
  max-width: 800px;
  margin: auto;
  overflow: hidden;
  z-index: 5;
  margin-bottom: 20px;
}

.simple-slider__block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 100%;
}

.simple-slider__block-next {
  position: relative;
  right: 27px;
}

.simple-slider__block-prev {
  position: relative;
  left: 26px;
}

.simple-slider__block-prev button,
.simple-slider__block-next button {
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 10;
}

.simple-slider__block-img {
  max-width: 100%;
  max-height: 100%;
}

.simple-slider__block-img img {
  width: 100%;
  height: 100%;
}

#prev {
  left: 0;
}

#next {
  right: 0;
}

.message-block {
  width: 100%;
  border: none;
  padding: 14px;
  color: red;
  font-weight: 900;
  border-radius: 8px;
  font-size: 18px;
  margin-bottom: 18px;
  display: none;
}

.adaptive_table {
  width: 100%;
  border-collapse: collapse;
  background-color: #ffffff;
  font-size: 14px;
}

.adaptive_table thead {
  background-color: #4A6B3A;
  color: #ffffff;
}

.adaptive_table thead tr td {
  padding: 10px 12px;
  font-weight: 700;
  border: 1px solid #e0e0e0;
  text-align: center;
}

.adaptive_table tbody tr {
  border-bottom: 1px solid #e0e0e0;
}

.adaptive_table tbody tr:nth-child(even) {
  background-color: #f7f7f7;
}

.adaptive_table tbody tr td {
  padding: 8px 10px;
  border: 1px solid #e0e0e0;
  vertical-align: middle;
}

.adaptive_table tbody tr td input {
  width: 100%;
  border: none;
  background: transparent;
  font: inherit;
  padding: 4px 0;
  text-align: center;
}

.adaptive_table tbody tr td input:disabled {
  color: #555;
}

.popup {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: rgba(235, 237, 241, 0.5);
  top: 0;
  left: 0;
  opacity: 0;
  visibility: hidden;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-transition: all 0.4s ease 0s;
  -o-transition: all 0.4s ease 0s;
  transition: all 0.4s ease 0s;
  z-index: 9999;
}

.popup.open {
  opacity: 1;
  visibility: visible;
}

.popup.open .popup__content {
  opacity: 1;
  -webkit-transform: translate(0px, 0px);
      -ms-transform: translate(0px, 0px);
          transform: translate(0px, 0px);
}

.popup__body {
  min-height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 0px 0px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.popup__content {
  background-color: #FFFFFF;
  display: block;
  margin-left: auto;
  margin-right: auto;
  height: auto;
  min-width: 300px;
  padding: 24px;
  border-radius: 16px;
  -webkit-box-shadow: 0px 3px 10px 1px rgba(0, 0, 0, 0.1);
          box-shadow: 0px 3px 10px 1px rgba(0, 0, 0, 0.1);
  position: relative;
}

.popup__content ul li {
  margin-bottom: 14px;
}

.popup__close {
  background: url("../img/icon/close.png") 0 0 no-repeat;
  position: absolute;
  cursor: pointer;
  width: 20px;
  height: 20px;
  right: 20px;
  top: 20px;
}

.popup__close:hover {
  background: url("../img/icon/close_hover.png") 0 0 no-repeat;
}

.popup__text {
  border: 1px solid red;
}

.popup__title {
  font-family: Proxima Nova;
  font-size: 24px;
  font-weight: 700;
  line-height: 30px;
  letter-spacing: 0em;
  text-align: center;
  margin-bottom: 20px;
  margin-top: 25px;
}

.popup__info {
  margin-bottom: 40px;
  margin-top: 40px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.popup__textblock {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-left: 10px;
  margin-right: 10px;
}

.popup__textblock img {
  width: 75px;
  min-width: 60px;
}

.popup__info-fields {
  width: 137px;
  height: 176px;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0em;
  color: #262C40;
  margin-right: 40px;
}

.popup__info-data {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0em;
  text-align: left;
  color: #8189A3;
}

.popup__description h2 {
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0em;
  color: #262C40;
  margin-bottom: 12px;
}

.popup__description p {
  font-size: 16px;
  font-weight: 400;
  line-height: 18px;
  letter-spacing: 0em;
  text-align: left;
  color: #8189A3;
}

.popup__btn {
  margin-top: 30px;
}

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

body.lock {
  overflow: hidden;
}

.question-block {
  max-width: 800px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 50px;
  display: none;
  background-color: #ffffff;
  padding: 20px 30px;
  -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
          box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.question-block__timer {
  -webkit-box-align: right;
      -ms-flex-align: right;
          align-items: right;
  text-align: right;
  margin-bottom: 20px;
  font-weight: 900;
  font-size: 18px;
}

.question-block__timer p {
  margin-top: 10px;
}

.question-block__question-title {
  text-align: center;
  font-size: 20px;
  margin-top: 30px;
  margin-bottom: 30px;
}

.question-block__question-img {
  margin-top: 10px;
  margin-bottom: 5px;
}

.question-block__question-answers ul li {
  margin-bottom: 5px;
  background-color: #3b58af;
  padding: 10px;
}

.question-block__question-answers ul li input {
  margin-right: 20px;
}

.question-block__question-answers ul li label,
.question-block__question-answers ul li input {
  font-weight: 900;
  color: white;
  cursor: pointer;
  font-size: 16px;
}

.question-block__question-answers ul li:hover {
  background-color: #2a428b;
}

.question-block__button {
  margin-top: 30px;
}

.answer-block__row ul li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.answer-block__row ul li input {
  margin-right: 10px;
}

.activate_rigth-answer ul li {
  background-color: #1f8f3a;
}

.activate_wrong-answer ul li {
  background-color: #c0392b;
}

.testing-block {
  max-width: 800px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 50px;
  background-color: #ffffff;
  padding: 20px 30px;
  -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
          box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.testing-block__title h1 {
  font-size: 20px;
  text-align: center;
  margin-bottom: 30px;
}

.testing-block__text {
  text-align: justify;
  font-size: 18px;
  margin-bottom: 30px;
}

.testing-block__list {
  margin-bottom: 10px;
}

.testing-block__list-title {
  color: #494949;
  font-weight: 900;
  font-size: 20px;
}

.result-block {
  display: none;
  width: 360px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 50px;
  background-color: white;
  border-radius: 15px;
  -webkit-box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
          box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 30px 15px;
}

.result-block h1 {
  font-size: 24px;
  margin-bottom: 20px;
  text-align: center;
}

.result-block h2 {
  font-weight: 900;
  font-size: 25px;
  text-align: center;
  margin-top: 30px;
  margin-bottom: 30px;
}

.result-block p span {
  font-weight: 900;
  font-size: 18px;
  text-align: center;
  margin-top: 15px;
}

.constructor-block {
  max-width: 800px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 50px;
  background-color: #ffffff;
  padding: 20px 30px;
  -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
          box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.constructor-block__title h1 {
  font-size: 20px;
  text-align: center;
  margin-bottom: 30px;
}

.constructor-block__test {
  margin-bottom: 30px;
}

.constructor-block__test input {
  width: 150px;
  margin-left: 5px;
}

.constructor-block__questionList {
  margin-bottom: 35px;
  margin-top: 10px;
}

.constructor-block__questionList p {
  font-size: 20px;
  color: #4b4b4b;
}

.constructor-block__img {
  margin-bottom: 5px;
}

.constructor-block__img img {
  border: 1px solid #b0b0b0;
}

.constructor-block__bimg {
  margin-bottom: 5px;
}

.constructor-block__points {
  margin-bottom: 10px;
}

.constructor-block__points input {
  font-weight: 100;
  font-size: 14px;
}

.constructor-block__question {
  margin-bottom: 10px;
}

.constructor-block__answers {
  width: auto;
}

.constructor-block__question-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-bottom: 10px;
}

.constructor-block__question-item textarea {
  margin-right: 8px;
  height: 52px;
  font-size: 14px;
}

.constructor-block__question-item input {
  height: 20px;
  width: 20px;
  cursor: pointer;
}

.constructor-block__btns input {
  margin-left: 10px;
}

.constructor-block__btns input:first-child {
  margin-left: 0px;
}

.topic-block__title {
  font-size: 20px;
  color: #4b4b4b;
}

.topic-block__list {
  margin-bottom: 5px;
}

.edit-data {
  max-width: 800px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 50px;
  background-color: #ffffff;
  padding: 20px 30px;
  -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
          box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.edit-data h1 {
  font-size: 20px;
  text-align: center;
  margin-bottom: 30px;
}

.msg-edititem {
  min-height: 26px;
  color: #9c0101;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 14px;
  padding-left: 2px;
  text-align: center;
}

.block-edit__row {
  margin-bottom: 5px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.block-edit__row-col {
  width: 50%;
}

.block-edit__row-col:nth-child(2) {
  margin-left: 5px;
}

.edit-change {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.edit-change__id {
  min-width: 200px;
  width: 85%;
  margin-right: 5px;
}

.edit-change__state {
  min-width: 150px;
}

/*
.filter-statistic {
max-width: 500px;
width: 100%;
margin-left: auto;
margin-right: auto;
margin-top: 50px;
background-color: #ffffff;
padding: 20px 30px;
box-shadow: 0 0 10px rgba(0,0,0,0.1);
margin-bottom: 15px;

&__fields {
   input{
      margin-bottom: 5px;
   }
}
}
.inputfield {
}
.btn {
}
*/

.statistic-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
}

.title-h1 {
  font-size: 28px;
  text-align: center;
  color: #1a2a1c;
  margin-bottom: 30px;
}

.export-buttons {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  gap: 15px;
  margin-bottom: 30px;
}

.btn-export {
  background: #1a2a1c;
  color: white;
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  -webkit-transition: all 0.2s;
  -o-transition: all 0.2s;
  transition: all 0.2s;
}

.btn-export:hover {
  background: #3a5a2a;
  -webkit-transform: translateY(-2px);
      -ms-transform: translateY(-2px);
          transform: translateY(-2px);
}

.stats-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.stat-card {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  -webkit-box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
          box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  -webkit-transition: -webkit-transform 0.2s;
  transition: -webkit-transform 0.2s;
  -o-transition: transform 0.2s;
  transition: transform 0.2s;
  transition: transform 0.2s, -webkit-transform 0.2s;
}

.stat-card:hover {
  -webkit-transform: translateY(-3px);
      -ms-transform: translateY(-3px);
          transform: translateY(-3px);
}

.stat-card__icon {
  font-size: 20px;
  margin-bottom: 10px;
}

.stat-card__value {
  font-size: 32px;
  font-weight: 800;
  color: #3a5a2a;
}

.stat-card__label {
  font-size: 14px;
  color: #666;
  margin-top: 8px;
}

.charts-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.chart-box {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  -webkit-box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
          box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.chart-title {
  font-size: 18px;
  font-weight: 700;
  color: #1a2a1c;
  margin-bottom: 20px;
  text-align: center;
}

.chart-legend {
  margin-top: 15px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 10px;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.legend-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
  font-size: 12px;
}

.legend-color {
  width: 12px;
  height: 12px;
  border-radius: 3px;
}

.empty-chart {
  text-align: center;
  padding: 40px;
  color: #888;
}

.stats-table-section {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 30px;
  -webkit-box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
          box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.section-title {
  font-size: 20px;
  font-weight: 700;
  color: #1a2a1c;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #c9a64b;
}

.table-wrapper {
  overflow-x: auto;
}

.stats-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.stats-table th,
.stats-table td {
  padding: 12px 10px;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
}

.stats-table th {
  background: #f0ede5;
  font-weight: 700;
  color: #1a2a1c;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
}

.stats-table tr:hover {
  background: #f5f5f5;
}

.stats-table .topic-name,
.stats-table .student-name {
  font-weight: 600;
  color: #3a5a2a;
}

.progress-mini {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
  min-width: 80px;
}

.progress-mini__bar {
  height: 6px;
  background: #4caf50;
  border-radius: 3px;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}

.progress-mini__text {
  font-size: 12px;
  font-weight: 600;
  min-width: 40px;
}

.status-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.status-active {
  background: #4caf50;
  color: white;
}

.status-inactive {
  background: #999;
  color: white;
}

.status-blocked {
  background: #f44336;
  color: white;
}

/* Карточка пользователя */

.user-card {
  background: #fff;
  border-radius: 20px;
  -webkit-box-shadow: 0 5px 20px rgba(26, 42, 28, 0.1);
          box-shadow: 0 5px 20px rgba(26, 42, 28, 0.1);
  overflow: hidden;
  margin-bottom: 30px;
}

.user-card__header {
  background: #1a2a1c;
  padding: 30px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 30px;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border-bottom: 3px solid #c9a64b;
}

.user-card__avatar {
  -ms-flex-negative: 0;
      flex-shrink: 0;
}

.user-card__avatar img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  border: 3px solid #c9a64b;
  background: #f0ede5;
}

.user-card__info {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}

.user-card__name {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 15px;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  margin-bottom: 10px;
  line-height: 30px;
}

.user-card__name h1 {
  font-size: 28px;
  color: #f5f0e6;
  margin: 0;
}

.status-indicator {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 20px;
}

.status-indicator.online {
  background: rgba(80, 180, 80, 0.2);
  color: #6fbf6f;
}

.status-indicator.online::before {
  content: "";
  width: 10px;
  height: 10px;
  background: #4caf50;
  border-radius: 50%;
  display: inline-block;
  -webkit-box-shadow: 0 0 5px #4caf50;
          box-shadow: 0 0 5px #4caf50;
}

.status-indicator.offline {
  background: rgba(120, 120, 120, 0.2);
  color: #999;
}

.status-indicator.offline::before {
  content: "";
  width: 10px;
  height: 10px;
  background: #888;
  border-radius: 50%;
  display: inline-block;
}

.user-card__details {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 20px;
  margin-top: 15px;
}

.detail-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #b0b5a8;
}

.detail-item img {
  width: 18px;
  opacity: 0.7;
}

.user-card__actions {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 12px;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.btn {
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  -webkit-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
  border: none;
  text-decoration: none;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
}

.btn-primary {
  background: #3a5a2a;
  color: #f5f0e6;
}

.btn-primary:hover {
  background: #2a4020;
  -webkit-transform: translateY(-2px);
      -ms-transform: translateY(-2px);
          transform: translateY(-2px);
}

.btn-danger {
  background: #8b3a3a;
  color: #f5f0e6;
}

.btn-danger:hover {
  background: #6b2a2a;
}

.btn-secondary {
  background: #555;
  color: #f5f0e6;
}

.btn-secondary:hover {
  background: #444;
}

/* Секции статистики */

.stats-section {
  background: #fff;
  border-radius: 20px;
  padding: 25px;
  margin-bottom: 30px;
  -webkit-box-shadow: 0 5px 20px rgba(26, 42, 28, 0.1);
          box-shadow: 0 5px 20px rgba(26, 42, 28, 0.1);
}

.stats-section__title {
  font-size: 20px;
  font-weight: 700;
  color: #1a2a1c;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #c9a64b;
  display: inline-block;
}

/* Общая статистика (карточки) */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.stat-card {
  background: #f5f2e8;
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  -webkit-transition: -webkit-transform 0.2s;
  transition: -webkit-transform 0.2s;
  -o-transition: transform 0.2s;
  transition: transform 0.2s;
  transition: transform 0.2s, -webkit-transform 0.2s;
}

.stat-card:hover {
  -webkit-transform: translateY(-3px);
      -ms-transform: translateY(-3px);
          transform: translateY(-3px);
}

.stat-card__value {
  font-size: 32px;
  font-weight: 800;
  color: #3a5a2a;
}

.stat-card__label {
  font-size: 13px;
  color: #666;
  margin-top: 5px;
}

/* Таблица тем */

.topics-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}

.topics-table th,
.topics-table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #e0ddd5;
}

.topics-table th {
  background: #f0ede5;
  font-weight: 700;
  color: #1a2a1c;
}

.topics-table tr:hover {
  background: #f5f2e8;
}

.passed-badge {
  background: #4caf50;
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  display: inline-block;
}

.failed-badge {
  background: #8b3a3a;
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  display: inline-block;
}

/* Список попыток */

.attempts-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 12px;
}

.attempt-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  padding: 15px;
  background: #f5f2e8;
  border-radius: 12px;
  -webkit-transition: all 0.2s;
  -o-transition: all 0.2s;
  transition: all 0.2s;
}

.attempt-item:hover {
  background: #e8e4d8;
}

.attempt-info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 20px;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: baseline;
      -ms-flex-align: baseline;
          align-items: baseline;
}

.attempt-topic {
  font-weight: 700;
  color: #1a2a1c;
}

.attempt-date {
  font-size: 12px;
  color: #888;
}

.attempt-score {
  font-weight: 700;
}

.attempt-score.passed {
  color: #4caf50;
}

.attempt-score.failed {
  color: #8b3a3a;
}

.attempt-number {
  font-size: 12px;
  color: #666;
  background: #e0ddd5;
  padding: 2px 8px;
  border-radius: 20px;
}

.back-link {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
  color: #518b33;
  text-decoration: none;
  margin-bottom: 20px;
  font-weight: 500;
  font-size: 16px;
}

.back-link:hover {
  color: #5ca538;
}

.constructor-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.title-h1 {
  font-size: 28px;
  text-align: center;
  color: #1a2a1c;
  margin-bottom: 30px;
}

.msg-success {
  background: #4caf50;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  text-align: center;
}

.msg-error {
  background: #f44336;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  text-align: center;
}

.material-form {
  background: #fff;
  border-radius: 16px;
  padding: 25px;
  margin-bottom: 40px;
  -webkit-box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
          box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.form-title {
  font-size: 20px;
  color: #1a2a1c;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #c9a64b;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
}

.form-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group.half {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  margin-bottom: 0;
}

.file-input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #f9f9f9;
}

.form-hint {
  display: block;
  font-size: 12px;
  color: #888;
  margin-top: 5px;
}

.form-buttons {
  margin-top: 20px;
  text-align: right;
}

.btn-primary {
  background: #3a5a2a;
  color: white;
  padding: 10px 30px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  -webkit-transition: all 0.2s;
  -o-transition: all 0.2s;
  transition: all 0.2s;
}

.btn-primary:hover {
  background: #2a4020;
  -webkit-transform: translateY(-2px);
      -ms-transform: translateY(-2px);
          transform: translateY(-2px);
}

.btn-danger-small {
  background: #8b3a3a;
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  -webkit-transition: all 0.2s;
  -o-transition: all 0.2s;
  transition: all 0.2s;
}

.btn-danger-small:hover {
  background: #6b2a2a;
}

.materials-list {
  background: #fff;
  border-radius: 16px;
  padding: 25px;
  -webkit-box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
          box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.material-card {
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  overflow: hidden;
  -webkit-transition: all 0.2s;
  -o-transition: all 0.2s;
  transition: all 0.2s;
  background: #fafafa;
}

.material-card:hover {
  -webkit-transform: translateY(-3px);
      -ms-transform: translateY(-3px);
          transform: translateY(-3px);
  -webkit-box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
          box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.material-card__header {
  padding: 15px;
  background: #f0ede5;
  border-bottom: 1px solid #e0e0e0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 10px;
}

.material-title {
  font-size: 16px;
  font-weight: 700;
  color: #1a2a1c;
  margin: 0;
}

.material-topic {
  font-size: 12px;
  color: #3b2b00;
  background: rgba(201, 166, 75, 0.1);
  padding: 4px 10px;
  border-radius: 20px;
}

.material-card__body {
  padding: 15px;
}

.material-description {
  font-size: 13px;
  color: #555;
  line-height: 1.5;
  margin-bottom: 15px;
}

.material-links {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 12px;
}

.material-link {
  font-size: 13px;
  color: #3a5a2a;
  text-decoration: none;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 5px;
}

.material-link:hover {
  text-decoration: underline;
  color: #2a4020;
}

.material-card__footer {
  padding: 12px 15px;
  background: #f5f2e8;
  border-top: 1px solid #e0e0e0;
  text-align: right;
}

.empty-msg {
  text-align: center;
  padding: 40px;
  color: #888;
}

.materials-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.title-h1 {
  font-size: 28px;
  text-align: center;
  color: #1a2a1c;
  margin-bottom: 30px;
}

.empty-materials {
  text-align: center;
  padding: 60px 20px;
  background: #fff;
  border-radius: 16px;
  -webkit-box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
          box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.empty-materials p {
  margin-bottom: 15px;
  color: #666;
}

.empty-materials .btn-primary {
  display: inline-block;
  margin-top: 10px;
}

.topic-section {
  background: #fff;
  border-radius: 16px;
  margin-bottom: 30px;
  overflow: hidden;
  -webkit-box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
          box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.topic-section__header {
  background: #f0ede5;
  padding: 20px 25px;
  border-bottom: 2px solid #c9a64b;
}

.topic-title {
  font-size: 22px;
  font-weight: 700;
  color: #1a2a1c;
  margin-bottom: 8px;
}

.topic-title .topic-order {
  color: #c9a64b;
  margin-right: 10px;
}

.topic-description {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 20px;
  padding: 25px;
}

.material-card {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 15px;
  padding: 20px;
  background: #fafafa;
  border-radius: 12px;
  -webkit-transition: all 0.2s;
  -o-transition: all 0.2s;
  transition: all 0.2s;
  border: 1px solid #e0e0e0;
}

.material-card:hover {
  -webkit-transform: translateY(-3px);
      -ms-transform: translateY(-3px);
          transform: translateY(-3px);
  -webkit-box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
          box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  border-color: #c9a64b;
}

.material-card__icon {
  font-size: 32px;
  min-width: 50px;
  text-align: center;
}

.material-card__content {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}

.material-title {
  font-size: 18px;
  font-weight: 700;
  color: #1a2a1c;
  margin-bottom: 8px;
}

.material-description {
  font-size: 13px;
  color: #666;
  line-height: 1.4;
  margin-bottom: 12px;
}

.material-links {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

.material-link {
  font-size: 13px;
  color: #3a5a2a;
  text-decoration: none;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 5px;
  padding: 5px 10px;
  background: #e8e8e8;
  border-radius: 20px;
  -webkit-transition: all 0.2s;
  -o-transition: all 0.2s;
  transition: all 0.2s;
}

.material-link:hover {
  background: #3a5a2a;
  color: white;
}

.video-link {
  background: #c9a64b;
  color: white;
}

.video-link:hover {
  background: #a8883a;
}

.progress-section {
  background: #fff;
  border-radius: 16px;
  padding: 25px;
  margin-top: 20px;
  text-align: center;
  -webkit-box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
          box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.progress-title {
  font-size: 18px;
  font-weight: 700;
  color: #1a2a1c;
  margin-bottom: 20px;
}

.progress-bar-container {
  width: 100%;
  height: 12px;
  background: #e0e0e0;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 15px;
}

.progress-bar {
  height: 100%;
  background: #3a5a2a;
  border-radius: 6px;
  -webkit-transition: width 0.5s ease;
  -o-transition: width 0.5s ease;
  transition: width 0.5s ease;
}

.progress-text {
  font-size: 14px;
  color: #666;
}

:root {
  --primary-dark: #013318;
  --primary-green: #013318;
  --primary-green-dark: #013318;
  --primary-green-light: #6b8f4a;
  --bg-light: #2a4736;
  --border-color: #8baa6e;
  --shadow-color: rgba(26, 42, 28, 0.12);
  --text-dark: #222222;
  --text-light: #f5f0e6;
  --accent-gold: #c9a64b;
  --accent-gold-dark: #a8883a;
  --card-bg: #ffffff;
  --nav-hover: #7a9f56;
}

body {
  background-color: var(--bg-light);
  background-repeat: repeat;
  background-size: 40px;
}

html {
  scroll-behavior: smooth;
}

.wrapper {
  min-height: 1000px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.page {
  font-family: Formular;
  -webkit-box-flex: 1;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
  min-height: 500px;
  height: auto;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  padding-top: 15px;
  padding-bottom: 15px;
}

.page > h1 {
  font-size: 24px;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 40px;
}

h1 {
  color: #C9A638;
}

.title-h1 {
  color: #C9A638;
  font-size: 2rem;
  font-weight: 700;
  font-family: "Poppins", sans-serif;
  margin: 20px 0 24px 0;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 32px;
}

@media (min-width: 650px) {
  .constructor-block__test {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }

  .constructor-block__btns {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
}

@media (max-width: 900px) {
  .header__container {
    padding: 12px 16px;
  }

  .header__nav {
    display: none;
  }

  .header__actions {
    display: none;
  }

  .header__burger {
    display: block;
  }

  .footer__top {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 30px;
  }
}

@media (max-width: 805px) {
  .block-edit .time-questions {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }

  .block-edit__row-col {
    width: 100%;
  }

  .block-edit__row-col:nth-child(2) {
    margin-top: 5px;
    margin-left: 0px;
  }
}

@media (max-width: 800px) {
  .statistic-container {
    padding: 15px;
  }

  .stats-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .charts-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .stats-table th,
  .stats-table td {
    padding: 8px 6px;
    font-size: 12px;
  }

  .export-buttons {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
}

@media (max-width: 780px) {
  .icon-burger {
    margin-top: auto;
    margin-bottom: auto;
    margin-left: 20px;
    -webkit-box-flex: 0;
        -ms-flex: 0 0 36px;
            flex: 0 0 36px;
    width: 36px;
    height: 20px;
    background-color: transparent;
    position: relative;
    cursor: pointer;
    z-index: 999999;
  }

  .icon-burger span {
    -webkit-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    top: calc(50% - 1px);
    left: 0px;
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #000000;
  }

  .icon-burger span:first-child {
    top: 0px;
    -webkit-transform-origin: left center;
        -ms-transform-origin: left center;
            transform-origin: left center;
  }

  .icon-burger span:nth-child(2) {
    -webkit-transform-origin: left center;
        -ms-transform-origin: left center;
            transform-origin: left center;
  }

  .icon-burger span:last-child {
    top: auto;
    bottom: 0px;
    -webkit-transform-origin: left center;
        -ms-transform-origin: left center;
            transform-origin: left center;
  }

  ._activate-burger span {
    background-color: #333;
  }

  ._activate-burger span:first-child {
    -webkit-transform: rotate(35deg) translate(1px, -2px);
        -ms-transform: rotate(35deg) translate(1px, -2px);
            transform: rotate(35deg) translate(1px, -2px);
    width: calc(100% - 1px);
  }

  ._activate-burger span:nth-child(2) {
    width: 0;
    opacity: 0;
  }

  ._activate-burger span:last-child {
    -webkit-transform: rotate(-35deg) translate(1px, 2px);
        -ms-transform: rotate(-35deg) translate(1px, 2px);
            transform: rotate(-35deg) translate(1px, 2px);
    width: calc(100% - 1px);
  }
}

@media (max-width: 768px) {
  .adaptive_table thead {
    display: none;
  }

  .adaptive_table tbody tr {
    display: block;
    margin-bottom: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #ffffff;
  }

  .adaptive_table tbody tr td {
    display: block;
    width: 100%;
    border: none;
    border-bottom: 1px solid #eee;
    padding: 6px 10px 6px 120px;
    position: relative;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
  }

  .adaptive_table tbody tr td:last-child {
    border-bottom: none;
  }

  .adaptive_table tbody tr td::before {
    content: attr(data-label);
    position: absolute;
    left: 10px;
    top: 6px;
    width: 100px;
    font-weight: 700;
    font-size: 12px;
    color: #555;
    white-space: normal;
  }

  .adaptive_table tbody tr td input {
    padding: 0;
    text-align: center;
  }
}

@media (max-width: 700px) {
  .welcome-block {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    text-align: center;
    padding: 30px;
  }

  .footer__middle {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    text-align: center;
  }

  .user-card__header {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    text-align: center;
  }

  .user-card__details {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }

  .topics-table {
    font-size: 13px;
  }

  .topics-table th,
  .topics-table td {
    padding: 8px 10px;
  }

  .attempt-info {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 5px;
  }

  .constructor-container {
    padding: 15px;
  }

  .form-row {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 15px;
  }

  .form-group.half {
    margin-bottom: 15px;
  }

  .materials-grid {
    grid-template-columns: 1fr;
  }

  .material-card__header {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
  }

  .materials-container {
    padding: 15px;
  }

  .materials-grid {
    grid-template-columns: 1fr;
    padding: 15px;
  }

  .topic-section__header {
    padding: 15px;
  }

  .topic-title {
    font-size: 18px;
  }

  .material-card {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    text-align: center;
  }

  .material-links {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
}

@media (max-width: 650px) {
  .constructor-block__test input {
    margin-top: 8px;
    width: 100%;
    margin-left: 0px;
  }

  .constructor-block__btns input {
    margin-left: 0px;
    margin-bottom: 5px;
  }
}

@media (max-width: 600px) {
  .header__title {
    font-size: 14px;
  }

  .header__subtitle {
    font-size: 9px;
  }

  .welcome-title {
    font-size: 24px;
  }

  .home-container {
    padding: 15px;
  }

  .welcome-block {
    padding: 25px;
  }

  .welcome-title {
    font-size: 22px;
  }

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

  .progress-stats {
    gap: 25px;
  }

  .stat-value {
    font-size: 28px;
  }

  .courses-grid,
  .features-grid {
    gap: 15px;
  }

  .course-card,
  .feature-card {
    padding: 18px;
  }

  .footer__nav {
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
  }

  .footer__bottom {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    text-align: center;
  }

  .btn {
    padding: 8px 18px;
    font-size: 13px;
  }

  .edit-data {
    padding: 20px 10px;
  }

  .page {
    width: 95%;
  }
}

@media (max-width: 500px) {
  .header__logo img {
    width: 45px;
  }

  .registration-container {
    max-width: 98vw;
    padding: 12px 4vw;
  }

  .registration-container h1 {
    font-size: 1.5rem;
  }

  .block-submit .btn-reg,
  .regform-item__field input {
    max-width: 96vw;
    font-size: 17px;
  }

  .footer__contacts {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 12px !important;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }

  .question-block {
    padding: 20px 10px;
  }

  .stats-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 450px) {
  .constructor-block {
    padding: 20px 10px;
  }
}