* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "MS Sans Serif", Arial, sans-serif;
    background: #008080;
    height: 100vh;
    overflow: hidden;
}

/* BOOT SCREEN */
#boot {
    position: absolute;
    width: 100%;
    height: 100%;
    background: black;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    font-family: monospace;
}

.boot-btn {
    margin-top: 20px;
    padding: 8px 28px;
    font-family: "MS Sans Serif", Arial, sans-serif;
    font-size: 14px;
    background: #c0c0c0;
    border-top: 2px solid #ffffff;
    border-left: 2px solid #ffffff;
    border-right: 2px solid #404040;
    border-bottom: 2px solid #404040;
    cursor: pointer;
}

.boot-btn:active {
    border-top: 2px solid #404040;
    border-left: 2px solid #404040;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
}

/* DESKTOP */
#desktop {
    display: none;
    width: 100vw;
    height: 100vh;
    position: relative;
}

.icon {
    width: 80px;
    text-align: center;
    color: white;
    margin: 16px;
    cursor: pointer;
    user-select: none;
    float: left; /* Allows icons to stack side by side if needed */
}

.icon img {
    width: 32px;
    height: 32px;
    display: block;
    margin: 0 auto 6px auto;
}

/* WINDOWS */
.window {
    position: absolute;
    width: 640px;
    max-width: 95vw; /* Mobile responsive */
    background: #c0c0c0;
    border: 2px outset white;
    display: none;
    flex-direction: column;
    box-shadow: 3px 3px 0 #000;
}

.header {
    background: #000080;
    color: white;
    padding: 6px 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: move;
    font-weight: bold;
    user-select: none;
}

.close {
    background: #c0c0c0;
    color: black;
    border: 2px outset white;
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 16px;
    font-size: 14px;
    cursor: pointer;
}

.close:active {
    border-style: inset;
}

/* TERMINAL */
.content {
    background: black;
    color: #00ff66;
    font-family: monospace;
    height: 420px;
    max-height: 60vh;
    overflow-y: auto;
    padding: 10px;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.cmdline {
    display: flex;
    background: black;
    border-top: 1px solid #333;
    padding-bottom: 5px;
    padding-top: 5px;
}

.prompt {
    color: #00ff66;
    padding-left: 6px;
    font-family: monospace;
    white-space: pre;
}

#cmd {
    flex: 1;
    background: black;
    color: #00ff66;
    border: none;
    outline: none;
    font-family: monospace;
    padding-left: 4px;
    font-size: 14px;
}

/* INFO WINDOWS */
.info-body {
    padding: 14px;
    font-size: 14px;
    line-height: 1.6;
    background: #c0c0c0;
}

.info-row {
    margin: 8px 0;
}

.label {
    display: inline-block;
    width: 90px;
    font-weight: bold;
}