/*
 * Copyright (c) Yurii Temniuk 2026-2026.
 */
* {
    box-sizing: border-box;
}

html {
    font-family: sans-serif;
    line-height: 1.5;
}

body {
    margin: 0;
    background: #f5f5f5;
    color: #222;
}

a {
    color: inherit;
}

.site-header {
    background: #fff;
    border-bottom: 1px solid #ddd;
}

.site-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-title {
    flex: 0 0 auto;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
}

.site-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.site-nav > a {
    text-decoration: none;
}

.site-nav > a:hover {
    text-decoration: underline;
}

.header-search {
    margin: 0;
}

.header-search input {
    width: 220px;
    padding: 7px 10px;
    border: 1px solid #bbb;
    border-radius: 4px;
    font: inherit;
}

.logout-form {
    margin: 0;
}

.logout-form button {
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.logout-form button:hover {
    text-decoration: underline;
}

.site-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 24px;
}

.site-footer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
    color: #777;
    font-size: 13px;
}

.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.button {
    display: inline-block;
    padding: 7px 12px;
    border: 1px solid #bbb;
    border-radius: 4px;
    background: #fff;
    text-decoration: none;
    font: inherit;
    cursor: pointer;
}

.button:hover {
    background: #f0f0f0;
    text-decoration: none;
}

.button-danger {
    color: #a00000;
}

.button-danger:hover {
    background: #fff0f0;
}

.form-field {
    margin-bottom: 20px;
}

.form-field label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #bbb;
    border-radius: 4px;
    background: #fff;
    font: inherit;
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.field-help {
    margin-top: 5px;
    color: #777;
    font-size: 13px;
}

.field-errors,
.form-errors {
    margin-top: 6px;
    color: #b00020;
}

.simple-form {
    max-width: 700px;
}

.simple-form p {
    margin-bottom: 20px;
}

.simple-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.language-form {
    margin: 0;
}

.language-form select {
    padding: 6px 8px;
    border: 1px solid #bbb;
    border-radius: 4px;
    background: #fff;
    font: inherit;
}