/* ====== Общие стили для формы ====== */
.location-form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    max-width: 1000px;
    margin: 0 auto;
}
.faq {
    padding: 80px 20px;
    max-width: 900px;
    margin: 0 auto;
}
.faq h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
}
.faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255,255,255,0.05);
}
.faq-question {
    width: 100%;
    padding: 15px 20px;
    background: none;
    border: none;
    outline: none;
    text-align: left;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}
.faq-question:hover {
    background: rgba(255,255,255,0.1);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
}
.faq-answer p {
    margin: 15px 0;
    font-size: 16px;
    line-height: 1.5;
}
.faq-question.active {
    color: #e63946;
}


.form-row {
    display: flex;
    gap: 20px;
    width: 100%;
    flex-wrap: wrap;
}

.form-field {
    width: calc(50% - 10px);
    box-sizing: border-box;
}

.form-field.full-width {
    width: 100%;
}

.form-field label {
    font-size: 14px;
    color: #fff;
    display: block;
    margin-bottom: 5px;
    text-align: left;
}

.form-field input,
.form-field select {
    padding: 10px;
    background: #333;
    border: 1px solid #444;
    color: #fff;
    border-radius: 6px;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
}

.form-field input:focus,
.form-field select:focus {
    border-color: #ff3c3c;
    outline: none;
}

button {
    padding: 14px;
    background: #ff3c3c;
    border-radius: 6px;
    color: #fff;
    border: none;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s;
}

button:hover {
    background: #e62b2b;
}

/* ====== Фоновое изображение с картой ====== */
.background-map {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('img/geolocation.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: -1;
}

.map-marker {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background-color: red;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

/* ====== Верхнее меню ====== */
/* ====== Верхнее меню ====== */
.top-menu {
    position: fixed;
    top: 0;
    left: 50%;  /* Центрируем меню по горизонтали */
    transform: translateX(-7%);  /* Используем трансформацию для выравнивания */
    z-index: 100;
    background: rgba(0, 0, 0, 0.03);
    padding: 20px 0; /* Убираем отступы по бокам */
    backdrop-filter: blur(6px);
    width: auto;  /* Меню будет по ширине контента */
    text-align: center; /* Центрируем текст в меню */
}

.top-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: inline-block; /* Центрируем список */
}

.top-menu ul li {
    display: inline-block;
    margin: 0 15px;
}

.top-menu ul li a {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

.top-menu ul li a:hover {
    color: #ff3c3c;
}


/* ====== Стили для кабинета ====== */
.cabinet {
    background: rgba(0, 0, 0, 0.3);
    padding: 60px 20px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 12px;
}

.cabinet h1 {
    color: #ff3c3c;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 30px;
    text-transform: uppercase;
}
/* ====== Фоновое изображение с картой ====== */
.background-map {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('img/geolocation.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.3; /* Добавляем затемнение фона */
    z-index: -1;
}

.background-map::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0); /* Затемняем фон с помощью черного полупрозрачного слоя */
    z-index: -1;
}
/* ====== Верхнее меню для кабинета ====== */
.top-menu {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.75); /* Прозрачный фон, как на главной */
    padding: 20px 0;
    width: 100%;
    text-align: center;
    backdrop-filter: blur(6px); /* Эффект размытия фона */
}

.top-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: inline-block;
}

.top-menu ul li {
    display: inline-block;
    margin: 0 15px;
}

.top-menu ul li a {
    color: #fff; /* Белый текст */
    font-weight: 600;
    text-transform: uppercase; /* Заглавные буквы */
    letter-spacing: 2px; /* Расстояние между буквами */
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.top-menu ul li a:hover {
    color: #ff3c3c; /* Красный цвет при наведении */
}

/* ====== Текст в кабинете ====== */
.cabinet h1 {
    color: #fff; /* Белый цвет текста */
    font-size: 36px; /* Размер заголовка */
    font-weight: 800;
    margin-bottom: 30px;
    text-transform: uppercase; /* Заглавные буквы */
    letter-spacing: 2px; /* Расстояние между буквами */
}

.cabinet h2 {
    color: #ff3c3c; /* Красный цвет текста */
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* ====== Стиль для кнопки "ОПРЕДЕЛИТЬ МЕСТОПОЛОЖЕНИЕ" ====== */
button {
    padding: 14px;
    background: #ff3c3c;
    border-radius: 6px;
    color: #fff;
    border: none;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s;
}

button:hover {
    background: #e62b2b;
}

/* ====== Фоновое изображение с картой ====== */
.background-map {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('img/geolocation.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: -1;
}

.background-map::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8); /* Затемнение фона */
    z-index: -1;
}
/* ====== Верхнее меню для кабинета ====== */
.top-menu {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.8); /* Прозрачный фон */
    padding: 20px 0;
    width: 100%;
    text-align: center;
    backdrop-filter: blur(6px); /* Эффект размытия */
}

.top-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: inline-block;
}

.top-menu ul li {
    display: inline-block;
    margin: 0 15px;
}

.top-menu ul li a {
    color: #fff;
    font-weight: 600;
    text-transform: uppercase; /* Заглавные буквы */
    letter-spacing: 2px; /* Расстояние между буквами */
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.top-menu ul li a:hover {
    color: #ff3c3c; /* Красный при наведении */
}

/* ====== Текст в кабинете ====== */
.cabinet h1 {
    color: #fff; /* Белый текст */
    font-size: 36px; /* Размер заголовка */
    font-weight: 800;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ====== Форма ====== */
.location-form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    max-width: 1000px;
    margin: 0 auto;
}

.form-row {
    display: flex;
    gap: 20px;
    width: 100%;
    flex-wrap: wrap;
}

.form-field {
    width: calc(50% - 10px);
    box-sizing: border-box;
}

.form-field.full-width {
    width: 100%;
}

.form-field label {
    font-size: 14px;
    color: #fff;
    display: block;
    margin-bottom: 5px;
    text-align: left;
}

.form-field input,
.form-field select {
    padding: 10px;
    background: #333;
    border: 1px solid #444;
    color: #fff;
    border-radius: 6px;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
}

.form-field input:focus,
.form-field select:focus {
    border-color: #ff3c3c;
    outline: none;
}

button {
    padding: 14px;
    background: #ff3c3c;
    border-radius: 6px;
    color: #fff;
    border: none;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s;
}

button:hover {
    background: #e62b2b;
}

/* ====== Фоновое изображение с картой ====== */
.background-map {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('img/geolocation.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: -1;
}

.background-map::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0); /* Затемнение фона */
    z-index: -1;
}
/* ====== Фоновое изображение с картой ====== */
.background-map {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('img/geolocation.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.3; /* Затемнение фона */
    z-index: -1;
}

.background-map::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0); /* Черный полупрозрачный слой */
    z-index: -1;
}

.map-marker {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background-color: red;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}
.site-footer {
    background: rgba(0, 0, 0, 0.85);
    padding: 50px 20px 20px;
    color: #fff;
    font-size: 14px;
    margin-top: 80px;
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}
.footer-left h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #e63946;
}
.footer-menu h4,
.footer-right h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #e63946;
}
.footer-menu ul {
    list-style: none;
    padding: 0;
}
.footer-menu ul li {
    margin-bottom: 8px;
}
.footer-menu ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}
.footer-menu ul li a:hover {
    color: #e63946;
}
.socials a {
    margin-right: 10px;
    display: inline-block;
}
.socials img {
    width: 24px;
    height: 24px;
    filter: invert(1);
    transition: 0.3s;
}
.socials img:hover {
    filter: invert(33%) sepia(96%) saturate(7478%) hue-rotate(349deg) brightness(92%) contrast(97%);
}
.footer-bottom {
    text-align: center;
    margin-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 15px;
    font-size: 13px;
    opacity: 0.8;
}

/* ====== Настройки ====== */
.settings {
    background: rgba(0, 0, 0, 0.8);
    padding: 60px 20px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 12px;
}

.settings h1 {
    color: #ff3c3c;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 30px;
    text-transform: uppercase;
}

/* Остальные стили для формы */
.location-form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    max-width: 1000px;
    margin: 0 auto;
}

.form-row {
    display: flex;
    gap: 20px;
    width: 100%;
    flex-wrap: wrap;
}

.form-field {
    width: calc(50% - 10px);
    box-sizing: border-box;
}

.form-field.full-width {
    width: 100%;
}

.form-field label {
    font-size: 14px;
    color: #fff;
    display: block;
    margin-bottom: 5px;
    text-align: left;
}

.form-field input {
    padding: 10px;
    background: #333;
    border: 1px solid #444;
    color: #fff;
    border-radius: 6px;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
}

.form-field input:focus {
    border-color: #ff3c3c;
    outline: none;
}

button {
    padding: 14px;
    background: #ff3c3c;
    border-radius: 6px;
    color: #fff;
    border: none;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s;
}

button:hover {
    background: #e62b2b;
}

/* ====== Стили для галочки и текста ====== */
.form-row {
    display: flex;
    gap: 20px;
    width: 100%;
    flex-wrap: wrap;
}

.form-field {
    width: calc(50% - 10px);
    box-sizing: border-box;
}

.form-field.full-width {
    width: 100%;
}

.form-field label {
    font-size: 14px;
    color: #fff;
    display: block;
    margin-bottom: 5px;
    text-align: left;
}

.form-field input,
.form-field select {
    padding: 10px;
    background: #333;
    border: 1px solid #444;
    color: #fff;
    border-radius: 6px;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
}

.form-field input:focus,
.form-field select:focus {
    border-color: #ff3c3c;
    outline: none;
}

/* Для выравнивания галочки и текста в одну строку */
.form-field.checkbox {
    display: flex;
    align-items: center; /* Выравнивание по центру по вертикали */
    width: 100%;
    gap: 10px; /* Отступ между текстом и чекбоксом */
}

/* Выравнивание текста с галочкой */
.form-field.checkbox label {
    margin: 0; /* Убираем отступы у лейбла */
    font-size: 14px;
    color: #fff;
}

/* Стиль для галочки */
.form-field.checkbox input[type="checkbox"] {
    width: auto;
    height: auto;
}
/* ====== Страница тарифов ====== */
.tariffs {
    background: rgba(0, 0, 0, 0.8);
    padding: 60px 20px;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 12px;
}

.tariffs h1 {
    color: #ff3c3c;
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.tariffs p {
    font-size: 18px;
    color: #fff;
    margin-bottom: 40px;
}

/* Сетка для карточек тарифов */
.tariffs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Карточка тарифа */
.tariff-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.tariff-card:hover {
    transform: translateY(-5px);
}

/* Изображение тарифа */
.tariff-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
}

/* Детали тарифа */
.tariff-details h3 {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.tariff-details p {
    font-size: 18px;
    color: #fff;
    margin-bottom: 20px;
}

/* Кнопка подключения */
.tariff-details .btn {
    padding: 14px;
    background: #ff3c3c;
    border-radius: 6px;
    color: #fff;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.tariff-details .btn:hover {
    background: #e62b2b;
}

/* ====== Фоновое изображение с картой ====== */
.background-map {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('img/geolocation.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.3; /* Затемнение фона */
    z-index: -1;
}

.background-map::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0); /* Черный полупрозрачный слой */
    z-index: -1;
}

.map-marker {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background-color: red;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}
/* ====== Страница тарифов ====== */
.tariffs {
    background: rgba(0, 0, 0, 0.8);
    padding: 60px 20px;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 12px;
}

.tariffs h1 {
    color: #ff3c3c;
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.tariffs p {
    font-size: 18px;
    color: #fff;
    margin-bottom: 40px;
}

/* Сетка для карточек тарифов: 4 тарифа на одной строке */
.tariffs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 столбца на одну строку */
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Карточка тарифа */
.tariff-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.tariff-card:hover {
    transform: translateY(-5px);
}

/* Изображение тарифа */
.tariff-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
}

/* Детали тарифа */
.tariff-details h3 {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.tariff-details p {
    font-size: 18px;
    color: #fff;
    margin-bottom: 20px;
}

/* Кнопка подключения */
.tariff-details .btn {
    padding: 14px;
    background: #ff3c3c;
    border-radius: 6px;
    color: #fff;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.tariff-details .btn:hover {
    background: #e62b2b;
}

/* ====== Фоновое изображение с картой ====== */
.background-map {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('img/geolocation.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.1; /* Затемнение фона */
    z-index: -1;
}

.background-map::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0); /* Черный полупрозрачный слой */
    z-index: -1;
}

.map-marker {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background-color: red;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}
/* ====== Прогресс-бар ====== */
.progress-container {
    width: 100%;
    background: #444;
    border-radius: 6px;
    overflow: hidden;
    margin-top: 20px;
}

.progress-bar {
    height: 20px;
    width: 0;
    background: #ff3c3c;
    transition: width 0.1s linear;
}

#progress-text {
    margin-top: 10px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

#complete-message {
    margin-top: 20px;
    font-size: 18px;
    color: #fff;
}

#premium-button {
    margin-top: 20px;
    padding: 14px;
    background: #ff3c3c;
    border-radius: 6px;
    color: #fff;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

#premium-button:hover {
    background: #e62b2b;
}
/* ====== Прогресс-бар ====== */
.progress-container {
    width: 100%;
    background: #444;
    border-radius: 6px;
    overflow: hidden;
    margin-top: 20px;
}

.progress-bar {
    height: 20px;
    width: 0;
    background: #ff3c3c;
    transition: width 0.1s linear;
}

#progress-text {
    margin-top: 10px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

#complete-message {
    margin-top: 20px;
    font-size: 24px;
    color: #fff;
    text-align: center;
}

.location-info p {
    margin: 10px 0;
}

/* Добавляем подложку для текста и кнопки */
.location-info {
    background-color: rgba(0, 0, 0, 0.8); /* Черная полупрозрачная подложка */
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

#premium-button {
    margin-top: 20px;
    padding: 14px;
    background: #ff3c3c;
    border-radius: 6px;
    color: #fff;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    display: block;
    width: 100%;
}

#premium-button:hover {
    background: #e62b2b;
}

/* ====== Прогресс-бар ====== */
.progress-container {
    width: 100%;
    background: #444;
    border-radius: 6px;
    overflow: hidden;
    margin-top: 20px;
}

.progress-bar {
    height: 20px;
    width: 0;
    background: #ff3c3c;
    transition: width 0.1s linear;
}

#progress-text {
    margin-top: 10px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

/* ====== Модальное окно ====== */
.modal {
    display: none; /* Скрыто по умолчанию */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3); /* Черный полупрозрачный фон */
    z-index: 1000;
    justify-content: center; /* Центрирование по вертикали */
    align-items: center; /* Центрирование по горизонтали */
    display: flex; /* Это нужно для того, чтобы содержимое выравнивалось по центру */
}

/* Стиль для модального окна */
.modal-content {
    background: #333;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    color: #fff;
    max-width: 500px; /* Ограничиваем максимальную ширину */
    width: 90%; /* Делаем окно адаптивным */
    min-width: 300px; /* Устанавливаем минимальную ширину */
    box-sizing: border-box;
    position: relative;
}

/* Отступы для текста */
.modal-content p {
    margin-bottom: 15px;
    font-size: 18px;
}

/* Кнопка "Подключить премиум" внутри модального окна */
#premium-button {
    margin-top: 20px;
    padding: 14px;
    background: #ff3c3c;
    border-radius: 6px;
    color: #fff;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    display: block;
    width: 100%; /* Кнопка не выходит за рамки */
}

#premium-button:hover {
    background: #e62b2b;
}
/* ====== Стили для галочки и текста ====== */
.form-row {
    display: flex;
    gap: 20px;
    width: 100%;
    flex-wrap: wrap;
}

.form-field {
    width: calc(50% - 10px);
    box-sizing: border-box;
}

.form-field.full-width {
    width: 100%;
}

.form-field label {
    font-size: 14px;
    color: #fff;
    display: block;
    margin-bottom: 5px;
    text-align: left;
}

.form-field input,
.form-field select {
    padding: 10px;
    background: #333;
    border: 1px solid #444;
    color: #fff;
    border-radius: 6px;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
}

.form-field input:focus,
.form-field select:focus {
    border-color: #ff3c3c;
    outline: none;
}

/* Для выравнивания галочки и текста в одну строку */
.form-field.checkbox {
    display: flex;
    align-items: center; /* Выравнивание по центру по вертикали */
    width: 100%;
    gap: 10px; /* Отступ между текстом и чекбоксом */
}

/* Выравнивание текста с галочкой */
.form-field.checkbox label {
    margin: 0; /* Убираем отступы у лейбла */
    font-size: 14px;
    color: #fff;
}

/* Стиль для галочки */
.form-field.checkbox input[type="checkbox"] {
    width: auto;
    height: auto;
}
/* Общий стиль для всех страниц */
body {
    font-family: 'Inter', Arial, sans-serif; /* Указываем шрифт Inter */
    color: #fff;
    background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 100%);
    min-height: 100vh;
}
/* ====== Форма авторизации ====== */
.auth {
    background: #111;
    padding: 60px 20px;
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
    border-radius: 12px;
}

.auth h2 {
    font-size: 28px;
    font-weight: 800;
    color: #ff3c3c;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 500px; /* Убедитесь, что форма имеет максимальную ширину */
    margin: 0 auto; /* Центрируем форму */
}

.auth-form label {
    font-size: 14px;
    font-weight: 600;
    color: #ccc;
    text-align: left;
    margin-bottom: 5px;
}

.auth-form input {
    padding: 12px;
    background: #333;
    border: 1px solid #444;
    color: #fff;
    border-radius: 6px;
    font-size: 16px;
    width: 207%; /* Убедитесь, что поля растягиваются на 100% от ширины формы */
    box-sizing: border-box;
}

.auth-buttons button {
    width: 48%; /* Ширина кнопок будет немного меньше, чтобы они умещались на одной строке */
}

.auth-buttons {
    display: flex;
    justify-content: space-between; /* Размещаем кнопки с отступом */
    gap: 20px;
}
/* ====== Стиль для страницы "Местоположение определено" ====== */
.location-details {
    background: rgba(0, 0, 0, 0.8);
    padding: 60px 20px;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 12px;
}

.location-details h1 {
    color: #ff3c3c;
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.time-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left;
    margin-top: 30px;
}

.time-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.time-item .time {
    font-size: 16px;
    color: #fff;
    font-weight: 600;
}

.buttons {
    display: flex;
    gap: 10px;
}

.buttons .btn {
    padding: 12px;
    background: #ff3c3c;
    border-radius: 6px;
    color: #fff;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
    width: auto;
}

.buttons .btn:hover {
    background: #e62b2b;
}

/* ====== Фоновое изображение с картой ====== */
.background-map {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('img/geolocation.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.3; /* Затемнение фона */
    z-index: -1;
}

.background-map::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0); /* Черный полупрозрачный слой */
    z-index: -1;
}

.map-marker {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background-color: red;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}
/* Общий стиль */
body.dark-bg {
    margin: 0;
    font-family: 'Inter', Arial, sans-serif;
    color: #fff;
    background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 100%);
    min-height: 100vh;
}

/* Верхнее меню */
.top-menu {
    background: rgba(0,0,0,0.75);
    padding: 20px 0;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    backdrop-filter: blur(6px);
}
.top-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.top-menu ul li {
    display: inline-block;
    margin: 0 20px;
}
.top-menu ul li a {
    color: #ccc;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    transition: color 0.3s;
}
.top-menu ul li a:hover {
    color: #ff3c3c;
}
.btn-cabinet {
    padding: 6px 14px;
    background: #ff3c3c;
    border-radius: 6px;
    color: #fff !important;
}

/* Первый экран */
.hero {
    text-align: center;
    padding-top: 160px;
    padding-bottom: 120px;
    background: radial-gradient(circle at center, rgba(255,60,60,0.15) 0%, transparent 20%);
    position: relative;
}
.hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url("img/geolocation.jpg");
    background-repeat: repeat;
    opacity: 0.35;
    z-index: 0;
}
.hero * {
    position: relative;
    z-index: 1;
}
.tagline {
    display: inline-block;
    background: rgba(255,60,60,0.15);
    color: #ff3c3c;
    font-size: 14px;
    padding: 6px 12px;
    border-radius: 30px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.hero h1 {
    font-size: 48px;
    font-weight: 800;
    margin: 20px 0;
    line-height: 1.2;
}
.subtitle {
    font-size: 18px;
    color: #bbb;
    max-width: 600px;
    margin: 0 auto 30px auto;
}
.hero-buttons {
    margin-top: 20px;
}
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    background: #333;
    margin: 0 10px;
    transition: all 0.3s;
}
.btn:hover {
    background: #444;
}
.btn.primary {
    background: #ff3c3c;
}
.btn.primary:hover {
    background: #e62b2b;
}
/* ====== Общие стили ====== */
body.dark-bg {
    margin: 0;
    padding: 0;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background: linear-gradient(180deg, #0d0d0d 0%, #1a1a1a 100%);
    color: #fff;
}

/* ====== Верхнее меню ====== */
.top-menu {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 15px 40px;
}

.top-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 30px;
}

.top-menu ul li a {
    text-decoration: none;
    color: #ddd;
    font-weight: 500;
    letter-spacing: 1px;
    transition: 0.3s;
}

.top-menu ul li a:hover {
    color: #ff3b3b;
}

/* Кнопка личного кабинета */
.btn-cabinet {
    padding: 8px 16px;
    border-radius: 6px;
    background: #ff3b3b;
    color: #fff !important;
    font-weight: 600;
    transition: 0.3s;
}

.btn-cabinet:hover {
    background: #ff5555;
}

/* ====== Hero-блок ====== */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    background: url("images/bg.jpg") no-repeat center center/cover;
    position: relative;
    z-index: 1;
}

*.hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: -1;
}

.hero .tagline {
    color: #ff3b3b;
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.3;
    margin: 10px 0 20px;
}

.hero .subtitle {
    font-size: 18px;
    color: #bbb;
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

/* Кнопки */
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn {
    display: inline-block;
    padding: 12px 26px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #666;
}

.btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn.primary {
    background: #ff3b3b;
    border: none;
}

.btn.primary:hover {
    background: #ff5555;
}

/* ====== Блок Преимущества ====== */
.benefits {
    background: #111;
    padding: 100px 20px;
    text-align: center;
}

.benefits h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 60px;
    color: #ff3b3b;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.benefit {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 30px 20px;
    border-radius: 12px;
    transition: all 0.3s;
}

.benefit:hover {
    background: rgba(255, 59, 59, 0.1);
    transform: translateY(-5px);
    border-color: #ff3b3b;
}

.benefit img {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
    filter: invert(80%) sepia(100%) saturate(500%) hue-rotate(-10deg);
}

.benefit h3 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    margin: 0;
}
/* Общие стили для мобильных устройств */
@media only screen and (max-width: 768px) {
    /* Верхнее меню */
    .top-menu {
        padding: 10px 20px; /* Меньше отступов для мобильных */
    }

    .top-menu nav ul {
        flex-direction: column; /* Меню в колонку для мобильных */
        gap: 15px; /* Уменьшаем отступы между пунктами */
        align-items: center; /* Центрируем элементы по оси X */
    }

    /* Первый экран (hero) */
    .hero {
        padding-top: 100px;
        padding-bottom: 80px;
        background-size: cover; /* Уменьшаем размер фона */
    }

    .hero h1 {
        font-size: 28px; /* Уменьшаем размер шрифта для заголовка */
        line-height: 1.2;
    }

    .hero .subtitle {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .hero-buttons {
        flex-direction: column; /* Кнопки друг под другом */
        gap: 10px;
    }

    /* Стили для кнопок */
    .btn {
        padding: 12px 24px;
        font-size: 16px;
    }

    .btn.primary {
        background: #ff3c3c;
    }

    .btn:hover {
        background: #e62b2b;
    }

    /* Преимущества */
    .benefits {
        padding: 60px 20px; /* Меньше отступов */
    }

    .benefits h2 {
        font-size: 28px; /* Меньше размер шрифта */
    }

    .benefits-grid {
        grid-template-columns: 1fr; /* Одна колонка на мобильных */
    }

    .benefit {
        padding: 20px; /* Уменьшаем отступы */
    }

    /* Форма авторизации */
    .auth {
        padding: 30px 20px;
        max-width: 100%;
        width: 100%;
    }

    .auth h2 {
        font-size: 24px;
    }

    .auth-form {
        gap: 15px;
    }

    .auth-form input,
    .auth-form button {
        width: 100%;
    }

    /* Кнопки в одну строку */
    .auth-buttons {
        flex-direction: column;
        gap: 10px;
    }
}
