body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    background-color: black;
	position: relative; /* Добавляем позиционирование */
}

.header-logo {
    position: absolute; /* Размещаем абсолютно */
    top: 0; /* Прижимаем к верху */
    left: 0; /* Прижимаем к левому краю */
    margin: 0;
    padding: 40px; /* Добавляем отступы */
    background-color: none; /* Добавляем фон для видимости */
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 10; /* Делаем выше других элементов */
}

.header-top {
    padding: 15px; /* Добавляем отступы */
    background-color: none; /* Добавляем фон для видимости */
    z-index: 10; /* Делаем выше других элементов */
}

.logo-container {
    display: flex;
    align-items: center; /* Центрируем по вертикали */
    gap: 10px; /* Расстояние между элементами */
	text-decoration: none; /* Убираем подчеркивание */
	color: inherit; /* Сохраняем цвет текста */
	width: 100%; /* Контейнер занимает всю доступную ширину */
    padding: 10px; /* Отступы вокруг изображения */
}

.logo-container:hover {
    opacity: 0.85; /* Добавляем эффект при наведении */
    transition: opacity 0.3s;
}

.logo-image {
    width: 60px; /* Задайте нужную ширину */
    height: auto;
}

.logo-image2 {
    float: right;
    margin: 0 0 10px 10px; /* отступы вокруг изображения */
	max-width: 100%; /* Изображение не будет превышать размер контейнера */
    height: auto;    /* Сохраняем пропорции при масштабировании */
    display: block;  /* Убираем отступы, которые могут быть у inline-элементов */
    object-fit: contain; /* Сохраняем пропорции изображения */
}

.logo-text {
    font-size: 48px; /* Размер текста */
    color: white;
    margin: 0;
    line-height: 1;
}

.form-wrapper-top {
    /* Убираем ограничение по ширине */
    max-width: none;
    width: 100%; 
    background: black;
    padding: 15px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    display: flex;
	gap: 40px;
    justify-content: center;

    
    /* Для корректного позиционирования */
    position: relative;
	align-items: center; /* Выравниваем по вертикали */
}

.form-column-top1 {
    width: 70%;
    padding: 15px;
    box-sizing: border-box;
}

.form-column-top2 {
    width: 30%;
    padding: 15px;
    box-sizing: border-box;
    

}

.form-wrapper {
    max-width: none;
    width: 100%;
    background: black;
    padding: 15px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    display: flex;
    gap: 40px;
	justify-content: center;
}

.form-column {
    width: 45%;
	padding: 15px;
	box-sizing: border-box;
}

.form-group {
	width: 100%; /* Контейнер занимает всю доступную ширину */
    margin-bottom: 15px;
}

.page-footer {
    width: 100%;
    padding: 20px 0;
    background-color: black;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto; /* Прижать к низу */
}

.footer-left,
.footer-right {
    margin: 0 20px;
}

.footer-left p,
.footer-right p {
    margin: 0;
    font-size: 18px;
	color: white;
}

.form-column-footer {
    width: 100%;
	padding: 15px;
	box-sizing: border-box;
}

/* стили для ссылок: */
.footer-left a,
.footer-right a {
    text-decoration: none;
    color: white;
}

/* Добавляем отступы между ссылками */
.footer-right a + a {
    margin-left: 100px; /* Отступ слева для всех ссылок, кроме первой */
}

.footer-right a:hover {
    color: yellow;
}
/* стили для ссылок: */


.terms-link {
    position: relative;
    cursor: pointer;
    text-decoration: underline;
}

.terms-link::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 0;
    bottom: 100%;
	left: 100%;
    background: #f0f0f0;
    color: #333;
    padding: 10px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 1000;
    white-space: normal;
    width: 300px; /* задать ширину */
	font-size: 14px;
}

.terms-link:hover::after {
    opacity: 1;
    transform: translateY(0);
}

form {
    display: flex;
    flex-direction: column;
	align-items: center
}

label {
    margin-bottom: 5px;
    font-weight: bold;
	color: white;
}

input, textarea, select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-bottom: 15px;
	color: white;
	background: black;
}

button {
	width: 90%;
    background-color: yellow;
	font-size: 18px;
    color: black;
	font-weight: bold;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
	margin: 0 auto;
}

button:hover {
    background-color: #45a049;
}

@media screen and (max-width: 768px) {
    .form-wrapper {
        flex-direction: column;
		gap: 0px;
    }

    .form-wrapper-top {
        flex-direction: column;
		gap: 20px;
		height: auto;
    }

    .form-column {
        width: 100%;
		padding: 0px;
        border-right: none;
    }

    .form-column-footer {
        width: 100%;
		padding: 0px;
        border-right: none;
    }

	.form-column-top1 {
        width: 100%;
		padding: 0px;
    }

	.form-column-top2 {
        width: 100%;
		padding: 0px;
    }
    .submit-button {
		width: 70%;
		background-color: yellow;
		color: black;
		padding: 10px 20px;
		border: none;
		border-radius: 4px;
		cursor: pointer;
		font-size: 16px;
		bottom: 100px;
}

/* Адаптивная версия */
@media (max-width: 768px) {
    .logo-image {
        width: 60px;
    }
	
	.logo-image2 {
        width: 480px;
    }
    
    .logo-text {
        font-size: 20px;
    }
}

@media screen and (max-width: 768px) {
    .header-logo {
        padding: 20px;
    }
    
    .logo-image {
        width: 40px;
    }
}


/* Для адаптивности */
@media screen and (max-width: 768px) {
    .form-wrapper-down {
        flex-direction: column; /* На мобильных устройствах в столбик */
        gap: 20px;
    }
    
    .form-down-left,
    .form-down-right {
        width: 100%; /* Занимают всю ширину на мобильных */
    }
}

/* Адаптивная версия */
@media screen and (max-width: 768px) {
    .page-footer {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-left,
    .footer-right {
        margin: 10px 0;
    }
}
