/* Основные стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f7fa; /* Упрощенный светлый фон вместо градиента */
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: white; /* Добавляем белый фон для всего контента */
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Шапка */
.header {
    background: white;
    border-radius: 15px;
    padding: 25px 40px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: #2c3e50;
    margin-bottom: 5px;
    font-size: 1.8em;
}

.tagline {
    color: #7f8c8d;
    font-size: 1.1em;
}

.main-nav {
    display: flex;
    gap: 20px;
}

.nav-link {
    text-decoration: none;
    color: #3498db;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s;
    font-weight: 500;
}

.nav-link:hover {
    background: #3498db;
    color: white;
}

.nav-link.active {
    background: #3498db;
    color: white;
}

.admin-link {
    background: #e74c3c;
    color: white;
}

.admin-link:hover {
    background: #c0392b;
}

/* Форма поиска */
.search-section {
    background: white; /* Белый фон формы */
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 1px solid #e0e0e0; /* Добавляем границу для контраста */
}

.section-title {
    color: #2c3e50; /* Темный цвет заголовка */
    margin-bottom: 10px;
    font-size: 1.6em;
}

.section-subtitle {
    color: #7f8c8d; /* Серый цвет подзаголовка */
    margin-bottom: 25px;
}

.input-group {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.search-input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    transition: border-color 0.3s;
    background: white; /* Белый фон инпутов */
    color: #333; /* Черный цвет текста */
}

.search-input:focus {
    border-color: #3498db;
    outline: none;
    color: #333; /* Черный цвет текста при фокусе */
}

.search-input::placeholder {
    color: #7f8c8d; /* Серый цвет плейсхолдера */
}

.search-button {
    padding: 15px 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.3s;
    font-weight: 600;
}

.search-button:hover {
    transform: translateY(-2px);
}

.search-tips {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid #3498db;
    color: #333; /* Черный цвет текста */
}

.search-tips strong {
    color: #2c3e50; /* Темный цвет для выделенного текста */
}

.examples a {
    color: #3498db;
    text-decoration: none;
    margin: 0 5px;
    padding: 3px 8px;
    border: 1px solid #3498db;
    border-radius: 5px;
    transition: all 0.3s;
}

.examples a:hover {
    background: #3498db;
    color: white;
}

/* Информационный блок */
.info-section {
    background: white; /* Белый фон */
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 1px solid #e0e0e0;
}

.info-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.info-column {
    padding: 20px;
    background: #f8f9fa; /* Светло-серый фон для контраста */
    border-radius: 10px;
    transition: transform 0.3s;
    border: 1px solid #e9ecef;
}

.info-column:hover {
    transform: translateY(-5px);
}

.info-column h3 {
    color: #2c3e50; /* Темный цвет заголовков */
    margin-bottom: 15px;
    font-size: 1.3em;
}

.info-column p {
    color: #333; /* Черный цвет текста */
}

.steps-list {
    list-style: none;
    padding-left: 0;
}

.steps-list li {
    padding: 10px 0;
    border-bottom: 1px dashed #ddd;
    color: #333; /* Черный цвет текста */
}

.steps-list li:last-child {
    border-bottom: none;
}

/* Футер */
.footer {
    text-align: center;
    padding: 20px;
    margin-top: 30px;
    border-top: 1px solid #eee;
    background: white; /* Белый фон футера */
    border-radius: 0 0 15px 15px;
    color: #333; /* Черный цвет текста */
}



/* Адаптивность */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .input-group {
        flex-direction: column;
    }
    
    .search-button {
        width: 100%;
    }
    
    .info-columns {
        grid-template-columns: 1fr;
    }
}