body {
    margin: 0;
    font-family: "Segoe UI", sans-serif;
    background: #f5f7fa;
    color: #333;
}

.container {
    margin: auto;
    padding: 20px;
}

header {
    background: #007bff;
    color: white;
    padding: 40px 0;
    text-align: center;
}

header h1 {
    margin-bottom: 10px;
    font-size: 2.5em;
}

.auth-buttons {
    margin-top: 20px;
}

.auth-buttons .btn {
    display: inline-block;
    margin: 5px;
    padding: 12px 24px;
    background: white;
    color: #007bff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background 0.3s;
}

.auth-buttons .btn:hover {
    background: #e6e6e6;
}

.auth-buttons .btn-secondary {
    background: #343a40;
    color: white;
}

.news, .services {
    background: white;
    margin: 20px 0;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.05);
}

.news ul {
    list-style: disc;
    margin-left: 20px;
}

.service-card {
    background: #f9f9f9;
    padding: 20px;
    margin-top: 20px;
    border-left: 5px solid #007bff;
    border-radius: 8px;
}

.service-card h3 {
    margin-top: 0;
}

.service-card .btn {
    margin-top: 10px;
    display: inline-block;
    background: #007bff;
    color: white;
    padding: 10px 16px;
    text-decoration: none;
    border-radius: 6px;
}

.service-card .btn:hover {
    background: #0056b3;
}

footer {
    text-align: center;
    padding: 20px;
    background: #f1f1f1;
    font-size: 0.9em;
}

.site-logo {
    max-height: 70px;
    object-fit: contain;
    display: block;
    margin: 0 auto 1em auto;
}
.btn-settings {
    display: inline-block;
    padding: 11px 16px;
    font-size: 14px;
    font-weight: 600;
    font-family: Arial, sans-serif;
    line-height: 1.2;
    color: #fff;
    background-color: #045cbb; /* синий фон */
    border: none;
    border-radius: 6px;       /* скругление */
    text-decoration: none;
    cursor: pointer;
    user-select: none;
    vertical-align: middle;
    transition: background-color 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15); /* лёгкая тень */
}

/* Сброс стилей кнопки */
button.btn-settings {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    background: none;
    padding: 0;
    margin: 0;
    font: inherit;
    color: inherit;
    box-shadow: none;
}

/* Применяем подложку к кнопке */
button.btn-settings {
    padding: 8px 16px;
    background-color: #045cbb;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

/* Эффекты при наведении и фокусе */
.btn-settings:hover,
.btn-settings:focus {
    background-color: #0056b3;
    text-decoration: none;
    outline: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}
