body {
    background: #f4f4f4;
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    color: rgb(6, 104, 52);
}

a {
    all: unset;
    cursor: pointer;
}

.links-a {
    font-weight: 600;
}

.container {
    background: #fff;
    padding: 30px 40px;
    max-width: 600px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}


input:focus,
textarea:focus {
    border-image: none;
    border-color: #47AE77 !important;
    outline: none;
}

.tab-menu {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

.tab-menu li {
    padding: 10px 15px;
    cursor: pointer;
    font-weight: bold;
    color: rgb(6, 104, 52);
    border-bottom: 3px solid transparent;
}

.tab-menu li.current {
    border-bottom: 3px solid #EEA10D;
    color: rgb(6, 104, 52);
}

.step {
    display: none;
}

.step.active {
    display: block;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    color: rgb(6, 104, 52);
}

input,
select,
textarea {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 5px;
    border-image-source: linear-gradient(90deg, #CDF6DA 0%, #47AE77 100%);
    border-image-slice: 1;
}

.inline {
    display: inline-block;
    margin-right: 10px;
}

/* Кастомизация радио-кнопок */
/* Скрываем стандартный вид радио */
input[type="radio"] {
    display: none;
}

/* Стилизация метки для радио */
.radio-label {
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    user-select: none;
    display: inline-block;
}

/* Псевдоэлемент – квадрат для радио */
.radio-label::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 3px;
    background: #fff;
}

/* При выборе радио отображается галочка */
input[type="radio"]:checked+.radio-label::before {
    content: "\2713";
    color: rgb(6, 104, 52);
    font-size: 18px;
    text-align: center;
    line-height: 20px;
    border-color: #EEA10D;
}

/* Кастомизация чекбоксов */
/* Скрываем стандартный вид чекбокса */
input[type="checkbox"] {
    display: none;
}

/* Стилизация метки для чекбокса */
.checkbox-label {
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    user-select: none;
    display: inline-block;
}

/* Псевдоэлемент – квадрат для чекбокса */
.checkbox-label::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 3px;
    background: #fff;
}

/* При выборе чекбокса отображается галочка */
input[type="checkbox"]:checked+.checkbox-label::before {
    content: "\2713";
    color: #EEA10D;
    font-size: 18px;
    text-align: center;
    line-height: 20px;
    border-color: #EEA10D;
}

fieldset {
    border-image-source: linear-gradient(90deg, #CDF6DA 0%, #47AE77 100%);
    border-image-slice: 1;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 20px;
}

legend {
    font-weight: bold;
    padding: 0 5px;
}

.buttons {
    margin-top: 20px;
    text-align: center;
}

.buttons button {
    padding: 10px 20px;
    margin: 5px;
    border: none;
    border-radius: 4px;
    background: #EEA10D;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
}

.buttons button:hover {
    background: #CDF6DA;
    color: rgb(6, 104, 52);
}

h2 {
    text-align: center;
    color: rgb(6, 104, 52);
}

/* Расположение inline-элементов: input справа, label слева */
.form-group.inline {
    display: flex;
    align-items: center;
}

.form-group.inline label {
    margin-right: 10px;
}




/* Обновлённый стиль для кастомных радио-кнопок с галочкой слева */
.radio-label {
    position: relative;
    padding-left: 30px;
    /* пространство для псевдоэлемента радио */
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
}

.radio-label::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 3px;
    background: #fff;
}


/* Стили для квадратов с цветом, отображаемых справа */
.color-box {
    width: 20px;
    height: 20px;
    border: 1px solid #ccc;
    border-radius: 3px;
    display: inline-block;
    margin-left: 10px;
}

.radio-label img {
    width: 20px;
    height: 20px;
    margin-left: 20px;
}












#imagePreviewContainer img {
    width: 100px;
    height: 100px;
    margin: 5px;
    border: 1px solid #ccc;
}

.image-wrapper {
    display: inline-block;
    position: relative;
    margin: 5px;
}

.image-wrapper img {
    width: 100px;
    height: auto;
    border: 1px solid #ccc;
}

.delete-btn {
    position: absolute;
    top: 0;
    right: 0;
    border: none;
    background-color: rgba(255, 0, 0, 0.7);
    color: white;
    cursor: pointer;
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.delete-btn:hover {
    background-color: red;
}



.add-photo-btn {
    background-color: #4CAF50;
    /* Зеленый фон */
    color: white;
    /* Белый текст */
    border: none;
    /* Убрать рамку */
    padding: 10px 20px;
    /* Подушечки вокруг текста */
    text-align: center;
    /* Центрирование текста */
    text-decoration: none;
    /* Убрать подчеркивание текста */
    display: inline-block;
    /* Сделать кнопку встроенной с возможностью задания ширины и высоты */
    font-size: 16px;
    /* Размер шрифта */
    margin: 4px 2px;
    /* Маржа вокруг кнопки */
    cursor: pointer;
    /* Курсор в виде указателя */
    border-radius: 5px;
    /* Скругленные углы */
    transition-duration: 0.4s;
    /* Продолжительность анимации при наведении */
}

.add-photo-btn:hover {
    background-color: #CDF6DA;
    /* Фон при наведении */
    color: rgb(6, 104, 52);
}

/* Стилизация радио-кнопок (как в предыдущих примерах) */
.radio-label {
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
}

.radio-label::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 3px;
    background: #fff;
}

input[type="radio"]:checked+.radio-label::before {
    content: "\2713";
    color: #EEA10D;
    font-size: 18px;
    text-align: center;
    line-height: 20px;
    border-color: #EEA10D;
}

/* Стили для палитры */
.color-swatch {
    width: 30px;
    height: 30px;
    border: 1px solid #ccc;
    border-radius: 3px;
    cursor: pointer;
    transition: border 0.2s;
}

.color-swatch:hover {
    border: 1px solid #CDF6DA;
}

.form-group.inline {
    display: flex;
    align-items: center;
}

.form-group.inline label {
    margin-right: 10px;
}


.color-palette {
    margin: 20px 0;
}

.palette-group {
    margin-bottom: 20px;
}

.color-palette h4 {
    margin: 10px 0;
    font-size: 16px;
    font-weight: bold;
    transform: rotate(90deg);
    transform-origin: left top;
    display: none;
}

.color-swatch {
    width: 30px;
    height: 30px;
    border: 1px solid #ccc;
    border-radius: 3px;
    cursor: pointer;
    transition: border 0.2s;
    margin: 3px;
}

.color-swatch:hover {
    border: 1px solid #CDF6DA;
}

.color-palette {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}




.color-preview {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-left: 20px;
    vertical-align: middle;
}







@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .container {
        background: #fff;
        padding: 30px 10px;
    }
}
.cookie-banner {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: #CDF6DA;
  color: #012311;
  font-family: "Karla", sans-serif;
  font-size: var(--fs-16);
  line-height: var(--lh-25);
  padding: 20px 30px;
  z-index: 9999;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  display: none;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.cookie-banner p {
  margin: 0;
  flex: 1 1 auto;
}

.cookie-banner a {
  color: #066834;
  text-decoration: underline;
  font-weight: 600;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-buttons button {
  background-color: #EEA10D;
  color: white;
  border: none;
  padding: 10px 20px;
  font-family: "Karla", sans-serif;
  font-size: var(--fs-16);
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.cookie-buttons button:hover {
  background-color: #47AE77;
  color: #fff;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    text-align: center;
  }

  .cookie-buttons {
    justify-content: center;
    width: 100%;
  }
}


.container {
    position: relative;
}

.close-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
    z-index: 10;
    transition: transform 0.2s, stroke 0.3s;
}

.close-icon:hover svg {
    stroke: #EEA10D;
    transform: scale(1.1);
}