.forum-primary-container {
  background: var(--color-bg);
}

.forum-dashboard {
  position: relative;
  padding-top: 20px;
}
.forum-dashboard-left {
  background-color: var(--color-white);
  /* Box Shadow */
  box-shadow: 10px 79px 32px rgba(87, 87, 87, 0.01), 6px 45px 27px rgba(92, 92, 92, 0.05), 2px 20px 20px rgba(49, 49, 49, 0.09), 1px 5px 11px rgba(52, 52, 52, 0.1);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.forum-dashboard .forum-dashboard-left {
  padding: 30px;
  font-size: 0.9rem;
}
.page-id-3 .forum-dashboard .forum-dashboard-left {
  padding: 0;
}
.page-id-3 .forum-dashboard .forum-dashboard-left h1 { padding: 30px; }
.forum-dashboard .forum-dashboard-right {
  padding: 0 0 0 15px;
}
@media (max-width: 992px) {
  .forum-dashboard .forum-dashboard-left {
    padding: 15px;
  }
}

.forum-container {
  max-width: 100%;
  margin: 0 auto;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

/* Table Wrapper for Horizontal Scroll */
.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

/* Table Styles */

.forum-table {
border-collapse: collapse;
margin-top: 10px;
margin-bottom: 10px;
}

.forum-table td, .forum-table th, .sortable td, .sortable th {
padding: 5px;
border: 1px solid #ccc;
text-align: left;
vertical-align: top;
}

.forum-table tr {
vertical-align: top;
}

.bank-name td {
  font-weight: bold;
}
.comparison-page #container { width: 1050px; }
.comparison-page #content { width: 1028px; }
.histories, .expand-explanation {
font-size: 11px;
font-weight: normal;
margin-top: 5px;
}

.history_hover {
text-decoration: none;
color: #a92139;
border-bottom: 1px dashed #a92139;
}
.hsClose { font-weight: bold; float: right;}
.expandRates, .expandGeneral { color: #a92139; border-bottom: 1px dashed #a92139; }
.expandRates:hover, .expandGeneral:hover { cursor: pointer; }
#spMainContainer .stButton span { padding-left: 20px; padding-right: 3px; color: #ffffff; font-size: 12px; }
#spMainContainer { font-size: 115% !important; }
#stToolPop { display: none !important; }
#spSearchForm .spSearchForm { display: none; }
#spMainContainer .share-wrapper {
  margin-left: 50px !important;
  clear: both !important;
}
.share-wrapper img {
  width: auto;
  height: 16px;
  margin-right: 2px !important;
  vertical-align: middle !important;
}
#spMainContainer .share-wrapper a {
  color: #fff !important;
}
.share-wrapper a {
  text-decoration: none;
  font-size: 11px !important;
  margin-right: 7px;
}
.share-wrapper a:hover {
  opacity: .75;
  -ms-filter: "alpha(opacity=75)";
  filter: alpha(opacity=75);
}
#latest-forum-posts td { vertical-align: middle; }
#latest-forum-posts th { font-size: 11px; }
#latest-forum-posts p { line-height: 1em; padding: 0.3em 0.3em 0; margin: 0; }
#latest-forum-posts .userdetails { width: 14%; text-align: center; font-size: 11px; }
#latest-forum-posts .postcount { width: 5%; text-align: center; }

.forum-table, .sortable {
  width: 100%;
  border-collapse: collapse;
}

.forum-table thead, .sortable thead, .sortable thead a {
  background-color: var(--color-primary);
  color: white;
}

.forum-table th {
  padding: 19px;
  text-align: left;
  font-weight: var(--font-weight-bold);
  white-space: nowrap;
  text-transform: uppercase;
}

.sortable th {
  vertical-align: bottom;
}

.forum-table tbody tr {
  border-bottom: 1px solid #eee;
  transition: background-color 0.2s;
}

.forum-table tbody tr:hover {
  background-color: #f9f9f9;
}

.sortable td, .sortable th { padding: 8px; }

#spMainContainer a.spButton, #spMainContainer input.spSubmit { background: none !important; background-color: #990000 !important; color: white !important; }
.spEditPostHistory { display: none; }
ol.list-alpha {list-style-type: lower-alpha;}
.tablesorter-header a {
  padding-right: 18px;
  position: relative;
  display: block;
}
.tablesorter-header a:before,
.tablesorter-header a:after {
  border: 4px solid transparent;
  content: "";
  display: block;
  height: 0;
  right: 5px;
  top: 50%;
  position: absolute;
  width: 0;
}
.tablesorter-headerUnSorted a:before, .tablesorter-headerAsc a:before {
  border-bottom-color: #666;
  margin-top: -9px;
}
.tablesorter-headerUnSorted a:after, .tablesorter-headerDesc a:after {
  border-top-color: #666;
  margin-top: 1px;
}

.adsbygoogle { text-align: center; padding-top: 20px; margin-bottom: 20px; }
.forum-dashboard-right .adsbygoogle { padding-top: 0; margin-bottom: 0; }
.gsc-control-cse { border: none !important; }
#gsce-searchbox-only { margin-bottom: 20px; }

/* Topic Cell Styles */
.topic-cell {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.topic-title-link {
  display: inline-block;
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
  margin-bottom: 3px;
  line-height: 1;
  color: var(--color-primary);
  border-bottom: 1px solid var(--color-primary);
}
.topic-title-link:hover {
  border-bottom: 1px solid transparent;
  color: var(--color-primary);
}

.topic-title {
  font-weight: var(--font-weight-bold);
  margin-bottom: 0;
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-sm);
  line-height: 100%;
  letter-spacing: 0;
  color: #1C1818;
}

.topic-description {
  font-size: var(--font-size-sm);
  color: #1C1818;
  line-height: 1.2;
}

/* Meta Info Styles */
.date {
  font-weight: var(--font-weight-bold);
  display: block;
  line-height: 1;
  margin-top: 4px;
  font-size: var(--font-size-sm);
}

.user-meta {
  color: #1C1818;
  font-size: var(--font-size-sm);
  display: block;
}

.user-meta-link {
  color: var(--color-primary);
  font-weight: var(--font-weight-bold);
  display: inline-block;
  margin-left: 5px;
  text-decoration: none;
  border-bottom: 1px solid var(--color-primary);
}
.user-meta-link:hover {
  border-bottom: 1px solid transparent;
  color: var(--color-primary);
}

.post-count {
  font-weight: var(--font-weight-regular);
  font-size: var(--font-size-sm);
  color: #1C1818;
  text-align: center;
}

/* Scrollbar Styling */
.table-wrapper::-webkit-scrollbar {
  height: 8px;
}

.table-wrapper::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.table-wrapper::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}

.table-wrapper::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

.news-section {
  border: 1px solid #E4E4E4;
  border-radius: 4px;
  overflow: hidden;
  background-color: var(--color-white);
  margin-bottom: 10px;
}
.news-section .news-title-header {
  background-color: var(--color-primary);
  padding: 16px 17px;
  margin-bottom: 6px;
}
.news-section .news-title-header h3 {
  color: var(--color-white);
  margin: 0;
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-md);
  line-height: 100%;
}
.news-section .news-title {
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-sm);
  line-height: 100%;
  letter-spacing: 0;
  color: #1C1818;
  margin-bottom: 18px;
}

.news-section .news-section-inner {
  padding: 10px 16px;
  font-size: 0.9rem;
}

.form-control-select {
  appearance: none; /* Removes default styling */
  -webkit-appearance: none; /* For Safari */
  -moz-appearance: none; /* For Firefox */
  width: 192px;
  padding: 5px 35px 7px 15px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #f8f9fa; /* Light gray background */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Hover and focus states */
.form-control-select:hover {
  background-color: #e9ecef;
  border-color: #adb5bd;
}

.form-control-select:focus {
  outline: none;
  border-color: #86b7fe;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
  background-color: var(--color-white);
}

.chart-primary-container {
  padding: 0;
}
.chart-primary-container .container {
  padding: 0;
}
@media (max-width: 992px) {
  .chart-primary-container {
    padding: 0 15px;
  }
}
.forum-primary-container {
  padding-bottom: 15px;
}
.forum-dashboard h1, .forum-dashboard h2, .forum-dashboard h3, .forum-dashboard h4 {
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  margin-bottom: 3px;
}

.article-dashboard {
  display: grid;
  grid-template-columns: 50% 50%;
  gap: 0px 3px;
}
@media (max-width: 767px) {
  .article-dashboard {
    grid-template-columns: 100%;
  }
}

.article-container-card {
  background: var(--color-white);
  border-radius: 8px;
  margin-right: 16px;
  margin-bottom: 18px;
}
@media (max-width: 767px) {
  .article-container-card {
    margin-right: 0;
    margin-bottom: 18px;
    margin-left: 0;
  }
}
.article-container-card .article-link-section {
  display: block;
  text-decoration: none;
}
.article-container-card .article-inner {
  padding: 16px 21px;
}
.article-container-card .article-inner .article-heading {
  font-weight: var(--font-weight-bold);
  font-size: 18px;
  line-height: 20px;
  color: var(--color-primary);
  margin-bottom: 2px;
}
.article-container-card .article-inner .article-description {
  font-weight: var(--font-weight-regular);
  font-size: 16px;
  line-height: 20px;
  color: #000000;
  margin-bottom: 2px;
}
.article-container-card .article-inner .article-published-date {
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-sm);
  line-height: 20px;
  color: #000000;
}
/* Star rating */
span.rating {
  display: inline-block;
}
span.rating b {
  display: inline-block;
  width: 100px;
  height: 20px;
  overflow: hidden;
  background-image: url( '../images/star_rating.png' );
  background-repeat: no-repeat;
}
span.rating em {
  display: block;
  padding: 3px 0 0 2px;
  font-size: 12px;
  font-style: normal;
  color: #999;
}
span.rating-compact em {
  display: none;
}
.rating-0 b, .rating-0-0 b  {
  background-position: -101px -1px;
}
.rating-10 b, .rating-0-5 b {
  background-position: -81px -23px;
}
.rating-20 b, .rating-1 b, .rating-1-0 b {
  background-position: -81px -1px;
}
.rating-30 b, .rating-1-5 b {
  background-position: -61px -23px;
}
.rating-40 b, .rating-2 b, .rating-2-0 b {
  background-position: -61px -1px;
}
.rating-50 b, .rating-2-5 b {
  background-position: -41px -23px;
}
.rating-60 b, .rating-3 b, .rating-3-0 b {
  background-position: -41px -1px;
}
.rating-70 b, .rating-3-5 b {
  background-position: -21px -23px;
}
.rating-80 b, .rating-4 b, .rating-4-0 b {
  background-position: -21px -1px;
}
.rating-90 b, .rating-4-5 b {
  background-position: -1px -23px;
}
.rating-100 b, .rating-5 b, .rating-5-0 b {
  background-position: -1px -1px;
}
.byline,
.updated {
  display: none;
}
