* {
	padding: 0;
	margin: 0;
}

body {
	background: #000;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	line-height: 18px;
	color: #aaa;
	background-image: url(../images/dsi-bg.png);
	background-repeat: no-repeat;
	background-size: cover;
}

img {
	border: none;
}

a {
	color: #97C4FF;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
	color: #aaa;
}

table {
	border-collapse: collapse;
}

table tr {
	padding: 5px;
}

table td {
	padding: 5px;
}


table th {
	font-weight: bold;
	padding: 5px;
}

ul {
	padding-left: 3em;
}

ol {
	padding-left: 3em;
}

#wrap {
	margin: 40px auto 0 auto;
	width: 80%;
}

.warning {
	border-style: solid;
	border-width: medium;
	padding: 5px;
	background-color: yellow;
	border-color: red;
	margin: 10px;
	color: black;
}

.info {
	border-style: solid;
	border-width: medium;
	padding: 5px;
	background-color: #081d4f;
	border-color: blue;
	margin: 10px;
}


#header {
	border: 5px solid #222;
	height: 100px;
	background: #333;
	background-image: url(../images/header.jpg)
}

#header h1 {
	font-size: 26px;
	font-weight: 100;
	letter-spacing: -3px;
	padding: 12px 0 5px 10px;
}

#header h1 a {
	color: #fff;
	text-decoration: none;
}

#header h1 a:hover {
	color: #aaa;
	text-decoration: none;
}

#header h2 {
	color: #ccc;
	font-size: 15px;
	font-weight: 100;
	padding: 0 0 0 11px;
	letter-spacing: -1px;
	line-height: 12px;
}

.left {
	margin-top: 10px;
	width: 71%;
	float: left;
	text-align: justify;
	border: 5px solid #222;
	padding: 10px;
	background: #333;
}

.left h2 {
	color: #6AAAFF;
	font-size: 24px;
	letter-spacing: -1.5px;
	font-weight: 100;
	padding: 30px 0 15px 0;
}

.left h3 {
	color: #6AAAFF;
	font-size: 20px;
	letter-spacing: -1.5px;
	font-weight: 100;
	padding: 24px 0 10px 0;
}

.left textarea {
	padding: 10px 10px 10px 10px;
}

.left table tr:hover:not(.nohover) {
	background-color: #f5f5f5;
}

.right {
	margin-top: 10px;
	width: 23%;
	float: right;
	border: 5px solid #222;
	font-size: 12px;
	padding: 10px;
	background: #333;
}

.right ul {
	list-style-type: square;
	padding: 5px 10px 10px 20px;
	color: #59799F;
}

.right h2 {
	height: 30px;
	font-size: 12px;
	color: #666;
	line-height: 30px;
}

.right h3 {
	height: 10px;
	font-size: 10px;
	color: #666;
	line-height: 10px;
}

.right a {
	text-decoration: none
}

.right .marketordersinsync {
	color: rgb(62, 144, 0);
	border: 2px solid #222;
	padding: 2px;
	text-align: center;
}

.right .marketordersnotinsync {
	color: rgb(255, 144, 0);
	border: 2px solid #222;
	padding: 2px;
	text-align: center;
}


#footer {
	margin-top: 10px;
	text-align: center;
	color: #eee;
	font-size: 11px;
	border: 5px solid #222;
	padding: 10px;
	background: #333;
}

/* Styles for scrollable table with fixed first column */
.table-scroll-container {
    width: 100%;
    overflow-x: auto;
    margin-top: 10px;
}

.table-scroll-container table {
    width: auto; /* Allow table to be wider than its container */
    min-width: 100%; /* Ensure table takes at least 100% width */
    white-space: nowrap; /* Prevent text wrapping in cells */
    background-color: #333; /* Match the background of the surrounding div */
}

.table-scroll-container th,
.table-scroll-container td {
    padding: 8px 12px;
    border: 1px solid #222;
    vertical-align: top;
}

.table-scroll-container thead th {
    position: sticky;
    top: 0;
    background-color: #444; /* Slightly different background for header */
    z-index: 2; /* Ensure header is above scrolling content */
}

.table-scroll-container .fixed-column {
    position: sticky;
    left: 0;
    background-color: #333; /* Match table background */
    z-index: 3; /* Ensure fixed column is above other scrolling content and header */
    color: #aaa !important; /* Override inline style for better contrast */
}

/* Adjust z-index for fixed column in header to be above other header cells */
.table-scroll-container thead .fixed-column {
    z-index: 4;
}
