/*!
    Copyright © askii 2025
    Proof of Work - All rights reserved. This file is part of a proprietary game project.
    Do not copy, distribute, or modify without permission.
*/

header {
    background-color: #003366;
    color: #fff;
    padding: 20px;
    text-align: center;
    font-size: 28px;
}

.web-bar
{
    background: none;
    padding:6px;
    border-color: #8c8c8c;
    border-radius: 2px
}

content
{
    padding: 10px;
    text-align: center;
    border: 1px solid #999;
}

.web-bar label
{
    min-height: 21px;
    margin-right: 2px;
    /*padding: 0 4px 0 4px;*/
    /*border: 1px inset rgba(0,0,0,0.7);*/
    /*box-shadow: inset 0px 1px 0px rgba(0, 0, 0, 0.3);*/
    /*border: 1px solid rgba(0,0,0,0.3); !* Medium gray border *!*/
    /*box-shadow: 1px 1px rgba(0,0,0,0.2);*/
}

.web-bar button
{
    display: inline-flex;
    justify-content:center;
    align-items: center;

    margin-left: 1px;
    padding: 3px;
    min-width: 22px;
    min-height: 22px;
    vertical-align: middle;
}

.web-body
{
    margin-bottom: 0;
    padding:4px 4px 4px 4px;
    border-radius: 0;
    overflow-y: scroll;
    overscroll-behavior: none;

    user-select: text;
    -webkit-user-select: text;
}

.web-body > fieldset
{
    margin-bottom:0; padding: 4px; box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.web-body fieldset
{
    border-radius: 0;

    /*font-family: Tahoma, Geneva, Verdana, sans-serif;*/
    background-color: #f8f8f8;
    color: #333;
    /*padding*/
    text-align: center;
}

.fake-navbar {
    background-color: #e0e0e0;
    padding: 10px 0;
    border-bottom: 2px solid #bbb;
    margin-bottom: 0;
}

.fake-navbar a {
    text-decoration: none;
    color: #333;
    margin: 0 20px;
    font-size: 18px;
}

.fake-navbar a:hover {
    text-decoration: underline;
}

.web-body p
{
    font-size: 16px;
}

.web-body table {
    /*font-family: Tahoma, Geneva, Verdana, sans-serif;*/
    width: 100%;
    border-collapse: collapse;
    /*margin-top: 20px;*/
}

.web-body th {
    border: none !important;
    font-weight: bold;
    padding: 10px;
}

.web-body td
{
    border: 1px solid #ccc;
    padding: 10px;
}


.gradient-buy {
    font-family: Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(#99cc99, #669966) !important;
    color: white;
    font-weight: bold;
    border: 1px solid #336633;
    padding: 3px 8px;
    font-size: 11px;
    cursor: pointer;
    text-shadow: 1px 1px 1px #336633;
}

.gradient-sell {
    font-family: Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(#cc9999, #996666) !important;
    color: white;
    font-weight: bold;
    border: 1px solid #663333;
    padding: 3px 8px;
    font-size: 11px;
    cursor: pointer;
    text-shadow: 1px 1px 1px #663333;
}

.fake-footer {
    margin-top: 40px;
    font-size: 14px;
    /*color: #777;*/
}


@keyframes refreshEffect {
    0% { opacity: 0.0; display: none }
    25% { transform: scaleY(0.99); }
    75% { opacity: 1;transform: scaleY(1); }
    /*100% { }*/
}

/* Apply the refresh effect to page content */
/*.refreshing {*/
/*    !*animation: refreshEffect 0.5s ease-in-out;*!*/
/*}*/

.refreshing fieldset
{
    animation: refreshEffect 0.3s ease-in-out;
}




/**/
#shop-container {
    width: 600px;
    font-family: "Comic Sans MS";
    margin: 20px auto;
    background-color: #FFF;
    border: 2px solid #000;
    padding: 20px;
}
.shop h3 {
    font-size: 48px;
    font-weight: bold;
    color: #eab500;
    text-shadow: 4px 4px 1px #000000;
}

#main {
    display: flex;
}

#content {
    flex: 1;
    padding: 15px;
}

.product-grid {
    /*background: #8c8c8c;*/
    display: flex;
    flex-wrap: wrap;
}

.product {
    display: flex;
    flex-direction: column;
    width: 168px;
    border: 1px solid #ddd;
    margin: 0 6px 20px 4px;
    padding: 10px;
    background: white;
    text-align: center;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s;
}
.product:hover {
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}
.product h4 {
    margin: 5px 0;
    font-size: 20px;
    /*height: */
    overflow: hidden;
}
.product .price {

    font-weight: bold;
    color: #c00;
    font-size: 14px;
    margin-top: auto;
}
.product p {
    font-size: 11px;
}
.product .button {
    display: inline-block;
    background: linear-gradient(#3ab369 0%, #308f56 100%);
    color: white;
    padding: 5px 15px;
    text-decoration: none;
    border-radius: 3px;
    border: 1px solid black;
    font-weight: bold;
    text-shadow: 1px 1px 1px #004488;
}
.product .button:hover {
    background: #3ab369;
}
.shop-footer {
    text-align: center;
    font-size: 0.9em;
    padding-top: 10px;
    border-top: 1px dashed #000;
    margin-top: 20px;
}




/* EXCHANGE */
/* Container for the chart */
#chart {
    background: #ffffff;
    width: auto;
    height: auto;
    margin: 10px 10px 10px 10px;
    border: 1px solid #000;
    position: relative;
}
/* Axis lines and ticks */
.axis path, .axis line {
    fill: none;
    stroke: #000;
    shape-rendering: crispEdges;
}
/* Grid lines */
.grid line {
    stroke: #000000;
    stroke-opacity: 0.18;
    shape-rendering: crispEdges;
}
.grid path {
    stroke-width: 0;
}
/* Candlestick wicks */
.wick {
    stroke: #000;
    stroke-width: 1px;
}
/* Candlestick bodies */
.candlestick {
    stroke: #000;
    stroke-width: 1px;
}
/* White fill for up-candles, black fill for down-candles */
.up {
    fill: #00C853;
}
.down {
    fill: #E53935;
}

/* Style for the vertical cursor line */
.cursor-line-vertical {
    stroke: gray;
    stroke-width: 1;
    stroke-dasharray: 3, 3;
    pointer-events: none;
}
/* Style for the horizontal cursor line */
.cursor-line-horizontal {
    stroke: gray;
    stroke-width: 1;
    stroke-dasharray: 3, 3;
    pointer-events: none;
}






.custom-alert-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.custom-alert-content {
    text-align: center;
    font-family: "Pixelated MS Sans Serif", serif;
    justify-content: center;
    padding: 25px 20px;
    background: #ece9d8;
    display: flex;
    align-items: center;
    gap: 10px;
}

.custom-alert-buttons {
    padding: 8px 10px;
    background: #ece9d8;
    display: flex;
    justify-content: center;
    margin-bottom: 5px;
    gap: 8px;
}

.quick-links {
    color: #0000EE;
    text-decoration: none;
    padding: 10px;
    text-align: center;
    word-spacing: 40px;
    font-size: 12px;
}

.quick-links a:hover {
    text-decoration: underline;
}

.quick-links a[disabled] {
    color: gray;
}

.quick-links a[disabled]:hover {
    text-decoration: none
}

.patch-notes {
    background-color: #E6F2FF;
    border: 1px solid #7BAFD8;
    padding: 15px;
    margin-top: 20px;
}

.web-home {
    background-color: white;
    border: 2px solid #4A6984;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    box-shadow: 3px 3px 6px rgba(0,0,0,0.2);
}

#deposit-window {
    background: whitesmoke;
}

#withdraw-window {
    background: whitesmoke;
}

.darkmode #deposit-window {
    background: none !important;
}

.darkmode #withdraw-window {
    background: none !important;
}


/* FORUMS */


#forum-background {
    font-family: "Perfect DOS VGA\ 437 Win";
    letter-spacing: -1px;
    font-size: 12px;
    /*letter-spacing: -1px;*/
    padding: 4px;
    /*background: #2b51a1;*/
    color: #333;
    text-align: left;
}

.forum-main-header {
    background: linear-gradient(to bottom, #c84a4a, #751f1f);
    border-bottom: 3px solid #751f1f;
    padding: 8px 5px;
}

.forum-main-content table {
    width: 100%;
    border-collapse: collapse;
    font-family: "Perfect DOS VGA\ 437 Win";
    border: none;
}

.forum-main-content td {
    text-align: left;
    padding: 6px 8px;
    border-bottom: 1px solid #eee;
    font-size: 12px
}

.forum-main-content th {
    background: linear-gradient(to bottom, #f5f5f5, #e5e5e5);
    font-weight: bold;
    font-size: 12px;
    color: #333;

    text-align: left;
    padding: 6px 8px;
    border-bottom: 1px solid #eee;
}

.forum-header-content {
    width: 98%;
    margin: 0 auto;
    padding: 10px;
    color: white;
}


.forum-logo {
    font-size: 30px;
    font-weight: bold;
    color: #ffff99;
    text-shadow: 1px 1px 2px #000;
    margin-bottom: 3px;
}

.forum-tagline {
    font-size: 12px;
    color: whitesmoke;
    /*font-style: italic;*/
}

.forum-navbar {
    background-color: #e8e8e8;
    border-bottom: 1px solid #ccc;
    border-top: 1px solid #ccc;
    padding: 5px 0;
}

.forum-navbar-content {
    width: 100%;
    margin: 0 auto;
    font-size: 13px;
}

.forum-navbar a {
    color: #336699;
    text-decoration: none;
    padding: 4px 8px;
    margin: 0 -6px 0 0;
    border: 1px solid transparent;
}

.forum-navbar a:hover {
    background-color: #ddeeff;
    border: 1px solid #aaccee;
    text-decoration: underline;
}

.forum-navbar a.active {
    background-color: whitesmoke;
    /*border: 1px solid #ffffff;*/
    font-weight: bold;
}

.forum-container {
    width: 98%;
    margin: 0 auto;
    padding: 10px 0;
}

.forum-breadcrumb {
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
    padding: 4px;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
}

.forum-breadcrumb a {
    color: #336699;
    text-decoration: none;
}

.forum-main-content {
    background-color: white;
    border: 1px solid #ccc;
    margin-bottom: 10px;
    /*line-height: 1.8ch;*/
}

.forum-header {
    background: linear-gradient(to bottom, #f5f5f5, #e5e5e5);
    border-bottom: 1px solid #ccc;
    padding: 8px 10px;
    font-weight: bold;
    font-size: 12px;
    color: #333;
}

.forum-row {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #eee;
    padding: 8px 10px;
    height: 65px;
    background-color: #fefefe;
}

.forum-row:nth-child(even) {
    background-color: #f9f9f9;
}

.forum-row:hover {
    background-color: #ffffcc;
}

.forum-title {
    text-transform: uppercase;
    /*text-decoration: underline;*/
    font-weight: bold;
    color: #336699;
    font-size: 12px;
}

.forum-main-content td > a {
    color: #336699;
}

.topic-heads {
    padding: 6px 8px;
    background: linear-gradient(to bottom, #f5f5f5, #e5e5e5);
    border-bottom: 1px solid #eee;
    font-weight: bold;
    font-size: 12px;
}

.forum-desc {
    color: #666;
    font-size: 12px;
    /*text-shadow: 1px 1px 0 #d5d5d5;*/
    margin-top: 2px;
}

.forum-stats {
    font-size: 12px;
    color: #888;
    /*text-shadow: 1px 1px 0 #e4e4e4;*/
    margin-top: 3px;
}

.forum-footer {
    background-color: #e8e8e8;
    border-top: 1px solid #ccc;
    padding: 10px 0;
    margin-top: auto;
    font-size: 10px;
    color: #666;
    text-align: center;
}

.page {
    display: none;
}

.page.active {
    display: block;
}

.post {
    border: 1px solid #ddd;
    background-color: white;
    margin-bottom: 10px;
}

.post-header {
    background: linear-gradient(to bottom, #f0f0f0, #e0e0e0);
    border-bottom: 1px solid #ccc;
    padding: 5px 8px;
    font-size: 12px;
    color: #666;
}

.post-content {
    background-color: whitesmoke;
    padding: 10px;
    font-size: 12px;
    line-height: 1.4;
    white-space: pre-wrap;
    height: 205px;
    color: #666;
}

.forum-inbox-new {
    background-color: floralwhite;
}

.forum-inbox-new td:nth-child(4) {
    color: #cc0000;
    font-weight: bold;
}

.forum-inbox {
    color: #666;
}

.username {
    /*color: #336699;*/
    font-weight: bold;
}

.rank {
    color: #888;
    font-size: 12px;
}

.back-link {
    color: #336699;
    text-decoration: none;
    font-size: 12px;
    margin-bottom: 10px;
    display: inline-block;
}

.back-link:hover {
    text-decoration: underline;
}

.topic-row {
    border-bottom: 1px solid #eee;
    padding: 8px 10px;
    color: #666;
    background-color: #fefefe;
}

.topic-row:nth-child(even) {
    background-color: #f9f9f9;
}

.topic-row:hover {
    background-color: #ffffcc;
}

.topic-title {
    font-weight: bold;
    color: #336699;
    font-size: 12px;
}

.topic-starter {
    font-size: 10px;
    color: #666;
    margin-top: 2px;
}

.sticky {
    background-color: #fff8dc !important;
}

.topic-view {
    background-color: white;
    border: 1px solid #ccc;
    margin-bottom: 10px;
}

.topic-view-header {
    background: linear-gradient(to bottom, #f5f5f5, #e5e5e5);
    border-bottom: 1px solid #ccc;
    padding: 8px 10px;
    font-weight: bold;
    color: #333;
    font-size: 12px;
}

.post-wrapper {
    border-bottom: 1px solid #eee;
    display: table;
    width: 100%;
}

.post-wrapper:last-child {
    border-bottom: none;
}

.post-author-info {
    display: table-cell;
    width: 100px;
    background-color: #f8f8f8;
    border-right: 1px solid #ddd;
    padding: 10px;
    vertical-align: top;
}

.post-author-name {
    font-weight: bold;
    color: #336699;
    font-size: 12px;
    margin-bottom: 3px;
}

.post-author-rank {
    color: #888;
    font-size: 12px;
    margin-bottom: 5px;
}

.post-author-avatar {
    width: 50px;
    height: 50px;
    background-color: whitesmoke;
    border: 1px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 5px 0;
}

.post-author-stats {
    letter-spacing: 2px;
    font-size: 15px;
    /*c84a4a, 751f1f*/
    color: #FF9F0EFF;
    line-height: 1.3;
}

.post-content-area {
    display: table-cell;
    padding: 10px;
    vertical-align: top;
}

.post-title {
    font-size: 12px;
    color: #336699;
    font-weight: bold;
    padding-bottom: 5px;
}

.post-meta {
    font-size: 11px;
    color: #666;
    margin-bottom: 8px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.post-text {
    font-size: 12px;
    line-height: 1.4;
    color: #515151;
    margin-bottom: 10px;
    white-space: pre-wrap;
}

.post-signature {
    border-top: 1px solid #eee;
    padding-top: 5px;
    font-size: 9px;
    color: #888;
    font-style: italic;
}

.quote-box {
    background-color: #f0f5ff;
    border-left: 3px solid #4a7bc8;
    padding: 8px;
    margin: 8px 0;
    font-style: italic;
    font-size: 10px;
}

.quote-header {
    font-weight: bold;
    color: #336699;
    margin-bottom: 3px;
}


.blink {
    animation: blink 1s linear infinite;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}


.web-warning {
    margin-top: 10px;
    color: black;
    padding: 5px;
    background-color: #ffffd1;
    border: 1px solid #e5e5b1;
    font-size: 10px;
}


.table-highlight {
    background: #e4eeff !important;
    /*color: white !important;*/
}

.table-highlight td {
    /*color: white !important;*/
}


/* EXCHANGE */

#ex-header {
    text-align: left;
    background: linear-gradient(#336699, #1a3c66);
    color: white;
    padding: 10px 15px;
    border-bottom: 3px solid #ff9900;
}

#ex-header h1 {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
    text-shadow: 1px 1px 2px #000;
}

#ex-header h2 {
    margin: 3px 0 0 0;
    font-size: 12px;
    font-style: italic;
    font-weight: normal;
}

#ex-user-panel {
    text-align: left;
    background: linear-gradient(#f0f0f0, #e0e0e0);
    border-bottom: 1px solid #ccc;
    padding: 5px 10px;
    font-size: 11px;
    display: flex;
    justify-content: space-between;
}

#chart-ticker-area {
    font-family: Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 10px;
    font-size: 11px;
    border-bottom: 1px solid #ddd;
}

#chart-container {
    margin: 0;
    border: 1px solid #ccc;
}

.ex-tab-header {
    padding: 6px; font-weight: bold; font-size: 11px;
    background: linear-gradient(#d6d6f5, #aaaadb);
    color: #333366;
    border: 1px solid #9999cc;
    border-bottom: none;
}

.ex-tab-content {
    min-height: 65px;
    padding: 8px;
    border: 1px solid #9999cc;
    border-top: none;
    font-size: 11px;
}

.price-up {
    color: #008500;
}

.price-down {
    color: #8e0000;
}

.orbit-container {
    font-family: "Pixelated MS Sans Serif";
    border: 1px solid #6a6a6a;
    font-size: 11px;
    width: 694px;
    margin: 0 auto;
    background: white;
    color: #333;
}

.orbit-header {
    background: linear-gradient(to bottom, #ba5ad4, #603088);
    font-family: "Pixelated MS Sans Serif", sans-serif;
    letter-spacing: 1px;
    text-shadow: 1px 1px 0px #000;
    color: white;
    padding: 2px 0px;
    border-bottom: 2px solid #1a4c73;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.orbit-header h1 {
    font-size: 30px;
    font-weight: bold;
}

.orbit-header p {
    font-size: 12px;
    /*opacity: 0.9;*/
}

.orbit-content {

    padding: 15px;
    min-height: 504px;
}

.orbit-stats-grid {
    display: table;
    width: 100%;
    margin-bottom: 20px;
}

.orbit-stats-row {
    display: table-row;
}

.orbit-stat-box {
    display: table-cell;
    width: 33.33%;
    padding: 0 7px;
    vertical-align: top;
}

.orbit-stat-box:first-child {
    padding-left: 0;
}

.orbit-stat-box:last-child {
    padding-right: 0;
}

.orbit-stat-inner {
    background: linear-gradient(to bottom, #fafafa, #e0e0e0);
    border: 1px solid #b8b8b8;
    border-radius: 8px;
    padding: 12px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 1px 2px rgba(0,0,0,0.1);
}

.orbit-stat-title {
    font-weight: bold;
    color: #666;
    margin-bottom: 5px;
    font-size: 10px;
    text-transform: uppercase;
}

.orbit-stat-value {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.orbit-section {
    margin-bottom: 25px;
}

.orbit-section-title {
    background: linear-gradient(to bottom, #f8f8f8, #d8d8d8);
    border: 1px solid #b8b8b8;
    border-radius: 8px 8px 0 0;
    padding: 8px 8px;
    font-weight: bold;
    color: #444;
    font-size: 12px;
    margin-bottom: 0;
    text-shadow: 0 1px 0 rgba(255,255,255,0.8);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.9);
}

.orbit-section-content {
    background: white;
    border: 1px solid #b8b8b8;
    border-top: none;
    border-radius: 0 0 8px 8px;
    /*padding: 12px;*/
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.orbit-container table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
}

.orbit-container td {
    padding: 6px 8px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.orbit-container th {
    padding: 6px 8px;
    text-align: left;
    border-bottom: 1px solid #eee;
    background: linear-gradient(to bottom, #f8f8f8, #d8d8d8);
    font-weight: bold;
    color: #444;
    font-size: 10px;
    text-transform: uppercase;
    text-shadow: 0 1px 0 rgba(255,255,255,0.8);
    border-bottom: 1px solid #b8b8b8;
}

.orbit-container tr:hover {
    background: #f8f8f8;
}

.orbit-user-info {
    background: linear-gradient(to bottom, #fff8dc, #f0e68c);
    border: 1px solid #baa644;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 5px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 1px 2px rgba(0,0,0,0.1);
}

.orbit-user-info strong {
    color: #b8860b;
}

#orbit-hashrate {
    color: #2e8b57;
    font-weight: bold;
}

.orbit-balance {
    color: #ff6b35;
    font-weight: bold;
}

.orbit-status-active {
    color: #228b22;
    font-weight: bold;
}

.orbit-status-inactive {
    color: #dc143c;
    font-weight: bold;
}

.orbit-footer {
    background: linear-gradient(to bottom, #f5f5f5, #c8c8c8);
    border-top: 1px solid #999;
    padding: 10px 15px;
    font-size: 10px;
    color: #666;
    text-align: center;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}

.orbit-worker-name {
    /*font-family: monospace;*/
    font-size: 10px;
    color: #666;
}

.orbit-alert {
    background: linear-gradient(to bottom, #fff3cd, #ffe066);
    border: 1px solid #cc9900;
    border-radius: 6px;
    padding: 8px 12px;
    margin-bottom: 15px;
    font-size: 11px;
    color: #664400;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 1px 2px rgba(0,0,0,0.1);
}

.orbit-button {
    background: linear-gradient(to bottom, #5a9fd4, #306088);
    color: white;
    border: 1px solid #1a4c73;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 11px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-shadow: 0 1px 0 rgba(0,0,0,0.3);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), 0 1px 2px rgba(0,0,0,0.2);
}

.orbit-button:hover {
    background: linear-gradient(to bottom, #4a8fc4, #205078);
}

.orbit-button:active {
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.3);
}