* {
	font-family: ARIAL;
	font-size: 11px;
}
:root {
	/* Site layout widths (+20% from legacy 990/900/890 grid) */
	--layout-body: 1188px;
	--layout-shell: 1080px;
	--layout-content: 1068px;
	--layout-inner: 936px;
	--layout-wide: 1037px;
	--layout-narrow: 768px;
	--layout-medium: 720px;
	--layout-support-panel: 828px;
	--layout-support-field: 804px;
	--layout-bubble-max: 780px;
	--layout-editor-side: 132px;
	--layout-editor-label: 240px;
	--layout-chat-sidebar: 350px;
	--layout-chat-compose: 432px;
}
a {
	text-decoration: none;
}
a:link {
	color: #2fe36a;
}
a:visited {
	color: #2fe36a;
}
body {
	margin: 0px auto;
	width: var(--layout-body);
	padding: 0px;
	background-color: #222222;
	color: #ffffff;
}
/*input, select {
	background:#ffffff;
	color:#000000;
}
textarea, input, select {
	background-color: #ffffff;
	color: #000000;
	border-color:#2fe36a;
	resize: none;
}
*/
input, textarea, select{
	color: #ffffff;
	border: 1px solid #808080;
	background-color: #333333;
	resize: none;
}
input[type="text"], textarea {
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px;
}
input[type="button"], input[type="submit"], input[type="reset"] {
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	background-color: #444444;
	font-weight: bold;
	padding: 3px;
	margin: 3px;
}
p, form {
	margin: 0px;
	padding: 0px;
}
.borderstyle {
	padding: 5px;
	font-size: 11px;
	background-color: #222;
	border-top: 1px solid #d9d9d9;
	border-left: 1px solid #d9d9d9;
	border-right: 1px solid #cccccc;
	border-bottom: 1px solid #cccccc;
	color: #ffffff;
}
.formstyle {
	padding: 5px;
	font-size: 11px;
	background-color: #222;
	border-top: 1px solid #d9d9d9;
	border-left: 1px solid #d9d9d9;
	border-right: 1px solid #cccccc;
	border-bottom: 1px solid #cccccc;
	color: #ffffff;
}
.formstyle:focus, .formstyle:hover {
	font-size: 11px;
	background-color: #333333;
	border-top: 1px solid #999999;
	border-left: 1px solid #999999;
	border-right: 1px solid #7f7f7f;
	border-bottom: 1px solid #7f7f7f;
	color: #ffffff;
}
.formstyle.field-valid {
	background-color: #1a2e1a;
	border-top-color: #28c85c;
	border-left-color: #28c85c;
	border-right-color: #28c85c;
	border-bottom-color: #28c85c;
}
.formstyle.field-valid:focus,
.formstyle.field-valid:hover {
	background-color: #1f3520;
	border-top-color: #2fe36a;
	border-left-color: #2fe36a;
	border-right-color: #2fe36a;
	border-bottom-color: #2fe36a;
}
.formstyle.field-invalid {
	background-color: #2e1a1a;
	border-top-color: #cc2200;
	border-left-color: #cc2200;
	border-right-color: #cc2200;
	border-bottom-color: #cc2200;
}
.formstyle.field-invalid:focus,
.formstyle.field-invalid:hover {
	background-color: #352020;
	border-top-color: #ff2200;
	border-left-color: #ff2200;
	border-right-color: #ff2200;
	border-bottom-color: #ff2200;
}
.formstyle[disabled],
.formstyle:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}
.transfer_table {
	width: var(--layout-medium);
	padding: 5px;
	margin: 15px auto;
	background-color: #222;
	color: #ffffff;
}
.content_table {
	width: var(--layout-content);
	padding: 5px;
	margin: 15px auto;
	background-color: #222;
	color: #ffffff;
}
#error {
	color: #FF0000;
}
#banner {
	margin: 0 auto;
	padding: 0;
	width: var(--layout-shell);
	height: 200px;
	background: #222 url(../images/logo.jpg) no-repeat center center;
	background-size: 100% auto;
}
#wraper {
	margin: 10px auto;
	padding: 0 20px;
	background: #222;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	border-radius: 8px;
}
#menubar {
	width: var(--layout-shell);
	margin: 0 auto;
	text-align: center;
}
#menubar .sf-menu {
	display: flex;
	width: var(--layout-shell);
	margin: 0 auto 0.25em auto;
	text-align: center;
	box-sizing: border-box;
}
#menubar .sf-menu > li {
	float: none;
	flex: 1 1 auto;
}
#menubar .sf-menu > li > a {
	padding-left: 0;
	padding-right: 0;
	text-align: center;
	white-space: nowrap;
}
#menubar .sf-menu > li li {
	float: none;
	text-align: left;
}
.account-strip {
	display: flex;
	align-items: stretch;
	justify-content: flex-end;
	flex-wrap: nowrap;
	float: right;
	clear: right;
	width: auto;
	max-width: 100%;
	margin: 0 0 8px 0;
	padding: 4px 0;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.015) 100%);
	border-radius: 6px;
	box-sizing: border-box;
}
.account-strip-card {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 0;
	padding: 5px 12px;
	border-right: 1px solid rgba(255, 255, 255, 0.07);
	text-decoration: none;
	color: inherit;
}
.account-strip-card:last-child {
	border-right: none;
}
.account-strip-card-cart:hover .account-strip-icon-cart {
	background: rgba(255, 204, 102, 0.28);
}
.account-strip-card-cart:hover .account-strip-cart-count.has-items {
	color: #2fe36a;
}
.account-strip-icon {
	flex: 0 0 auto;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	font-weight: bold;
	line-height: 1;
}
.account-strip-icon-welcome {
	background: rgba(255, 204, 0, 0.16);
}
.account-strip-icon-welcome::before {
	content: '👑';
	color: #ffd700;
	font-size: 15px;
	line-height: 1;
}
.account-strip-icon-balance {
	background: rgba(255, 204, 0, 0.16);
}
.account-strip-icon-balance::before {
	content: '$';
	color: #ffcc00;
	font-size: 15px;
}
.account-strip-icon-cart {
	background: rgba(255, 204, 102, 0.22);
}
.account-strip-icon-cart::before {
	content: '\1F6D2';
	color: #ffcc66;
	font-size: 15px;
	line-height: 1;
}
.account-strip-body {
	text-align: left;
	min-width: 0;
	white-space: nowrap;
}
.account-strip-value {
	font-size: 12px;
	font-weight: bold;
	line-height: 1;
	color: #ffffff;
	text-align: left;
	word-break: normal;
	text-transform: uppercase;
}
.account-strip-balance,
a.account-strip-balance:link,
a.account-strip-balance:visited {
	color: #ffcc00;
	text-decoration: none;
}
.account-strip-balance:hover {
	text-decoration: underline;
}
.account-strip-cart-count.has-items {
	color: #2fe36a;
}
#balance_notify {
	text-align: center;
	padding: 5px 0;
}
#balance_notify * {
	font-size: 13px;
}
.account_info td {
	width: var(--layout-editor-label);
}

.message_message {
	width: var(--layout-medium);
	height: 100px;
	padding: 10px;
}
.small {
	font-size: 11px;
}

.normal {
	font-size: 12px;
}

.large {
	font-size: 13px;
}

.page_go {
	width: 20px;
	text-align: center;
	font-size: 11px;
}
.section_title {
	width: var(--layout-content);
	text-align: center;
	margin: 10px 0;
	font-weight: bold;
}
.section_page_bar {
	width: var(--layout-content);
	text-align: right;
}
.section_page_bar a , .section_page_bar input{
	margin: 0 3px;
}
.section_content {
	width: var(--layout-content);
}


/* Begin index.php */
.ad_menu {
	float: right;
	padding-right: 10px;
}
.ad_editor {
	width: var(--layout-editor-side);
	text-align: center;
	font-weight: bold;
}
.ad_title {
	text-align: center;
	font-weight: bold;
}
.ad_title_editor {
	width: var(--layout-inner);
}
.ad_content_editor {
	width: var(--layout-inner);
	height: 200px;
}
.ad_info {
	font-size: 9px;
	float: right;
	padding-right: 10px;
}

.news_menu {
	float: right;
	padding-right: 10px;
}
.news_editor {
	width: var(--layout-editor-side);
	text-align: center;
	font-weight: bold;
}
.news_title {
	text-align: center;
	font-weight: bold;
}
.news_title_editor {
	width: var(--layout-inner);
}
.news_content_editor {
	width: var(--layout-inner);
	height: 200px;
}
.news_info {
	font-size: 9px;
	float: right;
	padding-right: 10px;
}
.dump_editor {
	width: var(--layout-editor-label);
	text-align: center;
	font-weight: bold;
}
.dump_value_editor {
	width: var(--layout-editor-label);
}
.dump_full_info {
	width: var(--layout-wide);
	height: 100px;
}
.dump_comment {
	width: var(--layout-narrow);
	height: 100px;
}
.dump_content_editor {
	width: var(--layout-inner);
	height: 200px;
}
.dump_content_error {
	width: var(--layout-inner);
	height: 100px;
}
.card_editor {
	width: var(--layout-editor-label);
	text-align: center;
	font-weight: bold;
}
.card_value_editor {
	width: var(--layout-editor-label);
}
.card_full_info {
	width: var(--layout-wide);
	height: 100px;
}
.card_comment {
	width: var(--layout-narrow);
	height: 100px;
}
.card_content_editor {
	width: var(--layout-inner);
	height: 200px;
}
.card_content_error {
	width: var(--layout-inner);
	height: 100px;
}
.otheraccount_editor {
	width: var(--layout-editor-label);
	text-align: center;
	font-weight: bold;
}
.otheraccount_value_editor {
	width: var(--layout-editor-label);
}
.otheraccount_full_info {
	width: var(--layout-wide);
	height: 100px;
}
.otheraccount_comment {
	width: var(--layout-narrow);
	height: 100px;
}
.otheraccount_content_editor {
	width: var(--layout-inner);
	height: 200px;
}
.otheraccount_content_error {
	width: var(--layout-inner);
	height: 100px;
}
.news_content {
	text-align: left;
	text-indent: 20px;
}
/* End index.php */

.users_title {
	text-align: center;
	font-weight: bold;
}
.configs_title {
	text-align: center;
	font-weight: bold;
}
.groups_title {
	text-align: center;
	font-weight: bold;
}

.wrapper_table {
    margin: 10px auto;
    width: var(--layout-content);
}

/* Begin cards.php, mycards.php */
.iconcc {
	width: 30px;
	height: 30px;
}
/* End cards.php, mycards.php */

.ticket-page {
	width: var(--layout-content);
	margin: 15px auto;
	color: #ffffff;
}
.ticket-alert {
	border-radius: 6px;
	padding: 11px 13px;
	margin: 10px 0;
	font-weight: bold;
	text-align: left;
}
.ticket-alert.success {
	background: #0f2f22;
	border: 1px solid #1f8f5f;
	color: #66ffb3;
}
.ticket-alert.error {
	background: #331515;
	border: 1px solid #9c3030;
	color: #ff8f8f;
}
.ticket-alert.warning {
	background: #332a11;
	border: 1px solid #aa8800;
	color: #ffff00;
}
.ticket-form-row {
	margin-bottom: 13px;
}
.ticket-form-row label {
	display: block;
	margin-bottom: 6px;
	color: #2fe36a;
	font-weight: bold;
}
.ticket-input,
.ticket-select,
.ticket-textarea {
	width: 100%;
	box-sizing: border-box;
	background: #111;
	border: 1px solid #777;
	border-radius: 6px;
	color: #ffffff;
	padding: 9px 10px;
	font-size: 12px;
	outline: none;
}
.ticket-input:focus,
.ticket-select:focus,
.ticket-textarea:focus {
	border-color: #2fe36a;
	box-shadow: none;
}
.ticket-textarea {
	min-height: 150px;
	resize: vertical;
	line-height: 18px;
}
.ticket-btn,
.ticket-card input[type="submit"],
.ticket-card input[type="reset"] {
	display: inline-block;
	background: #333;
	border: 1px solid #999;
	border-radius: 5px;
	color: #2fe36a;
	padding: 8px 13px;
	font-weight: bold;
	text-decoration: none;
	cursor: pointer;
}
.ticket-btn.secondary,
.ticket-card input[type="reset"] {
	background: #2d333b;
	border-color: #777;
	color: #ffffff;
}
.ticket-btn.danger {
	background: #552222;
	border-color: #aa3333;
	color: #ffffff;
}
.ticket-meta {
	color: #cccccc;
	font-size: 11px;
}
.ticket-list-item {
	display: block;
	color: #e6edf3;
	text-decoration: none;
}
.ticket-list-item + .ticket-list-item {
	margin-top: 10px;
}
.ticket-item-head {
	display: table;
	width: 100%;
}
.ticket-item-title {
	display: table-cell;
	font-weight: bold;
	color: #ffffff;
}
.ticket-item-date {
	display: table-cell;
	text-align: right;
	color: #9aa4b2;
	font-size: 11px;
	white-space: nowrap;
}
.ticket-item-body {
	margin-top: 8px;
	color: #b8c0cc;
}
.ticket-badge {
	display: inline-block;
	border-radius: 12px;
	padding: 3px 8px;
	font-size: 10px;
	font-weight: bold;
	text-transform: uppercase;
	margin-right: 5px;
	background: #333;
	color: #cccccc;
}
.ticket-badge.pending-admin {
	background: #333;
	color: #ffff00;
}
.ticket-badge.pending-user,
.ticket-badge.open {
	background: #333;
	color: #2fe36a;
}
.ticket-badge.closed,
.ticket-badge.resolved,
.ticket-badge.archived {
	background: #333;
	color: #bbbbbb;
}
.ticket-badge.unread {
	background: #333;
	color: #ffff00;
}
.ticket-empty {
	text-align: center;
	color: #9aa4b2;
	padding: 24px;
}
.ticket-summary {
	display: table;
	width: 100%;
}
.ticket-summary-main {
	display: table-cell;
	vertical-align: top;
}
.ticket-summary-side {
	display: table-cell;
	width: 220px;
	text-align: right;
	vertical-align: top;
}
.ticket-thread {
	margin-top: 14px;
}
.ticket-message {
	margin: 12px 0;
	clear: both;
}
.ticket-message:after {
	content: "";
	display: block;
	clear: both;
}
.ticket-bubble {
	max-width: var(--layout-bubble-max);
	border-radius: 9px;
	padding: 11px 13px;
	line-height: 18px;
	white-space: normal;
	word-wrap: break-word;
}
.ticket-message.user .ticket-bubble {
	float: right;
	background: #0f3d2a;
	border: 1px solid #1f8f5f;
	color: #eafff4;
}
.ticket-message.admin .ticket-bubble {
	float: left;
	background: #222831;
	border: 1px solid #3d444d;
	color: #e6edf3;
}
.ticket-message-head {
	margin-bottom: 7px;
	font-size: 11px;
	color: #9aa4b2;
	font-weight: bold;
}
.ticket-actions {
	text-align: right;
	margin-top: 12px;
}
.ticket-page-bar {
	text-align: right;
	margin: 6px 0 12px 0;
}
.ticket-page-bar a,
.ticket-page-bar input {
	margin-left: 4px;
}
.chat-page {
	width: var(--layout-content);
	max-width: var(--layout-content);
}
.chat-shell {
	display: flex;
	height: 640px;
	background: #222;
	border: 1px solid #7f7f7f;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.chat-sidebar {
	width: var(--layout-chat-sidebar);
	background: #222;
	border-right: 1px solid #555;
	display: flex;
	flex-direction: column;
}
.chat-sidebar-head {
	padding: 16px;
	border-bottom: 1px solid #555;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.chat-title {
	color: #ffffff;
	font-size: 18px;
	font-weight: bold;
}
.chat-new-btn {
	background: #333;
	border: 1px solid #999;
	border-radius: 18px;
	color: #2fe36a;
	padding: 6px 12px;
	font-weight: bold;
	text-decoration: none;
}
.chat-tabs {
	padding: 10px 12px;
	border-bottom: 1px solid #555;
}
.chat-tabs a {
	display: inline-block;
	color: #cccccc;
	text-decoration: none;
	padding: 6px 8px;
	border-radius: 14px;
	font-size: 11px;
}
.chat-tabs a.active,
.chat-tabs a:hover {
	background: #26313d;
	color: #2fe36a;
}
.chat-tab-count {
	color: #ff2200;
	font-weight: bold;
}
.chat-conversations {
	flex: 1;
	overflow-y: auto;
	padding: 10px;
}
.chat-conversation {
	display: block;
	padding: 11px 10px;
	border: 1px solid transparent;
	border-radius: 9px;
	color: #ffffff;
	text-decoration: none;
	margin-bottom: 8px;
	background: #2a2a2a;
}
.chat-conversation:hover,
.chat-conversation.active {
	background: #222831;
	border-color: #999;
}
.chat-conversation-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	color: #ffffff;
	font-weight: bold;
	line-height: 16px;
}
.chat-conversation-title span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.chat-conversation-title b {
	width: 9px;
	height: 9px;
	background: #ffff00;
	border-radius: 50%;
	flex: 0 0 auto;
}
.chat-conversation-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 7px;
	color: #cccccc;
	font-size: 11px;
}
.chat-conversation-preview {
	color: #cccccc;
	font-size: 11px;
	line-height: 15px;
	margin-top: 6px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.chat-panel {
	flex: 1;
	min-width: 0;
	background: #222;
	display: flex;
	flex-direction: column;
}
.chat-panel-head {
	min-height: 62px;
	padding: 14px 18px;
	border-bottom: 1px solid #555;
	background: #2a2a2a;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}
.chat-panel-head h2 {
	margin: 0;
	color: #ffffff;
	font-size: 17px;
	line-height: 22px;
}
.chat-panel-head p {
	margin: 7px 0 0 0;
	color: #cccccc;
}
.chat-head-date {
	color: #cccccc;
	font-size: 11px;
	margin-left: 6px;
}
.chat-messages {
	flex: 1;
	overflow-y: auto;
	padding: 18px;
	background: #222;
}
.chat-message {
	clear: both;
	margin-bottom: 13px;
}
.chat-message:after {
	content: "";
	display: block;
	clear: both;
}
.chat-bubble {
	max-width: 76%;
	padding: 11px 13px;
	border-radius: 14px;
	font-size: 14px;
	line-height: 18px;
	word-wrap: break-word;
	box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}
.chat-message.user .chat-bubble {
	float: right;
	background: #333;
	border: 1px solid #00aa00;
	border-bottom-right-radius: 4px;
	color: #2fe36a;
}
.chat-message.admin .chat-bubble {
	float: left;
	background: #111;
	border: 1px solid #777;
	border-bottom-left-radius: 4px;
	color: #ffffff;
}
.chat-message-head {
	margin-bottom: 7px;
	font-size: 10px;
	font-weight: bold;
	color: rgba(255,255,255,0.72);
}
.chat-message.admin .chat-message-head {
	color: #cccccc;
}
.chat-support-label {
	color: #ff2200;
	font-weight: bold;
}
.chat-compose {
	padding: 12px;
	border-top: 1px solid #555;
	background: #2a2a2a;
	display: flex;
	gap: 10px;
	align-items: flex-end;
}
.chat-compose-main {
	flex: 1;
}
.chat-emoji-picker {
	margin-bottom: 7px;
}
.chat-emoji-wrap {
	position: relative;
}
.chat-emoji-picker button {
	background: #222;
	border: 1px solid #777;
	border-radius: 4px;
	color: #ffffff;
	cursor: pointer;
	font-size: 18px;
	line-height: 26px;
	margin: 0 3px 4px 0;
	min-width: 28px;
	padding: 2px 5px;
}
.chat-emoji-picker button:hover {
	background: #333;
	border-color: #2fe36a;
}
.chat-emoji-menu-btn {
	color: #2fe36a !important;
	font-size: 11px !important;
	font-weight: bold;
	padding: 2px 8px !important;
}
.chat-emoji-tipbox {
	display: none;
	position: absolute;
	left: 0;
	bottom: 34px;
	width: var(--layout-chat-compose);
	max-height: 210px;
	overflow-y: auto;
	background: #222;
	border: 1px solid #777;
	border-radius: 6px;
	box-shadow: 0 4px 14px rgba(0,0,0,0.45);
	padding: 10px;
	text-align: left;
	z-index: 50;
}
.chat-emoji-pack-title {
	color: #ffff00;
	font-size: 11px;
	font-weight: bold;
	margin: 4px 0 5px 0;
}
.chat-emoji-pack-row {
	margin-bottom: 7px;
	white-space: nowrap;
}
.chat-emoji-tipbox button {
	background: #111;
	border: 1px solid #666;
	border-radius: 4px;
	color: #ffffff;
	cursor: pointer;
	font-size: 19px;
	line-height: 29px;
	margin: 0 4px 4px 0;
	min-width: 30px;
	padding: 2px 5px;
}
.chat-emoji-tipbox button:hover {
	background: #333;
	border-color: #2fe36a;
}
.chat-compose textarea {
	width: 100%;
	height: 46px;
	max-height: 120px;
	background: #111;
	border: 1px solid #777;
	border-radius: 10px;
	color: #ffffff;
	padding: 10px 12px;
	resize: vertical;
	outline: none;
	box-sizing: border-box;
}
.chat-compose textarea:focus {
	border-color: #2fe36a;
	box-shadow: none;
}
.chat-compose input[type="submit"] {
	background: #333;
	border: 1px solid #999;
	border-radius: 10px;
	color: #2fe36a;
	font-weight: bold;
	padding: 12px 18px;
	cursor: pointer;
}
.chat-panel input[type="submit"][disabled] {
	color: #999999;
	cursor: wait;
	opacity: 0.7;
}
.chat-new-form {
	padding: 18px;
	overflow-y: auto;
}
.chat-new-form .chat-emoji-tipbox {
	top: 30px;
	bottom: auto;
}
.chat-new-message {
	min-height: 220px;
}
.chat-empty,
.chat-empty-panel,
.chat-closed-note {
	color: #9aa4b2;
	text-align: center;
	padding: 24px;
}
.chat-empty-panel {
	margin: auto;
	max-width: 420px;
}
.chat-empty-panel h2 {
	color: #ffffff;
}
.chat-closed-note {
	border-top: 1px solid #555;
	background: #2a2a2a;
}
/* End support.php */

#login_success {
	margin-top: 50px;
	margin-bottom: 20px;
	text-align: center;
}


#copyright {
	margin-top: 50px;
	margin-bottom: 20px;
	text-align: center;
}


.centered {
	text-align:center;
}
.right {
	text-align:right;
}
.left {
	text-align:left;
}
.success {
	color: #2fe36a;
	font-weight: bold;
	text-align: center;
}
.error {
	color: #FF2200;
	font-weight: bold;
	text-align: center;
}
.red {
	color: #FF2200;
}
.green {
	color: #008000;
}
.lime {
	color: #2fe36a;
}
.blue {
	color: #0000ff;
}
.black
{
	color: #000000;
}
.pink{
	color: #FF00FF;
}
.bold {
	font-weight: bold;
}

.clear {
	clear: both;
}
.shadow_cards {
text-shadow: 0 0 0.8em #FFFF00, 0 0 0.8em #FFFF00
}

.unread a {
    color: red;
}

.history-page {
	width: var(--layout-content);
	margin: 0 auto;
	box-sizing: border-box;
	color: #e8e8e8;
}
.history-page .history-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	width: 100%;
	margin: 10px 0 0;
	padding: 10px 14px;
	background: #222;
	border: 1px solid #444;
	border-bottom: none;
	box-sizing: border-box;
}
.history-page .history-header-title {
	color: #2fe36a;
	font-size: 14px;
	font-weight: bold;
	letter-spacing: 0.6px;
	text-transform: uppercase;
}
.history-page .history-tabs {
	width: 100%;
	margin: 0;
	padding: 0 6px;
	border: 1px solid #444;
	border-top: none;
	border-bottom: 1px solid #555;
	background: #222;
	box-sizing: border-box;
}
.history-page .history-tab-link {
	display: inline-block;
	color: #bdbdbd;
	text-decoration: none;
	padding: 11px 14px 9px;
	font-size: 11px;
	font-weight: bold;
	border-bottom: 2px solid transparent;
	margin-bottom: -1px;
}
.history-page .history-tab-link.active,
.history-page .history-tab-link:hover {
	color: #2fe36a;
	border-bottom-color: #2fe36a;
	background: transparent;
}
.history-page .history-tab-link .red {
	color: #ff2200;
	font-weight: bold;
}
.history-page .history-panel {
	width: 100%;
	border: 1px solid #444;
	border-top: none;
	background: #222;
	box-sizing: border-box;
	padding-bottom: 4px;
}
.history-page .history-subtitle {
	padding: 14px 16px 0;
	color: #2fe36a;
	font-size: 12px;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}
.history-page .history-inline-message {
	padding: 10px 16px 0;
}
.history-page .history-inline-message .success,
.history-page .history-inline-message .error {
	display: block;
	padding: 8px 10px;
	border: 1px solid #555;
	background: #2a2a2a;
}
.history-page .history-summary {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	padding: 0 16px 12px;
}
.history-page .history-summary-all,
.history-page .history-summary-compact {
	flex-wrap: nowrap;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.015) 100%);
	border-radius: 8px;
	padding: 14px 0;
	margin: 0 16px 12px;
	box-sizing: border-box;
}
.history-page .history-summary-all .history-summary-card,
.history-page .history-summary-compact .history-summary-card {
	flex: 1 1 0;
	min-width: 0;
}
.history-page .history-summary-card {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 2px 18px;
	border: none;
	background: transparent;
	box-shadow: none;
	border-right: 1px solid rgba(255, 255, 255, 0.07);
	border-radius: 0;
}
.history-page .history-summary-card:last-child {
	border-right: none;
}
.history-page .history-summary-icon {
	flex: 0 0 auto;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	font-weight: bold;
	line-height: 1;
	color: #ffffff;
}
.history-page .history-icon-deposit {
	background: rgba(47, 227, 106, 0.14);
	border: none;
}
.history-page .history-icon-deposit::before {
	content: '$';
	color: #2fe36a;
}
.history-page .history-icon-spent {
	background: rgba(255, 34, 0, 0.14);
	border: none;
}
.history-page .history-icon-spent::before {
	content: '-';
	color: #ff2200;
	font-size: 18px;
}
.history-page .history-icon-time {
	background: rgba(90, 159, 212, 0.16);
	border: none;
}
.history-page .history-icon-time::before {
	content: '\23F1';
	color: #9fd4ff;
	font-size: 14px;
}
.history-page .history-icon-vip {
	background: rgba(168, 108, 255, 0.16);
	border: none;
}
.history-page .history-icon-vip::before {
	content: '\2605';
	color: #d4a5ff;
	font-size: 14px;
}
.history-page .history-icon-success {
	background: rgba(47, 227, 106, 0.14);
	border: none;
}
.history-page .history-icon-success::before {
	content: '\2713';
	color: #2fe36a;
	font-size: 15px;
}
.history-page .history-icon-order {
	background: rgba(255, 184, 77, 0.14);
	border: none;
}
.history-page .history-icon-order::before {
	content: '\25A1';
	color: #ffd27a;
	font-size: 13px;
}
.history-page .history-icon-check {
	background: rgba(74, 163, 255, 0.16);
	border: none;
}
.history-page .history-icon-check::before {
	content: '\2714';
	color: #9fd4ff;
	font-size: 14px;
}
.history-page .history-icon-password {
	background: rgba(255, 184, 77, 0.14);
	border: none;
}
.history-page .history-icon-password::before {
	content: '\26BF';
	color: #ffd27a;
	font-size: 14px;
}
.history-page .history-icon-email {
	background: rgba(74, 163, 255, 0.16);
	border: none;
}
.history-page .history-icon-email::before {
	content: '@';
	color: #9fd4ff;
	font-size: 15px;
}
.history-page .history-icon-cards {
	background: rgba(255, 184, 77, 0.14);
	border: none;
}
.history-page .history-icon-cards::before {
	content: '\25AD';
	color: #ffd27a;
	font-size: 14px;
}
.history-page .history-icon-pending {
	background: rgba(160, 160, 160, 0.16);
	border: none;
}
.history-page .history-icon-pending::before {
	content: '\003F';
	color: #cccccc;
	font-size: 16px;
	font-weight: bold;
}
.history-page .history-icon-refund {
	background: rgba(255, 34, 0, 0.14);
	border: none;
}
.history-page .history-icon-refund::before {
	content: '\21A9';
	color: #ff2200;
	font-size: 16px;
}
.history-page .history-icon-rate {
	background: rgba(168, 108, 255, 0.16);
	border: none;
}
.history-page .history-icon-rate::before {
	content: '%';
	color: #d4a5ff;
	font-size: 15px;
	font-weight: bold;
}
.history-page .history-summary-body {
	flex: 1 1 auto;
	min-width: 0;
}
.history-page .history-summary-label {
	color: #8a8a8a;
	font-size: 10px;
	text-transform: uppercase;
	margin-bottom: 6px;
	letter-spacing: 0.5px;
}
.history-page .history-summary-value {
	font-size: 20px;
	font-weight: bold;
	color: #ffffff;
	line-height: 1.15;
}
.history-page .history-summary-all .history-summary-value {
	font-size: 17px;
}
.history-page .history-summary-card-plain .history-summary-body {
	padding-left: 2px;
}
.history-page .history-filter {
	margin: 0 16px 12px;
	padding: 12px;
	border: 1px solid #555;
	background: #2a2a2a;
}
.history-page .history-filter-form {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: flex-end;
}
.history-page .history-filter-label {
	display: block;
	color: #777;
	font-size: 10px;
	margin-bottom: 4px;
	text-transform: uppercase;
	letter-spacing: 0.3px;
}
.history-page .history-date-input {
	width: 145px;
}
.history-page .history-search-input {
	width: 230px;
}
.history-page .history-filter-actions {
	display: flex;
	gap: 8px;
	align-items: center;
}
.history-page .history-filter-btn {
	min-width: 78px;
	cursor: pointer;
}
.history-page .history-filter-reset {
	display: inline-block;
	line-height: 24px;
	padding: 5px 12px;
	text-align: center;
	text-decoration: none;
	color: #ffffff;
}
.history-page .history-table-wrap {
	width: auto;
	margin: 0 16px 0;
	padding: 0;
}
.history-page .history-table-wrap.section_content {
	width: auto;
}
.history-page .history-table {
	width: 100%;
	margin: 0;
	padding: 0;
	background: #222;
	border: 1px solid #555;
	border-collapse: separate;
	border-spacing: 0;
}
.history-page .history-table td {
	padding: 9px 8px;
	border-bottom: 1px solid #444;
	vertical-align: middle;
}
.history-page .history-table-head td {
	background: #333;
	color: #f0f0f0;
	font-size: 10px;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 0.4px;
	border-bottom: 1px solid #555;
}
.history-page .history-table-row:nth-child(even) td {
	background: #2a2a2a;
}
.history-page .history-table-row:nth-child(odd) td {
	background: #222;
}
.history-page .history-table-row:hover td {
	background: #333;
}
.history-page .history-table-empty td {
	padding: 18px 12px;
	text-align: center;
	color: #999;
	background: #2a2a2a;
}
.history-page .history-cell-muted {
	color: #bdbdbd;
}
.history-page .history-cell-id {
	color: #ffffff;
	font-weight: bold;
}
.history-page .history-cell-strong {
	color: #ffffff;
	font-weight: bold;
}
.history-page .history-cell-amount {
	font-weight: bold;
}
.history-page .history-amount-credit {
	color: #2fe36a;
}
.history-page.history-account-page .history-summary-value.history-amount-credit {
	color: #ffcc00;
}
.history-page.history-account-page .history-icon-deposit {
	background: rgba(255, 204, 0, 0.14);
}
.history-page.history-account-page .history-icon-deposit::before {
	color: #ffcc00;
}
.history-page .history-amount-debit {
	color: #ff2200;
}
.history-page .history-muted {
	color: #777;
}
.history-page .history-action-link,
.history-page .history-proof-link {
	color: #2fe36a;
	text-decoration: none;
	word-break: break-all;
}
.history-page .history-action-link:hover,
.history-page .history-proof-link:hover {
	text-decoration: underline;
}
.history-page .history-type-badge {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 12px;
	font-size: 10px;
	font-weight: bold;
	color: #ffffff;
	letter-spacing: 0.3px;
}
.history-page .history-type-deposit { background: #1f6b35; }
.history-page .history-type-order { background: #8a5418; }
.history-page .history-type-upgrade { background: #5a2f91; }
.history-page .history-type-check { background: #1f5f8a; }
.history-page .history-method-badge {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 12px;
	font-size: 10px;
	font-weight: bold;
	color: #ffffff;
}
.history-page .history-method-bch {
	background: #1f6b35;
	border: 1px solid #35d66a;
}
.history-page .history-method-usdt {
	background: #1a4d7a;
	border: 1px solid #4aa3ff;
}
.history-page .history-method-btc {
	background: #7a4d12;
	border: 1px solid #ff9933;
}
.history-page .history-method-default {
	background: #333;
	border: 1px solid #555;
}
.history-page .history-actions {
	margin: 0 16px 8px;
	padding: 12px 0 4px;
	text-align: center;
	border-top: 1px solid #555;
}
.history-page .history-clear-btn {
	min-width: 180px;
}
.history-page .history-pagination {
	width: auto;
	margin: 0 16px 14px;
	padding: 12px 0 4px;
	text-align: center;
	border-top: 1px solid #555;
}
.history-page .history-pagination a {
	display: inline-block;
	min-width: 22px;
	margin: 0 2px;
	padding: 2px 6px;
	color: #ccc;
	text-decoration: none;
	border: 1px solid #666;
	background: #333;
}
.history-page .history-pagination a:hover {
	color: #2fe36a;
	border-color: #2fe36a;
}
.history-page .history-pagination .page_go {
	width: 42px;
	margin: 0 4px;
	text-align: center;
}
.history-page .history-dashboard-head {
	flex-direction: column;
	align-items: stretch;
	gap: 14px;
	padding: 16px 16px 14px;
	border-bottom: none;
}
.history-page .history-dashboard-head .history-header-title {
	text-transform: none;
	font-size: 18px;
	letter-spacing: 0.2px;
}
.history-page .history-dashboard-nav {
	display: flex;
	gap: 6px;
	padding: 5px;
	background: #1a1a1a;
	border-radius: 10px;
	border: 1px solid #333;
	box-sizing: border-box;
}
.history-page .history-dashboard-nav-link {
	flex: 1 1 0;
	min-width: 0;
	text-align: center;
	padding: 10px 12px;
	border-radius: 7px;
	font-size: 12px;
	font-weight: bold;
	text-decoration: none;
	color: #9a9a9a;
	transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}
.history-page .history-dashboard-nav-link:hover {
	color: #e8e8e8;
	background: rgba(255, 255, 255, 0.06);
}
.history-page .history-dashboard-nav-link.active {
	color: #111;
	background: linear-gradient(180deg, #00ff66 0%, #00cc44 100%);
	box-shadow: 0 2px 10px rgba(47, 227, 106, 0.22);
}
.history-page .history-dashboard-activity-tabs {
	margin: 0 0 12px;
	padding: 0;
	border: 1px solid #555;
	background: #2a2a2a;
}
.history-page .history-dashboard-alert {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0 16px 12px;
	padding: 10px 12px;
	border: 1px solid #663333;
	background: #2a2222;
}
.history-page .history-dashboard-quick-actions {
	display: flex;
	flex-wrap: nowrap;
	gap: 8px;
	padding: 0 16px 12px;
}
.history-page .history-dashboard-action-btn {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 9px 10px;
	text-decoration: none;
	text-align: center;
	cursor: pointer;
	box-sizing: border-box;
	line-height: 1.2;
}
.history-page .history-dashboard-action-btn:hover,
.history-page .history-dashboard-action-btn:focus {
	color: #2fe36a;
}
.history-page .history-dashboard-action-btn .history-action-icon {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	border-radius: 3px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	font-weight: bold;
	line-height: 1;
}
.history-page .history-dashboard-action-label {
	font-size: 10px;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 0.3px;
	line-height: 1.2;
}
.history-page .history-dashboard-recent-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 0 16px;
}
.history-page .history-dashboard-recent-title {
	margin-bottom: 0;
}
.history-page .history-dashboard-view-all {
	white-space: nowrap;
	font-size: 11px;
	font-weight: bold;
}
.history-page .myaccount-summary td,
.history-page .myaccount-security td,
.history-page .history-dashboard-security td {
	padding: 8px;
	vertical-align: middle;
}
.history-page .myaccount-label {
	width: 180px;
	font-weight: bold;
	text-align: right;
}
.history-page .myaccount-value {
	text-align: left;
}
.history-page .myaccount-input {
	width: 220px;
	max-width: 100%;
}
.history-page .myaccount-actions {
	text-align: center;
	padding-top: 12px;
}
.history-page .history-dashboard-security-wrap {
	margin: 0 16px 12px;
	padding: 0;
	box-sizing: border-box;
}
.history-page .history-dashboard-security {
	display: flex;
	align-items: stretch;
	gap: 12px;
}
.history-page .history-dashboard-security .myaccount-panel-box {
	flex: 1 1 0;
	min-width: 0;
	width: auto;
	height: auto;
	min-height: 210px;
	border: 1px solid #333333;
	box-sizing: border-box;
	padding: 12px;
	background: #222;
}
.history-page .history-dashboard-security .myaccount-panel-box table {
	width: 100%;
}
.history-page .myaccount-panel-title {
	font-weight: bold;
	text-align: center;
	padding-bottom: 10px;
}

.history-page.items-page .items-summary {
	padding: 0 16px 12px;
}
.history-page.items-page .items-cards-summary.history-summary-all {
	padding: 14px 0;
	min-height: 66px;
	flex-wrap: nowrap;
	overflow: hidden;
}
.history-page.items-page .items-cards-summary .history-summary-card {
	flex: 0 0 calc(100% / 7);
	min-width: 0;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 7px 6px;
	box-sizing: border-box;
}
.history-page.items-page .items-cards-summary .history-summary-icon {
	width: 27px;
	height: 27px;
	font-size: 11px;
}
.history-page.items-page .items-cards-summary .history-summary-body {
	padding-left: 0;
	width: 100%;
	min-width: 0;
	text-align: center;
}
.history-page.items-page .items-cards-summary .history-summary-label {
	font-size: 7px;
	line-height: 1.15;
	margin-bottom: 3px;
	letter-spacing: 0.2px;
	white-space: nowrap;
}
.history-page.items-page .items-cards-summary .history-summary-value {
	font-size: 14px;
	line-height: 1.1;
	text-align: center;
	white-space: nowrap;
}
.history-page.items-page .items-cards-summary .history-summary-value.items-summary-refund {
	color: #ff2200;
}
.history-page.items-page .items-cards-summary .history-summary-value.items-summary-timeout {
	color: #ffb347;
}
.history-page.items-page .items-cards-summary .history-icon-time {
	background: rgba(255, 34, 0, 0.14);
}
.history-page.items-page .items-cards-summary .history-icon-time::before {
	color: #ff2200;
}
.history-page.items-page .items-filter {
	padding: 0 16px 12px;
}
.history-page.items-page .items-filter-form {
	flex-wrap: wrap;
	align-items: flex-end;
}
.history-page.items-page .items-filter .history-filter-field {
	flex: 1 1 140px;
	min-width: 120px;
}
.history-page.items-page .items-filter-cards .history-filter-field {
	flex: 1 1 120px;
	min-width: 110px;
}
.history-page.items-page .items-filter-search,
.history-page.items-page .items-filter-order {
	flex: 2 1 220px;
	min-width: 180px;
}
.history-page.items-page .items-filter-input,
.history-page.items-page .items-filter .formstyle {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}
.history-page.items-page .items-filter-check {
	flex: 0 1 90px;
	min-width: 80px;
}
.history-page.items-page .items-notices {
	padding: 0 16px 12px;
}
.history-page.items-page .items-notice {
	margin-bottom: 8px;
	padding: 10px 12px;
	border: 1px solid #555;
	background: #2a2a2a;
	font-size: 11px;
	line-height: 1.45;
	color: #ccc;
}
.history-page.items-page .items-notice:last-child {
	margin-bottom: 0;
}
.history-page.items-page .items-notice-warn {
	border-color: #665522;
	color: #ffcc00;
	background: #2a2618;
}
.history-page.items-page .items-notice-info {
	border-color: #335533;
	background: #222a22;
}
.history-page.items-page .items-notice-highlight {
	border-color: #336633;
	color: #2fe36a;
	background: #1a2a1a;
}
.history-page.items-page .items-pagination {
	padding: 0 16px 12px;
}
.history-page.items-page .history-table-wrap {
	margin: 0 16px 16px;
	padding: 0;
	max-width: calc(100% - 32px);
	box-sizing: border-box;
	overflow: hidden;
}
.history-page.items-page .items-cards-table-wrap {
	border: 1px solid #555;
	background: #222;
}
.history-page.items-page .items-table-cards {
	width: 100%;
	table-layout: fixed;
	border-collapse: collapse;
}
.history-page.items-page .items-table-cards td {
	padding: 7px 6px;
	font-size: 9px;
	line-height: 1.2;
	vertical-align: middle;
}
.history-page.items-page .items-table-cards .history-table-head td {
	padding: 7px 6px;
	font-size: 10px;
	line-height: 1.15;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 0.2px;
	word-wrap: break-word;
}
.history-page.items-page .items-table-cards .items-cell-num {
	font-size: 9px;
	line-height: 1.2;
	word-break: break-all;
}
.history-page.items-page .items-table-cards .items-cell-wrap {
	word-wrap: break-word;
	overflow-wrap: anywhere;
}
.history-page.items-page .items-table-cards .items-cell-time {
	font-size: 9px;
	line-height: 1.2;
	white-space: normal;
	text-align: center;
}
.history-page.items-page .items-table-cards .items-c-num { width: 12%; }
.history-page.items-page .items-table-cards .items-c-exp { width: 5%; }
.history-page.items-page .items-table-cards .items-c-cvv { width: 4%; }
.history-page.items-page .items-table-cards .items-c-bank { width: 9%; }
.history-page.items-page .items-table-cards .items-c-type { width: 7%; }
.history-page.items-page .items-table-cards .items-c-name { width: 7%; }
.history-page.items-page .items-table-cards .items-c-addr { width: 7%; }
.history-page.items-page .items-table-cards .items-c-city { width: 7%; }
.history-page.items-page .items-table-cards .items-c-country { width: 5%; }
.history-page.items-page .items-table-cards .items-c-phone { width: 6%; }
.history-page.items-page .items-table-cards .items-c-dob { width: 5%; }
.history-page.items-page .items-table-cards .items-c-dl { width: 5%; }
.history-page.items-page .items-table-cards .items-c-check { width: 6%; }
.history-page.items-page .items-table-cards .items-c-show { width: 6%; }
.history-page.items-page .items-table-cards .items-c-time { width: 6%; }
.history-page.items-page .items-table-cards .items-c-box { width: 3%; }
.history-page.items-page .items-table-cards tr.history-table-head td:last-child,
.history-page.items-page .items-table-cards tr.history-table-row td:last-child {
	padding-right: 10px;
	padding-left: 2px;
}
.history-page.items-page .items-table-cards tr.history-table-head td:last-child input[type="checkbox"],
.history-page.items-page .items-table-cards tr.history-table-row td:last-child input[type="checkbox"] {
	margin-right: 2px;
}
.history-page.items-page .items-table-cards .btnCheckShow a,
.history-page.items-page .items-table-cards .btnShowOnly a,
.history-page.items-page .items-table-cards .items-c-check .history-action-link,
.history-page.items-page .items-table-cards .items-c-show .history-action-link {
	font-size: 8px;
}
.history-page.items-page .items-table-cards .multi_clock {
	font-size: 8px;
	line-height: 1.1;
}
.history-page.items-page .items-table {
	width: 100%;
}
.history-page.items-page .items-table td {
	font-size: 11px;
}
.history-page.items-page .items-copy-cell {
	cursor: copy;
	position: relative;
	transition: background-color 0.15s ease, box-shadow 0.15s ease;
}
.history-page.items-page .items-copy-cell:hover {
	background-color: #2a332a;
}
.history-page.items-page .items-copy-cell.items-copy-done {
	background-color: #1a3d1a !important;
	box-shadow: inset 0 0 0 1px #2fe36a;
}
.history-page.items-page .items-copy-cell.items-copy-fail {
	background-color: #3d1a1a !important;
	box-shadow: inset 0 0 0 1px #ff4444;
}
.history-page.items-page .items-copy-cell.items-copy-done::after,
.history-page.items-page .items-copy-cell.items-copy-fail::after {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	padding: 2px 6px;
	border-radius: 3px;
	font-size: 9px;
	font-weight: bold;
	line-height: 1.2;
	white-space: nowrap;
	pointer-events: none;
	z-index: 2;
}
.history-page.items-page .items-copy-cell.items-copy-done::after {
	content: 'Copied!';
	color: #2fe36a;
	background: rgba(0, 0, 0, 0.85);
	border: 1px solid #2fe36a;
}
.history-page.items-page .items-copy-cell.items-copy-fail::after {
	content: 'Copy failed';
	color: #ff6666;
	background: rgba(0, 0, 0, 0.85);
	border: 1px solid #ff4444;
}
.history-page.items-page .items-table-accounts {
	table-layout: fixed;
	width: 100%;
}
.history-page.items-page .items-table-accounts .items-a-type { width: 7%; }
.history-page.items-page .items-table-accounts .items-a-category { width: 8%; }
.history-page.items-page .items-table-accounts .items-a-fullinfo { width: 54%; }
.history-page.items-page .items-table-accounts .items-a-seller { width: 10%; }
.history-page.items-page .items-table-accounts .items-a-price { width: 9%; }
.history-page.items-page .items-table-accounts .items-a-cart { width: 8%; }
.history-page.items-page .items-table-accounts .items-a-box { width: 4%; }
.history-page.items-page .items-table-accounts td:not(.items-cell-fullinfo) {
	padding: 4px 3px;
	font-size: 10px;
	line-height: 1.2;
}
.history-page.items-page .items-table-accounts .history-table-head td:not(.items-a-fullinfo-head) {
	font-size: 9px;
	line-height: 1.15;
	padding: 4px 2px;
}
.history-page.items-page .items-table-accounts .history-table-head .items-a-fullinfo-head {
	font-size: 11px;
	padding: 6px 8px;
}
.history-page.items-page .items-table-accounts .items-cell-fullinfo {
	word-wrap: break-word;
	word-break: break-word;
	text-align: center;
	padding: 6px 8px;
	font-size: 11px;
	line-height: 1.35;
}
.history-page.items-page .history-actions {
	padding: 0;
}
.history-page.items-page .items-table-actions td {
	background: #2a2a2a;
	border-top: 1px solid #555;
	padding: 12px 8px;
	text-align: center;
}
.history-page.items-page .items-table-actions-bar {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
}
.history-page.items-page .items-table-actions-bar .formstyle[type="submit"],
.history-page.items-page .items-table-actions-bar .history-filter-btn {
	display: inline-block;
	width: auto;
	min-width: 0;
	margin: 0;
	white-space: nowrap;
}
.history-page.items-page .items-table-actions-bar .items-action-btn {
	min-width: 132px;
	padding: 0 14px;
	border-radius: 6px;
	font-size: 11px;
	font-weight: 700;
	line-height: 26px;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.history-page.items-page .items-table-actions-bar .items-action-btn-download {
	background: linear-gradient(180deg, #2fe36a 0%, #24b85a 100%);
	border-color: #28c85c;
	color: #0b0b0b;
}
.history-page.items-page .items-table-actions-bar .items-action-btn-download:hover {
	background: linear-gradient(180deg, #45ef7d 0%, #2fe36a 100%);
	border-color: #2fe36a;
	color: #0b0b0b;
	box-shadow: 0 0 0 2px rgba(47, 227, 106, 0.22);
}
.history-page.items-page .items-table-actions-bar .items-action-btn-delete {
	background: #2f2020;
	border-color: #7a3b34;
	color: #ff9a8c;
}
.history-page.items-page .items-table-actions-bar .items-action-btn-delete:hover {
	background: #3a2424;
	border-color: #b23b2e;
	color: #ffb3a6;
	box-shadow: 0 0 0 2px rgba(224, 74, 56, 0.18);
}
.history-page.items-page #search_cards,
.history-page.items-page #search_dumps,
.history-page.items-page #cards,
.history-page.items-page #dumps {
	display: none;
}

/* ============================================================
   THEME v1 — unify whole site to the dashboard tone
   (mint accent + dark green-tinted surfaces, soft borders,
   rounded corners). Appended so it wins by source order.
   ============================================================ */
:root {
	--site-bg: #0c0f0b;
	--site-panel: #141814;
	--site-panel-2: #10130f;
	--site-border: #2a3227;
	--site-green: #2fe36a;
	--site-green-soft: rgba(47, 227, 106, .12);
	--site-muted: #8b968a;
}
body {
	background-color: var(--site-bg);
}
/* wraper is just a layout container (was same color as body originally);
   keep it frameless so inner panels don't look like nested boxes */
#wraper {
	background: transparent;
	border: none;
}
#banner {
	background-color: var(--site-bg);
	border-radius: 14px;
	overflow: hidden;
}
/* real content box (originally had a visible bevel border) */
.borderstyle {
	background-color: var(--site-panel);
	border: 1px solid var(--site-border);
	border-radius: 10px;
}
/* pure layout containers (originally invisible / same color as body):
   keep them frameless so a same-width panel inside doesn't sit flush
   against an identical outer border on the left/right */
.content_table,
.transfer_table,
.wrapper_table {
	background: transparent;
	border: none;
}
.notication {
	background-color: var(--site-panel);
	border: 1px solid var(--site-border);
	color: #ffffff;
}
/* form / container boxes */
.formstyle {
	background-color: var(--site-panel);
	border: 1px solid var(--site-border);
	border-radius: 8px;
}
.formstyle:focus,
.formstyle:hover {
	background-color: #1a1f18;
	border-color: #3c4a38;
}
/* text inputs */
input, textarea, select {
	background-color: #191d17;
	border: 1px solid var(--site-border);
	color: #ffffff;
	border-radius: 6px;
}
input:focus, textarea:focus, select:focus {
	border-color: var(--site-green);
	outline: none;
}
/* buttons */
input[type="button"],
input[type="submit"],
input[type="reset"] {
	background-color: var(--site-green-soft);
	border: 1px solid var(--site-border);
	color: var(--site-green);
	border-radius: 6px;
	cursor: pointer;
	transition: background-color .15s, border-color .15s;
}
input[type="button"]:hover,
input[type="submit"]:hover,
input[type="reset"]:hover {
	background-color: rgba(47, 227, 106, .2);
	border-color: var(--site-green);
}
/* submit buttons that also carry the .formstyle class -> keep button look */
input[type="submit"].formstyle,
input[type="button"].formstyle,
input[type="reset"].formstyle {
	background-color: var(--site-green-soft);
	color: var(--site-green);
	border: 1px solid var(--site-border);
}
input[type="submit"].formstyle:hover,
input[type="button"].formstyle:hover,
input[type="reset"].formstyle:hover {
	background-color: rgba(47, 227, 106, .2);
	border-color: var(--site-green);
}
/* account strip -> subtle green-tinted glass */
.account-strip {
	background: linear-gradient(180deg, rgba(47, 227, 106, .06) 0%, rgba(47, 227, 106, .02) 100%);
	border: 1px solid var(--site-border);
	border-radius: 8px;
}
/* content cards (history-page shell: cards / myaccount / myitems /
   otheraccounts / history) -> rounded + green-tinted like dashboard panels,
   so inner boxes stop looking square inside a rounded shell */
.history-page .history-header {
	background: var(--site-panel);
	border-color: var(--site-border);
	border-radius: 10px 10px 0 0;
}
.history-page .history-tabs,
.history-page .history-dashboard-activity-tabs {
	background: var(--site-panel);
	border-color: var(--site-border);
}
.history-page .history-panel {
	background: var(--site-panel);
	border-color: var(--site-border);
	border-radius: 0 0 10px 10px;
}
.history-page .history-filter {
	background: var(--site-panel-2);
	border-color: var(--site-border);
	border-radius: 8px;
}
.history-page .history-dashboard-nav {
	background: var(--site-panel-2);
	border-color: var(--site-border);
}
.history-page .history-dashboard-nav-link.active {
	background: linear-gradient(180deg, #2fe36a 0%, #24b85a 100%);
	box-shadow: 0 2px 10px rgba(47, 227, 106, .22);
}
.history-page .history-inline-message .success,
.history-page .history-inline-message .error {
	border-color: var(--site-border);
	background: var(--site-panel-2);
}
.history-page .history-table,
.history-page.items-page .items-table {
	background: var(--site-panel);
	border-color: var(--site-border);
	border-radius: 10px;
}
.history-page .history-table td {
	border-bottom-color: #23291f;
}
.history-page .history-table-head td {
	background: #10130f;
	color: #cfe0cd;
	border-bottom-color: var(--site-border);
}
.history-page .history-table-row:nth-child(even) td {
	background: #141814;
}
.history-page .history-table-row:nth-child(odd) td {
	background: #10130f;
}
.history-page .history-table-row:hover td {
	background: #1b241a;
}
.history-page .history-table-empty td {
	background: #10130f;
	color: var(--site-muted);
}
.history-page .history-pagination {
	border-top-color: var(--site-border);
}
.history-page .history-pagination a {
	background: var(--site-panel-2);
	border-color: var(--site-border);
	color: #cfe0cd;
	border-radius: 6px;
}
.history-page .history-pagination a:hover {
	background: var(--site-green-soft);
	color: var(--site-green);
	border-color: var(--site-green);
}
.history-page .history-pagination .page_go {
	background-color: #191d17;
	border: 1px solid var(--site-border);
	color: #ffffff;
	border-radius: 6px;
}
/* Filter / Clear action buttons -> match Cards (primary mint, secondary dark) */
.history-page .history-filter-actions .history-filter-btn,
.history-page .history-filter-actions .history-filter-reset {
	-webkit-appearance: none;
	appearance: none;
	box-sizing: border-box;
	height: 28px;
	line-height: 26px;
	min-width: 74px;
	margin: 0;
	padding: 0 14px;
	font-size: 12px;
	font-weight: 700;
	text-align: center;
	text-decoration: none;
	border: 1px solid var(--site-border);
	border-radius: 6px;
	background: #10130f;
	color: #cfe0cd;
	cursor: pointer;
}
.history-page .history-filter-actions input.history-filter-btn {
	background: linear-gradient(180deg, #2fe36a 0%, #24b85a 100%);
	border-color: #28c85c;
	color: #0b0b0b;
}
.history-page .history-filter-actions input.history-filter-btn:hover {
	background: linear-gradient(180deg, #45ef7d 0%, #2fe36a 100%);
	border-color: #2fe36a;
	color: #0b0b0b;
	box-shadow: 0 0 0 2px rgba(47, 227, 106, 0.22);
}
.history-page .history-filter-actions .history-filter-reset:hover {
	background: var(--site-green-soft);
	border-color: var(--site-green);
	color: var(--site-green);
}
/* Shared quick "Add Cart" button + bulk action button (cards.php / otheraccounts.php) */
.cards-addcart {
	-webkit-appearance: none;
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 41px;
	height: 15px;
	padding: 0 6px;
	font-size: 9px;
	font-weight: 700;
	line-height: 1;
	color: #0b0b0b;
	background: #00e05c;
	border: 1px solid #00c250;
	border-radius: 3px;
	cursor: pointer;
	transition: transform 0.08s ease, background 0.15s ease, box-shadow 0.15s ease, opacity 0.2s ease;
}
.cards-addcart:hover {
	background: #14ff70;
	box-shadow: 0 0 0 2px rgba(0, 224, 92, 0.25);
}
.cards-addcart:active {
	transform: scale(0.92);
}
.cards-addcart.is-loading {
	opacity: 0.6;
	cursor: progress;
}
.cards-addcart.is-added {
	background: #0f9c47;
	border-color: #0f9c47;
	color: #fff;
	animation: cardsAddPulse 0.5s ease;
}
.cards-addcart.is-error {
	background: #b23b2e;
	border-color: #b23b2e;
	color: #fff;
}
.cards-incart {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 9px;
	font-weight: 700;
	color: #7ee0a3;
	opacity: 0;
	animation: cardsInCartFade 0.35s ease forwards;
}
@keyframes cardsAddPulse {
	0%   { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 224, 92, 0.6); }
	40%  { transform: scale(1.12); box-shadow: 0 0 0 6px rgba(0, 224, 92, 0); }
	100% { transform: scale(1); }
}
@keyframes cardsInCartFade {
	from { opacity: 0; transform: translateY(-2px); }
	to   { opacity: 1; transform: translateY(0); }
}
.cards-actionbar-btn {
	min-width: 220px;
	font-weight: 700;
	color: #0b0b0b;
	background: #00e05c;
	border: 1px solid #00c250;
	transition: background 0.15s ease, box-shadow 0.15s ease, opacity 0.2s ease;
}
.cards-actionbar-btn:hover:not(:disabled) {
	background: #14ff70;
	border-color: #14ff70;
	color: #0b0b0b;
	box-shadow: 0 0 0 2px rgba(0, 224, 92, 0.25);
}
.cards-actionbar-btn:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}
/* bulk button rendered as <input type=submit>: beat .formstyle submit theme */
.history-page .items-table-actions-bar input.cards-actionbar-btn {
	color: #0b0b0b;
	background: #00e05c;
	border: 1px solid #00c250;
}
.history-page .items-table-actions-bar input.cards-actionbar-btn:hover {
	background: #14ff70;
	border-color: #14ff70;
	box-shadow: 0 0 0 2px rgba(0, 224, 92, 0.25);
}
/* Header cart counter bump when an item is added via AJAX */
.account-strip-cart-count.cards-cart-bump {
	display: inline-block;
	animation: cardsCartBump 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes cardsCartBump {
	0%   { transform: scale(1); }
	35%  { transform: scale(1.45); }
	100% { transform: scale(1); }
}
/* top navigation -> rounded dark green-tinted bar */
#menubar .sf-menu {
	background: linear-gradient(180deg, var(--site-panel) 0%, var(--site-panel-2) 100%);
	border: 1px solid var(--site-border);
	border-radius: 10px;
	padding: 3px 6px;
}
#menubar .sf-menu > li > a {
	padding-top: 8px;
	padding-bottom: 8px;
}

/* ===== support.php (tickets / chat) theme sync ===== */
.chat-shell {
	background: var(--site-panel);
	border: 1px solid var(--site-border);
	border-radius: 12px;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}
.chat-sidebar {
	background: var(--site-panel-2);
	border-right: 1px solid var(--site-border);
}
.chat-sidebar-head {
	border-bottom: 1px solid var(--site-border);
}
.chat-tabs {
	border-bottom: 1px solid var(--site-border);
}
.chat-tabs a {
	color: var(--site-muted);
	transition: background-color .15s, color .15s;
}
.chat-tabs a.active,
.chat-tabs a:hover {
	background: var(--site-green-soft);
	color: var(--site-green);
}
.chat-conversation {
	background: var(--site-panel);
	border: 1px solid var(--site-border);
}
.chat-conversation:hover,
.chat-conversation.active {
	background: var(--site-green-soft);
	border-color: var(--site-green);
}
.chat-panel {
	background: var(--site-panel);
}
.chat-panel-head {
	background: var(--site-panel-2);
	border-bottom: 1px solid var(--site-border);
}
.chat-messages {
	background: var(--site-panel);
}
.chat-message.user .chat-bubble {
	background: var(--site-green-soft);
	border: 1px solid var(--site-green);
	color: #eafff4;
}
.chat-message.admin .chat-bubble {
	background: var(--site-panel-2);
	border: 1px solid var(--site-border);
	color: #ffffff;
}
.chat-compose {
	background: var(--site-panel-2);
	border-top: 1px solid var(--site-border);
}
.chat-compose textarea {
	background: #191d17;
	border: 1px solid var(--site-border);
}
.chat-compose textarea:focus {
	border-color: var(--site-green);
}
.chat-closed-note {
	background: var(--site-panel-2);
	border-top: 1px solid var(--site-border);
	color: var(--site-muted);
}
.chat-emoji-picker button,
.chat-emoji-tipbox,
.chat-emoji-tipbox button {
	background: var(--site-panel-2);
	border-color: var(--site-border);
}
.chat-emoji-picker button:hover,
.chat-emoji-tipbox button:hover {
	background: var(--site-green-soft);
	border-color: var(--site-green);
}
/* primary buttons: New Ticket, Open Ticket, Send, Open New Ticket */
.chat-new-btn,
.chat-compose input[type="submit"],
.chat-new-form .ticket-actions input[type="submit"],
.ticket-btn:not(.secondary):not(.danger) {
	background: linear-gradient(180deg, #2fe36a 0%, #24b85a 100%);
	border: 1px solid #28c85c;
	color: #0b0b0b;
	font-weight: 700;
	transition: background .15s ease, box-shadow .15s ease;
}
.chat-new-btn:hover,
.chat-compose input[type="submit"]:hover,
.chat-new-form .ticket-actions input[type="submit"]:hover,
.ticket-btn:not(.secondary):not(.danger):hover {
	background: linear-gradient(180deg, #45ef7d 0%, #2fe36a 100%);
	border-color: #2fe36a;
	color: #0b0b0b;
	box-shadow: 0 0 0 2px rgba(47, 227, 106, 0.22);
}
/* secondary buttons: Reset, Reopen */
.chat-new-form .ticket-actions input[type="reset"],
.ticket-btn.secondary {
	background: var(--site-panel);
	border: 1px solid var(--site-border);
	color: #cfe0cd;
	font-weight: 700;
}
.chat-new-form .ticket-actions input[type="reset"]:hover,
.ticket-btn.secondary:hover {
	background: var(--site-green-soft);
	border-color: var(--site-green);
	color: var(--site-green);
}
/* destructive button: Close */
.ticket-btn.danger {
	background: #3a1a1a;
	border: 1px solid #7a2b2b;
	color: #ff8a7a;
	font-weight: 700;
}
.ticket-btn.danger:hover {
	background: #4d2020;
	border-color: #a33636;
	color: #ffb0a4;
}
.chat-panel input[type="submit"][disabled] {
	color: #0b0b0b;
	opacity: 0.5;
}
/* form inputs in ticket forms */
.ticket-select,
.ticket-textarea,
.ticket-input {
	background: #191d17;
	border: 1px solid var(--site-border);
	border-radius: 8px;
}
.ticket-badge {
	background: var(--site-panel-2);
}
.ticket-badge.pending-admin,
.ticket-badge.pending-user,
.ticket-badge.open,
.ticket-badge.closed,
.ticket-badge.resolved,
.ticket-badge.archived,
.ticket-badge.unread {
	background: var(--site-panel-2);
}

/* ===== myaccount SECURITY / BALANCE TRANSFER panels theme sync ===== */
.history-page .history-dashboard-security .myaccount-panel-box {
	background: var(--site-panel-2);
	border: 1px solid var(--site-border);
	border-radius: 10px;
}
.history-page .myaccount-panel-title {
	color: var(--site-green);
	letter-spacing: 0.3px;
}
.history-page .myaccount-actions input.history-filter-btn {
	background: linear-gradient(180deg, #2fe36a 0%, #24b85a 100%);
	border: 1px solid #28c85c;
	color: #0b0b0b;
	font-weight: 700;
	border-radius: 6px;
	padding: 7px 16px;
	cursor: pointer;
	transition: background .15s ease, box-shadow .15s ease;
}
.history-page .myaccount-actions input.history-filter-btn:hover {
	background: linear-gradient(180deg, #45ef7d 0%, #2fe36a 100%);
	border-color: #2fe36a;
	color: #0b0b0b;
	box-shadow: 0 0 0 2px rgba(47, 227, 106, 0.22);
}

/* ===== Auth pages: login / register / forgot / change_mail ===== */
.auth-page .section_title {
	color: var(--site-green);
}
.auth-page .section_title .error,
.auth-page .section_content .error {
	color: #ff6b6b;
}
.auth-page .section_title .success,
.auth-page .section_content .success {
	color: var(--site-green);
}
.auth-page .borderstyle {
	background-color: var(--site-panel);
	border: 1px solid var(--site-border);
	border-radius: 10px;
}
.auth-page .borderstyle td {
	color: #cfe0cd;
}
.auth-page input[type="text"].formstyle,
.auth-page input[type="password"].formstyle {
	background: var(--site-panel-2);
	border: 1px solid var(--site-border);
	color: #e6efe4;
	border-radius: 6px;
	padding: 6px 9px;
}
.auth-page input[type="text"].formstyle:focus,
.auth-page input[type="password"].formstyle:focus {
	border-color: var(--site-green);
	box-shadow: 0 0 0 2px rgba(47, 227, 106, 0.18);
	outline: none;
}
.auth-page input.field-valid {
	border-color: var(--site-green) !important;
}
.auth-page input.field-invalid {
	border-color: #ff6b6b !important;
}
.auth-page input[type="submit"].formstyle,
.auth-page button[name] {
	background: linear-gradient(180deg, #2fe36a 0%, #24b85a 100%);
	border: 1px solid #28c85c;
	color: #0b0b0b;
	font-weight: 700;
	border-radius: 6px;
	padding: 7px 18px;
	height: auto;
	cursor: pointer;
	transition: background .15s ease, box-shadow .15s ease;
}
.auth-page input[type="submit"].formstyle:hover,
.auth-page button[name]:hover {
	background: linear-gradient(180deg, #45ef7d 0%, #2fe36a 100%);
	border-color: #2fe36a;
	color: #0b0b0b;
	box-shadow: 0 0 0 2px rgba(47, 227, 106, 0.22);
}
.auth-page input[type="submit"].formstyle:disabled,
.auth-page button[name]:disabled {
	opacity: .5;
	cursor: not-allowed;
	box-shadow: none;
}
.auth-page input[type="button"].formstyle {
	background: var(--site-panel);
	border: 1px solid var(--site-border);
	color: #cfe0cd;
	font-weight: 700;
	border-radius: 6px;
	padding: 7px 18px;
	cursor: pointer;
	transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.auth-page input[type="button"].formstyle:hover {
	background: var(--site-green-soft);
	border-color: var(--site-green);
	color: var(--site-green);
}
