* {
    font-family: arial;
}
body {
    margin: 0;
    overflow: hidden;
    font-family:Montserrat,sans-serif;
}
button,h1,h2,h3,h4,h5,h6,label{
    font-family:Cinzel,serif;
    color:#3b2b1b
}
canvas {
    display: block;
}
button {
    background: #D8C2A1;
    color: #5c3a4d;
    margin-right: 3px;
    margin-bottom: 3px;
    border-radius: 5px;
    padding: 5px;
    border: #2c2c2c 1px solid;
    font-weight: bolder;
    cursor: pointer;
    font-size: 18px;
}
button:hover {
    background: rgba(135, 118, 91, 0.9);
    color: #D8C2A1;
}
button:active {
    background: #D8C2A1;
    color: #D8C2A1;
}


.label {
    font-size: 14px;
    background: rgba(0, 0, 0, 0.5);
    padding: 2px 6px;
    border-radius: 4px;
}
#wallet {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    overflow: auto;

}
#walletContainer {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-height: 90vh;
    overflow-y: auto;
    background-image: url('/images/ui-background-texture.png');
    background-color: rgba(122,122,122,0.5);
    background-size: cover;
    color: #FFF;
    padding: 20px 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    text-align: left;
    z-index: 1000;
    font-size: 18px;
}
#wallet .footer {
    text-align: right;
    padding: 10px;
}
#wallet .action {
    text-align: right;
}
#wallet button {
    padding: 10px;
}
#wallet button.tab {
    opacity: 0.5;
    margin-right: 10px;
}
#wallet button.tab.active {
    transform: scale(1.2);
    opacity: 1;
}
#wallet a {
    color: #2c2c2c;
}
#wallet a:hover {
    color: #FFF;
}
#closeWallet {
    float: right;
}
#walletWidthdraw {
    min-width: 500px;
    min-height: 300px;
    max-height: 800px;
    background: rgba(122,122,122,0.5);
    border-radius: 10px;
    padding: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
}
#wallet input {
    padding: 10px;
    box-sizing: border-box;
    border: #2C2C2C 1px solid;
    border-radius: 5px;
    font-size: 18px;
    background: #D8C2A1;
    color: #2c2c2c;
    width: 100%;
    margin-bottom: 10px;
}
#withdrawMessage {
    padding: 10px;
}
#walletDepoist {
    width: 50%;
    min-width: 300px;
    min-height: 300px;
    max-height: 800px;
}
#walletDeposit .address {
    padding: 20px;
    font-size: 24px;
}
#walletDeposit .address span {
    font-weight: bolder;
}
#walletTransactions {

    overflow: auto;
    padding: 10px;
    box-sizing: border-box;
    max-height: 500px;
}
#walletTransactions .wallet-transaction {
    padding: 20px;
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
    margin-bottom: 10px;
}
#walletDepositTabButtonRefresh {
    float: right;
}
body {
    background: #000;
}
#loading {
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    position: fixed;
    background-image: url('/images/home-background.png');
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #2c2c2c;
    font-family:Montserrat,sans-serif;
    z-index: 10000;
    opacity: 1;
    transition: opacity 2.5s ease;
}

#loading.fade-out {
    opacity: 0;
}

#loading img {
    width: 56px;
    height: auto;
}
#loadingContainer {
    color: white;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 100;
}
#loader {
    width: 300px;
    margin-top: 20px;
    margin-bottom: 20px;
    width: 300px;
    height: 50px;
    background: #333;
    display: inline-block;
}
#loader-status {
    overflow: hidden;
    width: 500px;
    text-align: center;
}
#game {
    display: none;
}
#gameContainer {
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position: fixed;
}

#miniMapCanvas {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #2c2c2c;
    box-shadow: inset 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 10;
    background: rgba(20,20,20, 0.3);
}
#loader-bar {
    height: 100%;
    width: 0%;
    background: lime;
}
#mourseTarget {
    position: fixed;

}
#top-left {
    position: fixed;
    top: 0;
    left: 0;
    width: 33%;
    max-width: 400px;
    padding: 10px;
    box-sizing: border-box;
}
#right {
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
    padding: 10px;
    background-image: url('/images/ui-background-texture.png');
    background-color: rgba(122,122,122,0.5);
    background-size: cover;
    color: #FFF;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    width: 20%;
    overflow: auto;
}
#miniMapContainer {
    margin-bottom: 20px;
}
#miniMapCanvas {

    width: 100%;
}
#miniMapCompass {
    position: absolute;
    height: 50px;
    width: 50px;
}
.barStatName {
    width: 10%;
    margin: 0;
    padding-right: 20px;
    box-sizing: border-box;
    float: left;
}
.clear {
    clear: both;
}
.barStatName img {
    width: 100%;
    margin: 0;
    padding: 0;
}
.statBar {
    width: calc(90%);
    border: #2c2c2c 1px solid;
    box-sizing: border-box;
    border-radius: 20px;
    overflow: hidden;
    height: 15px;
    margin-top:5px;
    float: left;
}
.statsBarContainer {
    margin-bottom: 5px;
    width: 100%;
    box-sizing: border-box;
}
.statsBarContainer:last-child {
    margin-bottom: 0px;
}
.barStatName {
    text-align: right;
    font-weight: bolder;
    padding-right:5px;
    box-sizing: border-box;
}
.barStatName {
    text-align: right;
    font-weight: bolder;
    padding-right:5px;
    box-sizing: border-box;
}
#hpBar {
    background: linear-gradient(to bottom, #b71c1c, #7f0000);

    height: 20px;
}

#energyBar {
    background:
        linear-gradient(to bottom, #ffd700, #b8860b);

    height: 20px;
}

#willBar {
    background: linear-gradient(to bottom, #1e90ff, #003366);

    height: 20px;
}

#tabs {
    box-sizing: border-box;
}
#tabContentContainer {
    position: relative;
    max-width: 100%;
    width: 100%;
}
#tabContent {
    position: relative;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
#inventory {

}
#inventoryItems {
    width: 100%;
    overflow-x: hidden;
}
#inventoryItems .item-button {
    width: 100%;
    padding: 0;
    margin: 0;
    cursor: pointer;
    background: none;
    border: none;
    box-sizing: border-box;
    padding: 2px
}
#inventoryItems .item-button .item-icon {
    border: #2c2c2c 1px solid;
    border-radius: 5px;
    box-sizing: border-box;
    background: rgba(122,122,122,0.5);
    width: 100%;
    box-sizing: border-box;
    vertical-align: middle;
}
#inventoryItems .item-button:hover .item-icon {
    background: rgba(122,122,122,0.2);
}
#inventoryItems .item-button:active .item-icon {
    transform: scale(0.75);
}

.quantity-marker {
    position: absolute;
    top: 2px;
    right: 4px;
    background: #222;
    color: #fff;
    font-size: 10px;
    padding: 2px 4px;
    border-radius: 3px;
    pointer-events: none;
}
#inventoryItems {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.inventory-item-wrapper {
    position: relative;
    width: calc(100% / 6);
    aspect-ratio: 1 / 1;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

#inventoryWallet img {
    width: 36px;
    height: 36px;
}
#inventoryWallet {
    width: calc(100% - 10px);
    margin: 5px;
    padding: 3px;
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
    border: #2c2c2c 1px solid;
    border-radius: 5px;
    box-sizing: border-box;
    background: rgba(122,122,122,0.2);
    color: #F5F5F5;
    text-align: left;
    vertical-align: middle;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-weight: lighter;
}
#inventoryWallet:hover {
    color: #FFF;
    background: rgba(122,122,122,0.1);
}
#inventoryWallet:active {
    transform: scale(0.95);
}
#statsContainer {
    color: #2c2d2d;
    padding: 5px;
    box-sizing: border-box;
    border-radius: 5px;
}

#equipment {
    width: calc(100% - 1px);
    display: none;
    position: relative;
    height: 330px;
    background: url('/images/manuequin.png');
    background-size: cover;
    background-position:  center center;
    background-repeat: no-repeat;
}

#equipment > div {
    position: absolute;
    transform: translate(-50%, -50%);
}
#equipment > div {
    width: 36px;
    height: 36px;
    border: #2c2c2c 1px solid;
    border-radius: 3px;
    box-sizing: border-box;
    background: rgba(122,122,122,0.2);
}
#equipment > div:hover {
    background: rgba(122,122,122,0.1);
}
#equipment > div:active {
    transform: scale(0.9) translate(-50%, -50%);
}
#equipment > div input {
    width: 36px;
    height: 36px;
}
#equipment > div.head      {
    left: 50%;
    top: 5%;
}
#equipment > div.neck      {
    left: 50%;
    top: 30%;
}
#equipment > div.torso     {
    left: 50%;
    top: 45%;
}
#equipment > div.belt      {
    left: 50%;
    top: 59%;
}
#equipment > div.legs      {
    left: 50%;
    top: 73%;
}
#equipment > div.feet      {
    left: 50%;
    top: 90%;
}

#equipment > div.rightHand {
    left: 10%;
    top: 30%;
}
#equipment > div.leftHand  {
    left: 90%;
    top: 30%;
}
#equipment > div.hands     {
    left: 10%;
    top: 80%;
}
#equipment > div.quiver     {
    left: 25%;
    top: 15%;
}

#equipment > div.back      {
    left: 75%;
    top: 15%;
    z-index: 1;
}


#levels {
    display: none;
    overflow: auto;
}

.levels-container {
}

.level-card {
    padding-top: 8px;
    width: calc(33% - 4px);
    background: rgba(0, 0, 0, 0.2);
    color: #fff;
    border-radius: 3px;
    padding: 1px;
    box-sizing: border-box;
    margin: 2px;
    float: left;
    box-shadow: 0 2px 6px rgba(122, 122, 122, 0.3);
    border: #2c2c2c 1px solid;
    position: relative;
    text-align: center;
    min-height: 30px;
    vertical-align: middle;
}
.level-card.summary-card {
    background: rgba(255,255,255,0.2);
    font-size: 12px;
    font-family: monospace;
    color: #2C2C2C;
    font-weight: bolder;
}

.level-card img {
    width: calc(40% - 5px);
    margin-right: 17px;
    display: inline-block;
    float: left;
    margin-top: 0px;
}

.level-name {
    font-size: 14px;
    font-weight: bold;
    text-transform: capitalize;
}

.level-info {
    position: relative;
}
.stat-value {
    font-size: 12px;
    opacity: 0.85;
    position: absolute;
    text-align: right;
    right: 5px;
    font-family: monospace;
    font-size: 5px;
    color: #fff;
    margin: 0;
    padding: 0;
    color: #2C2C2C;
}
.stat-value strong {
    font-size: 12px;
    font-family: monospace;
    margin: 0;
    padding: 0;
    color: #F5F5F5;
}
.stat-value span {
    font-size: 12px;
    font-family: monospace;
    margin: 0;
    padding: 0;
    color: #F5F5F5;
}
#spellBook {
    display: none;
    overflow: auto;
}
.spell-tooltip {
    position: absolute;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.4;
    max-width: 240px;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.level-tooltip {
    position: fixed;
    background: #111;
    color: #fff;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 1em;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0,0,0,0.35);
    z-index: 10000;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.1s ease;
}


/* Show on hover and focus for accessibility */
.level-card:hover .tooltip,
.level-card:focus-within .level-tooltip {
    opacity: 1;
    visibility: visible;
}

#combat {
    display: none;
    flex-direction: column;
    gap: 6px;
    margin-top: 10px;
}

.combat-title {
    font-weight: bold;
    margin-bottom: 4px;
}

.combat-option {
    padding-top: 6px;
    padding-bottom: 6px;
    border: 1px solid #2C2C2C;
    background: rgba(255,255,255,0.2);
    color: #2C2C2C;
    width: calc(33% - 10px);
    margin: 5px;
    box-sizing: border-box;
    cursor: pointer;
    border-radius: 4px;
    text-align: center;
}
.combat-option img {
    width: 75%;
}
.combat-option.active {
    background: rgba(255,255,255,0.5);
    transform: scale(1.1);
    color: #000;
    font-weight: bold;
}
.combat-option:hover {
    background: rgba(255,255,255,0.5);
    font-weight: bold;
    color: #2c2c2c;
    font-weight: bold;
}


#chat {
    left: 0;
    bottom: 0;
    height: 300px;
    width: 400px;
    position: fixed;
    background-image: url('/images/ui-background-texture.png');
    background-color: rgba(122,122,122,0.5);
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    border-top-right-radius: 10px;
    font-size: 16px;
}
#chatMessageContainer {
    height: 270px;
    overflow: auto;
    padding: 10px;
    box-sizing: border-box;
}
#chatMessages {
    color: #FFF;
}
#chatMessages .chatMessage {
    margin-top: 2px;
}
#chatMessages .chatMessage.player .message {
    color: #FFF;
    padding-left: 5px;
    display: inline-block;
}
#chatMessages .chatMessage.system .message {
    color: #FFFF33;
}
#chatMessages .chatMessage.game .message {
    color: #00BFFF;
}
#chatMessages .chatMessage {
    font-size:18px;
    text-shadow:
        0 0 5px #000,
        0 0 10px #000,
        0 0 20px #000;
}

#chatOptions input {
    background: #D8C2A1;
    color: #5c3a4d;
    width: calc(100%);
    padding: 10px;
    border: none;
    color: #2c2c2c;
    height: 30px;
    box-sizing: border-box;
}
#chatOptions input:avtice {
    background: #D8C2A1;
}
#worldMap {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    background-color: rgba(0,0,0,0.3);
    display: none;
    text-align: center;
    z-index: 100;
}
#worldMapImage {
    position: absolute;
    background: url('/images/world-map.png') no-repeat center center;
    background-size: cover;
    height: 1000px;
    width: 1000px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
#closeMap {
    position: absolute;
    top: 10px;
    right: 10px;
}
#miniMapContainer {
    position: relative;
}
#miniMapCanvas {
    margin: auto;
}
#openMap {
    height: 40px;
    width: 40px;
    background: none;
    background-image: url('/images/map-icon.png');
    background-size: cover;
    background-repeat: no-repeat;
    border: none;
    position: absolute;
    right: 0;
    bottom: 0;
    content: '';
    font-size: 0;
    transition: scale 100ms ease-in-out;
    opacity: 0.5;
}
#openMap:hover {
    opacity: 1;
    transform: scale(1.2);
}
#openMap:active {
    transform: scale(0.8);
}
#accountSettings {
    height: 40px;
    width: 40px;
    background: none;
    background-image: url('/images/account-icon.png');
    background-size: cover;
    background-repeat: no-repeat;
    border: none;
    position: absolute;
    right: 0;
    top: 0;
    content: '';
    font-size: 0;
    transition: scale 100ms ease-in-out;
    opacity: 0.5;
}
#accountSettings:hover {
    opacity: 1;
    transform: scale(1.2);
}
#accountSettings:active {
    transform: scale(0.8);
}
#toggleRun {
    height: 40px;
    width: 40px;
    background: none;
    background-image: url('/images/run-icon.png');
    background-size: cover;
    background-repeat: no-repeat;
    border: none;
    position: absolute;
    content: '';
    font-size: 0;
    transition: scale 100ms ease-in-out;
    left: 0;
    bottom: 0;
    opacity: 0.5;
}
#toggleRun.toggled {
    opacity: 1;
}
#toggleRun:hover {
    transform: scale(1.2);
}
#toggleRun:active {
    transform: scale(0.8);
}
#inventoryButton {
    height: 48px;
    width: 48px;
    background: none;
    background-image: url('/images/inventory-icon.png');
    background-size: cover;
    background-repeat: no-repeat;
    border: none;
    content: '';
    font-size: 0;
    transition: scale 100ms ease-in-out;
}
#inventoryButton:hover {
    transform: scale(1.2);
}
#inventoryButton:active {
    transform: scale(0.8);
}
#equipmentButton {
    height: 48px;
    width: 48px;
    background: none;
    background-image: url('/images/equipment-icon.png');
    background-size: cover;
    background-repeat: no-repeat;
    border: none;
    content: '';
    font-size: 0;
    transition: scale 100ms ease-in-out;
}
#equipmentButton:hover {
    transform: scale(1.2);
}
#equipmentButton:active {
    transform: scale(0.8);
}
#levelsButton {
    height: 48px;
    width: 48px;
    background: none;
    background-image: url('/images/levels-icon.png');
    background-size: cover;
    background-repeat: no-repeat;
    border: none;
    content: '';
    font-size: 0;
    transition: scale 100ms ease-in-out;
}
#levelsButton:hover {
    transform: scale(1.2);
}
#levelsButton:active {
    transform: scale(0.8);
}
#tabButtons button {
    opacity: 0.65;
}
#tabButtons button.open {
    opacity: 1;
    transform: scale(1.2);
}
.spell-icon {
    width: 100%;
    height: 100%;
    pointer-events: none;
}
#spell-tooltip {
    max-width: 200px;
    white-space: normal;
    word-wrap: break-word;
}

#mouseTarget {
    margin-top: 10px;
    font-weight: bolder;
}
#questsButton {
    height: 48px;
    width: 48px;
    background: none;
    background-image: url('/images/quests-icon.png');
    background-size: cover;
    background-repeat: no-repeat;
    border: none;
    content: '';
    font-size: 0;
    transition: scale 100ms ease-in-out;
}
#questsButton:hover {
    transform: scale(1.2);
}
#questsButton:active {
    transform: scale(0.8);
}
#combatButton {
    height: 48px;
    width: 48px;
    background: none;
    background-image: url('/images/combat-icon.png');
    background-size: cover;
    background-repeat: no-repeat;
    border: none;
    content: '';
    font-size: 0;
    transition: scale 100ms ease-in-out;
}
#combatButton:hover {
    transform: scale(1.2);
}
#combatButton:active {
    transform: scale(0.8);
}
#spellBookButton {
    height: 48px;
    width: 48px;
    background: none;
    background-image: url('/images/wizardry-icon.png');
    background-size: cover;
    background-repeat: no-repeat;
    border: none;
    content: '';
    font-size: 0;
    transition: scale 100ms ease-in-out;
}
#spellBookButton:hover {
    transform: scale(1.2);
}
#spellBookButton:active {
    transform: scale(0.8);
}
#miniMapCompass {
    cursor: pointer;
    transition: scale 100ms ease-in-out;
}
#miniMapCompass:hover {
    transform: scale(1.2);
}
#miniMapCompass:active {
    transform: scale(0.8);
}
#combatButton:active {
    transform: scale(0.8);
}
#tabButtons {
    margin-top: 10px;
    margin-bottom: 10px;
    color: #2c2d2d;
    box-sizing: border-box;
    border-radius: 5px;
    text-align: center;
}
#tooltip {
    position: absolute;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px;
    border-radius: 4px;
    font-size: 1em;
    pointer-events: none;
    display: none;
    z-index: 99999;
}
.tooltip-header {
    font-size: 1.2em;
    font-weight:bolder
}
#shopDialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-image: url('/images/ui-background-texture.png');
    background-size: cover;
    border-radius: 10px;
    padding: 20px;
    z-index: 1000;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    display: none;
    height: 50%;
    width: 50%;
    background-color: rgba(122,122,122,0.5);
    overflow-y: auto;
}
#shopDialog .close {
    float: right;
}
.shop-item-wrapper {
    position: relative;
    display: inline-block;
    margin: 8px;
    font-family: monospace;
    text-align: center;
    color:#FFFF33;
    text-shadow:
        0 0 5px #000,
        0 0 10px #000,
        0 0 20px #000;
    width: calc(100% / 15);
    font-size: 12px;
}
.shop-item-wrapper {
    position: relative;
    display: inline-block;
    margin: 4px;
}

.shop .label {
    text-align: center;
}
.shop-button {
    width: 100%;
    height: 100%;
    border: none;
    background: rgba(122,122,122,0.5);
    border-radius: 8px;
    border: #2c2c2c 1px solid;
}

.shop-button:hover {
    background: rgba(122,122,122,0.2);
}
.shop-button:active {
    transform: scale(0.9);
}
.shop-button .shop-icon {
    width: 100%;
}
.quantity-marker {
    position: absolute;
    top: -4px;
    right: -4px;
    background: crimson;
    color: white;
    font-size: 10px;
    padding: 2px 5px;
    border-radius: 8px;
    font-weight: bold;
    pointer-events: none;
    z-index: 10;
}
.trade-popup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-image: url('/images/ui-background-texture.png');
    background-color: rgba(122,122,122,0.5);
    background-size: cover;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    color: #fff;
    padding: 20px;
    border-radius: 10px;
    z-index: 1000;
    text-align: center;
    font-family: sans-serif;
}

.trade-popup input {
    margin: 5px;
    padding: 6px 12px;
    background: #444;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.trade-popup input:hover {
    background: #666;
}

.trade-window {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-image: url('/images/ui-background-texture.png');
    background-color: rgba(122,122,122,0.5);
    background-size: cover;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    color: #fff;
    padding: 20px;
    border-radius: 10px;
    z-index: 1000;
    font-family: sans-serif;
    box-sizing: border-box;
    min-width: 400px;
}
.trade-window input {
    background: rgba(122,122,122,0.3);
    border: #222 1px solid;
    border-radius: 5px;
    cursor: pointer;
}
.trade-window input:hover {
    background: rgba(122,122,122,0.1);
}
.trade-window .shop-item {
    width: 36px;
    height: 36px;
}
.wallet-offer {
    background: rgba(122,122,122,0.3);
    border: #222 1px solid;
    border-radius: 5px;
    cursor: pointer;
    padding: 1px;
    padding-top: 3px;

    text-align: center;
    margin: 5px;
    height: 36px;
    vertical-align: middle;
}
.wallet-offer img {
    margin-right: 5px;
}
#your-offer {
    width: 50%;
    box-sizing: border-box;
    overflow: auto;
    float: left;
    min-height: 200px;
}
#their-offer {
    width: 50%;
    box-sizing: border-box;
    overflow: auto;
    float: left;
    min-height: 200px;
}
.trade-wallet-popup {
    position: fixed;
    background: #222;
    border: 1px solid #555;
    padding: 10px;
    z-index: 9999;
    color: #fff;
    font-family: sans-serif;
}

.trade-wallet-popup input[type="number"] {
    width: 120px;
    margin-top: 5px;
}

.trade-wallet-popup button {
    margin-left: 5px;
}

.account-settings-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-image: url('/images/ui-background-texture.png');
    background-color: rgba(122,122,122,0.5);
    background-size: cover;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    border-radius: 12px;
    padding: 2em;
    width: 300px;
    z-index: 1000;
    box-shadow: 0 0 20px #000;
    color: #FFF;
}

.account-settings-popup.hidden {
    display: none;
}

.account-settings-inner h2 {
    margin-top: 0;
    text-align: center;
}

.account-settings-inner label {
    display: block;
    margin: 1em 0;
}

.account-settings-inner input[type="email"],
.account-settings-inner input[type="password"] {
    width: 100%;
    padding: 0.5em;
    border: 1px solid #3b2b1b;
    border-radius: 4px;
    background: #fdf6e3;
    color: #3b2b1b;
}


.glyph-overlay {
  position: absolute;
  top: 5%;
  left: 5%;
  width: 50%;
  pointer-events: none; /* prevents blocking clicks on the glyph itself */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.glyph-overlay .status-icon {
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  border: 2px solid #333;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #000;
}

.glyph-container {
  position: relative;
  width: 100px;
  height: 100px;
}
