.docs {
  border: 1px solid #2db561;
  background: #eaf8f0;
  border-radius: 16px;
  padding: 20px 24px;
  margin-top: 16px;
}
.docs__title {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
  color: #14321f;
}
.docs__lead {
  margin: 0 0 12px;
  font-size: 16px;
}
.docs__list {
  margin: 0;
  padding-left: 20px;
  list-style: disc;
}
.docs__item {
  margin: 6px 0;
  line-height: 1.4;
}
.docs__link {
  color: #1976d2;
  text-decoration: underline;
}

.need_consent {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.need_consent .nc-card {
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
}

.need_consent .nc-title {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 700;
}

.need_consent .nc-list {
  margin: 0 0 20px 1.1em;
  padding: 0;
}
.need_consent .nc-list li {
  margin: 8px 0;
}

/* файл + кнопка */
.need_consent .nc-file {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #f6f8fb;
  border-radius: 14px;
  padding: 16px;
}

.need_consent .nc-file__left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.need_consent .nc-file__icon {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
}
.need_consent .nc-file__meta {
  display: flex;
  flex-direction: column;
}
.need_consent .nc-file__name {
  margin: 0;
  font-weight: 600;
  line-height: 1.2;
}
.need_consent .nc-file__size {
  font-size: 12px;
  color: #6b7280;
  margin-top: 4px;
}

/* кнопка */
.need_consent .nc-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid #2e6ff2;
  border-radius: 12px;
  text-decoration: none;
  color: #2e6ff2;
  font-weight: 600;
  white-space: nowrap;
}
.need_consent .nc-btn:hover {
  background: #edf3ff;
}
.need_consent .nc-btn:focus-visible {
  outline: 2px solid #2e6ff2;
  outline-offset: 2px;
}
.need_consent .nc-btn__icon {
  width: 18px;
  height: 18px;
}

/* адаптив */
@media (max-width: 640px) {
  .need_consent .nc-card {
    padding: 20px;
  }
  .need_consent .nc-file {
    flex-direction: column;
    align-items: stretch;
  }
  .need_consent .nc-btn {
    width: 100%;
    justify-content: center;
  }
}

/* === Receiving dropdown (rcv-) === */
.rcv-dropdown {
  position: relative;
  width: 100%;
  margin-bottom: 20px;
  box-sizing: border-box;
}

.rcv-dropdown-text {
  border: 1px solid #ccc;
  padding: 10px;
  cursor: pointer;
  background-color: #f9f9f9;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 16px;
  user-select: none;
}

.rcv-dropdown-text span {
  color: red;
}

.rcv-dropdown-menu {
  border: 1px solid #ccc;
  max-height: 200px;
  overflow-y: auto;
  position: absolute;
  width: 100%;
  background-color: #fff;
  z-index: 1000;
  display: none; /* Hidden by default */
  top: 100%;
  left: 0;
  box-sizing: border-box;
}

/* Показываем меню, когда JS добавляет .active */
.rcv-dropdown-menu.active {
  display: block; /* Shown when active */
}

.rcv-dropdown-block {
  padding: 10px;
  cursor: pointer;
  box-sizing: border-box;
}

.rcv-dropdown-block:hover {
  background-color: #e9e9e9;
}

/* Внутренний контейнер со скроллом (если используешь .rcv-scroll) */
.rcv-scroll {
  max-height: inherit;
}

.myf-dropdown {
  position: relative;
  width: 300px; /* Adjust as needed */
  margin-bottom: 20px;
}
.myf-dropdown-text {
  border: 1px solid #ccc;
  padding: 10px;
  cursor: pointer;
  background-color: #f9f9f9;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.myf-dropdown-text span {
  color: red;
}
.myf-dropdown-menu {
  border: 1px solid #ccc;
  max-height: 200px;
  overflow-y: auto;
  position: absolute;
  width: 100%;
  background-color: white;
  z-index: 1000;
  display: none; /* Hidden by default */
}
.myf-dropdown-menu.active {
  display: block; /* Shown when active */
}
.myf-dropdown-block {
  padding: 10px;
  cursor: pointer;
}
.myf-dropdown-block:hover {
  background-color: #e9e9e9;
}
.f-group {
  margin-bottom: 15px;
}

.kids-form-info__panel {
  display: flex;
  padding: 30px;
  justify-content: space-between;
  background-color: #f4f6f8;
  border-radius: 24px;
  margin-bottom: 40px;
}

.kids-form-info-image {
  width: 56px;
  height: 56px;
  flex: 0;
}

.kids-form-info-left {
  display: flex;
  gap: 24px;
  flex: 1;
}

.kids-form-info-content {
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
}

.kids-form-info-text {
  margin: 0;
  font-weight: 300;
  font-size: 16px;
  color: #7d8591;
}

.kids-form-info-title {
  font-weight: 500;
  font-size: 20px;
  color: #1f2632;
  margin: 0;
}

.kids-form-info-button {
  background-color: #2f88f0;
  color: #ffffff;
  font-size: 18px;
  font-weight: 400;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px 26px;
  border-radius: 13px;
  height: 56px;
  width: 102px;
}

.kids-form-info-title {
  font-weight: 500;
  font-size: 20px;
  color: #1f2632;
}

/* Выполнен вход через госуслуги */
.kids-form-success__panel {
  display: flex;
  padding: 30px;
  justify-content: flex-start;
  background-color: #e7f8f0;
  border-radius: 24px;
  margin-bottom: 40px;
}

.kids-form-success-image {
  width: 64px;
  height: 64px;
  flex: 0;
}

.kids-form-success-left {
  display: flex;
  gap: 24px;
  flex: 1;
}

.kids-form-success-content {
  display: flex;
  flex-direction: column;
  gap: 7px;
  max-width: 300px;
  flex: 1;
}

.kids-form-success-text {
  margin: 0;
  font-weight: 300;
  font-size: 16px;
  color: #7d8591;
}

.kids-form-success-title {
  font-weight: 500;
  font-size: 20px;
  color: #1f2632;
  margin: 0;
}

.kids-form-success-button {
  background-color: #2f88f0;
  color: #ffffff;
  font-size: 18px;
  font-weight: 400;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px 26px;
  border-radius: 13px;
  height: 56px;
  width: 102px;
}

.kids-form-success-title {
  font-weight: 500;
  font-size: 20px;
  color: #1f2632;
}

/* Ошибка */
.kids-form-error__panel {
  display: flex;
  padding: 30px;
  justify-content: flex-start;
  background-color: #ffebee;
  border-radius: 24px;
  margin-bottom: 40px;
}

.kids-form-error-image {
  width: 64px;
  height: 64px;
  flex: 0;
}

.kids-form-error-left {
  display: flex;
  gap: 24px;
  flex: 1;
}

.kids-form-error-content {
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
}

.kids-form-error-text {
  margin: 0;
  font-weight: 300;
  font-size: 16px;
  color: #7d8591;
}

.kids-form-error-title {
  font-weight: 500;
  font-size: 20px;
  color: #1f2632;
  margin: 0;
}

.kids-form-error-button {
  background-color: #2f88f0;
  color: #ffffff;
  font-size: 18px;
  font-weight: 400;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px 20px;
  border-radius: 13px;
  height: 56px;
  width: 223px;
}

.kids-form-error-title {
  font-weight: 500;
  font-size: 20px;
  color: #1f2632;
}

@media (max-width: 500px) {
  .kids-form-info__panel {
    flex-direction: column;
  }

  .kids-form-info-left {
    flex-direction: column;
  }

  .kids-form-info-content {
    margin-bottom: 20px;
  }

  .kids-form-success__panel {
    flex-direction: column;
  }

  .kids-form-success-left {
    flex-direction: column;
  }

  .kids-form-success-content {
    margin-bottom: 20px;
  }
}

@media (max-width: 650px) {
  .kids-form-error__panel {
    flex-direction: column;
  }

  .kids-form-error-left {
    flex-direction: column;
  }

  .kids-form-error-content {
    margin-bottom: 20px;
  }
}
