/* Windows 3.1のデフォルトのティール色の背景 */
body {
    background-color: #008080;
    font-family: 'MS Sans Serif', 'Arial', sans-serif;
    overflow: hidden;
    user-select: none;
}

/* 3Dボタンやウィンドウの枠線のスタイル */
.bevel-out {
    border-style: solid;
    border-width: 2px;
    border-top-color: #ffffff;
    border-left-color: #ffffff;
    border-bottom-color: #404040;
    border-right-color: #404040;
}

.bevel-in {
    border-style: solid;
    border-width: 2px;
    border-top-color: #404040;
    border-left-color: #404040;
    border-bottom-color: #ffffff;
    border-right-color: #ffffff;
}

/* アクティブウィンドウのタイトルバーの色 */
.title-bar.active {
    background-color: #000080; /* Active window title bar color */
}

.title-bar {
     background-color: #808080; /* Inactive window title bar color */
}

/* ドラッグ中のカーソル */
.dragging {
    cursor: move;
}

.window-content {
    background-color: #c0c0c0;
}

.icon-text {
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}

/* ウィンドウのリサイズハンドル */
.resize-handle {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 16px;
    height: 16px;
    cursor: se-resize;
    z-index: 10;
}

/* 電卓のスタイル */
.calculator-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
}
.calc-display {
    background-color: white;
    text-align: right;
    padding: 4px 8px;
    font-size: 1.25rem;
    margin-bottom: 4px;
}
.calc-button {
    padding: 8px;
    font-size: 1rem;
}
.calc-button.operator {
    background-color: #e0e0e0;
}

/* ペイントのキャンバス */
#paint-canvas {
    background-color: white;
    display: block;
}

.file-item {
    display: flex;
    align-items: center;
    padding: 2px;
    font-size: 0.875rem;
}
.file-item svg {
    margin-right: 4px;
}

/* タスクバーのスタイル */
.taskbar-item {
    padding: 0 12px;
    height: 32px;
    min-width: 120px;
    max-width: 200px;
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.taskbar-item.active {
    background-color: #ffffff;
    border-style: solid;
    border-width: 2px;
    border-top-color: #404040;
    border-left-color: #404040;
    border-bottom-color: #ffffff;
    border-right-color: #ffffff;
}

.window.minimized {
    display: none !important;
}