/* Windows 95 Theme */
.window {
    background: #c0c0c0;
    border: 2px solid;
    border-top-color: #dfdfdf;
    border-left-color: #dfdfdf;
    border-right-color: #808080;
    border-bottom-color: #808080;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.title-bar {
    background: linear-gradient(90deg, #000080, #1084d0);
    color: white;
    padding: 2px 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    font-weight: bold;
    height: 18px;
    border-bottom: 1px solid #000080;
}

.title-bar-text {
    flex-grow: 1;
    text-align: center;
    font-weight: bold;
}

.title-bar-controls {
    display: flex;
    gap: 2px;
}

.title-bar-controls button {
    width: 16px;
    height: 14px;
    border: 1px solid;
    border-top-color: #dfdfdf;
    border-left-color: #dfdfdf;
    border-right-color: #808080;
    border-bottom-color: #808080;
    background: #c0c0c0;
    font-size: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Символы на кнопках */
.title-bar-controls button[aria-label="Minimize"]::after {
    content: "_";
    color: #000;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 2px;
}

.title-bar-controls button[aria-label="Maximize"]::after {
    content: "□";
    color: #000;
    font-size: 8px;
    font-weight: bold;
}

.title-bar-controls button[aria-label="Close"]::after {
    content: "×";
    color: #000;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 1px;
}

.title-bar-controls button:active {
    border-top-color: #808080;
    border-left-color: #808080;
    border-right-color: #dfdfdf;
    border-bottom-color: #dfdfdf;
}

.window-body {
    background: #c0c0c0;
    padding: 8px;
    margin: 2px;
    border: 1px solid;
    border-top-color: #808080;
    border-left-color: #808080;
    border-right-color: #dfdfdf;
    border-bottom-color: #dfdfdf;
}

button, input, select, textarea {
    border: 2px solid;
    border-top-color: #dfdfdf;
    border-left-color: #dfdfdf;
    border-right-color: #808080;
    border-bottom-color: #808080;
    background: #c0c0c0;
    padding: 4px 8px;
    font-family: 'MS Sans Serif', sans-serif;
    font-size: 11px;
    cursor: pointer;
}

button:active {
    border-top-color: #808080;
    border-left-color: #808080;
    border-right-color: #dfdfdf;
    border-bottom-color: #dfdfdf;
}

.field-row {
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 8px 0;
}

/* Специальные стили для кнопки начала */
button[onclick="startGame()"] {
    background: linear-gradient(to bottom, #c0c0c0, #a0a0a0);
    font-weight: bold;
    text-shadow: 1px 1px 0px #fff;
}

button[onclick="startGame()"]:hover {
    background: linear-gradient(to bottom, #d0d0d0, #b0b0b0);
}

button[onclick="startGame()"]:active {
    background: linear-gradient(to bottom, #a0a0a0, #c0c0c0);
    border-top-color: #808080;
    border-left-color: #808080;
    border-right-color: #dfdfdf;
    border-bottom-color: #dfdfdf;
}