       @font-face {
            font-family: 'Motiva Sans';
            src: url('path_to_your_font_file/MotivaSans-Regular.eot'); /* IE9 Compat Modes */
            src: url('path_to_your_font_file/MotivaSans-Regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
                 url('path_to_your_font_file/MotivaSans-Regular.woff2') format('woff2'), /* Super Modern Browsers */
                 url('path_to_your_font_file/MotivaSans-Regular.woff') format('woff'), /* Modern Browsers */
                 url('path_to_your_font_file/MotivaSans-Regular.ttf') format('truetype'), /* Safari, Android, iOS */
                 url('path_to_your_font_file/MotivaSans-Regular.svg#MotivaSans-Regular') format('svg'); /* Legacy iOS */
            font-weight: 300;
            font-style: normal;
        }



body {
    font-family: 'Motiva Sans', sans-serif;
    background-color: #193B54;
    color: #dadada;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    overflow-y: auto;
    padding: 20px;
}

.form-container {
    background-color: #1b2838;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 440px;
    margin-top: 20px;
    box-sizing: border-box;
}

.form-container textarea {
    width: 100%;          /* Ширина как у input */
    height: 80px;         /* Начальная высота как у input */
    padding: 10px;        /* Отступы внутри поля */
    margin: 10px 0;       /* Отступы сверху и снизу */
    border: none;         /* Без границ */
    border-radius: 3px;   /* Скругленные углы */
    background-color: #193B54; /* Цвет фона */
    color: #dadada;       /* Цвет текста */
    box-sizing: border-box; /* Учет padding в ширину и высоту */
    resize: vertical;     /* Позволяем изменять размер только по вертикали */
    min-height: 80px;     /* Минимальная высота */

}

.form-container img {
    display: block;
    margin: 0 auto 20px;
    width: 150px;
}

.form-container input, 
.form-container textarea, 
.form-container label {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: none;
    border-radius: 3px;
    background-color: #193B54;
    color: #dadada;
    box-sizing: border-box;
    font-family: 'Motiva Sans', sans-serif; /* Используем одинаковый шрифт */
    font-size: 13px; /* Размер шрифта для всех элементов */
}



.form-container .checkbox-field {
    display: flex;
    align-items: center;
}

.form-container .checkbox-field input {
    width: auto;
    margin: 0 10px 0 0;
    vertical-align: middle;
}

.form-container .checkbox-field label {
    background-color: transparent;
    padding: 0;
    color: #c7d5e0;
    font-size: 13px;
    line-height: 1.2;
    vertical-align: middle;
}

.form-container button {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 3px;
    background-color: #66c0f4;
    color: #1b2838;
    cursor: not-allowed;
    opacity: 0.5;
    transition: background 0.3s, color 0.3s;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-container button:enabled {
    background: linear-gradient(to bottom, #799905, #536904);
    color: #d2e881;
    cursor: pointer;
    opacity: 1;
}

.form-container button:enabled:hover {
    background: linear-gradient(to bottom, #a4d007, #6b8705);
    color: #ffffff;
}

.spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s linear infinite;
    position: absolute;
}

.form-container button.loading .spinner {
    display: inline-block;
}

.form-container button.loading span {
    visibility: hidden;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #6c9018;
    color: #ffffff;
    padding: 20px;
    border-radius: 0;
    box-shadow: none;
    text-align: center;
    z-index: 1000;
}

.popup.error {
    background-color: #c12f2f;
}

.popup.error-login {
    background-color: #C12F2F;
}

.popup.error-topup {
    background-color: #C12F2F;
}

.popup.error-stop-list {
    background-color: #C12F2F !important;
}

.popup.active {
    display: block;
}

.popup .close-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
}

.overlay, .form-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.overlay.active, .form-overlay.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.faq-container {
    width: 100%;
    max-width: 400px;
    margin-top: 20px;
    padding: 0 15px;
}

.faq-title {
    font-size: 16px;
    margin-bottom: 10px;
    color: #5EAFDE;
}

.faq-item {
    background-color: #4b6378;
    padding: 15px;
    margin-bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s;
    position: relative;
}

.faq-item:not(.active) {
    margin-bottom: 10px;
}

.faq-item.active {
    background-color: #4581A5;
}

.faq-item:hover {
    background-color: #4581A5;
}

.faq-item span {
    font-size: 15px;
    font-weight: 300;
}

.faq-item::after {
    content: '▶';
    display: flex;
    justify-content: center;
    align-items: center;
    width: 15px;
    height: 15px;
    font-size: 15px;
    color: #A0B3CB;
    transition: transform 0.3s;
}

.faq-item.active::after {
    transform: rotate(90deg);
}

.faq-item-content {
    display: none;
    padding: 15px;
    background-color: #445468;
    color: #ffffff;
    margin-bottom: 10px;
}

.faq-item.active + .faq-item-content {
    display: block;
}

.faq-item-content p {
    margin-bottom: 15px;
}

.faq-item-content img {
    width: 100%;
    height: auto;
    max-height: 150px;
    object-fit: cover;
    cursor: pointer;
}

.overlay img {
    max-width: 90%;
    max-height: 90%;
}

@media (max-width: 768px) {
    .form-container {
        padding: 15px;
        margin-top: 15px;
    }

    .faq-container {
        padding: 0 10px;
        margin-top: 15px;
    }

    .faq-item {
        padding: 10px;
    }

    .faq-item-content {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .form-container {
        padding: 10px;
        margin-top: 10px;
    }

    .faq-container {
        padding: 0 5px;
        margin-top: 10px;
    }

    .faq-item {
        padding: 8px;
    }

    .faq-item-content {
        padding: 8px;
    }

    .faq-title {
        font-size: 14px;
    }

    .faq-item span {
        font-size: 13px;
    }

    .faq-item::after {
        font-size: 13px;
    }
}

.input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.input-container input {
    flex-grow: 1;
    padding-right: 100px; /* Оставляем место для кнопки */
}

.input-container a {
    position: absolute;
    right: 10px;
    color: #5EAFDE;
    text-decoration: none;
    font-size: 14px;
}

.input-container a:hover {
    text-decoration: underline;
}