/* board/static/board/style.css */

body {
    background-color: #1d1f21; /* Основной темный фон */
    color: #c5c8c6;            /* Светло-серый текст */
    font-family: arial, helvetica, sans-serif;
    font-size: 10pt;
    margin: 0;
    padding: 0; /* Убираем отступы, чтобы топ-бар прилип к верху */
}

a {
    color: #81a2be; /* Мягкий голубой цвет ссылок */
    text-decoration: none;
}

a:hover {
    color: #c5c8c6; /* Светлый при наведении */
    text-decoration: underline;
}

/* Верхняя панель (Top Bar) как на гифке */
.top-bar {
    background-color: #282a2e;
    border-bottom: 1px solid #373b41;
    padding: 5px 10px;
    font-size: 9pt;
    color: #969896;
    margin-bottom: 20px;
}

.top-bar a {
    color: #969896;
    margin-right: 10px;
}

.top-bar a:hover {
    color: #fff;
}

.top-bar .right {
    float: right;
}

/* Логотип */
.logo {
    text-align: center;
    margin-bottom: 30px;
}

.logo h1 {
    color: #c5c8c6;
    font-size: 24pt;
    margin: 0;
    font-family: Tahoma, sans-serif;
    letter-spacing: -1px;
}

.logo span {
    font-size: 10pt;
    color: #969896;
}

/* Форма создания треда/поста */
.post-form-container {
    background-color: #282a2e; /* Темный фон формы */
    border: 1px solid #373b41;
    display: none; /* Скрыто по умолчанию */
    margin: 20px auto;
    padding: 10px;
    max-width: 600px;
    color: #c5c8c6;
}

/* Поля ввода в темном стиле */
input[type="text"], 
input[type="file"],
textarea {
    background-color: #373b41;
    border: 1px solid #1d1f21;
    color: #fff;
    font-family: arial, sans-serif;
    font-size: 10pt;
    padding: 4px;
    box-sizing: border-box;
    width: 100%;
}

textarea {
    height: 120px;
}

/* Кнопка отправки */
button[type="submit"] {
    background-color: #373b41;
    color: #fff;
    border: 1px solid #1d1f21;
    padding: 5px 15px;
    cursor: pointer;
}

button[type="submit"]:hover {
    background-color: #555;
}

/* Ссылка открытия формы */
.toggle-link {
    text-align: center;
    font-size: 11pt;
    margin: 15px 0;
}

/* Треды и посты */
.thread {
    margin: 0 20px 40px 20px;
    clear: both;
}

.reply-container {
    display: table;
    margin: 4px 0;
}

.side-arrows {
    color: #5e6166;
    float: left;
    margin-right: 5px;
    font-size: 0.8em;
}

.reply {
    background-color: #282a2e; /* Фон ответа */
    border: 1px solid #373b41;
    border-radius: 3px; /* Небольшое скругление как в jschan */
    display: inline-block;
    padding: 5px 10px;
    min-width: 300px;
}

/* Информация о посте */
.post-info {
    color: #969896;
    margin-bottom: 5px;
}

.subject {
    color: #b294bb; /* Фиолетовый оттенок для темы */
    font-weight: bold;
}

.name {
    color: #b5bd68; /* Зеленый цвет имени (как на гифке) */
    font-weight: bold;
}

.post-num {
    color: #969896;
    margin-left: 5px;
}

.file-info {
    font-size: 9pt;
    color: #7a7c7d;
    margin-bottom: 5px;
}

/* Картинки */
.post-image {
    float: left;
    margin: 5px 20px 10px 0;
    border: 1px solid #373b41;
}

/* Текст сообщения */
.post-message {
    margin: 10px 0;
    line-height: 1.4;
    color: #c5c8c6;
}

hr {
    border: none;
    border-top: 1px solid #373b41;
    height: 1px;
}


/* --- Добавить в самый низ файла style.css --- */

/* Принудительно показываем список досок на главной */
.welcome-box {
    display: block !important; /* Перебиваем display: none */
    margin-top: 50px;
    text-align: center;
}

/* Стили для списка досок (чтобы было красиво на темном фоне) */
.board-list {
    list-style-type: none;
    padding: 0;
}

.board-list li {
    display: inline-block;
    margin: 0 10px;
}

.board-list a {
    font-size: 14pt;
    font-weight: bold;
    color: #b5bd68; /* Зеленоватый цвет как у имен */
    text-decoration: underline;
}

.board-list a:hover {
    color: #fff;
    text-decoration: none;
}