/* Минимальный CSS для зарплатной ведомости */

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

html {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    background-color: #fafafa;
}

body {
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 30px;
}

header h1 {
    font-size: 28px;
    font-weight: 600;
    color: #000;
    margin-bottom: 8px;
}

.version {
    font-size: 12px;
    color: #999;
}

main {
    margin-bottom: 40px;
}

section {
    margin-bottom: 20px;
}

section p {
    margin-bottom: 10px;
}

footer {
    border-top: 1px solid #e0e0e0;
    padding-top: 20px;
    text-align: center;
    color: #999;
    font-size: 12px;
}

/* Кнопки и ссылки */
a {
    color: #0066cc;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

button {
    padding: 8px 16px;
    background-color: #0066cc;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
}

button:hover {
    background-color: #0052a3;
}

/* Таблицы */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

th {
    background-color: #f5f5f5;
    font-weight: 600;
}

/* Формы */
input, select, textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
    font-size: inherit;
    margin-bottom: 10px;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 4px rgba(0, 102, 204, 0.2);
}

/* Экран входа */
.login {
    max-width: 380px;
    margin: 12vh auto 0;
    text-align: center;
}

.login h1 {
    font-size: 24px;
    font-weight: 600;
    color: #000;
}

.login .muted {
    color: #999;
    font-size: 14px;
    margin-bottom: 28px;
}

.login form {
    text-align: left;
    margin-top: 20px;
}

.login label {
    display: block;
    font-size: 13px;
    color: #666;
    margin-bottom: 6px;
}

.login button {
    width: 100%;
    padding: 11px;
    font-size: 15px;
}

.login .hint {
    margin-top: 18px;
    font-size: 12px;
    color: #999;
}

.notice {
    padding: 10px 14px;
    background-color: #eef5fd;
    border: 1px solid #cfe2f7;
    border-radius: 6px;
    font-size: 14px;
    color: #1a4d80;
    text-align: left;
}

.notice.error {
    background-color: #fdeeee;
    border-color: #f7cfcf;
    color: #8a2020;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.topbar-user {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    white-space: nowrap;
}

.topbar-user .muted {
    color: #999;
}
