/* ===== Сброс стилей ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f0eb;
    color: #333;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* ===== Обёртка страницы ===== */
.page-wrapper {
    background-color: #ffffff;
    border: 2px solid #c9a96e;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    padding: 40px 35px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* ===== Шапка ===== */
.header {
    text-align: center;
    margin-bottom: 25px;
}

.header h1 {
    font-size: 26px;
    color: #5a3e2b;
    margin-bottom: 10px;
}

.header .mission {
    font-size: 15px;
    color: #777;
    font-style: italic;
    line-height: 1.5;
}

/* ===== Инфо-секция ===== */
.info-section {
    text-align: center;
    margin-bottom: 30px;
}

.info-section p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* ===== Секция авторизации ===== */
.auth-section {
    text-align: center;
}

.auth-section h2 {
    font-size: 20px;
    color: #5a3e2b;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

/* ===== Форма ===== */
.auth-form {
    border: 2px solid #c9a96e;
    border-radius: 8px;
    padding: 25px 30px;
    margin-bottom: 20px;
    text-align: left;
}

.form-row {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.form-row label {
    width: 100px;
    font-size: 15px;
    font-weight: 600;
    color: #5a3e2b;
}

.form-row input[type="text"],
.form-row input[type="password"] {
    flex: 1;
    max-width: 280px;
    padding: 10px 14px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.3s;
}

.form-row input[type="text"]:focus,
.form-row input[type="password"]:focus {
    border-color: #c9a96e;
    box-shadow: 0 0 4px rgba(201, 169, 110, 0.4);
}

/* ===== Чекбокс ===== */
.checkbox-row {
    margin-bottom: 5px;
}

.checkbox-row input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    accent-color: #c9a96e;
    cursor: pointer;
}

.checkbox-row label {
    width: auto;
    font-size: 13px;
    color: #777;
    cursor: pointer;
}

/* ===== Кнопки ===== */
.auth-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    padding: 10px 22px;
    font-size: 14px;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-login {
    background-color: #c9a96e;
    color: #fff;
    font-weight: 600;
}

.btn-login:hover {
    background-color: #b08d4f;
}

.btn-register {
    background-color: #5a3e2b;
    color: #fff;
    font-weight: 600;
}

.btn-register:hover {
    background-color: #3e2a1d;
}

.btn-forgot {
    background-color: transparent;
    color: #c9a96e;
    border: 1px solid #c9a96e;
}

.btn-forgot:hover {
    background-color: #c9a96e;
    color: #fff;
}

/* ===== Подвал ===== */
.footer {
    text-align: center;
    margin-top: 35px;
    padding-top: 20px;
    border-top: 1px solid #e0d5c5;
}

.footer p {
    font-size: 13px;
    color: #888;
    margin-bottom: 6px;
    line-height: 1.5;
}