/* ===== GLOBAL DARK THEME ===== */
*, *::before, *::after { box-sizing: border-box; }

body {
  background: #1e2329;
  color: #dde1e7;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  margin: 0;
  padding-left: 64px;
}

body.no-sidebar {
  padding-left: 0;
}

a { color: #4a9eff; text-decoration: none; }
a:hover { color: #6ab0ff; }

#icon{
	text-decoration: none;
	color: #dde1e7;
}

.page-link{
	color:grey;
}

.page-item{
	color:grey;
}
#figures{
	height:150px;
	width:100%;
	
}
#filter{
	height:80px;

}

#chart_div{
	
  z-index: 900; 

  display: flex;
  justify-content: center;
 
 }  
 
 .tablebeta{
 	
 	width: 100%;
 
 }
.order-container{
  width: 100%;
  margin: 24px 0 60px;
  padding: 24px 32px 60px;
}

.system-wrapper {
  width: 100%;
  padding: 0 24px 60px;
}

#systemViewDiv{
	
	display: flex;
  justify-content: center;
  width: 100%;
}
 /* .sortField{
	 height: 30px;
	 width: 30px;
	 } */
	 
/* #mainTable{
	width: 100%;
	
}*/

/* table.table-fit {
  width: auto !important;
  table-layout: auto !important;
}
table.table-fit thead th,
table.table-fit tbody td,
table.table-fit tfoot th,
table.table-fit tfoot td {
  width: auto !important;
} */

table {
      border-collapse: collapse;
      width: 100%;
      z-index: 800; 
     
} 
th, td {
  border: 1px solid #3a4149;
  text-align: left;
  padding: 8px;
  color: #dde1e7;
}

th {
  background: #2b313a;
  color: #9eaab8;
}

tr:hover {
  background-color: #2b313a;
}
#searchFields{
	      border-collapse: collapse;
	      width:100%;
	      
	
}
 
.table th .sortField {
    cursor: pointer; 
} 
.table th{
font-size: 14px;	
padding-left:1px;
text-align: center;
	
}

.sidebar {
  height: 83%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 40px;
  right: 0;
  background-color: #242a32;
  color: #c4cad3;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 80px;
}
.sidebar a:hover {
  color: #f1f1f1;
}

.sidebar .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 30px;
  margin-left: 50px;
  color:black;
  margin-top:30;
}

.sidebar a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 25px;
  color: #818181;
  display: block;
  transition: 0.3s;
}


 #sidepanelContent {
    padding: 20px;
  }
textarea {
	margin-left:20px;
	margin-right:20px;
	background-color: #dddddd;
    width: 310px;
    height: 100px;
    resize: none;
    margin-bottom: 10px;
    border: none;
    border-radius: 5px;
  }
#saveButton {
	margin-left:20px;
    background-color: #dddddd;
    color: black;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
  }
#notes-updated {
  display: none;
}
 
#notes-updated.show {
  display: block;
}
/* #header legacy — replaced by .site-nav below */
/*  login page style*/
.login-container { 
			width: 290px; 
			height: 250px; 
			background: #fff; 
			box-shadow: 0 10px 15px rgba(179, 179, 179, 0.7); 
			position: absolute; 
			top: 50%; 
			left: 50%; 
			transform: translate(-50%, -50%); 
			border-radius: 7px; 
			display: flex; 
			flex-direction: column; 
			justify-content: space-evenly; 
			padding: 1rem; 
		} 
#logo{
   			 display: flex;
   			 margin-left:30%;
   			 margin-right:50%;
		
}
/* ===== FOOTER ===== */
.footer-body { margin: 0; padding: 0; }

.footer-container {
  position: fixed;
  bottom: 0;
  left: 64px;
  width: calc(100% - 64px);
  z-index: 890;
  background: #1e2329;
  border-top: 1px solid #3a4149;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 12px;
  padding: 10px 24px;
  font-size: 13px;
}

.footer-link {
  color: #9eaab8;
  transition: color 0.15s;
}

.footer-link:hover { color: #dde1e7; }

.footer-divider { color: #4a5260; }

.footer-copy { color: #6b7685; }
/* ===== SIDEBAR NAV (Instagram-style, auto-hide) ===== */
.side-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 64px;
  height: 100vh;
  background: #1e2329;
  border-right: 1px solid #3a4149;
  display: flex;
  flex-direction: column;
  padding: 8px 0 16px;
  z-index: 900;
  overflow: hidden;
  transition: width 0.2s ease;
}

.side-nav:hover {
  width: 240px;
  padding: 8px 12px 16px;
}

.side-nav-logo {
  padding: 16px 12px 20px;
}

.side-nav-logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.side-nav-logo img { border-radius: 6px; }

.side-nav-brand {
  font-size: 18px;
  font-weight: 700;
  color: #f0f4f8;
  letter-spacing: -0.3px;
}

.side-nav-links {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.side-nav-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 19px;
  border-radius: 12px;
  color: #dde1e7;
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
}

.side-nav-link i {
  font-size: 22px;
  width: 26px;
  text-align: center;
  flex-shrink: 0;
}

.side-nav-link span,
.side-nav-user span {
  opacity: 0;
  transition: opacity 0.15s ease;
}

.side-nav:hover .side-nav-link span,
.side-nav:hover .side-nav-user span {
  opacity: 1;
}

.side-nav-link:hover {
  background: rgba(255,255,255,0.07);
  color: #fff;
}

.side-nav-link.active {
  font-weight: 700;
  color: #fff;
}

.side-nav-link.active i {
  color: #fff;
}

.side-nav-signup {
  background: #238636;
  color: #fff !important;
  border: 1px solid rgba(63,185,80,0.35);
  margin-top: 4px;
}

.side-nav-signup:hover { background: #2ea043 !important; }

.side-nav-bottom {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 16px;
  border-top: 1px solid #3a4149;
  margin-top: 12px;
}

.side-nav-auth {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.side-nav-user {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  font-size: 13px;
  color: #9eaab8;
  overflow: hidden;
}

.side-nav-user i {
  font-size: 22px;
  width: 26px;
  text-align: center;
  flex-shrink: 0;
  color: #6b7685;
}

.side-nav-user span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#logout-button { margin: 0; }




/*  monthlyreturns style*/
#monthlyreturns {
	display: flex;
	justify-content: center;
	align-items: center;
	
}



.box {
	margin-right: 10px;
	width: 195px;
	height: 60px;
	border: 1px solid black;
	background-color: white;
	margin: 5px;
	display: flex;
	justify-content: center;
	align-items: center;
	
	
}


 .popover {
            max-width: none; /* Allow custom width */
            width: 800px; /* Set your custom width */
        }
        .popover-body {
            padding: 0;
        }
        #chartContainer {
            width: 100%;
            height: 400px; /* Set the desired height for the chart */
        }
        
        
.bottom-info-bar {
    margin-bottom:30px;
   
    width: 100%;
    background-color: #E6E6E6;
    color: black; 
    display: flex;
    justify-content: center; 
    padding: 10px 0; /* Padding for some space */
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2); /* Slight shadow for effect */
    z-index: 1000; /* Ensure it stays on top */
}

.bottom-info-bar span {
    margin: 0 20px 0 0;  /* Space between items */
    font-size: 16px; /* Adjust font size */
    font-weight: normal; /* Bold text */
}
#chartContainer {
    position: relative;
    width: 100%; /* Ensures the chart takes full width of the container */
    height: 400px; /* Set a fixed height for the chart */
    overflow: hidden; /* Hide any overflow */
}

/* blog user view styling 
 */
#blog-navbar {
	background-color: #ADD8E6
}

#search_container {
	width: 100%;
	max-width: 800px;
	margin-left: auto; /* Center the table */
	margin-right: auto; /* Center the table */
}

.close-comment {
	margin-bottom: 10px; /* Add some space below the button */
}

.btn-read-more {
	background-color: #007bff;
	color: white;
	border-radius: 5px;
	transition: background-color 0.3s;
}

.btn-read-more:hover {
	background-color: #0056b3;
}
.user_blog_pagination{
	
	margin-bottom : 100px;
}




#stock_container{
	margin-top: 24px;
	margin-bottom: 90px;
}
#myDiv{
	
	margin-bottom: 10px;
}

.comma::after {
    content: ', ';
}

#equity_chart_div,
#column_chart_div,
#systemViewDiv {
  width: 100%;
  min-height: 400px;
}

/* ======================================================
   FEED v2 — Instagram-inspired dark trading feed
   ====================================================== */

body.feed-page {
  background: #1e2329;
  color: #dde1e7;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.feed-wrapper {
  width: 100%;
  margin: 24px 0 60px;
  padding: 0 32px;
}

.feed-loader {
  text-align: center;
  padding: 28px;
  color: #6b7685;
  font-size: 14px;
  letter-spacing: 0.3px;
}

/* ---- Post Card ---- */
.post-card {
  background: #2b313a;
  border: 1px solid #3a4149;
  border-radius: 16px;
  margin-bottom: 28px;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.post-card:hover {
  box-shadow: 0 6px 32px rgba(0,0,0,0.5);
}

/* ---- Card Header ---- */
.post-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid #343b44;
}

.post-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1d9bf0 0%, #0052cc 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.5px;
}

.post-meta {
  flex: 1;
  min-width: 0;
}

.post-symbol {
  display: block;
  font-weight: 700;
  font-size: 16px;
  color: #f0f4f8;
  letter-spacing: 0.3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.post-name-label {
  display: block;
  font-size: 12px;
  color: #9eaab8;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.post-status-badge {
  padding: 4px 11px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  flex-shrink: 0;
}

.post-status-badge.win    { background: rgba(63,185,80,0.12);  color: #3fb950; border: 1px solid rgba(63,185,80,0.3); }
.post-status-badge.loss   { background: rgba(248,81,73,0.12);  color: #f85149; border: 1px solid rgba(248,81,73,0.3); }
.post-status-badge.active { background: rgba(210,153,34,0.12); color: #d29922; border: 1px solid rgba(210,153,34,0.3); }

/* ---- Chart ---- */
.post-chart-wrap {
  background: #1e2329;
  border-bottom: 1px solid #343b44;
}

.post-chart {
  width: 100%;
  height: 300px;
}

/* ---- Stats Row ---- */
.post-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #343b44;
  border-bottom: 1px solid #343b44;
}

.post-stat {
  padding: 11px 10px;
  background: #2b313a;
  text-align: center;
}

.post-stat-label {
  display: block;
  font-size: 10px;
  color: #6b7685;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 4px;
}

.post-stat-value {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #dde1e7;
}

.post-stat-value.bull   { color: #3fb950; }
.post-stat-value.bear   { color: #f85149; }
.post-stat-value.win    { color: #3fb950; }
.post-stat-value.loss   { color: #f85149; }
.post-stat-value.active { color: #d29922; }

/* ---- Dates Row ---- */
.post-dates {
  display: flex;
  gap: 20px;
  padding: 9px 16px;
  border-bottom: 1px solid #343b44;
  font-size: 12px;
  color: #9eaab8;
}

.post-dates span { display: flex; align-items: center; gap: 5px; }
.post-dates i { font-size: 11px; color: #6b7685; }

/* ---- Notes ---- */
.post-notes {
  padding: 13px 16px;
  font-size: 14px;
  color: #dde1e7;
  line-height: 1.55;
  border-bottom: 1px solid #343b44;
}

.post-notes.empty {
  color: #6b7685;
  font-style: italic;
  font-size: 13px;
}

/* ---- Action Bar ---- */
.post-actions {
  display: flex;
  align-items: center;
  padding: 6px 8px;
  gap: 2px;
}

.action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: none;
  background: transparent;
  color: #9eaab8;
  font-size: 15px;
  cursor: pointer;
  border-radius: 10px;
  transition: all 0.15s ease;
  font-family: inherit;
  line-height: 1;
}

.action-btn:hover {
  background: rgba(255,255,255,0.06);
  color: #f0f4f8;
}

.action-btn .like-count {
  font-size: 13px;
  font-weight: 500;
}

.action-btn.liked         { color: #f85149; }
.action-btn.liked:hover   { background: rgba(248,81,73,0.08); }
.action-btn.bookmarked       { color: #d29922; }
.action-btn.bookmarked:hover { background: rgba(210,153,34,0.08); }

.action-btn.ml-auto { margin-left: auto; }

/* ---- Comment Section ---- */
.post-comment-section {
  display: none;
  padding: 12px 16px;
  border-top: 1px solid #343b44;
}

.comment-input-row {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.comment-text-input {
  flex: 1;
  padding: 9px 15px;
  border-radius: 20px;
  border: 1px solid #3a4149;
  background: #1e2329;
  color: #dde1e7;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.comment-text-input::placeholder { color: #6b7685; }
.comment-text-input:focus { border-color: #4a9eff; }

.comment-post-btn {
  padding: 9px 18px;
  border-radius: 20px;
  border: none;
  background: #1d9bf0;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
  white-space: nowrap;
}

.comment-post-btn:hover { background: #1a8cd8; }

.comment-list {
  max-height: 220px;
  overflow-y: auto;
}

.comment-item {
  padding: 8px 0;
  border-bottom: 1px solid #343b44;
  font-size: 13px;
  color: #dde1e7;
  line-height: 1.45;
}

.comment-item:last-child { border-bottom: none; }
/* FORCE GOOGLE CANDLESTICK COLORS */

.google-visualization-candlestick-rising path {
    fill: #0f9d58 !important;
    stroke: #0f9d58 !important;
}

.google-visualization-candlestick-falling path {
    fill: #a52714 !important;
    stroke: #a52714 !important;
}
/* FIX BOOTSTRAP POPOVER FOR CHARTS */
.popover {
    max-width: none !important;
    width: auto !important;
}

.popover-body {
    padding: 0 !important;
}
/* FORCE SYSTEM VIEW TO ALIGN WITH MAIN CONTENT */
/* OUTER CENTERING CONTAINER
#systemViewContainer {
  width: 1200px;
  margin: 0 auto;
}

#systemViewDiv {
  width: 1200px;
  height: 420px;
}
*/
#equity_chart_div,
#column_chart_div,
#systemViewDiv {
    width: 100%;
    max-width: 1170px;
    height: 400px;
    margin: 20px auto;
    position: relative;
}

/* ===== BLOG PAGE ===== */
.blog-wrapper {
  width: 100%;
  margin: 24px 0 80px;
  padding: 0 32px;
}

.blog-page-header {
  margin-bottom: 24px;
}

.blog-page-title {
  font-size: 22px;
  font-weight: 700;
  color: #f0f4f8;
  margin-bottom: 14px;
}

.blog-search-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.blog-search-input {
  flex: 1;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid #3a4149;
  background: #2b313a;
  color: #dde1e7;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.blog-search-input::placeholder { color: #6b7685; }
.blog-search-input:focus { border-color: #4a9eff; outline: none; box-shadow: 0 0 0 3px rgba(74,158,255,0.12); }

.blog-search-btn {
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid #3a4149;
  background: #2b313a;
  color: #dde1e7;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.blog-search-btn:hover { background: #4a9eff; color: #fff; border-color: #4a9eff; }

.blog-search-clear {
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  color: #6b7685;
  white-space: nowrap;
  transition: color 0.15s;
}
.blog-search-clear:hover { color: #f85149; }

.blog-search-label {
  font-size: 13px;
  color: #9eaab8;
  margin-bottom: 20px;
}
.blog-search-label strong { color: #dde1e7; }

/* ── Blog card ── */
.blog-card {
  background: #242a32;
  border: 1px solid #3a4149;
  border-radius: 14px;
  margin-bottom: 16px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.blog-card:hover {
  border-color: #4a5a6a;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.blog-card-header {
  padding: 18px 22px 10px;
}

.blog-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #eef1f5;
  margin: 0 0 6px;
  line-height: 1.45;
}
/* reset any inline styles from blog content */
.blog-card-title * { color: inherit !important; background: transparent !important; }

.blog-card-byline {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.blog-card-date {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #6b7685;
}

.blog-card-stock {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #9eaab8;
}

.blog-meta-link { color: #4a9eff; }
.blog-meta-link:hover { color: #6ab0ff; }

.blog-card-body {
  padding: 6px 22px 16px;
  font-size: 14px;
  color: #c4cad3;
  line-height: 1.7;
}
/* neutralise any inline colours/fonts from utext content */
.blog-card-body * {
  color: #c4cad3 !important;
  background: transparent !important;
  font-family: inherit !important;
  max-width: 100%;
}
.blog-card-body p { margin-bottom: 6px; }
.blog-card-body p:last-child { margin-bottom: 0; }

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 16px 10px 22px;
  border-top: 1px solid #2e3540;
}

.blog-card-tags {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #6b7685;
}
.blog-card-tags i { font-size: 11px; }

.blog-card-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  transition: all 0.15s;
  white-space: nowrap;
}

.blog-btn-read {
  background: rgba(35,134,54,0.15);
  color: #3fb950;
  border-color: rgba(63,185,80,0.3);
}
.blog-btn-read:hover { background: #238636; color: #fff; border-color: #238636; }

.blog-btn-like, .blog-btn-comment, .blog-btn-share {
  background: transparent;
  color: #8b949e;
  border-color: #3a4149;
}
.blog-btn-like:hover   { color: #f85149; border-color: rgba(248,81,73,0.4); background: rgba(248,81,73,0.07); }
.blog-btn-like.liked  { color: #f85149; border-color: rgba(248,81,73,0.4); cursor: default; }
.blog-btn-comment:hover { color: #4a9eff; border-color: rgba(74,158,255,0.4); background: rgba(74,158,255,0.07); }
.blog-btn-share:hover  { color: #3fb950; border-color: rgba(63,185,80,0.4); background: rgba(63,185,80,0.07); }

/* ── Comment section ── */
.blog-comment-section {
  padding: 14px 22px 18px;
  border-top: 1px solid #2e3540;
  background: #1e2329;
}

.blog-comment-input {
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #3a4149;
  background: #2b313a;
  color: #dde1e7;
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
  outline: none;
  margin-bottom: 8px;
  transition: border-color 0.2s;
}
.blog-comment-input::placeholder { color: #6b7685; }
.blog-comment-input:focus { border-color: #4a9eff; }

.blog-comment-actions {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.blog-comment-item {
  padding: 10px 0;
  border-bottom: 1px solid #2e3540;
}
.blog-comment-item:last-child { border-bottom: none; }

.blog-comment-user {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #6b7685;
  margin-bottom: 4px;
}

.blog-comment-text {
  color: #c4cad3;
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}

/* ── Empty state ── */
.blog-empty {
  text-align: center;
  padding: 60px 0;
  color: #6b7685;
}
.blog-empty i { font-size: 40px; margin-bottom: 12px; display: block; }
.blog-empty p { font-size: 15px; margin: 0; }

/* ── Pagination ── */
.blog-pagination {
  display: flex;
  gap: 6px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 28px 0 40px;
}

.blog-page-btn {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  border-radius: 8px;
  border: 1px solid #3a4149;
  background: #242a32;
  color: #9eaab8;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.15s;
}
.blog-page-btn:hover { background: #2b313a; color: #f0f4f8; border-color: #4a5a6a; }
.blog-page-btn.current { background: #238636; color: #fff; border-color: rgba(63,185,80,0.4); }
.blog-page-btn.disabled { opacity: 0.3; pointer-events: none; }

/* ===== DISCLAIMER PAGE ===== */
.disclaimer-wrapper {
  max-width: 1200px;
  margin: 32px auto 80px;
  padding: 0 32px;
}

.disclaimer-page-title {
  font-size: 22px;
  font-weight: 700;
  color: #f0f4f8;
  margin-bottom: 20px;
}

.disclaimer-card {
  background: #2b313a;
  border: 1px solid #3a4149;
  border-radius: 14px;
  overflow: hidden;
}

.disclaimer-table {
  width: 100%;
  border-collapse: collapse;
}

.disclaimer-table tr {
  border-bottom: 1px solid #343b44;
}

.disclaimer-table tr:last-child {
  border-bottom: none;
}

.disclaimer-table tr:hover {
  background: rgba(255,255,255,0.03);
}

.disclaimer-icon-cell {
  width: 56px;
  text-align: center;
  padding: 20px 8px;
  font-size: 20px;
  color: #4a9eff;
  vertical-align: top;
  border: none;
}

.disclaimer-table td {
  padding: 18px 20px 18px 4px;
  border: none;
  color: #dde1e7;
  vertical-align: top;
}

.disclaimer-table strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #f0f4f8;
  margin-bottom: 6px;
}

.disclaimer-table p {
  margin: 0;
  font-size: 14px;
  color: #9eaab8;
  line-height: 1.65;
}

/* ===== FAQ PAGE ===== */
.faq-wrapper {
  max-width: 1200px;
  margin: 32px auto 80px;
  padding: 0 32px;
}

.faq-page-title {
  font-size: 22px;
  font-weight: 700;
  color: #f0f4f8;
  margin-bottom: 24px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: #242a32;
  border: 1px solid #3a4149;
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item:hover {
  border-color: #4a5668;
}

.faq-item.open {
  border-color: #4a9eff;
}

.faq-question {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  cursor: pointer;
  user-select: none;
}

.faq-icon {
  font-size: 16px;
  color: #4a9eff;
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}

.faq-question span {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
  color: #eef1f5;
}

.faq-chevron {
  font-size: 13px;
  color: #6b7685;
  flex-shrink: 0;
  transition: transform 0.25s;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: #4a9eff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 22px 0 56px;
  font-size: 14px;
  line-height: 1.7;
  color: #9eaab8;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 22px 20px 56px;
}

.faq-answer a {
  color: #4a9eff;
  text-decoration: none;
}

.faq-answer a:hover {
  color: #6ab0ff;
  text-decoration: underline;
}

.faq-answer strong {
  color: #eef1f5;
}

/* ===== CONTACT PAGE ===== */
.contact-wrapper {
  width: 100%;
  margin: 32px 0 80px;
  padding: 0 32px;
}

.contact-success {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(63,185,80,0.1);
  border: 1px solid rgba(63,185,80,0.3);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 24px;
  color: #3fb950;
}

.contact-success i { font-size: 22px; margin-top: 2px; flex-shrink: 0; }
.contact-success strong { display: block; font-size: 15px; margin-bottom: 4px; }
.contact-success p { margin: 0; font-size: 13px; color: #9eaab8; }

.contact-error {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(248,81,73,0.1);
  border: 1px solid rgba(248,81,73,0.3);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 24px;
  color: #f85149;
}
.contact-error i { font-size: 22px; margin-top: 2px; flex-shrink: 0; }
.contact-error strong { display: block; font-size: 15px; margin-bottom: 4px; }
.contact-error p { margin: 0; font-size: 13px; color: #9eaab8; }

.contact-card {
  background: #2b313a;
  border: 1px solid #3a4149;
  border-radius: 14px;
  padding: 32px;
}

.contact-title {
  font-size: 20px;
  font-weight: 700;
  color: #f0f4f8;
  margin: 0 0 6px;
}

.contact-subtitle {
  font-size: 14px;
  color: #9eaab8;
  margin: 0 0 28px;
}

.contact-field {
  margin-bottom: 18px;
}

.contact-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #9eaab8;
  margin-bottom: 6px;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #3a4149;
  background: #1e2329;
  color: #dde1e7;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
  margin: 0;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder { color: #6b7685; }
.contact-field input:focus,
.contact-field textarea:focus { border-color: #4a9eff; }

.contact-field textarea { resize: vertical; }

.contact-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 20px;
  border: none;
  background: #238636;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
  margin-top: 8px;
}

.contact-submit:hover { background: #2ea043; }

/* ===== DARK FORMS (global) ===== */
input[type="text"], input[type="email"], input[type="password"],
input[type="search"], input[type="number"], select, textarea {
  background: #2b313a;
  color: #dde1e7;
  border: 1px solid #3a4149;
  border-radius: 6px;
}

select option { background: #2b313a; color: #dde1e7; }

/* ===== DARK TABLES (override bootstrap) ===== */
.table { color: #c4cad3 !important; background: transparent !important; }
.table thead th { background: #2b313a !important; color: #9eaab8 !important; border-color: #3a4149 !important; }
.table td, .table th { border-color: #3a4149 !important; color: #c4cad3 !important; vertical-align: middle; }
.table tbody tr { background: #1e2329 !important; }
.table-striped > tbody > tr:nth-of-type(odd) > * { background: rgba(255,255,255,0.025) !important; color: #c4cad3 !important; }
.table-hover > tbody > tr:hover > * { background: #2b313a !important; color: #dde1e7 !important; }
.table-secondary { background: rgba(255,255,255,0.04) !important; }

/* ===== DARK BOOTSTRAP OVERRIDES ===== */
.card { background: #242a32 !important; border-color: #3a4149 !important; color: #c4cad3 !important; }
.card-body { background: #242a32 !important; color: #c4cad3 !important; }
.card-header { background: #2b313a !important; color: #dde1e7 !important; border-color: #3a4149 !important; }
.card-title { color: #eef1f5 !important; }
.text-muted { color: #9eaab8 !important; }
.bg-light, .bg-white { background: #1e2329 !important; }
.bg-dark { background: #2b313a !important; }
.border, .border-top, .border-bottom { border-color: #3a4149 !important; }

/* Buttons */
.btn-primary { background: #238636 !important; border-color: #2ea043 !important; color: #fff !important; }
.btn-primary:hover { background: #2ea043 !important; }
.btn-secondary { background: #2b313a !important; border-color: #3a4149 !important; color: #c4cad3 !important; }
.btn-secondary:hover { background: #343b44 !important; color: #dde1e7 !important; }
.btn-outline-primary { color: #4a9eff !important; border-color: #4a9eff !important; background: transparent !important; }
.btn-outline-primary:hover { background: rgba(74,158,255,0.1) !important; }
.btn-outline-secondary { color: #9eaab8 !important; border-color: #3a4149 !important; background: transparent !important; }
.btn-outline-secondary:hover { background: #2b313a !important; color: #dde1e7 !important; }
.btn-outline-danger { color: #f85149 !important; border-color: rgba(248,81,73,0.4) !important; background: transparent !important; }
.btn-outline-danger:hover { background: rgba(248,81,73,0.1) !important; }
.btn-success { background: #238636 !important; border-color: #2ea043 !important; }
.btn-danger { background: rgba(248,81,73,0.15) !important; border-color: rgba(248,81,73,0.4) !important; color: #f85149 !important; }

/* Form inputs */
.form-control, .form-select {
  background: #2b313a !important;
  color: #dde1e7 !important;
  border-color: #3a4149 !important;
}
.form-control::placeholder, .form-select::placeholder { color: #6b7685 !important; }
.form-control:focus, .form-select:focus {
  border-color: #4a9eff !important;
  box-shadow: 0 0 0 3px rgba(74,158,255,0.15) !important;
  background: #2b313a !important;
  color: #dde1e7 !important;
}
.form-label { color: #9eaab8 !important; }
.input-group-text { background: #2b313a !important; border-color: #3a4149 !important; color: #9eaab8 !important; }

/* Tabs */
.nav-tabs { border-color: #3a4149 !important; }
.nav-tabs .nav-link { color: #9eaab8 !important; border-color: transparent !important; }
.nav-tabs .nav-link:hover { color: #dde1e7 !important; border-color: #3a4149 !important; background: rgba(255,255,255,0.04) !important; }
.nav-tabs .nav-link.active { background: #242a32 !important; border-color: #3a4149 #3a4149 #242a32 !important; color: #eef1f5 !important; }
.tab-content { background: #242a32 !important; }

/* Modals */
.modal-content { background: #242a32 !important; border-color: #3a4149 !important; color: #c4cad3 !important; }
.modal-header { background: #2b313a !important; border-color: #3a4149 !important; }
.modal-header .modal-title { color: #eef1f5 !important; }
.modal-footer { background: #2b313a !important; border-color: #3a4149 !important; }
.btn-close { filter: invert(1) !important; }

/* Alerts */
.alert { border-radius: 10px !important; }
.alert-success { background: rgba(35,134,54,0.15) !important; border-color: rgba(63,185,80,0.3) !important; color: #3fb950 !important; }
.alert-danger  { background: rgba(248,81,73,0.12) !important; border-color: rgba(248,81,73,0.3) !important; color: #f85149 !important; }
.alert-warning { background: rgba(210,153,34,0.15) !important; border-color: rgba(210,153,34,0.3) !important; color: #d2993a !important; }
.alert-info    { background: rgba(74,158,255,0.12) !important; border-color: rgba(74,158,255,0.3) !important; color: #4a9eff !important; }

/* Badges */
.badge.bg-success { background: rgba(35,134,54,0.2) !important; color: #3fb950 !important; }
.badge.bg-danger  { background: rgba(248,81,73,0.15) !important; color: #f85149 !important; }
.badge.bg-secondary { background: #2b313a !important; color: #9eaab8 !important; }

/* Pagination */
.pagination .page-link { background: #242a32 !important; color: #9eaab8 !important; border-color: #3a4149 !important; }
.pagination .page-link:hover { background: #2b313a !important; color: #dde1e7 !important; }
.pagination .page-item.active .page-link { background: #238636 !important; border-color: #2ea043 !important; color: #fff !important; }
.pagination .page-item.disabled .page-link { opacity: 0.35 !important; }
