label {
    font-size: 14px;
    margin-bottom: 14px;
    user-select: none;
  }

  label input[type="checkbox"] {
    margin-right: 8px;
  }

  p.pd-note,
  p.consent-text {
    font-size: 12px;
    color: #666;
    margin-top: 8px !important;
  }

  p.consent-text a {
    color: #007bff;
    text-decoration: underline;
    cursor: pointer;
  }
 
 #privacy-modal ol{
  list-style: none;
 }
  /* Popup */
  #popup {
    display: none;
    position: fixed;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 20px 24px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    max-width: 320px;
    border-radius: 6px;
    z-index: 1000;
  }

  #popup.show {
    display: block;
  }

  #popup h3 {
    margin-top: 0;
  }

  /* Cookie banner */
  #cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #f2f2f2;
    padding: 12px 20px;
    text-align: center;
    font-size: 12px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);

    z-index: 9999;
  }

  #cookie-banner button {
    margin-left: 12px;
    padding: 6px 14px;
    font-size: 12px;
    cursor: pointer;
  }

  /* Loader */
  #loader {
    display: none;
    margin-top: 10px;
    font-size: 14px;
    color: #007bff;
  }

  /* Responsive */
  @media (max-width: 520px) {
    .tab-content {
      max-width: 100%;
      padding: 16px 12px;
    }


  }

  /* Modal windows */
  .newmodal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }

  .newmodal[hidden] {
    display: none;
  }

  .modal-content {
    max-width: 480px;
    padding: 20px 24px;
    margin: 0 12px;
    box-sizing: border-box;
    font-size: 15px;
    line-height: 1.4;
    /* чуть меньше, чем стандартный 1.5, компактно и читаемо */
    word-wrap: break-word;
  }

  .modal-close {
    margin-top: 16px;
    padding: 8px 16px;
    background: #007bff;
    border: none;
    color: white;
    border-radius: 4px;
    cursor: pointer;
  }

  .modal-close:hover {
    background: #0056b3;
  }

  .form__checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    text-align: left !important;
    font-size: 13px !important;
    line-height: 1.4;
    margin-top: 15px !important;
  }

  .form__checkbox input {
    margin-right: 8px;
    margin-top: 2px !important;
  }

  /* Модальное окно */
  .newmodal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
    backdrop-filter: blur(2px);
  }

  .newmodal[hidden] {
    display: none;
  }

  .modal-content {
    max-width: 480px;
    max-height: 70vh;
    /* Ограничиваем высоту модального окна 70% высоты экрана */
    padding: 20px 24px;
    margin: 0 12px;
    box-sizing: border-box;
    font-size: 15px;
    line-height: 1.4;
    overflow-y: auto;
    /* Включаем вертикальный скролл при переполнении */
    word-wrap: break-word;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  }

  .modal-content h3 {
    margin-top: 0;
    font-size: 1.3rem;
    font-weight: 600;
  }

  .modal-content label {
    display: block;
    font-size: 14px;
    margin: 12px 0;
    line-height: 1.5;
    font-weight: 400 !important;
  }

  .cb-con label,
  .api-form1 label {
    font-weight: 400 !important;
  }

  .modal-content input[type="checkbox"] {
    margin-right: 8px;
    transform: scale(1.1);
  }

  .modal-content a {
    color: #007bff;
    text-decoration: underline;
  }

  .modal-content a:hover {
    text-decoration: none;
  }

  .modal-content button {
    padding: 8px 16px;
    margin-top: 10px;
    font-size: 14px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
  }

  #popup-confirm {
    background-color: #28a745;
    color: white;
  }

  #popup-confirm:disabled {
    background-color: #ccc;
    cursor: not-allowed;
  }

  #popup-cancel {
    background-color: #ddd;
    color: #333;
    margin-left: 10px;
  }

  /* Анимация появления */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @media (max-width: 480px) {
    .modal-content {
      padding: 18px 16px;
      font-size: 14px;
    }

    .modal-content button {
      width: 100%;
      margin-bottom: 8px;
    }

    #popup-cancel123 {
      margin-left: 0;
    }
  }

  #privacy-modal ol>li,
  #oferta-modal ol>li {
    font-weight: 800;
    font-size: 20px;
  }

  h2>strong {
    font-weight: 800;
    font-size: 20px;
  }