/* Font by Daniel Linssen - https://managore.itch.io/m6x11 */
@font-face {
    font-family: 'm6x11';
    src: url('./fonts/m6x11.ttf') format('truetype');
    font-display: swap;
}

/* Apply m6x11 font globally */
* {
    font-family: 'm6x11', monospace !important;
}

/* Apply off-white color to general text elements, but not inputs or colored status indicators */
body, h1, h2, h3, h4, h5, h6, p, div, span:not(.health):not(.online-status):not(.error):not(.success):not(.damaged-health):not(.armor):not(.mana):not(.gold) {
    color: #D3D0CB;
}

/* Keep input text black for readability */
input[type="text"], input[type="password"], input {
    color: black !important;
}

/* Preserve specific colored status elements */
.health {
    color: #4CAF50 !important;
}

.damaged-health {
    color: #BF0603 !important;
}

.online-status {
    color: #4CAF50 !important;
}

.message.error {
    color: #ff6b6b !important;
}

.message.success {
    color: #4CAF50 !important;
}

.mana {
    color: #2196F3 !important;
}

.gold {
    color: #eac435 !important;
}