/* Заголовок */
header {
    background-color: #ffffff;
    color: black;
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    font-size: 2rem;
}

header nav a {
    font-size: 17px;
    color: #2c3e50;
    text-decoration: none;
    margin-left: 20px;
    padding: 8px 16px;
    border-radius: 4px;
    transition: background-color 0.3s;
    font-weight: 600;
}

header nav a:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

/* Алфавитная навигация */
.alphabet-nav {
    background-color: white;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.alphabet-nav h2 {
    margin-bottom: 15px;
    color: #2c3e50;
}

.letters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.letter {
    padding: 10px 15px;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 16px;
    font-weight: bold;
}

.letter:hover {
    background-color: var(--hover-color);
    transform: translateY(-2px);
}

.letter.disabled {
    background-color: var(--border-color);
    cursor: not-allowed;
    opacity: 0.5;
}

.letter.active {
    background-color: var(--accent-color);
}

/* Поиск */
.search-box {
    background-color: white;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.search-box input {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    transition: border-color 0.3s;
}

.search-box input:focus {
    outline: none;
    border-color: var(--secondary-color);
}
