/* Контейнер контактов */
.agreement-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin: 0 auto;
  width: 100%;
  max-width: 1920px;
  box-sizing: border-box;
  padding: 30px 20px;
  text-align: left;
}

.agreement-header {
  transition: background-color 0.3s, border-color 0.3s;
  background: linear-gradient(to right, rgba(20,40,60,0.9), rgba(20,30,50,0.9));
  padding: 30px 20px;
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  text-align: left;
}

.agreement-body {
  transition: background-color 0.3s, border-color 0.3s;
  background: linear-gradient(to right, rgba(20,40,60,0.9), rgba(20,30,50,0.9));
  padding: 30px 20px;
  margin: 0 0 20px 0;
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  text-align: left;
  border: 2px dashed #fff;
}


/* Заголовки */
.agreement-header h1 {
  font-size: 2.75rem;
  margin-bottom: 1rem;
  text-align: center;
  color: #00f2fe;
}

.agreement-header  h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #fff;
}

.agreement-header h3 {
  font-size: 1.1em;
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
  margin-bottom: 24px;
  text-align: center;
  font-weight: 600;
}

/* Текст и списки */
.agreement-header p,
.agreement-header ul li {
  font-size: 1rem;
  line-height: 1.7;
}

.agreement-body  a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.agreement-body  h1 {
  font-size: 1.6rem;
  margin: 25px;
  color: #fff;
}

.agreement-body  h2 {
  font-size: 1.3rem;
  margin: 35px 0 25px 0;
  color: #fff;
}

.agreement-body h3 {
  font-size: 1.1em;
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
  margin-bottom: 24px;
  text-align: center;
  font-weight: 600;
}

.agreement-body p {
  font-size: 1rem;
  line-height: 1.9;
  margin: .6rem;
}


.agreement-body ul li {
  font-size: .9rem;
  line-height: 1.9;
  margin: 0 0 0 2.4rem;
}


.agreement-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 20px;
  flex-wrap: nowrap; /* важно — запрещаем перенос */
}

.agreement-block {
  border: 2px dashed #fff;
  text-align: left;
  color: #fff;
  padding: 1em;
  overflow-x: auto;
  margin: 1em 0;
  font-family: Consolas, monospace;
  font-size: small;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}



/*
 */
/* Контейнер табов */
.tabs {
  max-width: 100%;
  margin: 2rem auto;
  font-family: Arial, sans-serif;
  color: #ffffff;
}

/* Секция кнопок табов */
.tab-buttons {
  display: flex;
  gap: 8px;
  margin-bottom: 1rem;
}

/* Кнопка таба */
.tab-buttons button {
  flex: 1;
  border: none;
  padding: 0.75rem 1rem;
  font-weight: bold;
  cursor: pointer;
  border-radius: 8px 8px 0 0;
  transition: background-color 0.3s, border-color 0.3s;
  background: linear-gradient(to right, rgba(20,40,60,0.9), rgba(20,30,50,0.9));
  color: #ffffff;
}

.tab-buttons button:hover {
  background: #b2dfdb;
}

.tab-buttons button.active {
  border: 2px dashed white;
  transition: background-color 0.3s, border-color 0.3s;
  background: linear-gradient(to right, rgba(20,40,60,0.9), rgba(20,30,50,0.9));
  font-weight: 900;
  color: #ffffff;
}

/* Контент табов */
.tab-content {
  transition: background-color 0.3s, border-color 0.3s;
  background: linear-gradient(to right, rgba(20,40,60,0.9), rgba(20,30,50,0.9));
  padding: 30px 20px;
  margin: -10px 0 40px 0;
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  border: 2px dashed #fff;
  color: #ffffff;
}

.tab-content p,
.tab-content ul {
  margin: 0.5rem 0;
}

.tab-content ul {
  padding-left: 1.2rem;
  list-style-type: disc;
}

/* Иконка в заголовке */
.tab-icon {
  vertical-align: middle;
  margin-right: 8px;
  transition: background-color 0.3s, border-color 0.3s;
/*  background: linear-gradient(to right, rgba(20,40,60,0.9), rgba(20,30,50,0.9));*/
  width: 24px;
  height: 24px;
  color: #ffffff;
}



@keyframes fadeInTab {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Адаптив для мобильных */
@media (max-width: 480px) {
  .tab-buttons {
    gap: 10px;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
  }
