/* Общие стили */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
    color: #333;
    line-height: 1.6;
}

header {
    background-color: #f4f4f9;
    color: #333;
    padding: 10px 0; /* Уменьшен padding сверху/снизу */
    text-align: center;
}

footer {
    background-color: #f4f4f9;
    color: #333;
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid #ddd;
    margin-top: 40px;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    display: inline;
    margin-right: 20px;
}

nav ul li a {
    color: #333;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #999;
    text-decoration: underline;
}

/* Основной контент */
.improvement-section {
    padding: 0 20px 20px 20px; /* Убрал padding сверху, оставил снизу и по бокам */
    margin: 0 auto; /* Убрал margin сверху */
    max-width: 960px;
}

section {
    padding: 20px;
    margin-bottom: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

h1, h2 {
    color: #000;
}

h1 {
    font-size: 28px;
    line-height: 1.25;
    margin-bottom: 10px;
}

h2 {
    font-size: 22px;
    line-height: 1.3;
    margin-top: 0;
    color: #ED1C24;
}

p {
    font-size: 18px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 15px;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: #999;
    text-decoration: underline;
}

a:active, a:visited {
    color: #f47059;
}

section:not(:last-child) {
    border-bottom: 2px solid #eee;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

/* Форма предложений */
.improvement-form {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-top: 20px;
}

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

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

input, select, textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    font-family: Arial, sans-serif;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #ED1C24;
    box-shadow: 0 0 0 2px rgba(237, 28, 36, 0.1);
}

textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-button {
    background-color: #ED1C24;
    color: white;
    padding: 14px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
    width: 100%;
    margin-top: 10px;
}

.submit-button:hover {
    background-color: #c8102e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(237, 28, 36, 0.2);
    text-decoration: none;
}

.submit-button:active {
    transform: translateY(0);
}

/* Категории предложений */
.categories {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0;
}

.category-card {
    flex: 1;
    min-width: 200px;
    background: white;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #ED1C24;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-card h3 {
    margin-top: 0;
    color: #333;
}

.category-card ul {
    padding-left: 20px;
    color: #666;
}

.category-card li {
    margin-bottom: 5px;
}

/* Примеры предложений */
.examples {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    margin: 25px 0;
    border-left: 4px solid #f47059;
}

.example-item {
    background: white;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 6px;
    border: 1px solid #eee;
}

.example-item:last-child {
    margin-bottom: 0;
}

.example-title {
    font-weight: bold;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.example-title:before {
    content: "💡";
}

/* Статистика предложений */
.suggestions-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.stat-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ED1C24;
    display: block;
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: #666;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .improvement-section {
        padding: 0 15px 15px 15px; /* Адаптивный padding */
    }
    
    section {
        padding: 15px;
    }
    
    h1 {
        font-size: 24px;
    }
    
    h2 {
        font-size: 20px;
    }
    
    p {
        font-size: 16px;
    }
    
    .categories {
        flex-direction: column;
    }
    
    .suggestions-stats {
        grid-template-columns: 1fr 1fr;
    }
    
    .improvement-form {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    nav ul li {
        display: block;
        margin: 10px 0;
    }
    
    .suggestions-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* Информационное сообщение */
.info-message {
    background: #e8f4fc;
    border-left: 4px solid #2196F3;
    padding: 15px;
    margin: 20px 0;
    border-radius: 4px;
    color: #333;
}

.info-message:before {
    content: "ℹ️ ";
    margin-right: 8px;
}

/* Стили для футера */
.footer-link {
    font-size: 14px;
}

footer a {
    color: inherit;
    text-decoration: underline;
}

footer a:hover {
    color: #999;
}