:root {
	/* backgrounds */
	--primary: rgb(30,33,40);
	--secondary: rgb(25,28,33);
	--third: #ddd;
	--border: rgb(19,20,23);

	/* text */
	--font-color: rgb(155,162,177);

	/* Links / anchors */
	--anchor:#b39062;
	--anchor-hover:#e79424;

	/* buttons or alert boxes with different colors */
	--bg-danger: #3c0e0e;
	--color-danger: #9e5858;
	--border-danger: #350505;

	--bg-warning: #905c00;
	--color-warning: #39280a;
	--border-warning: #322001;

	--bg-info: #005d90;
	--color-info: #00263e;
	--border-info: #022530;

	--bg-success: #009039;
	--color-success: #003f0c;
	--border-success: #00380c;

	--bg-default: #0006;
	--color-default: #968452;
	--border-default: #000;
}



body {
	font-family: 'arial', sans-serif;
	color:var(--font-color);
}


body, ul { margin: 0; padding: 0; }
li { list-style: none; }
a { text-decoration: none;color:var(--anchor); }
a:hover {color:var(--anchor-hover);}
a:hover, button:hover, input[type="submit"]:hover { cursor: pointer; }
* {-webkit-transition-duration: 0.2s;-moz-transition-duration: 0.2s;-o-transition-duration: 0.2s;transition-duration: 0.2s;}
*:hover {-webkit-transition-duration: 0s;-moz-transition-duration: 0s;-o-transition-duration: 0s;transition-duration: 0s;}

/* ============================================
   3-COLUMN LAYOUT - LEFT SIDEBAR MENU
   ============================================ */

.feedContainer {
	display: flex;
	gap: 15px;
	padding: 15px;
}

/* LEFT SIDEBAR - Navigation Menu */
.sidebar-left {
	width: 200px;
	min-width: 200px;
	flex-shrink: 0;
}

.sidebar-box {
	background: linear-gradient(180deg, rgb(30,33,40) 0%, rgb(25,28,33) 100%);
	border: 2px solid rgb(19,20,23);
	margin-bottom: 10px;
	overflow: hidden;
	position: relative;
}

.sidebar-box::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(90deg, transparent, #b39062, #e79424, #b39062, transparent);
}

.sidebar-header {
	background: linear-gradient(180deg, rgb(35,38,45) 0%, rgb(28,31,38) 100%);
	padding: 12px 15px;
	font-size: 0.9em;
	font-weight: 600;
	color: #e79424;
	text-transform: uppercase;
	letter-spacing: 1px;
	border-bottom: 1px solid rgb(19,20,23);
	display: flex;
	align-items: center;
	gap: 8px;
}

.sidebar-header i {
	color: #b39062;
	font-size: 1em;
}

.sidebar-content {
	padding: 5px 0;
}

.sidebar-content a {
	display: block;
	padding: 10px 15px;
	color: #9ba2b1;
	font-size: 0.85em;
	transition: all 0.2s ease;
	border-left: 3px solid transparent;
}

.sidebar-content a:hover {
	background: rgba(179,144,98,0.1);
	color: #e79424;
	border-left-color: #e79424;
	padding-left: 20px;
}

.sidebar-content a i {
	width: 20px;
	margin-right: 8px;
	color: #b39062;
	text-align: center;
}

.sidebar-content a:hover i {
	color: #e79424;
}

/* Shop Category - Special Styling */
.sidebar-shop .sidebar-header {
	background: linear-gradient(180deg, rgba(231,148,36,0.15) 0%, rgba(179,144,98,0.1) 100%);
}

.sidebar-shop::before {
	background: linear-gradient(90deg, #e79424, #ffd700, #e79424);
	animation: shop-glow 2s ease-in-out infinite alternate;
}

@keyframes shop-glow {
	0% { opacity: 0.7; }
	100% { opacity: 1; box-shadow: 0 0 10px rgba(231,148,36,0.5); }
}

/* CENTER CONTENT */
.center-content {
	flex: 1;
	min-width: 0;
}

/* RIGHT SIDEBAR - Widgets */
.sidebar-right {
	width: 230px;
	min-width: 230px;
	flex-shrink: 0;
}

/* Legacy classes - for widgets */
.rightPane {
	width: 230px;
}

.leftPane {
	flex: 1;
}

.modIcon:hover > i:nth-child(2) { display: inline-block; }

nav .container, .preventCollapse, .ellipsis { overflow: visible; }

.topPane { margin-bottom: 10px; }
.leftPane { 
	width: 70%; 
	padding-top: 10px;
}
.rightPane { width: 29%; }
.searchForm { width: 200px; }
.body { padding: 10px 0px; }
.header, .well, .smedia a {
	width: 100%;
}
td { padding: 10px 5px; }
.header { color: #d1a233; }
.feedContainer { margin:2rem 0; }
.pull-left { float:left; }
.pull-right { float:right; }
.well, .header { width: auto; }
.centralizeContent { text-align: center; }
.smedia { font-size: 2em; }

.table-100 {
	width: 100%;
}

/* Header Slideshow Styles - ATOMIO Specific */
.slideshow-container {
    position: relative;
    width: 1200px !important;
    height: 200px;
    margin: 5px auto 5px auto;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

/* Slide image optimization */
.slideshow-container .slide {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-attachment: scroll !important;
}

/* If image is too tall, you can change to 'contain' to fit completely */
.slideshow-container .slide.fit-complete {
    background-size: contain !important;
}

/* If you want to crop differently, use these alternatives */
.slideshow-container .slide.crop-top {
    background-position: center top !important;
}

.slideshow-container .slide.crop-bottom {
    background-position: center bottom !important;
}

/* Remove margin from first element after slideshow */
.slideshow-container + * {
    margin-top: 0 !important;
}

.slideshow-container + .well {
    margin-top: 5px !important;
}

.slideshow-wrapper {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    display: block !important;
}

.slideshow-container .slide {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    opacity: 0 !important;
    transition: opacity 0.6s ease-in-out !important;
    z-index: 1 !important;
    display: block !important;
}

.slideshow-container .slide.active {
    opacity: 1 !important;
    z-index: 2 !important;
}

/* Navigation Arrows */
.slide-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: var(--anchor-hover);
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 18px;
    z-index: 10;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.slide-arrow:hover {
    background: rgba(0, 0, 0, 0.8);
    color: var(--anchor);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 15px var(--anchor-hover);
}

.slide-arrow-prev {
    left: 20px;
}

.slide-arrow-next {
    right: 20px;
}

/* Slide Indicators */
.slide-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid var(--anchor-hover);
}

.indicator.active,
.indicator:hover {
    background: var(--anchor-hover);
    box-shadow: 0 0 10px var(--anchor-hover);
    transform: scale(1.2);
}

input {
    width: 100%;
    height: 40px;
    border: 1px solid var(--border);
    color: var(--font-color);
    font-size: 1em;
}

#countDownTimer {
	line-height: 2.3;
	padding: 0px 10px;
	color: #5390a8;
}


.modIcon > i:nth-child(2),
.modIcon:hover > i:nth-child(1),
nav .container > div > ul > li > ul {
	display: none;
}

.loginForm {
    display: flex;
    flex-wrap: wrap;
}
button:hover {
	background: #0000004d;
}
button, input[type=submit], input[type=text], input[type=number] input[type=email], input[type=password] {
    margin-top: 10px;
}

input[type=search] {
	background: var(--primary);
}

.main {
	width: 1220px;
	margin: 10px auto 0 auto;
	position: relative;
	z-index: 1;
}




.ellipsis {
	text-overflow: ellipsis;
	white-space: nowrap;
}



.alert-box {
	max-width: 500px;
	font-size: 14px;
	border-radius: 5px;
	border: 1px solid var(--third);
	margin: 0 auto;
	margin-bottom: 15px;
	text-align: center;
}

.alert-default {
	background: var(--bg-default);
	color: var(--color-default);
	border-color: var(--border-default);
}
.alert-info {
	background: var(--bg-info);
	color: var(--color-info);
	border-color: var(--border-info);
}
.alert-success {
    background: var(--bg-success);
    color: var(--color-success);
    border-color: var(--border-success);
}
.alert-warning {
	background: var(--bg-warning);
	color: var(--color-warning);
	border-color: var(--border-warning);
}
.alert-danger {
	background: var(--bg-danger);
	color: var(--color-danger);
	border-color: var(--border-danger);
}
.alert-collapse {display:inline-block;}
.alert-size1 { font-size: 12px; }
.alert-size2 { font-size: 15px; }
.alert-size3 { font-size: 18px; }
.alert-size4 { font-size: 20px; }


nav .container > div > ul > li > ul > li > a:hover,
#countDownTimer, input, textarea,
nav, footer, table, .header, .feedContainer {
	background: var(--primary);
}

body, nav .container,
nav .container > div > ul > li > ul,
.leftPane, .rightPane, .topPane,
tr:nth-child(2n+1) {
	background: var(--secondary);
}

footer, .feedContainer,
nav .container, .topPane {
	border-bottom: 2px solid var(--border)
}

.header, .well, .smedia a {
	padding: 10px;
}

.searchForm input,
.loginForm input,
.alert-box {
	padding: 5px;
}

.vertical-menu a {
	color: var(--anchor) !important;
}

.loginForm .well {
	width: 100%;
}

.widget center {
	margin: auto;
}
.widget h3 {
	margin-bottom: 0;
}

#loginContainer li {
	text-align: right;
}

select {
	background: rgb(15,17,20);
	color: var(--font-color);
	height: 40px;
	border: 1px solid var(--border);
	font-size: 1em;
}

input[type=radio], input[type=checkbox] {
	width: initial !important;
	height: initial !important;
}

#account-manage {
	width: initial !important;
}

/* Server Status Bar Styling */
.server-status {
	width: 500px;
	margin: 5px auto 5px auto !important;
	padding: 10px 15px !important;
	border-radius: 4px !important;
	font-family: inherit !important;
	letter-spacing: 0.4px;
	text-shadow: 0 1px 2px rgba(0,0,0,0.7);
	font-weight: bold;
	font-size: 14px;
	text-align: center;
	box-shadow: 0 2px 4px rgba(0,0,0,0.3);
	transition: all 0.3s ease;
	cursor: pointer;
	display: block;
}

.server-status:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 8px rgba(0,0,0,0.4) !important;
	opacity: 0.9;
}

/* Link wrapper for server status */
a .server-status {
	color: inherit !important;
}

a:hover .server-status {
	text-decoration: none !important;
}

/* Unified Button Styling for ATOMIo */
input[type="submit"] {
	background: var(--primary);
	color: var(--font-color);
	border: 2px solid var(--border);
	padding: 10px 20px;
	border-radius: 4px;
	font-weight: bold;
	font-size: 14px;
	font-family: inherit;
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none;
	display: inline-block;
	width: 400px;
	text-align: center;
	margin-top: 5px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

input[type="submit"]:hover {
	background: var(--secondary);
	color: var(--anchor-hover);
	transform: translateY(-1px);
	box-shadow: 0 4px 8px rgba(0,0,0,0.4);
}

/* Remove link styles when wrapping buttons */
a {
	text-decoration: none;
}

a:hover {
	text-decoration: none;
}

/* News Styling - ATOMIO */
.news {
	background: rgb(25,28,33);
	border: 2px solid rgb(19,20,23);
	margin-bottom: 15px;
	position: relative;
	overflow: hidden;
}

.news::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, transparent, #b39062, #e79424, #b39062, transparent);
}

.news::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, transparent, #b39062, #e79424, #b39062, transparent);
}

.news .header,
.news-header {
	background: rgb(30,33,40) !important;
	padding: 12px 15px !important;
	border-bottom: 1px solid rgb(19,20,23) !important;
	display: flex;
	align-items: center;
	gap: 10px;
}

.news .header a,
.news-header a {
	color: #e79424 !important;
	font-size: 1.1em;
	font-weight: bold;
	text-decoration: none;
}

.news .header a:hover,
.news-header a:hover {
	color: #d1a233 !important;
	text-shadow: 0 0 8px rgba(231,148,36,0.3);
}

.news .body,
.news-body {
	padding: 15px !important;
	line-height: 1.6;
}

.news .body h1,
.news .body h2,
.news .body h3,
.news .body h4 {
	color: #d1a233;
	margin: 15px 0 10px 0;
	padding-bottom: 5px;
	border-bottom: 1px solid rgba(179,144,98,0.2);
}

.news .body h1:first-child,
.news .body h2:first-child,
.news .body h3:first-child {
	margin-top: 0;
}

.news .body p {
	margin: 10px 0;
}

.news .body strong,
.news .body b {
	color: #e79424;
}

.news .footer,
.news-footer {
	background: rgb(30,33,40);
	padding: 10px 15px;
	border-top: 1px solid rgb(19,20,23);
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 0.9em;
}

.news .footer a,
.news-footer a {
	color: #b39062;
	transition: color 0.2s;
}

.news .footer a:hover,
.news-footer a:hover {
	color: #e79424;
}

/* News action buttons */
.news-actions {
	display: flex;
	gap: 10px;
}

.news-actions a {
	padding: 4px 10px;
	background: rgb(30,33,40);
	border: 1px solid rgb(19,20,23);
	border-radius: 3px;
	font-size: 0.85em;
	transition: all 0.2s;
}

.news-actions a:hover {
	background: rgba(179,144,98,0.1);
	border-color: #b39062;
}

/* News date styling */
.news-date {
	color: #888;
	font-size: 0.85em;
}

/* Comment link */
.news .comment-link,
a[href*="comment"] {
	color: #b39062 !important;
}

.news .comment-link:hover,
a[href*="comment"]:hover {
	color: #e79424 !important;
}




/* ==================== WIDGET BASE STYLES ==================== */
.widget-box {
    background: linear-gradient(180deg, rgb(30,33,40) 0%, rgb(25,28,33) 100%);
    border: 2px solid rgb(19,20,23);
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
}

.widget-box::before {
    content: ";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #b39062, #e79424, #b39062, transparent);
}

.widget-header {
    background: linear-gradient(180deg, rgb(35,38,45) 0%, rgb(28,31,38) 100%);
    padding: 10px 12px;
    font-size: 0.85em;
    font-weight: 600;
    color: #e79424;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid rgb(19,20,23);
    display: flex;
    align-items: center;
    gap: 8px;
}

.widget-header a {
    color: #e79424;
    text-decoration: none;
}

.widget-header a:hover {
    color: #b39062;
}

.widget-header i {
    color: #b39062;
}

.widget-content {
    padding: 0;
}
