html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.os-container {
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle, #5500ff, #000000);
    display: flex;
    flex-direction: column;
    font-family: 'Courier New', Courier, monospace;
    cursor: crosshair;
}

.top-bar {
    height: 40px;
    background: #00ff41;
    color: black;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    font-weight: bold;
    border-bottom: 4px solid black;
    text-transform: uppercase;
}

.desktop {
    flex-grow: 1;
    position: relative;
    padding: 20px;
}

.icon {
    position: absolute;
    width: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    cursor: pointer;
    border: 1px solid transparent;
    user-select: none;
    -webkit-user-select: none;
}

.icon:hover {
    background: rgba(255, 255, 255, 0.2);
    border: 1px dotted #00ff41;
}

.icon-image {
    width: 60px;
    height: 60px;
    object-fit: contain;
    image-rendering: pixelated;
    pointer-events: none;
}

.icon-label {
    margin-top: 5px;
    font-size: 12px;
    color: white;
    text-align: center;
    word-break: normal;
}

.settings {
    font-size: large;
    font-weight: bold;
}

.clock {
    animation: jitter 0.5s infinite;
    font-size: large;
}

.status {
    animation: jitter 15s infinite;
    font-size: large;
}



@keyframes jitter {
    0% { transform: translate(0, 0); }
    50% { transform: translate(1px, -1px); }
    100% { transform: translate(0, 0); }
}

.window {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 300px;
    left: 300px;
    height: 400px;
    width: 600px;
    background: #1a1a1a;
    border: 2px solid #00ff41;
    box-shadow: 5px 5px 0px #00ff41;
    z-index: 9999;
    display: none;
}

.window-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 50px;
    font-size: 40px;
}

.window-header {
    background: #00ff41;
    color: black;
    padding: 5px;
    cursor: grab;
    display: flex;
    justify-content: space-between;
    font-weight: bold;
}

#note-textarea {
    flex: 1;
    min-height: 0;
    width: 100%;
    background: #1a1a1a;
    color: #00ff41;
    border: 1px solid #00ff41;
    font-family: 'Courier New', Courier, monospace;
    font-size: 16px;
    resize: none;
    outline: none;
    box-sizing: border-box;
    padding: 10px;
}

.dont-click-btn {
    background: red;
    color: white;
    font-size: 32px;
    font-family:'Courier New', Courier, monospace;
    font-weight: bold;
    border: 4px solid darkred;
    padding: 30px 50px;
    cursor: pointer;
    text-transform: uppercase;
    animation: jitter 0.15s infinite;
}

.dont-click-btn:hover {
    background: darkred;
}

.error-popup {
    position: absolute;
    width: 280px;
    background: #1a1a1a;
    border: 2px solid red;
    box-shadow: 4px 4px 0px red;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    font-family: 'Courier New', Courier, monospace;
}

.error-header {
    background: red;
    color: white;
    padding: 5px;
    display: flex;
    justify-content: space-between;
    font-weight: bold;
}

.error-header button {
    background: darkred;
    color: white;
    border: none;
    font-weight: bold;
    cursor: pointer;
    font-family: 'Courier New', Courier, monospace;
    padding: 0 6px;
}

.error-body {
    padding: 20px;
    color: red;
    font-size: 15px;
    text-align: center;
}

#boot-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
    box-sizing: border-box;
    transition: opacity 0.8s ease;
}

#boot-text {
    font-family: 'Courier New', Courier, monospace;
    color: #00ff41;
    font-size: 15px;
    line-height: 1.8;
    margin: 0;
}

.boot-cursor {
    font-family: 'Courier New', Courier, monospace;
    color: #00ff41;
    font-size: 15px;
    animation: blink 0.7s infinite;
}

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