body {
    margin: 0;

    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    color: #000;
    -webkit-font-smoothing: antialiased;

    background-color: #d9dccc;
    scroll-behavior: smooth;
}

*,
*:before,
*:after {
    box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
}

p {
    margin: 0 0 10px;
}


/* Container
===================*/
.container {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    padding: 0 15px;
    margin-bottom: 25px;
}

h2 {
    font-weight: normal;
}

.block_logo {
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    top: 30px;
    max-width: 149px;
    height: auto;
}

.block_logo img {
    width: 100%;
}

.block_image {
    height: 150px;
    width: 100%;
    background: #3D412A;
    border-radius: 10px;
    margin-top: 25px;
    position: relative;
}

.block_title {
    min-height: 150px;
    width: 100%;
    background: white;
    border-radius: 10px;
    margin-top: 10px;
    padding: 24px 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.block_title::before {
    content: ''; /* Необходимо для отображения псевдоэлемента */
    display: block; /* Блочный элемент */
    position: absolute; /* Абсолютное позиционирование */
    top: 0; /* Позиция в верхней части блока */
    left: 0; /* Позиция слева */
    width: 100%; /* Полная ширина блока */
    height: 10px; /* Высота коричневой полосы */
    background-color: #91b000; /* Коричневый цвет полосы */
    border-top-left-radius: inherit; /* Наследует скругление слева сверху от .element */
    border-top-right-radius: inherit; /* Наследует скругление справа сверху от .element */
}

.block_title_line::after {
    content: "";
    height: 1px;
    width: 100%;
    display: inline-block;
    background: #d9d9d9;
    position: relative;
    top: -7px;
}

.block_title_text {
    font-size: 12px;
    line-height: 1.3;
    margin-top: 0px;
}

.block_title_text::after {
    content: "";
    height: 1px;
    width: 100%;
    display: inline-block;
    background: #d9d9d9;
    position: relative;
    top: 7px;
}

.block_input {
    border: 2px solid #d9d9d9;
    width: 100%;
    background: white;
    border-radius: 10px;
    margin-top: 10px;
    padding: 24px 20px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
}

h4 {
    font-weight: normal;
    font-size: 16px;
}

.block_input input {
  width: 85%;
  border: none;
  outline: none; 
  border-bottom: 1px dotted #000;
  font-size: 16px;
  padding: 5px 0;
  border-color: #757575;
}

.block_input h4 {
  margin-bottom: 15px;
}

.block_input input:focus {
  border-bottom: 1px dotted #555;
  border-color: #000;
}

input[type="date"]::-webkit-inner-spin-button,
input[type="date"]::-webkit-calendar-picker-indicator {
  color: rgba(0, 0, 0, 0);
}

input[type="date"]::-webkit-input-placeholder {
  color: #757575 !important;
}

input[type="date"]:focus::-webkit-input-placeholder {
  color: #757575;
}

/* Для Firefox */
input[type="date"]::-moz-placeholder {
  color: #757575 !important;
}

input[type="date"]:focus::-moz-placeholder {
  color: #757575;
}

/* Для IE */
input[type="date"]:-ms-input-placeholder {
  color: #757575 !important;
}

input[type="date"]:focus:-ms-input-placeholder {
  color: #757575;
}

.block_input p {
    font-size: 12px;
    margin-top: -10px;
}

/* Скрываем стандартные радио-кнопки */
input[type="radio"] {
  position: absolute;
  opacity: 0;
  z-index: -1;
}

/* Создаем кастомные радио-кнопки */
input[type="radio"] + label {
  position: relative;
  cursor: pointer;
  padding: 0;
  margin-right: 30px; /* Расстояние между кастомными радио-кнопками */
  display: inline-block;
}

/* Стиль для круга */
input[type="radio"] + label:before {
  content: '';
  margin-right: 10px;
  display: inline-block;
  vertical-align: middle;
  width: 20px; /* Размер внешнего круга */
  height: 20px; /* Размер внешнего круга */
  border: 2px solid white; /* Белая граница внешнего круга */
  border-radius: 50%;
  background-color: transparent;
}

/* Стиль для внутреннего круга (когда выбран) */
input[type="radio"]:checked + label:after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: white;
}


/* Можно добавить анимацию для радио-кнопок */
input[type="radio"]:checked + label:before {
  background-color: transparent;
  transition: background-color 0.2s ease;
}

input[type="radio"]:checked + label:after {
  background-color: white;
  transition: background-color 0.2s ease;
}

/* Стиль при наведении */
input[type="radio"] + label:hover:before {
  background-color: rgba(255, 255, 255, 0.5);
}

.custom-radio {
  display: inline-block;
}

.custom-radio .radio-input {
  display: none;
}

.custom-radio .radio-btn {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid #757575;
  border-radius: 50%;
  position: relative;
  cursor: pointer;
  background: #fff;
  transition: .1s linear;
}

.custom-radio .radio-btn::after {
  content: '';
  display: none;
  width: 10px;
  height: 10px;
  background: #757575;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}

.custom-radio .radio-input:checked + .radio-btn::after {
  display: block;
}

.custom-radio .radio-btn:hover {
    background: #ededed;
}

.button {
    all: unset;
    cursor: pointer;
    color: #fff;
    background: #91b000;
    padding: 10px 30px;
    border-radius: 5px;
    margin-top: 20px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    transition: .2s linear;
}

.button:hover {
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
    background: #b0d602;
}


/* Стили для самого input */
input[type="file"] {
    border: none;
    padding: 10px;
    background-color: white;
}

/* Стили для текста */
input[type="file"]::file-selector-button {
    padding: 5px 10px;
    border: none;
    border-radius: 4px;
    background-color: #f2f2f2;
    cursor: pointer;
}

/* Стили при наведении */
input[type="file"]::file-selector-button:hover {
    background-color: #e2e2e2;
}
