/* ================================================================ *
     Форумные стили
 * ================================================================ */

/* Иконки плюс/минус для сворачивания категорий */
.collapse-icon .icon-plus { display: none; }
.collapse-icon .icon-minus { display: inline; }
.category .collapsed .icon-plus { display: inline !important; }
.category .collapsed .icon-minus { display: none !important; }

/* Стили для сворачивания цитат */
.show-more {
  cursor: pointer;
  color: #3c618b;
  text-align: center;
  padding: 5px;
  margin-top: 5px;
  border-top: 1px solid #3c618b;
  font-size: 0.9em;
  background-color: #d7d7d7;
}
.show-more:hover {
  text-decoration: underline;
  color: #ffffff;
  background-color: #3c618b;
}

/* Стили для развернутой цитаты */
.q.expanded {
  overflow-y: auto;
  overflow-x: hidden;
  transition: height 0.3s ease-in-out;
}
/* Стили для свернутой цитаты */
.q.collapsed {
  height: 170px;
  overflow: hidden;
  transition: height 0.3s ease-in-out;
}

/* ---------------------------------- *
     Форумы на главной странице
 * ---------------------------------- */
#forums_list_wrap {
  margin-top: 4px;
  padding-right: 2px;
}

#forums_top_links {
  clear: both;
}

#forums_wrap {
  clear: both;
  padding-top: 1px;
}

.cat_title { /* Category header */
  padding: 3px 8px 5px;
  letter-spacing: 1px;
  text-indent: 0.6em;
  background: #DEE3E7 url(../images/cellpic.png) repeat-x;
  border-radius: 8px 8px 0 0;
}

.cat_title a {
  text-decoration: none;
  color: #333333 !important;
}

table.forums {
  width: 100%;
}

.forums th {
  padding: 0 !important;
  font-size: 10px;
  font-weight: normal;
  color: #3C3C3C;
}

.forums td {
  padding: 3px 4px;
  font-size: 13px;
}

.forums em { /* titles like: "Subforums:", "Moderators:" */
  color: #5E5E5E;
  font-style: italic;
}

.forumlink { /* Названия разделов */
  font-size: 15px;
  font-weight: 600;
}

.forumlink a {
  text-decoration: none;
}

.forums .forumlink { /* forum title */
  margin-top: 1px;
}

.forum_desc { /* Описание форума */
  margin-top: 2px;
  color: #333333;
  font-size: 13px;
  line-height: 110%;
}

.subforums { /* subforums */
  margin-top: 2px;
  padding-left: 0.5em;
}

.subforums em {
  display: none;
}

.subforums + .moderators {
  margin-top: 0;
}

.category .subforums .sf_title {
  white-space: nowrap;
}
.dot-sf {
  color: #417998 !important;
  font-size: 11px;
  margin-right: 4px;
}

.new .dot-sf {
  color: #CA4200 !important;
}

.sf_title {
  white-space: normal;
}

.sf_icon {
  margin-right: 1px;
}

.sf_title a {
  text-decoration: none;
}

.moderators { /* moderators */
  margin-top: 3px;
  font-size: 12px;
  line-height: 110%;
}

.moderators a, .moderators a:visited {
  color: #333333;
  font-size: 12px;
  text-decoration: none;
}

.f_topics, .f_posts {
  display: none;
}

/* Скрыть <td> с количеством постов/тем на главной */
.f_last_post { /* last topic/post */
  text-align: center;
}

.last_topic {
  margin-top: 1px;
  white-space: nowrap;
}

.last_topic a {
  text-decoration: none;
}

.last_post_time {
  margin-top: 2px;
  font-size: 11px;
  white-space: nowrap;
}

.last_author {
  padding-left: 3px;
}

.f_stat_inline { /* Posts: xx Topics: xx */
  margin-top: 1px;
  white-space: nowrap;
}

.f_stat_posts {
  padding-left: 3px;
}

.forums thead { /* Forum TH-Headers */
  display: none;
}

.f_icon { /* Forum Icon cell */
  width: 35px;
  padding: 6px 0 !important;
}

.f_titles { /* Forum Title cell */
  width: auto;
}

.f_topics { /* Topics Count cell */
  width: 40px;
  text-align: center;
}

.f_posts { /* Posts Count cell */
  width: 50px;
  text-align: center;
}

.f_last_post { /* Forum Last Topic/Post cell */
  width: 230px;
}

.f_stat_inline { /* Inline Topic/Post count */
  display: block;
}

table.forums {
  border-collapse: collapse;
}

.cat_title {
  border: 0 none;
  border-top: 1px solid #CDD5D8;
  border-bottom: 1px solid #C3CBD1;
}

.f_tbl_wrap, #board_stats_wrap {
  border: 0 none;
}

.forums td.row1 {
  border: solid #FDFDFD;
  border-width: 0 1px 1px 0;
  border-color: #D0E8F2;
}

.forums td.row2 {
  border: solid #F5F5F5;
  border-width: 0 1px 1px 0;
  border-color: #D0E8F2;
}

td.f_titles {
  border-right-color: #FAFCFD !important;
}

td.last_td {
  border-right-width: 0 !important;
}

.cat_footer {
  height: 0px;
  margin-top: -1px;
  border-top: 1px solid #C3CBD1;
  font-size: 0px;
  line-height: 0px;
}

.cat_separator {
  height: 10px;
  font-size: 0px;
  line-height: 0px;
}

#mark_all_forums_read {
  margin: -10px 0 3px 0;
}

#online_time {
  float: left;
  font-style: italic;
  color: #444444;
}

#online_explain {
  float: right;
}

#online_userlist a {
  white-space: nowrap;
}

#forums_top_nav {
  display: none;
}

/* ---------------------------------- *
     Форумы на странице раздела
 * ---------------------------------- */
table.forum th {
  white-space: nowrap;
}

td.topic_id {
  padding: 4px 6px;
}

.spaceRow {
  padding: 0 !important;
  background: #D1D7DC;
}

td.topicSep { /* Topic type groups separator */
  padding: 2px 12px 3px;
  font-weight: bold;
  letter-spacing: 1px;
  color: #333333;
}

.topicMoved { /* Topic Moved prefix */
  font-weight: normal;
  font-style: italic;
}

.topicAnnounce { /* Topic Announce prefix */
  color: #DD6900;
}

.topicSticky { /* Topic Sticky prefix */
  color: #009900;
}

.topicPoll { /* Topic Poll prefix */
  font-weight: normal;
  color: #006699;
}

.topicPG { /* Topic pagination links */
  font-weight: normal;
  white-space: nowrap;
  font-size: 12px;
}

.iconDL { /* DL Icon */
  border: 1px outset;
  background: #EFEFEF;
  padding: 0px 3px 0px 2px;
  margin: 2px 1px 2px 0px;
}

.topicAuthor, a.topicAuthor, a.topicAuthor:visited {
  font-size: 13px;
  color: #333333;
  text-decoration: none;
}

.torSize {
  font-size: 11px;
  color: #333333;
  text-decoration: none;
}

.hl-selected-topic {
  background-color: #FAF0E6 !important;
}

.hl-selected-row, .hl-selected-row td {
  background-color: #FAF0E6 !important;
}

/* ---------------------------------- *
     Темы на странице темы
 * ---------------------------------- */

#rate {
  z-index: 10001; 
}

table.topic {
  width: 100%;
}

.post_head {
  padding: 0 6px;
  font-size: 12px;
}

.post_wrap {
  margin: 5px 5px 8px;
}

.post_body {
  line-height: 1.3;
}

/* The content of the posts */
a.postLink {
  text-decoration: none;
}

a.postLink:visited {
  text-decoration: none;
  color: #5493B4;
}

.posted_since {
  color: #666666;
  padding-left: 4px;
}

.signature {
  clear: both;
}

.signature {
  max-height: 121px;
  overflow: hidden;
  padding: 0;
}

.signature, .signature * {
  font-size: 13px !important;
  color: #5E5E5E !important;
  text-decoration: none !important;
  background: transparent !important;
  border: 0 none !important;
  padding: 0 !important;
}

.signature .c-head, .signature .q-head {
  display: none !important;
}

.signature .c-wrap, .signature .c-body,
.signature .q-wrap, .signature .q {
  display: inline !important;
}

.signature a {
  text-decoration: none !important;
}

.signature a:link:hover, a:visited:hover {
  text-decoration: none !important;
}

.signature img {
  max-width: 600px;
}

.last_edited {
  font-size: 10px;
  color: #5E5E5E;
}

.poster_info td {
  background-color: #F8FAFA !important;
}

.poster_info p {
  margin: 2px 0;
  color: #444444;
  max-width: 120px;
  overflow: hidden;
}

.poster_info .nick {
  margin: 0 0 4px;
  color: #333333;
  line-height: 120%;
}

.poster_info .avatar {
  margin: 5px 0 4px;
  max-width: 120px;
  max-height: 120px;
  overflow: hidden;
}

.avatar imgreflect {
  display: block;
}

.poster_info .flag {
  margin: 4px 0;
}

.poster_info em {
  font-style: normal;
  color: #000000;
}

table.topic, .topic .td1, .topic .td2, .topic .td3, .post_head, .post_btn_2 {
  border-style: solid;
  border-color: #C3CBD1;
}

.topic .td1 {
  border-width: 1px 1px 0px 0px;
  border-right-color: #CDD5D8;
  background-color: #FCFEFC !important;
}

.topic .td2 {
  border-width: 1px 0px 0px 0px;
  width: 100%;
}

.topic .td3 {
  border-width: 0px 1px 0px 0px;
  border-right-color: #CDD5D8;;
  height: 100%;
  background-color: #FCFEFC !important;
}

.post_head {
  border-width: 0px 0px 1px 0px;
}

.post_btn_2 {
  border-width: 1px 0px 0px 0px;
}

table.topic {
  border-width: 0px 1px 1px 1px;
  border-color: #CDD5D8;;
}

.poster_info {
  padding: 4px;
  vertical-align: top;
  font-size: 13px;
  line-height: 111%;
}

@media screen and (max-width: 1920px) {
  .poster_info {
    font-size: 11px;
  }
}

.poster_btn {
  padding: 0;
  vertical-align: bottom;
  text-align: center;
  white-space: nowrap;
}

.message {
  padding: 0;
  vertical-align: top;
  width: 100%;
}

input.select_post {
  margin-top: 0px;
  float: right;
}

input[type="checkbox"].select_post {
  margin-top: 4px;
}

table.peers {
  border-collapse: collapse;
}

table.peers th {
  border: 1px #A5AFB4 solid;
  background: #D1D7DC;
  color: #333333;
}

table.peers td {
  border: 1px #A5AFB4 solid;
  padding: 4px;
}

#last_seed_info {
  border: 1px #A5AFB4 solid;
}

.dl_list td {
  text-align: center;
}

.dl_list img {
  display: block;
}

#dl_counts td {
  font-size: 12px;
}

#poll {
  border: solid #CDD5D8;
  border-width: 1px;
  margin-bottom: -1px;
}

.quick_reply_box {
  width: 680px;
}

.hl-selected-post {
  background-color: #FFEFD5 !important;
}

/* ---------------------------------- *
     Статус торрента
 * ---------------------------------- */
.tor-status-td:hover {
  background: #F8F8FF;
}

.tor-icon {
  margin: 0 3px;
}

.tor-approved {
  margin-left: 1px;
  color: #008000;
  font-weight: bold;
}

.tor-closed {
  padding-left: 1px;
  color: #FF4500;
  font-weight: bold;
}

.tor-closed-cp {
  color: #CE3800;
  font-weight: bold;
}

.tor-consumed {
  color: #D26900;
  font-weight: bold;
}

.tor-dup {
  padding-left: 1px;
  color: #0000FF;
  font-weight: bold;
}

.tor-need-edit {
  color: #FF0000;
  font-weight: bold;
}

.tor-no-desc {
  padding-left: 1px;
  color: #FF4500;
  font-weight: bold;
}

.tor-not-approved {
  color: #C71585;
}

.tor-checking {
  color: #2424FF;
}

.tor-pogl {
  color: #ed1c28;
}

.tor-proverka {
  color: #588dcd;
}

.tor-ideal-rip {
  margin-left: 1px;
  color: #008000;
  font-weight: bold;
}

.tor-toch-rip {
  margin-left: 1px;
  color: #008000;
  font-weight: bold;
}

.tor-mb-ne-toch-rip {
  margin-left: 1px;
  color: #008000;
  font-weight: bold;
}

.tor-ne-toch-rip {
  margin-left: 1px;
  color: #008000;
  font-weight: bold;
}

/* ---------------------------------- *
     Вложения
 * ---------------------------------- */
table.attach {
  width: 95%;
  margin: 0 auto;
  clear: both;
  border-color: #A5AFB4;
}

.attach th, .attach td {
  border-color: #A5AFB4;
}

.attach th {
  padding: 3px;
  text-align: center;
  font-weight: bold;
  background: #D1D7DC;
}

.gold-header {
  background: #fbe778 !important;
}

.attach td {
  padding: 2px 4px;
}

.dl-link {
  font-size: 13px;
}

fieldset.attach {
  width: 95%;
  margin: 14px auto;
  padding: 2px;
  clear: both;
}

.attach_link {
  margin: 2px 12px 6px;
}

.attach_stats {
  padding-left: 3px;
}

.attach_comment {
  margin: 6px 12px;
  padding: 1px 8px;
  line-height: 110%;
  color: #444444;
  border-left: 2px solid #CC9933;
}

.attach .denied {
  color: #800000;
}

#tor_blocked {
  width: 95%;
}

#tor_blocked td {
  background: #FAEBD7;
  padding: 8px 12px;
  color: #6E380F;
}

/* ---------------------------------- *
     Страница результатов поиска
 * ---------------------------------- */
.opened { /* Clicked link color */
  color: #71869F;
}

/* ---------------------------------- *
     Трекер
 * ---------------------------------- */
a.tr-dl {
  font-weight: bold;
}

a.tr-dl:visited {
  color: #5493B4;
  font-weight: normal;
}

/* ================================================================ *
     Картинки
 * ================================================================ */
img.forum_icon {
  width: 35px;
  height: 35px;
  margin: 0 auto;
}

img.topic_icon {
  width: 19px;
  height: 18px;
}

/* ================================================================ *
 * Список файлов                                                  *
 * ================================================================ */
#tor-fl-wrap {
  margin: 12px auto 0;
  width: 95%;
  border: 1px solid #A5AFB4;
  background: #F8F8F8;
  display: none;
}
#fl-tbl-wrap {
  margin: 2px 14px 16px 14px;
}
#tor-fl-wrap td {
  background: #F8F8F8;
}
#tor-filelist {
  margin: 0 2px;
  padding: 8px 6px;
  border: 1px solid #B5BEC4;
  background: #F4F4F4;
  max-height: 284px;
  overflow: auto;
}
#tor-filelist i {
  color: #7A7A7A;
  padding-left: 4px;
}
#tor-filelist s {
  color: #0000FF;
  text-decoration: none;
}
#tor-filelist .b {
  padding-left: 20px;
  background: transparent url('/images/content/folder.gif') no-repeat 3px 50%;
}
#tor-filelist ul li span {
  padding-left: 20px;
  background: transparent url('/images/content/page.gif') no-repeat 3px 50%;
}
#tor-filelist .b > s {
  color: #800000;
}
#tor-filelist .tor-root-dir {
  font-size: 15px;
  font-weight: bold;
  line-height: 12px;
  padding-left: 4px;
}
#tor-fl-treecontrol {
  padding: 2px 0 4px;
}
#tor-fl-treecontrol a {
  padding: 0 8px;
  font-size: 13px;
  text-decoration: none;
}
#tor-fl-treecontrol .files-counter {
  color: #666;
  font-size: 12px;
  font-weight: normal;
}
#tor-fl-bgn {
  width: 200px;
  height: 300px;
  margin-right: 6px;
  border: 1px solid #B5BEC4;
}
.hide {
  height: 11px;
}
.tor-fl-hide {
  height: 12px;
}

/* ================================================================ *
     Кнопки профиля, сообщений, IP, наказаний и т.д.
 * ================================================================ */

/* Контейнеры кнопок */
.post_btn_1 {
  display: flex;
  justify-content: center;
  gap: 3px;
  padding: 2px 0;
}

.post_btn_2 {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 5px 0;
}

/* Общие стили для всех кнопок */
.btn-edit, .btn-quote, .btn-ip, .btn-delete, .btn-mod, .btn-warn, .btn-profile, .btn-pm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: linear-gradient(to bottom, #f5f6f7, #e0e2e4);
  border: 1px solid #a8aaac;
  color: #005670 !important; 
  font-weight: bold;
  text-decoration: none !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15), 0 1px 1px rgba(0,0,0,0.1); 
  transition: all 0.2s ease;
  white-space: nowrap;
}

/* Рабочие кнопки */
.btn-edit, .btn-quote, .btn-ip, .btn-mod, .btn-warn, .btn-delete {
  padding: 0px 3px;
  font-size: 13px !important;
  height: 15px;
}

@media screen and (max-width: 1920px) {
  .btn-edit, .btn-quote, .btn-ip, .btn-mod, .btn-warn, .btn-delete {
    font-size: 11px !important;
    height: 13px;
  }
}

/* Кнопки профиля и ЛС */
.btn-profile, .btn-pm {
  padding: 1px 4px;
  font-size: 13px !important;
}

@media screen and (max-width: 1920px) {
  .btn-profile, .btn-pm {
    font-size: 11px !important;
  }
}

/* Эффект наведения */
[class*="btn-"]:hover {
  background: linear-gradient(to bottom, #e8ecef, #d1d5d9); 
  color: #d96c00 !important; 
  box-shadow: 0 3px 6px rgba(0,0,0,0.2), 0 1px 2px rgba(0,0,0,0.15); 
}

/* Эффект нажатия */
[class*="btn-"]:active {
  background: linear-gradient(to bottom, #d5d8db, #bfc3c7);
  box-shadow: inset 0 2px 3px rgba(0,0,0,0.25); 
  transform: translateY(1px);
}

/* Адаптивность (без изменений размеров) */
@media screen and (max-width: 768px) {
  .post_btn_1, .post_btn_2 {
    flex-wrap: wrap;
  }
}

/* Новая тема (кнопка) */
.new-topic-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 10px;
  border-radius: 4px;
  background: linear-gradient(to bottom, #8db6df, #ffffff);
  border: 1px solid #005670; 
  color: #093c4c !important;
  font-size: 14px !important;
  font-weight: bold;
  text-decoration: none !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15), 0 1px 1px rgba(0,0,0,0.1);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.new-topic-btn:hover {
  background: linear-gradient(to bottom, #e8ecef, #d1d5d9);
  border-color: #003d52; 
  color: #d96c00 !important;
  box-shadow: 0 3px 6px rgba(0,0,0,0.2), 0 1px 2px rgba(0,0,0,0.15);
}

.new-topic-btn:active {
  background: linear-gradient(to bottom, #d5d8db, #bfc3c7);
  border-color: #002a39; 
  box-shadow: inset 0 2px 3px rgba(0,0,0,0.25);
  transform: translateY(1px);
}

@media screen and (max-width: 768px) {
  .new-topic-btn {
    padding: 2px 8px;
    font-size: 12px !important;
  }
}

/* Кнопки золота и серебра */
.btn-quick-gold, .btn-quick-silver {
  display: inline-block;
  padding: 2px 5px;
  border-radius: 4px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  border: 1px solid;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  margin-right: 6px;
}

.btn-quick-gold {
  background: linear-gradient(to bottom, #f3d17a, #cfac47);
  border-color: #bb9b3c;
  color: #000 !important;
}

.btn-quick-silver {
  background: linear-gradient(to bottom, #e3e3e3, #b0b0b0);
  border-color: #999999;
  color: #000 !important;
}

.btn-quick-gold:hover, .btn-quick-silver:hover {
  transform: translateY(-2px);
  box-shadow: 0 3px 5px rgba(0,0,0,0.3);
}

.btn-quick-gold:hover {
  background: linear-gradient(to bottom, #f5d992, #ddc067);
}

.btn-quick-silver:hover {
  background: linear-gradient(to bottom, #efefef, #c0c0c0);
}

.btn-quick-gold:active, .btn-quick-silver:active {
  transform: translateY(1px);
  box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* ---------------------------------- *
     Модальное окно предупреждений
 * ---------------------------------- */
/* Контейнер модального окна */
#show_add {
  position: fixed;
  left: 50%;
  top: 50%;
  margin-left: -400px; /* Увеличиваем ширину окна */
  margin-top: -250px;
  width: 800px; /* Фиксированная ширина */
  background-color: #fff;
  border: 1px solid #a5afe4;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  overflow: auto;
  max-height: 90vh; /* Максимальная высота с прокруткой */
  z-index: 1000;
}

/* Заголовок */
.warn_head {
  background: #5f5f5f;
  padding: 10px 15px;
  position: relative;
  border-bottom: 1px solid #CAD9E7;
}

.warn_head h2 {
  color: #ffffff;
  text-align: center;
  font-size: 14px;
  margin: 0;
  padding: 0;
  font-weight: bold;
}

/* Кнопка закрытия */
.close-btn {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  height: 16px;
  width: 16px;
  cursor: pointer;
  opacity: 0.8;
}

.close-btn:hover {
  opacity: 1;
}

/* Таблица */
#show_add .forumline {
  width: 100%;
  border-spacing: 1px;
  margin: 0;
  border-collapse: separate;
}

#show_add .forumline td {
  padding: 6px 8px;
}

/* Поля выбора */
#show_add select {
  padding: 4px;
  border: 1px solid #B4C2D1;
  border-radius: 3px;
  font-size: 12px;
  background-color: #F8F8F8;
}

/* Поле ввода темы */
#show_add input[type="text"] {
  padding: 4px 8px;
  border: 1px solid #B4C2D1;
  border-radius: 3px;
  font-size: 12px;
  width: 85%;
  margin: 3px 0;
}

/* Текстовый редактор */
#show_add textarea.editor {
  margin: 6px 0;
  width: 98%;
  height: 16em;
  padding: 5px;
  border: 1px solid #B4C2D1;
  border-radius: 3px;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 12px;
}

/* ID для даты истечения */
#exp_date {
  font-size: 11px;
  color: #d10000;
  white-space: nowrap;
  font-weight: bold;
}

/* Заголовок формы */
#show_add .thHead {
  background-color: #006699;
  color: #ffffff;
  font-weight: bold;
  padding: 5px;
  text-align: center;
}

/* Контейнер быстрого ответа */
.quick_reply_box {
  text-align: center;
  padding: 5px 0;
}

/* Перекрытие старых стилей */
.back {
  background: none;
  height: auto;
  width: auto;
  padding: 0;
}

/* Ряды таблицы */
#show_add .row2 {
  background-color: #E7F0F5;
}

/* ================================================================ *
     Меню
 * ================================================================ */

.menu-root {
  padding-right: 13px;
  white-space: nowrap;
  background: transparent url(../images/css/menu_open.gif) no-repeat right;
}

.menu-alt1 {
  padding-right: 0;
  background: transparent;
}

img.menu-alt1 {
  width: 9px;
  height: 9px;
}

a.menu-root, a.menu-root:visited, a.menu-root:hover {
  text-decoration: none !important;
}

.menu-sub {
  position: absolute;
  display: none;
  z-index: 1000;
}

.menu-sub table {
  background: #FFFFFF;
  border: 1px solid #92A3A4;
  border-radius: 4px;
}

.menu-sub table th {
  background: #71869F;
  color: #F0F8FF;
  font-weight: bold;
  font-size: 11px;
}

.menu-sub table td {
  background: #ffffff;
}

.menu-sub table td.cat {
  background: #B5BEC3;
}

.menu-sub legend {
  font-weight: bold;
}

.menu-sub label {
  display: block;
  padding-right: 2px;
  margin-right: 1px;
}

.menu-sub label:hover {
  background: #D1D7DC;
  color: #993300;
}

#forum-options-menu {
  display: none;
  padding: 5px;
}

#forum-options-menu td {
  padding: 8px 15px;
}

#forum-options-menu a {
  display: block;
  font-weight: bold;
  text-align: center;
  border-radius: 4px;
}

#forum-options-menu a:hover {
  background-color: #dee3e7;
  text-decoration: none;
}

/* Кнопка "Выход" */
.logout-link {
  color: #d64545 !important;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.2s;
}
.logout-link:hover {
  color: #a32d2d !important;
  text-decoration: underline;
}

/* ================================================================ *
     Discord Integration
 * ================================================================ */
.discord-link-btn {
  display: inline-block;
  padding: 6px 12px;
  background: linear-gradient(to bottom, #5865F2, #4752C4);
  color: #ffffff !important;
  font-weight: 600;
  text-decoration: none !important;
  border-radius: 4px;
  border: 1px solid #4752C4;
  box-shadow: 0 2px 4px rgba(88, 101, 242, 0.3);
  transition: all 0.2s ease;
}

.discord-link-btn:hover {
  background: linear-gradient(to bottom, #4752C4, #3C45A5);
  box-shadow: 0 3px 6px rgba(88, 101, 242, 0.4);
  transform: translateY(-1px);
  color: #ffffff !important;
}

.discord-link-btn:active {
  background: linear-gradient(to bottom, #3C45A5, #4752C4);
  box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.2);
  transform: translateY(1px);
}

.discord-unlink {
  color: #71869F !important;
  text-decoration: none;
  font-size: 12px;
  transition: color 0.2s;
}

.discord-unlink:hover {
  color: #d96c00 !important;
  text-decoration: underline;
}

.discord-linked-status {
  color: #00A300;
  font-weight: 600;
}