/* styles.css - Имитация стилей Zabbix (zabbix.css) */

:root {
    --zabbix-bg-color: #1f2736;
    --zabbix-main-color: #24293b; /* Цвет фона формы входа */
    --zabbix-text-color: #e5ebf1;
    --zabbix-border-color: #484f60;
    --zabbix-accent-color: #007bff; /* Синий цвет ссылок/кнопок (классический Zabbix) */
    --zabbix-header-height: 50px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: "Trebuchet MS", Helvetica, sans-serif;
    color: var(--zabbix-text-color);
    background-color: #1f2736; /* Очень темный фон */
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center; /* Центрирование входа */
}

/* Логотип (имитация SVG) */
#logo {
    position: absolute;
    top: 20px;
    left: 40px;
    width: auto;
    height: auto;
    z-index: 1000;
}

/* Кнопка выхода (имитация) */
#menu {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 13px;
}

/* Контейнер формы входа */
.login-box {
    background-color: var(--zabbix-main-color); /* Цвет фона самого бокса */
    border: 1px solid #484f60; /* Легкая граница */
    padding: 25px;
    width: 370px;
    text-align: center;
}

/* Логотип внутри формы (текстовый fallback) */
.login-logo {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    display: block;
    color: #fff;
    text-shadow: 1px 1px 2px #000;
}

/* Заголовки полей ввода */
input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 8px 10px;
    margin: 5px 0;
    box-sizing: border-box;
    background-color: #3a4253; /* Светлее основного фона */
    border: 1px solid var(--zabbix-border-color);
    color: #e5ebf1;
    border-radius: 2px;
    font-family: "Trebuchet MS", Helvetica, sans-serif;
}

input[type="text"]:focus,
input[type="password"]:focus {
    outline: none;
    border-color: #007bff;
}

/* Кнопки */
button {
    background-color: #007bff;
    color: white;
    padding: 8px 15px;
    font-size: 14px;
    cursor: pointer;
    border: none;
    border-radius: 2px;
    width: 100%;
    margin-top: 5px;
}

button:hover {
    background-color: #0069d9;
}

/* Ссылка "Забыли пароль?" */
.forgot-password-link {
    display: block;
    text-decoration: none;
    color: #8a9bbd;
    font-size: 12px;
    margin-bottom: 10px;
    cursor: pointer;
}

.forgot-password-link:hover {
    color: var(--zabbix-accent-color);
}

/* Адаптивность для мобильных */
@media screen and (max-width: 480px) {
    body {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .login-box {
        width: 90%;
        padding: 15px;
    }
    
    #logo, #menu {
        display: none; /* Скрываем логотипы на мобильных для простоты */
    }
}

/* Стиль для страницы Privacy (простой) */
.privacy-content {
    max-width: 800px;
    padding: 20px;
    font-family: sans-serif;
    color: #ccc;
    line-height: 1.6;
}

.privacy-content h1, .privacy-content h2 {
    border-bottom: 1px solid #484f60;
    padding-bottom: 5px;
    margin-bottom: 15px;
}
