/* Сброс отступов */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Общие настройки */
body {
    font-family: Arial, sans-serif;
    background-color: #0f172a; /* темный фон */
    color: #e5e7eb; /* светлый текст */
    line-height: 1.6;
    padding: 20px;
}

/* Контейнер */
main {
    max-width: 900px;
    margin: 0 auto;
}

/* HEADER */
header {
    margin-bottom: 30px;
}

header strong {
    font-size: 20px;
}

nav {
    margin-top: 10px;
}

nav a {
    margin-right: 15px;
    text-decoration: none;
    color: #38bdf8;
}

nav a:hover {
    text-decoration: underline;
}

/* Разделители */
hr {
    margin: 15px 0;
    border: none;
    border-top: 1px solid #334155;
}

/* Секции */
section {
    margin-bottom: 30px;
    padding: 15px;
    border: 1px solid #334155;
    border-radius: 6px;
    background-color: #111827;
}

/* Заголовки */
h1 {
    font-size: 24px;
    margin-bottom: 10px;
}

h2 {
    font-size: 18px;
    margin-bottom: 10px;
}

/* Текст */
p {
    margin-bottom: 10px;
}

/* Списки */
ul, ol {
    margin-left: 20px;
    margin-bottom: 10px;
}

/* Кнопки / ссылки как кнопки */
a {
    color: #38bdf8;
}

button {
    margin-top: 10px;
    padding: 8px 14px;
    border: none;
    border-radius: 4px;
    background-color: #38bdf8;
    color: #0f172a;
    cursor: pointer;
}

button:hover {
    background-color: #0ea5e9;
}

/* Формы */
input {
    width: 100%;
    padding: 6px;
    margin-top: 5px;
    margin-bottom: 10px;
    border: 1px solid #334155;
    border-radius: 4px;
    background-color: #020617;
    color: #e5e7eb;
}

input[type="checkbox"] {
    width: auto;
    margin: 0 8px 0 0;
    padding: 0;
    vertical-align: middle;
}

p:has(input[type="checkbox"]) {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.security-hp-field {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* FOOTER */
footer {
    margin-top: 40px;
    font-size: 14px;
    color: #94a3b8;
}

.button-link {
    display: inline-block;
    margin-top: 10px;
    margin-right: 10px;
    padding: 8px 14px;
    border-radius: 4px;
    background-color: #38bdf8;
    color: #0f172a;
    text-decoration: none;
}

.button-link:hover {
    background-color: #0ea5e9;
    text-decoration: none;
}
