        html {
            background-color: rgb(255, 255, 255);
        }
                * {
            outline: none;
        }
        .input-container {
            width: 80%;
            max-width: 800px;
            margin: 40px auto 0;
            position: relative;
            margin-top: 80px;
        }

        /* Обёртка для textarea (чтобы создать фон под кнопками) */
        .textarea-wrapper {
            position: relative;
            background: rgba(132, 132, 132, 0.1);
            border-radius: 30px;
            padding-bottom: 55px; /* Пространство под кнопками */
        }

        /* Поле ввода текста */
        .input-container textarea {
            width: 100%;
            min-height: 50px;
            max-height: 100px;
            height: auto;
            padding: 15px;
            padding-left: 70px; /* Отступ слева для кнопки выбора языка */
            padding-right: 70px; /* Отступ справа для кнопки отправки */
            padding-top: 25px; /* Маленький отступ сверху */
            font-size: 18px;
            border: none;
            border-radius: 20px;
            resize: none;
            box-sizing: border-box;
            background: transparent; /* Фон убран, так как теперь есть .textarea-wrapper */
            color: #000;
            overflow-y: auto;
            transition: min-height 0.3s ease;
        }

        /* Добавляем отступ для прокрутки */
        .input-container textarea::after {
            content: "";
            display: block;
            height: 5px; /* Отступ сверху, чтобы текст не прилипал к верху */
        }

        /* Кнопка выбора языка */
        #language-select {
            position: absolute;
            left: 15px;
            bottom: 15px;
            width: 120px;
            height: 40px;
            background: #fff;
            border: none;
            border-radius: 10px;
            box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
            font-size: 16px;
            padding: 5px;
            cursor: pointer;
            transition: background 0.3s;
            text-align: center;
            appearance: none;
            z-index: 10;
            color: #000;
            -webkit-appearance: none;
            background-color: #fff;
            text-align-last: center;
        }

        #language-select:focus {
            outline: none;
        }

        #language-select:hover {
            background: linear-gradient(to right, #cb3b30, #fb0027);
            color: #fff;
        }

        /* Кнопка отправки */
        #submit-button {
            position: absolute;
            right: 15px;
            bottom: 15px;
            width: 40px;
            height: 40px;
            background: #fff;
            border: none;
            border-radius: 50%;
            box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.3s;
        }

        #submit-button i {
            font-size: 18px;
            color: #333;
        }

        #submit-button:hover {
            background: linear-gradient(to right, #cb3b30, #fb0027);
        }

        #submit-button:hover i {
            color: #fff;
        }

        .input-container textarea:focus {
            outline: none;
        }

        #submit-button:focus {
            outline: none;
        }

        .error-message {
            color: #cb3b30;
            font-size: 18px;
            font-family: Arial, sans-serif;
            margin-bottom: 10px;
            padding-left: 15px;
        }

        .logo-container {
            text-align: center;
            margin-bottom: 0px;
            display: none;
        }

        .logo-container img {
            max-width: 180px;
            height: auto;
            margin-top: 20px;
            margin-left: 20px;
        }

        #feedback-message {
            text-align: center;
            color:#333;
            margin-top: 30px;
        }

        #feedback-message a {
            color: #cb3b30;
        }

        .button-row {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            justify-content: center;
            margin-bottom: 15px;
        }

        .button-row button {
            padding: 10px 15px;
            border: none;
            border-radius: 10px;
            background: #e5e5e5;
            cursor: pointer;
            transition: background 0.3s;
            font-size: 14px;
            font-family: Arial, sans-serif;
            box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.05);
            color: #111111;
            -webkit-appearance: none;
            appearance: none;
        }

        .button-row button:hover {
            background: linear-gradient(to right, #cb3b30, #fb0027);
            color: #fff;
        }

        /* Класс для выделенной кнопки (как hover, но постоянно) */
        .selected {
            background: linear-gradient(to right, #cb3b30, #fb0027) !important;
            color: #fff !important;
        }
        #preloader {
            position: fixed; /* Зафиксировать лоадер на экране */
            top: 0;
            left: 0;
            width: 100vw; /* Полная ширина экрана */
            height: 100vh; /* Полная высота экрана */
            background-color: #ffffff; /* Фон лоадера */
            display: flex;
            justify-content: center; /* Центровка по горизонтали */
            align-items: center; /* Центровка по вертикали */
            z-index: 9999999; /* Наивысший приоритет слоя */
            opacity: 1; /* Полностью видимый */
            transition: opacity 0.5s ease; /* Анимация исчезновения */
        }


        .spinner {
            border: 5px solid rgba(0, 0, 0, 0.1);
            border-top: 5px solid #fb0027; /* Цвет вращающейся части */
            border-radius: 50%;
            width: 50px;
            height: 50px;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% {
                transform: rotate(0deg);
            }
            100% {
                transform: rotate(360deg);
            }
        }



        /* Общий фон тогла (контейнер) */
        .toggle {
            position: absolute;
            right: 20px;
            z-index: 1000;
            width: 60px;
            height: 30px;
            background: linear-gradient(to right, #cb3b30, #fb0027);   /* фон тогла по умолчанию */
            border-radius: 15px;
            display: flex;
            align-items: center;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }

        /* Круг (ползунок) внутри тогла */
        .toggle-circle {
            width: 24px;
            height: 24px;
            background-color: #ff415b; /* цвет круга */
            border-radius: 50%;
            position: absolute;
            top: 3px;
            left: 3px;  /* начальное положение */
            transition: left 0.3s ease, background-color 0.3s ease;
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 2;
        }

        /* Иконки внутри круга */
        .icon {
            font-size: 12px;
            color: white;
            position: absolute;
            z-index: 3;
            opacity: 0; /* по умолчанию скрыты */
            transition: opacity 0.3s ease;
        }

        /* --- Состояние 1: День --- */
        .toggle.state-1 {
            background: linear-gradient(to right, #cb3b30, #fb0027); /* фон тогла */
        }
        .toggle.state-1 .toggle-circle {
            left: 3px; /* круг в начале */
            background-color: #ff415b;
        }
        .toggle.state-1 .icon.state-1 {
            opacity: 1; /* показываем солнце */
        }

        /* --- Состояние 2: Авто --- */
        .toggle.state-2 {
            background: linear-gradient(to right, #cb3b30, #fb0027);
        }
        .toggle.state-2 .toggle-circle {
            left: 18px;
            background-color: #ff415b;
        }
        /* Только центральную иконку показываем */
        .toggle.state-2 .icon.state-2 {
            opacity: 1;
        }

        /* --- Состояние 3: Ночь --- */
        .toggle.state-3 {
            background: linear-gradient(to right, #cb3b30, #fb0027);
        }
        .toggle.state-3 .toggle-circle {
            left: 33px;
            background-color: #ff415b;
        }
        .toggle.state-3 .icon.state-3 {
            opacity: 1; /* показываем луну */
        }

        h2 {
            color: #000000;
        }

        .top-bar {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 60px;
            display: flex;
            align-items: center;
            padding: 0 20px;
            z-index: 10000;
            background: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
        }


        .logo-text {
            font-size: 22px;
            color: #111111;
            padding-left: 32px;
            margin-top: -28px;
            font-weight: 250;
            letter-spacing: -0.5px;
        }


        .burger-line {
            height: 1px;
            background: #000;
            border-radius: 20px;
        }



        .sidebar {
            position: fixed;
            top: 0;
            left: 0;
            width: 250px;
            height: 100%;
            transform: translateX(-250px);
            transition: transform 0.3s ease;
            z-index: 9999;
            padding-top: 20px;
            overflow: hidden;
            background: rgba(227, 226, 226, 0.7);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
        }


        .menu-items li a {
            color: #000000;
            text-decoration: none;
            font-size: 18px;
            padding: 10px 0;
            display: block;
            transition: background 0.3s;
            border-radius: 15px;
        }





        #language-select option {
            background-color: #2f2f2f;
            color: white;
        }

        @media (max-width: 615px) {
            .input-container textarea {
                padding-left: 20px;
                padding-right: 20px;
            }
        }



          .link-orange {
    color: orange;
    text-decoration: none;
  }
  .link-orange:hover {
    text-decoration: underline;
  }


