/*********************************************
 ** BananaRO Theme - Modern Gaming Fresh UI **
 ** Color Palette:                          **
 **   Primary: #FFD700 (Golden Yellow)      **
 **   Secondary: #4CAF50 (Fresh Green)      **
 **   Accent: #FF6B35 (Energetic Orange)    **
 **   Dark: #1a1a2e (Deep Navy)             **
 **   Card: #ffffff                          **
 *********************************************/

:root {
	--primary: #FFD700;
	--primary-dark: #e6c200;
	--secondary: #4CAF50;
	--secondary-light: #81C784;
	--accent: #FF6B35;
	--dark: #1a1a2e;
	--dark-light: #16213e;
	--card: #ffffff;
	--bg: #f0f4f8;
	--text: #2d3748;
	--text-light: #718096;
	--border: #e2e8f0;
	--shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
	--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
	--radius: 12px;
	--radius-sm: 8px;
	--radius-xs: 4px;
}

/* Reset & Base */
*, *::before, *::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	padding: 0;
	font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-size: 14px;
	line-height: 1.6;
	color: var(--text);
	background: var(--bg);
	background-image:
		radial-gradient(circle at 20% 50%, rgba(255, 215, 0, 0.05) 0%, transparent 50%),
		radial-gradient(circle at 80% 20%, rgba(76, 175, 80, 0.05) 0%, transparent 50%);
	min-height: 100vh;
}

a {
	color: var(--secondary);
	text-decoration: none;
	transition: color 0.2s ease;
}

a:hover {
	color: var(--accent);
}

a img {
	border: 0;
}

h2, h3, h4 {
	color: var(--dark);
	font-weight: 800;
}

h2 {
	font-size: 1.75rem;
	margin: 0 0 1rem 0;
}

h3 {
	font-size: 1.25rem;
	margin: 0 0 0.75rem 0;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid var(--primary);
}

p {
	margin: 0.5rem 0;
}

/* Page Layout */
.page-wrapper {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

/* Header */
.site-header {
	background: linear-gradient(135deg, #3b3b71 0%, var(--dark-light) 100%);
	padding: 0 2rem;
	position: sticky;
	top: 0;
	z-index: 100;
	box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    border-bottom: 5px solid #ffd700;
}

.header-inner {
	max-width: 1400px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 64px;
}

.header-inner #server_status {
    width: auto;
    font-size: 0.75rem;
    margin: 0;
    border-radius: 6px;
}

.header-inner #server_status th,
.header-inner #server_status td {
    padding: 4px 10px;
}

.logo {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
    img{
        max-width:200px;
        margin-top: 30px;
    }
}

.logo-icon {
	font-size: 2rem;
	animation: bounce 2s infinite;
}

@keyframes bounce {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-5px); }
}

.logo-text {
	font-family: 'Press Start 2P', cursive;
	font-size: 1.1rem;
	color: var(--primary);
	text-shadow: 2px 2px 0px rgba(255, 107, 53, 0.5);
	letter-spacing: 1px;
}

/* Header Server Status */
.header-server-status {
	display: flex;
	align-items: center;
	gap: 8px;
    color: #fff;
}

.status-indicators {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 6px 14px;
	background: rgba(255, 255, 255, 0.08);
	border-radius: 20px;
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.status-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	display: inline-block;
}

.dot-online {
	background: #4CAF50;
	box-shadow: 0 0 6px rgba(76, 175, 80, 0.8);
	animation: pulse-green 2s infinite;
}

.dot-offline {
	background: #ef4444;
	box-shadow: 0 0 6px rgba(239, 68, 68, 0.8);
}

@keyframes pulse-green {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.6; }
}

.status-label {
	font-size: 0.7rem;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.7);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-right: 4px;
}

.mobile-menu-toggle {
	display: none;
	background: var(--primary);
	border: none;
	color: var(--dark);
	font-size: 1.5rem;
	padding: 8px 12px;
	border-radius: var(--radius-xs);
	cursor: pointer;
	font-weight: bold;
}

/* Main Layout */
.main-layout {
	display: flex;
	max-width: 1400px;
	margin: 0 auto;
	padding: 2rem;
	gap: 2rem;
	flex: 1;
	width: 100%;
}

/* Sidebar */
.sidebar {
	width: 240px;
	flex-shrink: 0;
}

.nav-section {
	background: var(--card);
	border-radius: var(--radius);
	margin-bottom: 1rem;
	overflow: hidden;
	box-shadow: var(--shadow);
	border: 1px solid var(--border);
}

.nav-heading {
	padding: 12px 16px;
	font-size: 0.75rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--card);
	background: linear-gradient(135deg, #5c86c5 0%, var(--dark-light) 100%);
	border-bottom: 3px solid var(--primary);
}

.nav-admin .nav-heading {
	background: linear-gradient(135deg, var(--accent) 0%, #e55a2b 100%);
	border-bottom-color: var(--primary);
}

.nav-list {
	list-style: none;
	margin: 0;
	padding: 8px 0;
}

.nav-list li a {
	display: block;
	padding: 8px 16px;
	color: var(--text);
	font-weight: 600;
	font-size: 0.85rem;
	transition: all 0.15s ease;
	border-left: 3px solid transparent;
}

.nav-list li a:hover {
	background: linear-gradient(90deg, rgba(255, 215, 0, 0.15) 0%, transparent 100%);
	color: var(--dark);
	border-left-color: var(--primary);
	padding-left: 20px;
}

/* Content Area */
.content-area {
	flex: 1;
	min-width: 0;
}

/* User Box */
.user-box {
	background: linear-gradient(135deg, #585858 0%, #af9401 100%);
	border-radius: var(--radius);
	padding: 16px 20px;
	margin-bottom: 1.5rem;
	color: white;
	box-shadow: var(--shadow);
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.user-greeting {
	font-size: 0.9rem;
	opacity: 0.9;
}

.user-name {
	color: white;
	font-weight: 800;
	font-size: 1.1rem;
	text-decoration: underline;
	text-decoration-color: rgba(255,255,255,0.4);
}

.user-name:hover {
	color: var(--primary);
}

.user-server {
	font-size: 0.8rem;
	opacity: 0.8;
}

.user-server-select select {
	padding: 4px 8px;
	border-radius: var(--radius-xs);
	border: 1px solid rgba(255,255,255,0.3);
	background: rgba(255,255,255,0.2);
	color: white;
	font-size: 0.8rem;
}

.admin-links {
	width: 100%;
	padding-top: 8px;
	border-top: 1px solid rgba(255,255,255,0.2);
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.admin-links a {
	color: var(--primary);
	font-size: 0.8rem;
	font-weight: 700;
}

.admin-links a:hover {
	color: white;
}

/* Content Card */
.content-card {
	background: var(--card);
	border-radius: var(--radius);
	padding: 2rem;
	box-shadow: var(--shadow);
	border: 1px solid var(--border);
}

/* Flash Messages */
.flash-message {
	padding: 12px 16px;
	background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
	color: var(--primary);
	border-radius: var(--radius-sm);
	font-weight: 700;
	margin-bottom: 1rem;
	border-left: 4px solid var(--primary);
}

.notice {
	padding: 12px 16px;
	background: #fffbeb;
	color: #92400e;
	border-radius: var(--radius-sm);
	border: 1px solid #fde68a;
	margin-bottom: 1rem;
}

.message {
	display: block;
	padding: 12px 16px;
	font-weight: 700;
	color: var(--primary);
	background: var(--dark);
	border-radius: var(--radius-sm);
	margin-bottom: 1rem;
}

/* Submenu */
.submenu-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	padding: 8px;
	margin-bottom: 1rem;
	background: var(--bg);
	border-radius: var(--radius-sm);
}

.submenu-link {
	padding: 6px 12px;
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--text-light);
	border-radius: var(--radius-xs);
	transition: all 0.15s ease;
}

.submenu-link:hover {
	background: var(--card);
	color: var(--dark);
	box-shadow: var(--shadow);
}

.submenu-active {
	background: var(--primary) !important;
	color: var(--dark) !important;
	font-weight: 800;
}

/* Page Actions */
.page-actions {
	margin: 0.75rem 0;
	padding: 8px 12px;
	border-radius: var(--radius-sm);
	background: #f7fafc;
	border: 1px dashed var(--border);
	font-size: 0.85rem;
}

.page-actions-label {
	font-weight: 700;
	color: var(--text-light);
	margin-right: 8px;
}

.page-action-link {
	display: inline-block;
	margin: 2px 4px;
	padding: 2px 8px;
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: var(--radius-xs);
	font-size: 0.8rem;
}

.page-action-link:hover {
	border-color: var(--primary);
	background: #fffde7;
}

/* Credit Balance */
.credit-balance {
	float: right;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	background: linear-gradient(135deg, #fff9c4 0%, #fff59d 100%);
	border: 1px solid var(--primary-dark);
	border-radius: var(--radius-sm);
	margin-bottom: 1rem;
}

.balance-icon {
	font-size: 1.2rem;
}

.balance-text {
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--text-light);
}

.balance-amount {
	font-weight: 900;
	font-size: 1.2rem;
	color: var(--dark);
}

/* Forms */
input[type=text], input[type=password], input[type=file], textarea, select {
	font-family: 'Nunito', sans-serif;
	padding: 10px 14px;
	font-size: 0.9rem;
	color: var(--text);
	border: 2px solid var(--border);
	border-radius: var(--radius-sm);
	outline: none;
	transition: all 0.2s ease;
	background: var(--card);
}

input[type=text]:focus, input[type=password]:focus, textarea:focus, select:focus,
.input-focus {
	border-color: var(--primary) !important;
	box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2) !important;
	background: #fffef5 !important;
}

label:hover {
	cursor: pointer;
}

textarea {
	width: 100%;
	min-height: 120px;
	resize: vertical;
}

/* Buttons */
input[type=submit], input[type=button], input[type=reset], .btn {
	display: inline-block;
	padding: 10px 20px;
	font-family: 'Nunito', sans-serif;
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--dark);
	background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
	border: none;
	border-radius: var(--radius-sm);
	cursor: pointer;
	transition: all 0.2s ease;
	text-decoration: none;
}

input[type=submit]:hover, input[type=button]:hover, input[type=reset]:hover, .btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

.btn-primary {
	background: linear-gradient(135deg, var(--secondary) 0%, #388E3C 100%);
	color: white;
}

.submit_button {
	display: inline-block;
	padding: 10px 24px;
	background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
	border: none;
	border-radius: var(--radius-sm);
	font-weight: 700;
	color: var(--dark);
	cursor: pointer;
	transition: all 0.2s ease;
}

.submit_button:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
	color: var(--dark);
	background: var(--primary);
}

/* Tables */
.horizontal-table, .vertical-table {
	width: 100%;
	border-spacing: 0;
	border-collapse: collapse;
	border-radius: var(--radius-sm);
	overflow: hidden;
}

.horizontal-table th, .vertical-table th {
	padding: 10px 14px;
	background: var(--dark);
	color: var(--primary);
	font-weight: 700;
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	text-align: left;
}

.horizontal-table td, .vertical-table td {
	padding: 10px 14px;
	background: var(--card);
	border-bottom: 1px solid var(--border);
	font-size: 0.85rem;
}

.horizontal-table tr:hover td, .vertical-table tr:hover td {
	background: #fffef5;
}

.horizontal-table th, .horizontal-table td,
.vertical-table th, .vertical-table td {
	border: 1px solid var(--border);
}

/* Generic Form */
.generic-form {
	padding: 1.5rem;
	background: #fafafa;
	border: 1px solid var(--border);
	border-radius: var(--radius);
}

.generic-form-div {
	padding: 1.5rem;
	background: #fafafa;
	border: 1px solid var(--border);
	border-radius: var(--radius);
}

.generic-form-table th {
	text-align: right;
	background: transparent;
	color: var(--text);
	font-size: 0.85rem;
}

.generic-form-table td {
	background: transparent;
	border: none;
}

.generic-form-table th label {
	display: block;
	padding: 6px;
}

.generic-form-table td div {
	display: block;
	padding: 6px 0;
}

.generic-form-table td p {
	margin: 6px 5px;
	color: var(--text);
}

.generic-form-table td input[type=checkbox] {
	display: inline-block;
	margin-top: 6px;
}

/* News Cards */
.news-grid {
	display: grid;
	gap: 1.5rem;
}

.news-card {
	padding: 1.5rem;
	background: var(--bg);
	border-radius: var(--radius-sm);
	border-left: 4px solid var(--primary);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-card:hover {
	transform: translateX(4px);
	box-shadow: var(--shadow);
}

.news-title {
	margin: 0 0 0.5rem 0;
	font-size: 1.1rem;
	color: var(--dark);
	border: none;
	padding: 0;
}

.news-meta {
	font-size: 0.8rem;
	color: var(--text-light);
	margin-bottom: 0.75rem;
	display: flex;
	gap: 12px;
}

.news-body {
	color: var(--text);
	line-height: 1.7;
}

.news-link {
	display: inline-block;
	margin-top: 0.75rem;
	font-weight: 700;
	color: var(--accent);
}

.news-modified {
	display: block;
	margin-top: 0.5rem;
	color: var(--text-light);
	font-style: italic;
}

/* Welcome Hero */
.welcome-hero {
	text-align: center;
	padding: 2rem;
}

.hero-text {
	font-size: 1.1rem;
	color: var(--text);
}

.setup-steps {
	margin: 1.5rem 0;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	max-width: 500px;
	margin-left: auto;
	margin-right: auto;
}

.step {
	padding: 12px 16px;
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	border-radius: var(--radius-sm);
	color: #065f46;
	font-weight: 600;
	text-align: left;
}

.step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	background: var(--secondary);
	color: white;
	border-radius: 50%;
	font-size: 0.75rem;
	font-weight: 800;
	margin-right: 8px;
}

.hero-thanks {
	margin-top: 1.5rem;
	color: var(--text-light);
}

/* Status Indicators */
.up {
	font-weight: 800;
	color: var(--secondary);
	text-transform: uppercase;
}

.down {
	font-weight: 800;
	color: #ef4444;
	text-transform: uppercase;
}

.online {
	color: var(--secondary);
	font-weight: 600;
}

.offline {
	color: var(--text-light);
}

/* Status Colors */
.red {
	display: block;
	padding: 12px 16px;
	font-weight: 700;
	color: white;
	background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
	border-radius: var(--radius-sm);
}

.green {
	display: block;
	padding: 12px 16px;
	font-weight: 700;
	color: white;
	background: linear-gradient(135deg, var(--secondary) 0%, #388E3C 100%);
	border-radius: var(--radius-sm);
}

.note {
	padding: 12px 16px;
	color: var(--text);
	background: #f7fafc;
	border-left: 3px solid var(--primary);
	border-radius: var(--radius-xs);
	font-style: italic;
}

/* Server Status */
#server_status {
	width: 100%;
	border-spacing: 0;
	border-collapse: collapse;
	border-radius: var(--radius-sm);
	overflow: hidden;
	border: 1px solid var(--border);
}

#server_status th, #server_status td {
	padding: 12px 16px;
	text-align: left;
	border-bottom: 1px solid var(--border);
}

#server_status th {
	background: var(--dark);
	color: var(--primary);
	font-weight: 700;
}

#server_status .server {
	font-weight: 700;
	color: var(--dark);
}

#server_status .status {
	text-align: center;
}

/* Install Table */
.install_table th, .install_table td {
	padding: 8px 14px;
	border: 1px solid var(--border);
}

.install_table th {
	background: var(--bg);
	font-weight: 700;
}

.install_table td {
	text-align: center;
}

.created {
	color: var(--secondary);
	font-weight: 700;
}

.missing {
	color: #ef4444;
	font-weight: 700;
}

/* Pages / Pagination */
.pages {
	margin-top: 1.5rem;
	padding-top: 1rem;
	text-align: center;
	border-top: 1px solid var(--border);
}

.pages .page-num {
	display: inline-block;
	padding: 4px 10px;
	margin: 0 2px;
	border-radius: var(--radius-xs);
}

.pages .current-page {
	background: var(--primary);
	color: var(--dark);
	font-weight: 800;
}

.pages .page-prev, .pages .page-next {
	color: var(--secondary);
	font-weight: 700;
}

.jump-to-page {
	margin-top: 8px;
	font-size: 0.8rem;
	text-align: center;
	color: var(--text-light);
}

.jump-to-page input {
	padding: 4px 8px;
	font-size: 0.8rem;
	width: 60px;
}

/* Search Form */
.search-form, .search-form2 {
	display: none;
	margin: 0 0 1rem 0;
	padding: 1rem;
	background: var(--bg);
	border-radius: var(--radius-sm);
	border: 1px solid var(--border);
}

.search-form p, .search-form2 p {
	margin: 0 0 0.5rem 0;
	color: var(--text-light);
	font-size: 0.85rem;
}

.search-form label, .search-form2 label {
	display: inline-block;
	margin: 0 0 3px 0;
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--text);
}

.search-form input[type=text], .search-form2 input[type=text] {
	padding: 6px 10px;
	font-size: 0.8rem;
	width: 100px;
}

.search-form input[type=submit], .search-form2 input[type=submit] {
	padding: 6px 12px;
	font-size: 0.8rem;
}

.search-form select, .search-form2 select {
	padding: 6px;
	font-size: 0.8rem;
}

/* Toggler */
.toggler {
	font-weight: 700;
}

.toggler a {
	color: var(--accent);
}

/* Action Links */
.action {
	color: var(--border);
}

.action a, .action span.anchor {
	color: var(--secondary);
	cursor: pointer;
	font-weight: 600;
}

.action a:hover {
	color: var(--accent);
}

.block-link {
	display: block;
	padding: 4px 0;
	color: var(--secondary);
	font-weight: 600;
}

.button-action {
	padding: 8px 0;
}

/* WoE Table */
.woe-table {
	border-spacing: 0;
	border-collapse: collapse;
	width: 100%;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	overflow: hidden;
}

.woe-table th, .woe-table td {
	padding: 10px 16px;
}

.woe-table th {
	background: var(--bg);
	border-bottom: 1px solid var(--border);
	font-weight: 600;
}

.woe-table .server {
	font-weight: 800;
}

.woe-table .time {
	color: var(--accent);
	font-weight: 600;
}

/* Character Stats */
.character-stats {
	border-spacing: 0;
	border-collapse: collapse;
}

.character-stats td {
	padding: 4px 12px;
	text-align: center;
}

.character-stats .stat-name {
	color: var(--text-light);
	font-size: 0.8rem;
	text-transform: uppercase;
}

.character-stats .stat-value {
	color: var(--dark);
	font-weight: 800;
}

/* Shop */
.shop-table {
	width: 100%;
	border-spacing: 0 12px;
	border-collapse: separate;
}

.shop-table td {
	padding: 16px;
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
}

.shop-item-image {
	width: 75px;
	text-align: center;
}

.shop-item-name {
	font-size: 1.2rem;
	font-weight: 800;
	color: var(--dark);
	margin: 0 0 8px 0;
	padding: 0 0 8px 0;
	border-bottom: 1px solid var(--border);
}

.shop-item-cost-qty {
	width: 150px;
	text-align: center;
}

.cost {
	color: var(--accent);
	font-size: 1.1rem;
	font-weight: 900;
	text-transform: uppercase;
}

.qty {
	color: var(--text);
	font-weight: 600;
}

.shop-item-info {
	color: var(--text);
	line-height: 1.6;
}

.shop-item-action a {
	color: var(--secondary);
	font-weight: 700;
}

/* Register / Login Forms */
#register_form table td, #login_form table td {
	padding: 4px;
}

#register_form table th label, #login_form table th label {
	display: block;
	padding: 6px;
	text-align: right;
	font-weight: 600;
}

#register_form input[type=text], #register_form input[type=password],
#login_form input[type=text], #login_form input[type=password] {
	width: 200px;
}

#register_form select, #login_form select {
	width: 210px;
}

/* Security Code / Captcha */
.security-code {
	margin: 8px 0;
	border-radius: var(--radius-xs);
	overflow: hidden;
}

/* Rankings */
.top-ranked td {
	font-weight: 700;
	color: var(--dark);
	background: #fffde7 !important;
}

.top-ranked a {
	color: var(--dark);
	font-weight: 800;
}

/* Item Drops */
.item-drop-mvp td {
	background: #fef3c7 !important;
}

.item-drop-card td {
	background: #ecfdf5 !important;
}

.mvp {
	font-size: 0.65rem;
	font-weight: 900;
	color: var(--accent);
	vertical-align: top;
	text-transform: uppercase;
}

/* Monster Mode List */
.monster-mode {
	margin: 0;
	padding: 0;
	list-style: none;
}

.monster-mode li {
	padding: 4px 8px;
	border-bottom: 1px solid var(--border);
	font-size: 0.85rem;
}

.monster-mode li::before {
	content: "▸ ";
	color: var(--primary);
}

/* Cart */
.cart-items-text {
	margin: 0 0 8px 0;
	padding: 12px;
	color: white;
	background: var(--dark);
	border-radius: var(--radius-sm);
}

.cart-item-name {
	color: var(--primary);
	font-weight: 700;
}

.cart-item-count {
	font-size: 1.2rem;
	font-weight: 900;
	color: var(--dark);
}

/* Equipped Items */
.equipped td {
	background: #ecfdf5 !important;
}

/* Over-slotted */
.overslotted1 { color: #22c55e; font-weight: 700; }
.overslotted2 { color: #06b6d4; font-weight: 700; }
.overslotted3 { color: #f59e0b; font-weight: 700; }
.overslotted4 { color: #a855f7; font-weight: 700; }

/* Sortable */
.sortable {
	color: var(--dark);
	font-weight: 700;
	cursor: pointer;
}

.sortable:hover {
	color: var(--accent);
}

/* State indicators */
.state-pending { color: #f59e0b; font-weight: 600; }
.state-banned { color: #ef4444; font-weight: 600; }
.state-permanently-banned { color: #ef4444; font-weight: 800; }

/* Misc */
.center { text-align: center; }
.keyword { color: var(--accent); font-style: italic; }
.not-applicable { color: var(--text-light); font-style: italic; }
.empty-row { display: none; }
.module-name { font-weight: 800; font-size: 1rem; }
.current-sub-menu { font-weight: 800; }
.current-shop-category { font-weight: 800; }

.info-text {
	margin-bottom: 8px;
	padding: 10px 14px;
	color: var(--text);
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	text-align: center;
}

.info-text-total, .info-text-results {
	font-weight: 800;
	color: var(--dark);
}

.request, .fs-path {
	display: inline-block;
	padding: 2px 8px;
	font-family: 'JetBrains Mono', Monaco, monospace;
	font-size: 0.8rem;
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: var(--radius-xs);
}

.script {
	width: 100%;
}

.multi-select {
	width: 100%;
}

.short {
	width: 60px;
}

.block {
	display: block;
	width: 100%;
	height: 40px;
}

.hold-hours {
	color: var(--accent);
	font-weight: 600;
}

/* Error Page */
.error-page {
	text-align: center;
	padding: 3rem;
}

.error-page h2 {
	font-size: 2rem;
	margin-bottom: 1rem;
}

/* Footer */
.site-footer {
	background: var(--dark);
	color: rgba(255,255,255,0.6);
	padding: 1.5rem 2rem;
	margin-top: auto;
}

.footer-inner {
	max-width: 1400px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
}

.footer-credits {
	margin: 0;
	font-size: 0.8rem;
}

.footer-credits a {
	color: var(--primary);
}

.footer-stats {
	margin: 0;
	font-size: 0.75rem;
	color: rgba(255,255,255,0.4);
}

.footer-controls {
	display: flex;
	gap: 16px;
	align-items: center;
}

.footer-control {
	font-size: 0.8rem;
	color: rgba(255,255,255,0.5);
}

.footer-control select {
	padding: 4px 8px;
	font-size: 0.75rem;
	background: var(--dark-light);
	color: white;
	border: 1px solid rgba(255,255,255,0.2);
	border-radius: var(--radius-xs);
}

.main-banner{
    margin-bottom: 1rem;
    img{
        width: 100%;
    }
}

/* Responsive */
@media (max-width: 900px) {
	.main-layout {
		flex-direction: column;
		padding: 1rem;
	}

	.sidebar {
		width: 100%;
		display: none;
	}

	.sidebar-open {
		display: block;
	}

	.mobile-menu-toggle {
		display: block;
	}

	.header-server-status {
		display: none;
	}

	.content-card {
		padding: 1rem;
	}

	.user-box {
		flex-direction: column;
		align-items: flex-start;
	}

	.footer-inner {
		flex-direction: column;
		text-align: center;
	}

	.horizontal-table, .vertical-table {
		display: block;
		overflow-x: auto;
	}
}

@media (max-width: 600px) {
	.logo-text {
		font-size: 0.8rem;
	}

	h2 {
		font-size: 1.3rem;
	}

	.submenu-bar {
		gap: 2px;
	}

	.submenu-link {
		font-size: 0.75rem;
		padding: 4px 8px;
	}
}

/* Animations */
@keyframes fadeIn {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: translateY(0); }
}

.content-card {
	animation: fadeIn 0.3s ease;
}

.nav-section {
	animation: fadeIn 0.3s ease;
}

/* Scrollbar */
::-webkit-scrollbar {
	width: 8px;
	height: 8px;
}

::-webkit-scrollbar-track {
	background: var(--bg);
}

::-webkit-scrollbar-thumb {
	background: var(--primary-dark);
	border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
	background: var(--primary);
}
