/* ============================= */
/* Общие стили страницы          */
/* ============================= */
body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    max-width: 900px;
    margin: 20px auto;
    background: #f9f9f9;
    color: #333;
}

h1, h2 {
    color: #222;
    font-weight: normal;
}

a {
    text-decoration: none;
    color: #0066cc;
}

a:hover {
    text-decoration: underline;
}

/* ============================= */
/* Блок записи (entry)           */
/* ============================= */
.entry {
    margin-bottom: 25px;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border: 1px solid #ddd;
}

.entry strong {
    font-size: 1.1em;
}

.entry small {
    color: #666;
    display: block;
    margin-top: 5px;
}

/* ============================= */
/* Кнопки                        */
/* ============================= */
.button {
    display: inline-block;
    margin: 5px 5px 0 0;
    padding: 6px 12px;
    font-size: 0.9em;
    color: #fff;
    background: #0066cc;
    border-radius: 4px;
    transition: background 0.2s;
}

.button:hover {
    background: #004999;
}

/* ============================= */
/* Кнопки разделов (section)     */
/* ============================= */
.button.section {
    background: #009966;
}

.button.section:hover {
    background: #007744;
}

/* ============================= */
/* Кнопки книг (book)            */
/* ============================= */
.button.book {
    background: #cc3300;
}

.button.book:hover {
    background: #992200;
}

/* ============================= */
/* Форма добавления каталога     */
/* ============================= */
form {
    margin-bottom: 20px;
}

form input[type="text"] {
    padding: 6px;
    font-size: 0.95em;
    width: 60%;
    border: 1px solid #ccc;
    border-radius: 4px;
}

form button {
    padding: 6px 12px;
    font-size: 0.95em;
    border: none;
    border-radius: 4px;
    background: #0066cc;
    color: #fff;
    cursor: pointer;
}

form button:hover {
    background: #004999;
}

/* ============================= */
/* Пагинация                     */
/* ============================= */
a.button + a.button {
    margin-left: 5px;
}
