@font-face {
    font-family: 'Berkelium64';
    src: url('../../_blank_fonts/fonts/berkelium/Berkelium64.ttf') format('truetype');
}

body, html {
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: #03090e;
    font-size: 12px;
    color: #00eaff;
    font-family: 'Berkelium64', monospace;
    overflow: hidden;
}

#desktop {
    position: relative;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(0, 50, 80, 0.3) 0%, rgba(0, 0, 0, 0) 70%);
}

#desktop::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.5) 0px, rgba(0, 0, 0, 0.5) 1px, transparent 1px, transparent 2px);
    opacity: 0.3;
}


.window {
    position: absolute;
    border: 1px solid #00eaff;
    background-color: rgba(3, 9, 14, 0.8);
    backdrop-filter: blur(5px);
    box-shadow: 0 0 15px rgba(0, 234, 255, 0.2);
    resize: both;
    overflow: auto;
    min-width: 250px;
    min-height: 150px;
    transition: box-shadow 0.3s ease;
}

.window:active {
    box-shadow: 0 0 25px rgba(0, 234, 255, 0.4);
}

.window-header {
    background-color: rgba(0, 234, 255, 0.1);
    border-bottom: 1px solid #00eaff;
    color: #00eaff;
    padding: 3px 8px;
    cursor: move;
    font-weight: normal;
    user-select: none;
    font-size: 10px;
    text-transform: uppercase;
}

.window-content {
    padding: 8px;
    height: calc(100% - 25px);
    overflow-y: hidden;
    white-space: pre-wrap;
    word-wrap: break-word;
    color: #cceeff;
    letter-spacing: 1px;
}

.cursor {
    display: inline-block;
    background-color: #00eaff;
    width: 8px;
    height: 12px;
    vertical-align: middle;
    animation: blink 0.8s step-end infinite;
}

@keyframes blink {
    from, to {
        background-color: transparent;
    }
    50% {
        background-color: #00eaff;
    }
}

.popup {
    position: absolute;
    background-color: rgba(255, 50, 50, 0.85);
    border: 1px solid #ff5555;
    color: #ffffff;
    padding: 15px 20px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 0 20px #ff0000;
    animation: fadeInOut 3s ease-in-out;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0; }
    10%, 90% { opacity: 1; }
}


/* --- Text Colors --- */
.c-main { color: #00eaff; }
.c-dim { color: #88aaff; }
.c-warn { color: #fff38f; }
.c-err { color: #ff6e6e; }
.c-ok { color: #7fffd4; }
.c-ip { color: #ffaa33; }
.c-trace { font-weight: bold; color: #ffffff; }
.c-country { color: #ff6e6e; }
.c-org { color: #fff38f; }
.c-bar {
    display: inline-block;
    background-color: #00eaff;
    height: 12px;
}