body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4; /* Фон страницы */
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center; /* Центрирование контейнеров */
}

.header {
    background: #333;
    color: #fff;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%; /* Занимает всю ширину */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.header img {
    height: 40px; /* Размер логотипа */
}

.exit-button {
    background: #ff4757;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
}

.container {
    max-width: 600px;
    margin: 20px; /* Отступ сверху и снизу */
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%; /* Занимает всю ширину */
}

h1 {
    text-align: center;
    margin-bottom: 20px; /* Отступ снизу заголовка */
}

.input-field {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.button-container {
    text-align: center;
}

.btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 12px 20px;
    margin: 5px;
    cursor: pointer;
    border-radius: 5px;
    display: inline-flex;
    align-items: center; /* Выравнивание по вертикали */
    transition: background 0.3s; /* Переход при наведении */
}

.btn:hover {
    background: #218838; /* Изменение цвета при наведении */
}

.btn img {
    margin-right: 8px; /* Отступ справа от изображения */
}

.alert {
    color: red;
    text-align: center;
    margin-top: 10px;
}

.loading-window {
    display: none;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    flex-direction: column; /* Вертикальное выравнивание */
}

.loading-bar {
    width: 80%;
    height: 20px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    margin: 20px 0; /* Отступ сверху и снизу */
}

.loading-stripe {
    height: 100%;
    background: #28a745;
    position: absolute;
}

.browser-container {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    overflow: hidden;
}

.browser-header {
    background: #f4f4f4;
    padding: 10px;
    display: flex;
    justify-content: flex-end;
}

.browser-close {
    background: #ff4757;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 5px;
}