/*
=====================================
 CATTLEMANIA FORUM TOPIC PAGE
=====================================
*/

.forum-topic-page {
  width: 100%;
}

/*
=====================================
 TOPIC DISCUSSION CARDS
=====================================
*/

.forum-topic-card {
  background: linear-gradient(
    145deg,
    rgba(15, 24, 53, 0.95),
    rgba(7, 12, 28, 0.95)
  );

  border-radius: 18px;

  padding: 22px;

  margin-bottom: 16px;

  border: 1px solid rgba(255, 255, 255, 0.08);

  transition: 0.25s ease;
}

.forum-topic-card:hover {
  transform: translateY(-5px);

  border-color: rgba(220, 38, 38, 0.45);

  box-shadow:
    0 15px 35px rgba(0, 0, 0, 0.35),
    0 0 20px rgba(220, 38, 38, 0.15);
}

/*
=====================================
 TOPIC TITLE
=====================================
*/

.topic-title {
  display: flex;

  align-items: center;

  gap: 8px;

  font-size: 19px;

  color: white;

  margin-bottom: 12px;
}

.topic-title strong {
  font-weight: 600;
}

/*
=====================================
 DESCRIPTION
=====================================
*/

.forum-topic-card p {
  color: #cbd5e1;

  font-size: 14px;

  line-height: 1.6;

  margin-bottom: 15px;
}

/*
=====================================
 TOPIC INFORMATION
=====================================
*/

.topic-info {
  color: #94a3b8;

  font-size: 13px;

  padding-top: 12px;

  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/*
=====================================
 VIEW DISCUSSION BUTTON
=====================================
*/

.forum-topic-card a {
  display: inline-flex;

  align-items: center;

  margin-top: 15px;

  padding: 11px 18px;

  border-radius: 12px;

  background: #111933;

  color: #cbd5e1;

  text-decoration: none;

  font-size: 14px;

  border: 1px solid rgba(255, 255, 255, 0.08);

  transition: 0.25s ease;
}

.forum-topic-card a:hover {
  background: #dc2626;

  color: white;

  transform: translateY(-2px);
}

/*
=====================================
 EMPTY MESSAGE
=====================================
*/

.forum-empty {
  background: #0f1835;

  border-radius: 16px;

  padding: 25px;

  text-align: center;

  color: #94a3b8;
}

/*
=====================================
 CREATE TOPIC BUTTON
=====================================
*/

.forum-header-actions {
  margin-top: 15px;
}

.forum-header-actions a {
  display: inline-flex;

  align-items: center;

  padding: 12px 20px;

  border-radius: 12px;

  background: #dc2626;

  color: white;

  text-decoration: none;

  transition: 0.25s;
}

.forum-header-actions a:hover {
  background: #b91c1c;

  transform: translateY(-3px);
}

/*
=====================================
 SIDEBAR STAT BOXES
=====================================
*/

.forum-stat-box {
  display: flex;

  justify-content: space-between;

  align-items: center;

  padding: 16px;

  margin-bottom: 12px;

  background: #111933;

  border-radius: 14px;

  border: 1px solid rgba(255, 255, 255, 0.06);
}

.forum-stat-box span {
  color: #94a3b8;

  font-size: 14px;
}

.forum-stat-box strong {
  color: white;

  font-size: 26px;
}

/*
=====================================
 LATEST TOPIC
=====================================
*/

.forum-latest-topic {
  margin-top: 15px;

  padding: 18px;

  background: #111933;

  border-radius: 14px;

  border-left: 4px solid #dc2626;
}

.forum-latest-topic h3 {
  color: white;

  font-size: 15px;

  margin-bottom: 10px;
}

.forum-latest-topic p {
  color: #cbd5e1;

  margin-bottom: 8px;
}

.forum-latest-topic small {
  color: #94a3b8;
}

/*
=====================================
 QUICK LINKS
=====================================
*/

.forum-quick-links {
  display: flex;

  flex-direction: column;

  gap: 10px;

  margin-top: 20px;
}

.forum-quick-links a {
  display: block;

  padding: 12px 14px;

  border-radius: 12px;

  background: #0f1835;

  color: #cbd5e1;

  text-decoration: none;

  border: 1px solid rgba(255, 255, 255, 0.06);

  transition: 0.2s;
}

.forum-quick-links a:hover {
  background: #dc2626;

  color: white;
}

/*
=====================================
 RESPONSIVE
=====================================
*/

@media (max-width: 900px) {
  .forum-topic-card {
    padding: 18px;
  }

  .topic-title {
    font-size: 17px;
  }
}

@media (max-width: 600px) {
  .forum-topic-card a {
    width: 100%;

    justify-content: center;
  }
}
