button {
	padding: 0;
}

a {
	text-decoration: none;
	outline: 0;
}

table {
	table-layout: fixed;
}

ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	width: 200px;
	background-color: #f1f1f100;
}

li a {
	display: block;
	color: #000;
	padding: 8px 16px;
	text-decoration: none;
}

/* Change the link color on hover */
li a:hover {
	background-color: #555;
	color: white;
}

/* Custom styles matching PvP events page */
:root {
	--primary-bg: #191515;
	--secondary-bg: #1a0e20;
	--card-bg: rgba(26, 14, 32, 0.85);
	--accent-color: #ffd24b;
	--accent-glow: rgba(212, 175, 55, 0.5);
	--accent-hover: #e5c158;
	--accent-dark: #9c7c21;
	--secondary-accent: #a83232;
	--third-accent: #6b3fa0;
	--text-color: #e0e0e0;
	--text-muted: #a0a0a0;
	--text-highlight: #fff;
	--border-color: rgba(212, 175, 55, 0.3);
	--shadow-color: rgba(0, 0, 0, 0.5);
	--header-gradient: linear-gradient(to bottom, rgba(26, 14, 32, 0.9), rgba(10, 6, 15, 0.9));
	--card-gradient: #ffffff;
	--button-gradient: linear-gradient(to bottom, var(--accent-color), var(--accent-dark));
	--glow-shadow: 0 0 10px var(--accent-glow);
}

body {
	/* background-image: url('/static/landscape.jpg'); */
	background-position: center;
	background-size: cover;
	background-attachment: fixed;
	font-family: 'Noto Sans', sans-serif;
	min-height: 100vh;
	margin: 0;
	padding: 0;
	color: #000;
	display: flex;
	flex-direction: column;
}

body::before {
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	/* background: radial-gradient(ellipse at center, rgba(10, 6, 15, 0.6) 0%, rgba(10, 6, 15, 0.9) 100%); */
	z-index: -1;
}

h1, h2, h3, h4, h5, h6 {
	color: #000;
}

/* Main grid layout - matching PvP events page */
.account-dashboard {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 30px;
	width: 95%;
	max-width: 1400px;
	margin: 30px auto;
}

/* Sidebar - matching PvP events page */
.sidebar {
	background: var(--card-gradient);
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 5px 15px var(--shadow-color);
}


.username {
	font-family: serif;
	color: #000;
	font-size: 1.5rem;
	margin: 0;
	text-shadow: 0 0 10px var(--accent-glow);
}

.sidebar-nav {
	padding: 20px 0;
}


.sidebar-nav a.active {
	background: #1baac2;
	color: #fff;
}

.sidebar-nav a:hover i {
	transform: rotate(360deg);
}

.sidebar-nav a.active::before {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: -3px;
	width: 3px;
	background-color: var(--accent-color);
	box-shadow: 0 0 10px var(--accent-glow);
}

.sidebar-nav a {
	display: flex;
	align-items: center;
	padding: 12px 20px;
	color: #000;
	text-decoration: none;
	transition: all 0.3s ease;
	position: relative;
}

.server-status-panel {
	display: flex;
	align-items: center;
	padding: 15px 20px;
	background: rgba(0, 0, 0, 0.3);
	border-top: 1px solid var(--border-color);
}

.status-indicator {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	margin-right: 10px;
}

.status-indicator.online {
	background-color: #2ecc71;
	box-shadow: 0 0 10px rgba(46, 204, 113, 0.7);
	animation: pulse 2s infinite;
}

.status-indicator.offline {
	background-color: #e74c3c;
}

.status-text {
	font-size: 0.85rem;
	color: var(--text-muted);
}

/* Main content */
.main-content {
	display: flex;
	flex-direction: column;
	padding: 0px !important;
}

.section-title {
	display: flex;
	align-items: center;
	margin-bottom: 25px;
}

.section-title h2 {
	margin: 0;
	font-size: 2rem;
	text-transform: uppercase;
	letter-spacing: 1.5px;
}

.decorative-line {
	flex: 1;
	height: 2px;
	background: #1baac2;
	margin-left: 20px;
	opacity: 0.5;
}

/* Alert messages */
.alert {
	padding: 15px;
	border-radius: 5px;
	margin-bottom: 20px;
	animation: fadeIn 0.3s ease;
}

.alert-success {
	background-color: rgba(46, 204, 113, 0.1);
	border: 1px solid rgba(46, 204, 113, 0.3);
	color: #2ecc71;
}

.alert-danger {
	background-color: rgba(231, 76, 60, 0.1);
	border: 1px solid rgba(231, 76, 60, 0.3);
	color: #e74c3c;
}

.alert-icon {
	margin-right: 10px;
}

/* Account sections */
.account-section {
	background: var(--card-gradient);
	border-radius: 10px;
	padding: 25px;
	margin-bottom: 30px;
	box-shadow: 0 5px 15px var(--shadow-color);
	position: relative;
	overflow: hidden;
}

.account-section::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: #1baac2;
	opacity: 0.05;
	pointer-events: none;
}

.account-section-title {
	display: flex;
	align-items: center;
	font-size: 1.3rem;
	color: #000;
	margin-bottom: 25px;
	padding-bottom: 15px;
	border-bottom: 1px solid #1baac2;
	position: relative;
}

.account-section-title::after {
	content: '';
	position: absolute;
	bottom: -1px;
	left: 0;
	width: 60px;
	height: 2px;
	background-color: #1baac2;
	box-shadow: 0 0 10px var(--accent-glow);
}

.account-section-title i {
	margin-right: 15px;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Account information */
.account-detail {
	display: flex;
	margin-bottom: 15px;
	padding-bottom: 15px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.account-detail:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: none;
}

.account-detail-label {
	flex: 1;
	color: #000;
	font-weight: 500;
}

.account-detail-value {
	flex: 2;
	color: #000;
}

/* Status badges */
.status-badge {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 20px;
	font-size: 0.85rem;
	font-weight: 500;
}

.status-member {
	background-color: rgba(46, 204, 113, 0.1);
	border: 1px solid rgba(46, 204, 113, 0.3);
	color: #2ecc71;
}

.status-gm {
	background-color: rgba(52, 152, 219, 0.1);
	border: 1px solid rgba(52, 152, 219, 0.3);
	color: #3498db;
}

.status-admin {
	background-color: rgba(155, 89, 182, 0.1);
	border: 1px solid rgba(155, 89, 182, 0.3);
	color: #9b59b6;
}

/* Form styles */
.form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.form-group {
	margin-bottom: 20px;
	position: relative;
}

p a {
	text-decoration: none;
	color: #17a2b8;
	transition: color 0.3s ease;
}

.blink-zoom {
	animation: zoomBlink 1s infinite;
}

@keyframes zoomBlink {

	0%,
	100% {
		transform: scale(1);
		opacity: 1;
	}

	50% {
		transform: scale(1.2);
		/* phóng to */
		opacity: 0.6;
		/* mờ đi chút để nhấp nháy */
	}
}

.form-control {
	width: 100%;
	padding: 12px 15px;
	background-color: rgba(0, 0, 0, 0.2);
	border: 1px solid #17a2b8;
	border-radius: 5px;
	color: var(--text-color);
	font-size: 0.95rem;
	transition: all 0.3s ease;
	font-family: inherit;
	box-sizing: border-box;
}

.form-control:focus {
	outline: none;
	border-color: var(--accent-color);
	box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

.form-info {
	display: flex;
	align-items: center;
	color: var(--text-muted);
	font-size: 0.85rem;
	margin-top: 6px;
}

.form-info i {
	margin-right: 5px;
	font-size: 0.9rem;
}

/* Password strength */
.password-strength {
	margin-top: 10px;
	height: 5px;
	border-radius: 3px;
	background-color: #333;
	overflow: hidden;
}

.password-strength-bar {
	height: 100%;
	width: 0%;
	transition: width 0.3s ease, background-color 0.3s ease;
}

.password-strength-text {
	display: none;
	font-size: 0.8rem;
	margin-top: 5px;
}

.password-match-indicator {
	display: none;
	font-size: 0.8rem;
	margin-top: 5px;
}

/* Radio buttons */
.radio-group {
	display: flex;
	gap: 15px;
}

.radio-option {
	display: flex;
	align-items: center;
	cursor: pointer;
}

.radio-option input[type="radio"] {
	margin-right: 5px;
}

/* Birthday selects */
.birthday-selects {
	display: flex;
	gap: 10px;
}

.birthday-selects select {
	flex: 1;
	padding: 12px 15px;
	background-color: rgba(0, 0, 0, 0.2);
	border: 1px solid var(--border-color);
	border-radius: 5px;
	color: var(--text-color);
	font-size: 0.95rem;
	font-family: inherit;
}

.birthday-selects select:focus {
	outline: none;
	border-color: var(--accent-color);
	box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

/* Security tips */
.security-tips {
	border: 1px solid #1baac2;
	border-radius: 5px;
	padding: 20px;
	margin-top: 25px;
}

.security-tips-header {
	display: flex;
	align-items: center;
	color: var(--accent-color);
	font-size: 1.1rem;
	margin-top: 0;
	margin-bottom: 15px;
	font-family: serif;
	text-shadow: 0 0 5px var(--accent-glow);
}

.security-tips-header i {
	margin-right: 10px;
}

.security-tips ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.security-tips li {
	position: relative;
	padding-left: 20px;
	margin-bottom: 10px;
	font-size: 0.9rem;
}

.security-tips li:before {
	content: "\f00c";
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	position: absolute;
	left: 0;
}

/* Action buttons */
.form-actions {
	display: flex;
	justify-content: flex-end;
	gap: 15px;
	margin-top: 30px;
}

.btn {
	display: inline-block;
	padding: 12px 25px;
	font-size: 0.95rem;
	font-weight: 500;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 1px;
	border-radius: 5px;
	cursor: pointer;
	transition: all 0.3s ease;
	border: none;
	font-family: serif;
}

.character-dropdown {
	display: flex;
	align-items: center;
}

.shop-header {
	background: var(--card-gradient);
	border: 1px solid var(--border-color);
	border-radius: 10px;
	padding: 20px;
	margin-bottom: 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	box-shadow: 0 5px 15px var(--shadow-color);
}

.shop-stats {
	display: flex;
	gap: 15px;
}

.stat-box {
	background-color: rgba(0, 0, 0, 0.3);
	border: 1px solid var(--border-color);
	border-radius: 5px;
	padding: 8px 15px;
	display: flex;
	align-items: center;
	min-width: 120px;
}

.stat-box i {
	color: var(--accent-color);
	margin-right: 8px;
}

.stat-box span {
	font-weight: 600;
	color: var(--text-highlight);
}

.character-dropdown i {
	color: var(--accent-color);
	margin-right: 10px;
	font-size: 1.2rem;
}

.form-control {
	background-color: #fff !important;
	color: #000 !important;
}

.character-dropdown select {
	padding: 8px 12px;
	border-radius: 5px;
	min-width: 200px;
	font-size: 0.9rem;
}

.character-dropdown select:focus {
	outline: none;
	box-shadow: 0 0 5px var(--accent-glow);
}

@media (max-width: 1200px) {
	.shop-dashboard {
		width: 95%;
	}
}

@media (max-width: 992px) {
	.shop-dashboard {
		grid-template-columns: 1fr;
	}

	.sidebar {
		display: none;
	}

	.shop-header {
		flex-direction: column;
		gap: 15px;
		align-items: flex-start;
	}

	.shop-stats {
		width: 100%;
	}

	.shop-container {
		grid-template-columns: 1fr;
	}

	.item-preview {
		position: static;
		margin-top: 20px;
	}
}

@media (max-width: 768px) {
	.shop-items-grid {
		grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
	}

	.shop-header {
		flex-direction: column;
	}

	.shop-stats {
		margin-top: 10px;
	}
}

@media (max-width: 576px) {
	.shop-items-grid {
		grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
	}

	.shop-item {
		height: 110px;
	}

	.shop-stats {
		flex-direction: column;
		gap: 10px;
	}

	.stat-box {
		width: auto;
	}
}

.race {
	width: 20px;
	height: 20px;
	background-image: url(/static/faction.png);
	vertical-align: middle;
	display: inline-block;
	position: relative;
	z-index: 1;
	border-radius: 20px;
}

.btn-primary {
	background: #17a2b8;
	color: #ffffff;
	border: 1px solid #17a2b8;
}

.btn-primary:hover {
	transform: translateY(-2px);
}

.btn-secondary {
	background-color: rgba(0, 0, 0, 0.3);
	color: var(--text-color);
	border: 1px solid var(--border-color);
}

.btn-secondary:hover {
	background-color: rgba(0, 0, 0, 0.5);
	transform: translateY(-2px);
}

/* Exchange Modal */
.jade-modal {
	display: none;
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.7);
}

.jade-modal.show {
	display: block;
	animation: fadeIn 0.3s;
}

.jade-modal .modal-content {
	background: linear-gradient(135deg, rgba(26, 14, 32, 0.95), rgba(10, 6, 15, 0.95));
	margin: 10% auto;
	width: 450px;
	max-width: 90%;
	border-radius: 10px;
	box-shadow: 0 5px 30px var(--shadow-color);
	border: 1px solid var(--border-color);
	animation: slideDown 0.3s;
	position: relative;
	overflow: hidden;
}

.jade-modal .modal-header {
	background: linear-gradient(to right, var(--accent-dark), var(--accent-color));
	color: var(--primary-bg);
	padding: 15px 20px;
	border-radius: 10px 10px 0 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.jade-modal .modal-header h3 {
	margin: 0;
	color: var(--primary-bg);
	text-shadow: none;
	font-size: 1.3rem;
}

.jade-modal .close-btn {
	color: var(--primary-bg);
	font-size: 24px;
	font-weight: bold;
	cursor: pointer;
	transition: all 0.3s ease;
}

.jade-modal .close-btn:hover {
	color: var(--text-highlight);
}

.jade-modal .modal-body {
	padding: 25px;
}

.jade-modal .modal-description {
	text-align: center;
	color: var(--text-color);
	margin-bottom: 20px;
	font-size: 1rem;
}

.jade-modal .exchange-rate {
	background-color: rgba(0, 0, 0, 0.2);
	border: 1px solid var(--border-color);
	border-radius: 5px;
	padding: 15px;
	margin-bottom: 20px;
	text-align: center;
}

.jade-modal .rate-text {
	font-size: 0.95rem;
	color: var(--text-muted);
}

.jade-modal .rate-value {
	color: var(--accent-color);
	font-weight: bold;
}

.jade-modal .input-group {
	margin-bottom: 20px;
}

.jade-modal .input-group label {
	display: block;
	margin-bottom: 10px;
	color: var(--text-color);
	font-size: 0.95rem;
}

.jade-modal .input-with-suffix {
	display: flex;
	align-items: center;
	background-color: rgba(0, 0, 0, 0.2);
	border: 1px solid var(--border-color);
	border-radius: 5px;
	overflow: hidden;
}

.jade-modal .jade-input {
	flex: 1;
	background-color: transparent;
	border: none;
	padding: 12px 15px;
	color: var(--text-color);
	font-size: 0.95rem;
}

.jade-modal .jade-input:focus {
	outline: none;
}

.jade-modal .input-suffix {
	padding: 0 15px;
	color: var(--accent-color);
	font-weight: bold;
	background-color: rgba(212, 175, 55, 0.1);
	height: 100%;
	display: flex;
	align-items: center;
	border-left: 1px solid var(--border-color);
}

.jade-modal .exchange-cost {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 20px;
}

.jade-modal .cost-label {
	margin-right: 10px;
	color: var(--text-muted);
}

.jade-modal .cost-value {
	font-size: 1.5rem;
	font-weight: bold;
	color: var(--accent-color);
	margin-right: 5px;
}

.jade-modal .cost-currency {
	color: var(--text-color);
}

.jade-modal .exchange-note {
	text-align: center;
	font-size: 0.9rem;
	color: var(--text-muted);
	margin-bottom: 25px;
}

.jade-modal .modal-actions {
	display: flex;
	justify-content: center;
	gap: 15px;
}

.jade-modal .jade-btn {
	padding: 12px 25px;
	font-size: 0.95rem;
	font-weight: 500;
	text-align: center;
	border-radius: 5px;
	cursor: pointer;
	transition: all 0.3s ease;
	border: none;
	font-family: serif;
	letter-spacing: 1px;
}

.jade-modal .jade-btn.primary {
	background: linear-gradient(to bottom, var(--accent-color), var(--accent-dark));
	color: var(--primary-bg);
	border: 1px solid var(--accent-color);
	box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.jade-modal .jade-btn.primary:hover {
	box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
	transform: translateY(-2px);
}

.jade-modal .jade-btn.secondary {
	background-color: rgba(0, 0, 0, 0.3);
	color: var(--text-color);
	border: 1px solid var(--border-color);
}

.jade-modal .jade-btn.secondary:hover {
	background-color: rgba(0, 0, 0, 0.5);
	transform: translateY(-2px);
}

/* Footer - matching PvP events page */
.footer {
	margin-top: auto;
	background: var(--header-gradient);
	padding: 20px 0;
	color: var(--text-muted);
	text-align: center;
	border-top: 1px solid var(--border-color);
}

.footer p {
	margin: 5px 0;
}

/* Animations */
@keyframes fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@keyframes slideDown {
	from {
		transform: translateY(-50px);
		opacity: 0;
	}

	to {
		transform: translateY(0);
		opacity: 1;
	}
}

@keyframes pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7);
	}

	70% {
		box-shadow: 0 0 0 6px rgba(46, 204, 113, 0);
	}

	100% {
		box-shadow: 0 0 0 0 rgba(46, 204, 113, 0);
	}
}

/* Responsive styles */
@media (max-width: 1200px) {
	.account-dashboard {
		width: 95%;
	}
}

@media (max-width: 992px) {
	.account-dashboard {
		grid-template-columns: 1fr;
	}

	.sidebar {
		display: none;
	}
}

@media (max-width: 768px) {

	.form-grid {
		grid-template-columns: 1fr;
	}

	.account-detail {
		flex-direction: column;
	}

	.account-detail-label {
		margin-bottom: 5px;
	}
}

@media (max-width: 576px) {
	.form-actions {
		flex-direction: column;
	}


	.btn {
		width: 100%;
	}

	#killers-table .btn {
		width: 50% !important;
	}

	.jade-modal .modal-content {
		width: 100% !important;
		margin: 10% auto;
	}

	.jade-modal .modal-actions {
		flex-direction: column;
	}

	.jade-modal .jade-btn {
		width: 100%;
	}
}

/* Enhanced custom styles with more visual effects */
:root {
	--primary-bg: #191515;
	--secondary-bg: #1a0e20;
	--card-bg: rgba(26, 14, 32, 0.85);
	--accent-color: #ffd24b;
	--accent-glow: rgba(212, 175, 55, 0.5);
	--accent-hover: #e5c158;
	--accent-dark: #9c7c21;
	--text-color: #e0e0e0;
	--text-muted: #a0a0a0;
	--text-highlight: #fff;
	--border-color: rgba(212, 175, 55, 0.3);
	--shadow-color: rgba(0, 0, 0, 0.5);
	--header-gradient: linear-gradient(to bottom, rgba(26, 14, 32, 0.9), rgba(10, 6, 15, 0.9));
	--card-gradient: #ffffff;
	--button-gradient: linear-gradient(to bottom, var(--accent-color), var(--accent-dark));
	--success-color: #2ecc71;
	--error-color: #e74c3c;
	--info-color: #3498db;
}

@keyframes floatAnimation {
	0%, 100% {
		transform: translateY(0px);
	}

	50% {
		transform: translateY(-10px);
	}
}

/* Floating particles effect */
.particles {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	z-index: -1;
	pointer-events: none;
}

.particle {
	position: absolute;
	display: block;
	width: 4px;
	height: 4px;
	background: var(--accent-color);
	border-radius: 50%;
	opacity: 0;
	animation: float-up 15s infinite;
	box-shadow: 0 0 6px var(--accent-glow);
}

@keyframes float-up {
	0% {
		opacity: 0;
		bottom: -10px;
		transform: translateX(0);
	}

	10% {
		opacity: 0.7;
	}

	90% {
		opacity: 0.7;
	}

	100% {
		opacity: 0;
		bottom: 100%;
		transform: translateX(100px);
	}
}


/* Mobile menu button */
.mobile-menu-toggle {
	display: none;
	padding: 10px 15px;
	border-radius: 5px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
	background: rgba(212, 175, 55, 0.3);
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}


@keyframes shimmer {
	0% {
		left: -100%;
	}

	100% {
		left: 100%;
	}
}

/* Main grid layout */
.jade-dashboard-grid {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 30px;
	width: 95%;
	max-width: 1400px;
	margin: 100px auto;
}

/* Enhanced sidebar with glow effects */
.jade-sidebar {
	background: var(--card-gradient);
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 5px 15px var(--shadow-color);
	position: relative;
}

/* Mobile overlay menu */
.mobile-sidebar-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.7);
	z-index: 199;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.mobile-sidebar-overlay.active {
	display: block;
	opacity: 1;
}

.jade-sidebar.mobile-active {
	position: fixed;
	top: 0;
	left: 0;
	width: 280px;
	height: 100%;
	z-index: 2000;
	transform: translateX(0);
	overflow-y: auto;
}

.jade-sidebar::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
	opacity: 0.05;
	pointer-events: none;
	animation: rotate 20s linear infinite;
}

@keyframes rotate {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

/* Mobile close button */
.mobile-close-btn {
	display: none;
	position: absolute;
	top: 15px;
	right: 15px;
	background: rgba(212, 175, 55, 0.2);
	border: 1px solid var(--accent-color);
	color: var(--accent-color);
	width: 35px;
	height: 35px;
	border-radius: 50%;
	cursor: pointer;
	font-size: 1.2rem;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	z-index: 201;
}

.mobile-close-btn:hover {
	background: rgba(212, 175, 55, 0.3);
	transform: rotate(90deg);
}



@keyframes glow {
	from {
		text-shadow: 0 0 10px var(--accent-glow);
	}

	to {
		text-shadow: 0 0 20px var(--accent-glow), 0 0 30px var(--accent-glow);
	}
}

.server-status-panel {
	display: flex;
	align-items: center;
	padding: 15px 20px;
	background: rgba(0, 0, 0, 0.3);
	border-top: 1px solid var(--border-color);
}

.status-indicator {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	margin-right: 10px;
}

.status-indicator.online {
	background-color: #2ecc71;
	box-shadow: 0 0 10px rgba(46, 204, 113, 0.7);
	animation: pulse 2s infinite;
}

.status-indicator.offline {
	background-color: #e74c3c;
}

.status-text {
	font-size: 0.85rem;
	color: var(--text-muted);
}

/* Main content */
.jade-main-content {
	display: flex;
	flex-direction: column;
}

/* Dashboard section with enhanced effects */
.dashboard-section {
	background: var(--card-gradient);
	border-radius: 10px;
	padding: 25px;
	margin-bottom: 30px;
	box-shadow: 0 5px 15px var(--shadow-color);
	position: relative;
	overflow: hidden;
	animation: fadeInUp 0.5s ease-out;
}

.dashboard-section::before {
	content: '';
	position: absolute;
	top: -50%;
	right: -50%;
	width: 100%;
	height: 100%;
	background: #1baac2;
	opacity: 0.05;
	pointer-events: none;
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Enhanced stats grid */
.stats-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 20px;
	margin-bottom: 30px;
}

.stat-card {
	background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.2));
	border: 1px solid var(--border-color);
	border-radius: 10px;
	padding: 20px;
	display: flex;
	align-items: center;
	transition: all 0.3s ease;
	cursor: pointer;
	position: relative;
	overflow: hidden;
}

.stat-card::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: linear-gradient(45deg, transparent, var(--accent-glow), transparent);
	opacity: 0;
	transition: opacity 0.3s ease;
	transform: rotate(45deg);
}

.stat-card:hover::before {
	opacity: 0.1;
	animation: shimmer-diagonal 0.5s ease;
}

@keyframes shimmer-diagonal {
	0% {
		transform: translateX(-100%) translateY(-100%) rotate(45deg);
	}

	100% {
		transform: translateX(100%) translateY(100%) rotate(45deg);
	}
}

.stat-card:hover {
	transform: translateY(-5px) scale(1.02);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 0 20px var(--accent-glow);
	border-color: var(--accent-color);
}

.stat-icon {
	width: 50px;
	height: 50px;
	margin-right: 15px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(212, 175, 55, 0.1);
	border-radius: 50%;
	border: 1px solid var(--accent-color);
	position: relative;
}

.stat-icon img {
	width: 30px;
	height: 30px;
	filter: drop-shadow(0 0 5px var(--accent-glow));
}

.stat-icon.fallback i {
	font-size: 1.5rem;
	color: var(--accent-color);
	filter: drop-shadow(0 0 5px var(--accent-glow));
}

.stat-info {
	flex: 1;
}

.stat-value {
	font-size: 15px;
	font-weight: bold;
	color: var(--text-highlight);
	margin-bottom: 5px;
	font-family: serif;
	text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.stat-label {
	font-size: 0.85rem;
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* Enhanced transactions section */
.transactions-title {
	position: relative;
	padding-bottom: 15px;
	margin-bottom: 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 15px;
}

.transactions-title:after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 2px;
	background: #1baac2;
	border-radius: 2px;
}

.transactions-filter {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.filter-btn {
	background: rgba(0, 0, 0, 0.3);
	border: 1px solid var(--border-color);
	color: var(--text-color);
	padding: 5px 15px;
	border-radius: 20px;
	cursor: pointer;
	transition: all 0.3s ease;
	font-size: 0.85rem;
	font-family: serif;
	white-space: nowrap;
}

.filter-btn i {
	transition: transform 0.3s ease;
}

.filter-btn:hover i.fa-sync-alt {
	transform: rotate(360deg);
}

.filter-btn:hover,
.filter-btn.active {
	background: rgba(212, 175, 55, 0.2);
	color: var(--accent-color);
	border-color: var(--accent-color);
}

.transactions-list {
	max-height: 600px;
	overflow-y: auto;
	padding-right: 10px;
	scrollbar-width: thin;
	scrollbar-color: var(--accent-color) rgba(0, 0, 0, 0.3);
}

.transactions-list::-webkit-scrollbar {
	width: 8px;
}

.transactions-list::-webkit-scrollbar-track {
	background: rgba(0, 0, 0, 0.3);
	border-radius: 4px;
}

.transactions-list::-webkit-scrollbar-thumb {
	background-color: var(--accent-color);
	border-radius: 4px;
}

/* Enhanced transaction items */
.transaction-item {
	display: flex;
	align-items: center;
	padding: 15px 20px;
	background: rgba(0, 0, 0, 0.3);
	border: 1px solid var(--border-color);
	border-radius: 8px;
	margin-bottom: 12px;
	transition: all 0.3s ease;
	cursor: pointer;
	position: relative;
	overflow: hidden;
	min-height: 70px;
	gap: 15px;
}

.transaction-item::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
	transition: left 0.5s ease;
}

.transaction-item:hover::before {
	left: 100%;
}

.transaction-item:hover {
	transform: translateX(5px);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
	border-color: var(--accent-color);
}

.transaction-icon {
	width: 45px;
	height: 45px;
	margin-right: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	font-size: 1.2rem;
	position: relative;
	flex-shrink: 0;
}

.transaction-icon.purchase {
	background: linear-gradient(135deg, rgba(231, 76, 60, 0.2), rgba(192, 57, 43, 0.2));
	border: 1px solid rgba(231, 76, 60, 0.3);
	color: #e74c3c;
}

.transaction-icon.vote {
	background: linear-gradient(135deg, rgba(46, 204, 113, 0.2), rgba(39, 174, 96, 0.2));
	border: 1px solid rgba(46, 204, 113, 0.3);
	color: #2ecc71;
}

.transaction-icon.donation {
	background: linear-gradient(135deg, rgba(155, 89, 182, 0.2), rgba(142, 68, 173, 0.2));
	border: 1px solid rgba(155, 89, 182, 0.3);
	color: #9b59b6;
}

.transaction-icon.reward {
	background: linear-gradient(135deg, rgba(52, 152, 219, 0.2), rgba(41, 128, 185, 0.2));
	border: 1px solid rgba(52, 152, 219, 0.3);
	color: #3498db;
}

.transaction-icon i {
	filter: drop-shadow(0 0 5px currentColor);
	animation: float 3s ease-in-out infinite;
}

@keyframes float {
	0%, 100% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(-3px);
	}
}

/* Item icon in transactions */
.transaction-item-icon {
	width: 45px;
	height: 45px;
	margin-right: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.4);
	border: 1px solid var(--border-color);
	border-radius: 5px;
	overflow: hidden;
	flex-shrink: 0;
	position: relative;
}

.transaction-item-icon img {
	width: 35px;
	height: 35px;
	object-fit: contain;
}

.transaction-item-icon .unknown-icon {
	font-size: 1.5rem;
	color: var(--accent-color);
	opacity: 0.6;
}

.transaction-info {
	flex: 1;
	margin-right: 15px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.transaction-description {
	font-size: 0.95rem;
	color: var(--text-color);
	display: flex;
	flex-direction: column;
	gap: 3px;
	line-height: 1.4;
}

.transaction-description .item-name {
	color: var(--accent-color);
	font-weight: 600;
	text-shadow: 0 0 3px var(--accent-glow);
	font-size: 1rem;
}

.transaction-description small {
	font-size: 0.8rem;
	opacity: 0.8;
	color: var(--text-muted);
	font-weight: normal;
}

.transaction-date {
	font-size: 0.85rem;
	color: var(--text-muted);
	opacity: 0.8;
}

.transaction-amount {
	font-size: 1rem;
	font-weight: bold;
	font-family: serif;
	text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
	white-space: nowrap;
	text-align: right;
	min-width: 100px;
	flex-shrink: 0;
}

.transaction-amount.negative {
	color: #e74c3c;
}

.transaction-amount.positive {
	color: #2ecc71;
}

/* Transaction status badge */
.transaction-status {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 12px;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-left: 10px;
}

.transaction-status.completed {
	background: rgba(46, 204, 113, 0.2);
	color: #2ecc71;
	border: 1px solid rgba(46, 204, 113, 0.3);
}

.transaction-status.pending {
	background: rgba(241, 196, 15, 0.2);
	color: #f1c40f;
	border: 1px solid rgba(241, 196, 15, 0.3);
}

/* No data message */
.no-data-message {
	text-align: center;
	padding: 40px;
	color: var(--text-muted);
}

.no-data-message i {
	font-size: 3rem;
	margin-bottom: 15px;
	opacity: 0.5;
}

/* Footer */
.footer {
	margin-top: auto;
	background: var(--header-gradient);
	padding: 20px 0;
	color: var(--text-muted);
	text-align: center;
	border-top: 1px solid var(--border-color);
}

.footer p {
	margin: 5px 0;
}

/* Animations */
@keyframes pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7);
	}

	70% {
		box-shadow: 0 0 0 6px rgba(46, 204, 113, 0);
	}

	100% {
		box-shadow: 0 0 0 0 rgba(46, 204, 113, 0);
	}
}

@keyframes floatAnimation {
	0%, 100% {
		transform: translateY(0px);
	}

	50% {
		transform: translateY(-10px);
	}
}

/* Loading skeleton */
.skeleton {
	background: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 25%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.05) 75%);
	background-size: 200% 100%;
	animation: loading 1.5s infinite;
}

@keyframes loading {
	0% {
		background-position: 200% 0;
	}

	100% {
		background-position: -200% 0;
	}
}

/* Responsive styles */
@media (max-width: 1200px) {
	.jade-dashboard-grid {
		width: 95%;
	}

	.stats-grid {
		grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	}
}

@media (max-width: 992px) {
	.mobile-menu-toggle {
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.jade-dashboard-grid {
		grid-template-columns: 1fr;
	}

	.jade-sidebar {
		position: fixed;
		top: 0;
		left: -100%;
		width: 280px;
		height: 100%;
		z-index: 200;
		transition: left 0.3s ease;
	}

	.jade-sidebar.mobile-active {
		left: 0;
	}

	.mobile-close-btn {
		display: flex;
	}

	.stats-grid {
		grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	}

	.transactions-title {
		flex-direction: column;
		align-items: flex-start;
	}

	.transactions-filter {
		width: 100%;
		justify-content: flex-start;
	}
}

@media (max-width: 768px) {

	.jade-dashboard-grid {
		gap: 20px;
	}

	.dashboard-section {
		padding: 20px 15px;
	}

	.stats-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 15px;
	}

	.stat-card {
		padding: 15px;
	}

	.stat-icon {
		width: 40px;
		height: 40px;
		margin-right: 10px;
	}

	.stat-value {
		font-size: 1.2rem;
	}

	.stat-label {
		font-size: 0.75rem;
	}

	.transaction-item {
		padding: 12px 15px;
		gap: 10px;
	}

	.transaction-icon {
		width: 40px;
		height: 40px;
	}

	.transaction-item-icon {
		width: 40px;
		height: 40px;
	}

	.transaction-amount {
		min-width: 80px;
		font-size: 0.9rem;
	}

	.transaction-description {
		font-size: 0.9rem;
	}

	.filter-btn {
		font-size: 0.8rem;
		padding: 5px 12px;
	}
}

@media (max-width: 480px) {
	.jade-sidebar {
		width: 85%;
	}

	.stats-grid {
		grid-template-columns: 1fr;
	}

	.transaction-info {
		margin-right: 10px;
	}

	.transaction-amount {
		min-width: auto;
		font-size: 0.85rem;
	}

	.transactions-filter {
		gap: 5px;
	}

	.filter-btn {
		font-size: 0.75rem;
		padding: 4px 10px;
	}
}

/* Custom styles combining both designs */
/* Main grid layout */
.rewards-dashboard {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 30px;
	width: 95%;
	max-width: 1400px;
	margin: 30px auto;
}

/* Sidebar */
.sidebar {
	background: var(--card-gradient);
	border: 1px solid var(--border-color);
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 5px 15px var(--shadow-color);
}

/* Mobile overlay menu */
.mobile-sidebar-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.7);
	z-index: 199;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.mobile-sidebar-overlay.active {
	display: block;
	opacity: 1;
}

.sidebar.mobile-active {
	position: fixed;
	top: 0;
	left: 0;
	width: 280px;
	height: 100%;
	z-index: 200;
	transform: translateX(0);
	overflow-y: auto;
}

/* Mobile close button */
.mobile-close-btn {
	display: none;
	position: absolute;
	top: 15px;
	right: 15px;
	background: rgba(212, 175, 55, 0.2);
	border: 1px solid var(--accent-color);
	color: var(--accent-color);
	width: 35px;
	height: 35px;
	border-radius: 50%;
	cursor: pointer;
	font-size: 1.2rem;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	z-index: 201;
}

.mobile-close-btn:hover {
	background: rgba(212, 175, 55, 0.3);
	transform: rotate(90deg);
}

.badge-new {
	background: red;
	/* nền hồng */
	color: #fff;
	/* chữ trắng */
	font-size: 11px;
	font-weight: bold;
	padding: 2px 6px;
	border-radius: 10px;
	margin-left: 4px;
	display: inline-block;
	position: relative;
	top: -6px;
	/* đẩy chữ lên trên */
	animation: blink 1s infinite;
}

/* Hiệu ứng nhấp nháy */
@keyframes blink {
	0%, 100% {
		opacity: 1;
	}

	50% {
		opacity: 0;
	}
}

.status {

	width: 15px;
	height: 15px;
	border-radius: 50%;
	border: 2px solid var(--card-bg);
}

.status.online {
	background-color: #2ecc71;
	box-shadow: 0 0 10px rgba(46, 204, 113, 0.7);
}

.status.offline {
	background-color: #e74c3c;
}


.server-status-panel {
	display: flex;
	align-items: center;
	padding: 15px 20px;
	background: rgba(0, 0, 0, 0.3);
	border-top: 1px solid var(--border-color);
}

.status-indicator {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	margin-right: 10px;
}

.status-indicator.online {
	background-color: #2ecc71;
	box-shadow: 0 0 10px rgba(46, 204, 113, 0.7);
	animation: pulse 2s infinite;
}

.status-indicator.offline {
	background-color: #e74c3c;
}

.status-text {
	font-size: 0.85rem;
	color: var(--text-muted);
}

/* Main content */
.main-content {
	display: flex;
	flex-direction: column;
}

.section-title {
	display: flex;
	align-items: center;
	margin-bottom: 25px;
	flex-wrap: wrap;
	gap: 15px;
}

.section-title h2 {
	margin: 0;
	font-size: 2rem;
	text-transform: uppercase;
	letter-spacing: 1.5px;
}

.section-title .gift-icon {
	font-size: 2rem;
	margin-right: 15px;
	color: var(--accent-color);
	animation: float 3s ease-in-out infinite;
}

.decorative-line {
	flex: 1;
	height: 2px;
	background: #1baac2;
	margin-left: 20px;
	opacity: 0.5;
	min-width: 50px;
}

/* Alert messages */
.alert {
	padding: 15px 20px;
	border-radius: 5px;
	margin-bottom: 20px;
	border: 1px solid;
	position: relative;
	overflow: hidden;
	animation: slideInDown 0.3s ease-out;
}

.alert::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 4px;
	height: 100%;
	background-color: currentColor;
}

.alert-success {
	background-color: rgba(46, 204, 113, 0.1);
	border-color: rgba(46, 204, 113, 0.3);
	color: #2ecc71;
}

.alert-danger {
	background-color: rgba(231, 76, 60, 0.1);
	border-color: rgba(231, 76, 60, 0.3);
	color: #e74c3c;
}

.alert i {
	margin-right: 10px;
}

/* Stats summary */
.stats-summary {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin-bottom: 30px;
}

.stat-card {
	background: var(--card-gradient);
	border: 1px solid var(--border-color);
	border-radius: 10px;
	padding: 20px;
	text-align: center;
	position: relative;
	overflow: hidden;
	transition: all 0.3s ease;
}

.stat-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
	border-color: var(--accent-color);
}

.stat-card::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
	opacity: 0;
	transition: opacity 0.3s ease;
	pointer-events: none;
}

.stat-card:hover::before {
	opacity: 0.1;
}

.stat-icon {
	font-size: 2.5rem;
	color: var(--accent-color);
	margin-bottom: 10px;
	filter: drop-shadow(0 0 5px var(--accent-glow));
}

.stat-value {
	font-size: 2rem;
	font-weight: bold;
	color: var(--text-highlight);
	margin-bottom: 5px;

	text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.stat-label {
	font-size: 0.9rem;
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: 1px;
}

/* VIP Level Display */
.vip-level-section {
	background: var(--card-gradient);
	border: 1px solid var(--border-color);
	border-radius: 10px;
	padding: 25px;
	margin-bottom: 20px;
	box-shadow: 0 5px 15px var(--shadow-color);
	position: relative;
	overflow: hidden;
	text-align: center;
}

/* Different gradients for each VIP level */
.vip-level-1 {
	--vip-gradient: linear-gradient(135deg, #C0C0C0, #808080, #696969);
	--vip-glow: rgba(192, 192, 192, 0.6);
}

.vip-level-2 {
	--vip-gradient: linear-gradient(135deg, #B87333, #8B4513, #D2691E);
	--vip-glow: rgba(184, 115, 51, 0.6);
}

.vip-level-3 {
	--vip-gradient: linear-gradient(135deg, #228B22, #32CD32, #00FF00);
	--vip-glow: rgba(34, 139, 34, 0.6);
}

.vip-level-4 {
	--vip-gradient: linear-gradient(135deg, #4169E1, #1E90FF, #00BFFF);
	--vip-glow: rgba(65, 105, 225, 0.6);
}

.vip-level-5 {
	--vip-gradient: linear-gradient(135deg, #9400D3, #8A2BE2, #DA70D6);
	--vip-glow: rgba(148, 0, 211, 0.6);
}

.vip-level-6 {
	--vip-gradient: linear-gradient(135deg, #FFD700, #FFA500, #FF6347);
	--vip-glow: rgba(255, 215, 0, 0.6);
}

.vip-badge {
	display: inline-flex;
	align-items: center;
	gap: 15px;
	padding: 15px 30px;
	background: var(--vip-gradient);
	border-radius: 50px;
	position: relative;
	animation: vipGlow 2s ease-in-out infinite;
	box-shadow:
		0 0 20px var(--vip-glow),
		0 0 40px var(--vip-glow),
		0 0 60px var(--vip-glow);
}

.vip-progress {
	margin-top: 20px;
}

.vip-progress-bar {
	width: 100%;
	height: 20px;
	background: rgba(0, 0, 0, 0.3);
	border-radius: 10px;
	overflow: hidden;
	margin-bottom: 10px;
}

.vip-progress-fill {
	height: 100%;
	background: var(--vip-gradient);
	transition: width 0.5s ease;
}

/* Promo code section */
.promo-code-section {
	background: var(--card-gradient);
	border: 1px solid var(--border-color);
	border-radius: 10px;
	padding: 25px;
	margin-bottom: 30px;
	box-shadow: 0 5px 15px var(--shadow-color);
	position: relative;
	overflow: hidden;
}

.promo-code-section::before {
	content: '';
	position: absolute;
	top: -50%;
	right: -50%;
	width: 100%;
	height: 100%;
	background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
	opacity: 0.05;
	pointer-events: none;
}

.promo-code-title {
	display: flex;
	align-items: center;
	font-size: 1.3rem;
	color: var(--accent-color);
	margin-bottom: 20px;

}

.promo-code-title i {
	margin-right: 15px;
	font-size: 1.5rem;
}

.promo-code-form {
	display: flex;
	gap: 15px;
	align-items: center;
}

.promo-code-input {
	flex: 1;
	padding: 12px 20px;
	background-color: rgba(0, 0, 0, 0.3);
	border: 1px solid var(--border-color);
	border-radius: 5px;
	color: var(--text-color);
	font-size: 1rem;

	letter-spacing: 2px;
	text-transform: uppercase;
	transition: all 0.3s ease;
}

.promo-code-input:focus {
	outline: none;
	border-color: var(--accent-color);
	box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

.promo-code-input::placeholder {
	color: var(--text-muted);
	letter-spacing: 1px;
}

.btn {
	padding: 12px 25px;
	font-size: 0.95rem;
	font-weight: 500;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 1px;
	border-radius: 5px;
	cursor: pointer;
	transition: all 0.3s ease;
	border: none;

}

/* Category tabs */
.category-tabs-section {
	margin-bottom: 30px;
}

.category-tabs {
	background: rgba(0, 0, 0, 0.3);
	border-radius: 10px;
	padding: 10px;
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	justify-content: center;
	border: 1px solid var(--border-color);
}

.category-tab {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 20px;
	background: transparent;
	color: var(--text-color);
	text-decoration: none;
	border-radius: 5px;
	transition: all 0.3s ease;

	text-transform: uppercase;
	letter-spacing: 0.5px;
	font-size: 0.9rem;
	border: 1px solid transparent;
	white-space: nowrap;
}

.category-tab i {
	font-size: 1.1rem;
	color: var(--accent-color);
}

.category-tab:hover {
	background: rgba(212, 175, 55, 0.1);
	color: var(--accent-color);
	border-color: var(--accent-color);
	transform: translateY(-2px);
}

.category-tab.active {
	background: rgba(212, 175, 55, 0.2);
	color: var(--accent-color);
	border-color: var(--accent-color);
	box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

/* Category sections */
.category-section {
	margin-bottom: 40px;
}

.category-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: linear-gradient(to right, rgba(212, 175, 55, 0.1), transparent);
	padding: 15px 20px;
	border-left: 4px solid var(--accent-color);
	margin-bottom: 20px;
	flex-wrap: wrap;
	gap: 10px;
}

.category-title {
	display: flex;
	align-items: center;
	font-size: 1.5rem;
	color: var(--accent-color);

	text-transform: uppercase;
	letter-spacing: 1.5px;
	margin: 0;
}

.category-title i {
	margin-right: 15px;
	font-size: 1.8rem;
}

.category-count {
	background: rgba(212, 175, 55, 0.2);
	color: var(--accent-color);
	padding: 5px 15px;
	border-radius: 20px;
	font-size: 0.9rem;
	font-weight: bold;
}

/* Rewards grid - Updated from rewards_output2 */
.rewards-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 25px;
}

/* Reward card - Enhanced from rewards_output2 */
.reward-card {
	border-radius: 10px;
	overflow: hidden;
	transition: all 0.3s ease;
	position: relative;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.reward-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
	border-color: var(--accent-color);
}

.reward-card.claimed {
	opacity: 0.6;
}

.reward-card.claimed::after {
	content: 'CLAIMED';
	position: absolute;
	top: 10px;
	right: -30px;
	background: rgba(46, 204, 113, 0.9);
	color: white;
	padding: 5px 40px;
	transform: rotate(45deg);
	font-size: 0.8rem;
	font-weight: bold;
	letter-spacing: 1px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.reward-card.on-cooldown::after {
	content: 'COOLDOWN';
	position: absolute;
	top: 10px;
	right: -30px;
	background: rgba(243, 156, 18, 0.9);
	color: white;
	padding: 5px 40px;
	transform: rotate(45deg);
	font-size: 0.8rem;
	font-weight: bold;
	letter-spacing: 1px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.reward-header {
	padding: 20px;
	background: #fff;
	border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.reward-icon {
	width: 60px;
	height: 60px;
	margin: 0 auto 15px;
	background: rgba(212, 175, 55, 0.1);
	border: 2px solid var(--accent-color);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
}

.reward-icon img {
	width: 80%;
	height: 80%;
	object-fit: contain;
	filter: drop-shadow(0 0 5px var(--accent-glow));
}

.reward-icon i {
	font-size: 2rem;
	color: var(--accent-color);
	filter: drop-shadow(0 0 5px var(--accent-glow));
}

.reward-name {
	text-align: center;
	font-size: 1.2rem;
	margin: 0;
}

.reward-body {
	padding: 20px;
}

.reward-description {
	font-size: 0.9rem;
	line-height: 1.5;
	margin-bottom: 15px;
	min-height: 50px;
}

.reward-requirement {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px;
	border-radius: 5px;
	margin-bottom: 15px;
	font-size: 0.9rem;
}

.reward-requirement i {
	margin-right: 8px;
	color: var(--accent-color);
}

.reward-requirement.requirement-met {
	border: 1px solid rgba(46, 204, 113, 0.3);
	color: #2ecc71;
}

.reward-requirement.requirement-not-met {
	border: 1px solid rgba(231, 76, 60, 0.3);
	color: #e74c3c;
}

/* Enhanced reward items display */
.reward-items {
	border-radius: 5px;
	padding: 10px;
	margin-bottom: 15px;
}

.reward-items-label {
	font-size: 0.85rem;
	color: var(--text-muted);
	margin-bottom: 8px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* Item list - maintaining organized list from rewards_output */
.reward-item {
	display: flex;
	align-items: center;
	padding: 5px 0;
}

.reward-item-icon {
	width: 30px;
	height: 30px;
	margin-right: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.reward-item-icon img {
	max-width: 100%;
	max-height: 100%;
}

.reward-item-name {
	flex: 1;
	font-size: 0.9rem;
	color: var(--text-color);
}

.reward-item-quantity {
	font-size: 0.8rem;
	color: var(--accent-color);
	font-weight: bold;
}

.reward-actions {
	display: flex;
	gap: 10px;
}

.quest .btn-claim {
	flex: 1;
	background: linear-gradient(to bottom, var(--accent-color), var(--accent-dark));
	color: var(--primary-bg);
	border: 1px solid var(--accent-color);
	padding: 10px 20px;
	border-radius: 5px;
	text-align: center;
	text-decoration: none;

	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 1px;
	transition: all 0.3s ease;
	cursor: pointer;
}

.quest .btn-claim:hover:not(:disabled) {
	box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
	transform: translateY(-2px);
}

.quest .btn-claim:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	background: gray;
	border-color: gray;
}

.cooldown-timer {
	text-align: center;
	color: #f39c12;
	font-size: 0.9rem;
	margin-top: 10px;
	font-weight: bold;
}

/* Character selector */
.character-selector {
	margin-bottom: 15px;
}

.character-selector select {
	width: 100%;
	padding: 8px 12px;
	background: rgba(0, 0, 0, 0.3);
	border: 1px solid var(--border-color);
	border-radius: 5px;
	color: var(--text-color);
	font-size: 0.9rem;
}

.character-selector select:focus {
	outline: none;
	border-color: var(--accent-color);
	box-shadow: 0 0 5px var(--accent-glow);
}

/* Footer */
.footer {
	margin-top: auto;
	background: var(--header-gradient);
	padding: 20px 0;
	color: var(--text-muted);
	text-align: center;
	border-top: 1px solid var(--border-color);
}

.footer p {
	margin: 5px 0;
}

/* Animations */
@keyframes pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7);
	}

	70% {
		box-shadow: 0 0 0 6px rgba(46, 204, 113, 0);
	}

	100% {
		box-shadow: 0 0 0 0 rgba(46, 204, 113, 0);
	}
}

@keyframes slideInDown {
	from {
		transform: translateY(-20px);
		opacity: 0;
	}

	to {
		transform: translateY(0);
		opacity: 1;
	}
}

@keyframes float {
	0% {
		transform: translateY(0px);
	}

	50% {
		transform: translateY(-10px);
	}

	100% {
		transform: translateY(0px);
	}
}

@keyframes vipGlow {

	0%,
	100% {
		transform: scale(1);
	}

	50% {
		transform: scale(1.05);
	}
}

/* Loading animation */
.loading {
	display: inline-block;
	width: 20px;
	height: 20px;
	border: 3px solid rgba(212, 175, 55, 0.3);
	border-radius: 50%;
	border-top-color: var(--accent-color);
	animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

/* Responsive */
@media (max-width: 1200px) {
	.rewards-dashboard {
		width: 95%;
	}

	.stats-summary {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 992px) {
	.mobile-menu-toggle {
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.rewards-dashboard {
		grid-template-columns: 1fr;
	}

	.sidebar {
		position: fixed;
		top: 0;
		left: -100%;
		width: 280px;
		height: 100%;
		z-index: 200;
		transition: left 0.3s ease;
	}

	.sidebar.mobile-active {
		left: 0;
	}

	.mobile-close-btn {
		display: flex;
	}

	.section-title {
		justify-content: center;
		text-align: center;
	}

	.decorative-line {
		display: none;
	}
}

@media (max-width: 768px) {

	.rewards-dashboard {
		margin: 15px auto;
		gap: 20px;
	}

	.section-title h2 {
		font-size: 1.5rem;
	}

	.section-title .gift-icon {
		font-size: 1.5rem;
		margin-right: 10px;
	}

	.stats-summary {
		grid-template-columns: repeat(2, 1fr);
		gap: 15px;
	}

	.stat-card {
		padding: 15px;
	}

	.stat-icon {
		font-size: 2rem;
	}

	.stat-value {
		font-size: 1.5rem;
	}

	.stat-label {
		font-size: 0.8rem;
	}

	.rewards-grid {
		grid-template-columns: 1fr;
	}

	.promo-code-form {
		flex-direction: column;
	}

	.promo-code-input {
		width: 100%;
	}

	.btn {
		width: 100%;
	}

	.category-tabs {
		justify-content: flex-start;
		overflow-x: auto;
		scrollbar-width: thin;
		scrollbar-color: var(--accent-color) rgba(0, 0, 0, 0.3);
	}

	.category-tabs::-webkit-scrollbar {
		height: 6px;
	}

	.category-tabs::-webkit-scrollbar-track {
		background: rgba(0, 0, 0, 0.3);
	}

	.category-tabs::-webkit-scrollbar-thumb {
		background-color: var(--accent-color);
		border-radius: 3px;
	}

	.category-tab {
		padding: 8px 15px;
		font-size: 0.85rem;
	}

	.category-header {
		padding: 10px 15px;
		flex-direction: column;
		align-items: flex-start;
	}

	.category-title {
		font-size: 1.2rem;
	}

	.vip-badge {
		padding: 10px 20px;
		font-size: 0.9rem;
		gap: 10px;
	}

	.reward-card {
		max-width: 100%;
	}
}

@media (max-width: 480px) {
	.sidebar {
		width: 85%;
	}

	.stats-summary {
		grid-template-columns: 1fr;
	}

	.promo-code-title {
		font-size: 1.1rem;
	}

	.promo-code-input {
		font-size: 0.9rem;
		padding: 10px 15px;
	}

	.btn {
		font-size: 0.85rem;
		padding: 10px 20px;
	}

	.reward-header {
		padding: 15px;
	}

	.reward-name {
		font-size: 1.1rem;
	}

	.reward-body {
		padding: 15px;
	}

	.reward-description {
		font-size: 0.85rem;
	}

	.reward-requirement {
		font-size: 0.85rem;
		padding: 8px;
	}
}


/* Table styling */
table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 20px;
}

thead {
	position: sticky;
	top: 0;
}

th {
	padding: 12px 15px;
	text-align: left;
	font-weight: 500;
	border-bottom: 1px solid var(--border-color);
	letter-spacing: 1px;
}

td {
	padding: 10px 15px;
	border-bottom: 1px solid rgba(212, 175, 55, 0.1);
	transition: all 0.3s ease;
}

tbody tr {
	transition: background-color 0.3s ease;
}

tbody tr:hover {
	background-color: rgba(212, 175, 55, 0.05);
}

/* Mobile overlay menu */
.mobile-sidebar-overlay {
	display: none;
	position: fixed;
	top: 100px;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.7);
	z-index: 199;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.mobile-sidebar-overlay.active {
	display: block;
	opacity: 1;
}

.sidebar.mobile-active {
	position: fixed;
	top: 0;
	left: 0;
	width: 280px;
	height: 100%;
	z-index: 200;
	transform: translateX(0);
	overflow-y: auto;
}

/* Mobile close button */
.mobile-close-btn {
	display: none;
	position: absolute;
	top: 15px;
	right: 15px;
	background: rgba(212, 175, 55, 0.2);
	border: 1px solid var(--accent-color);
	color: var(--accent-color);
	width: 35px;
	height: 35px;
	border-radius: 50%;
	cursor: pointer;
	font-size: 1.2rem;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	z-index: 201;
}

.mobile-close-btn:hover {
	background: rgba(212, 175, 55, 0.3);
	transform: rotate(90deg);
}


.shop-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 20px;
}

.item-card {
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 10px;
	text-align: center;
	padding: 15px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	transition: transform .2s;
}

.item-card:hover {
	transform: translateY(-5px);
}

.item-card img {
	object-fit: contain;
	margin-bottom: 10px;
}

.item-name {
	font-size: 16px;
	font-weight: bold;
	margin-bottom: 8px;
	color: #333;
}

.item-price {
	font-size: 14px;
	color: #e67e22;
	font-weight: bold;
}