* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	cursor: default;
	user-select: none;
}

body {
	font-family: 'MS Sans Serif', Tahoma, Geneva, sans-serif;
	font-size: 11px;
	background: #008080;
	height: 100vh;
	overflow: hidden;
	position: relative;
}

.window {
	position: absolute;
	background: #c0c0c0;
	border: 2px solid;
	border-color: #ffffff #808080 #808080 #ffffff;
	min-width: 300px;
	min-height: 200px;
	display: none;
	box-shadow: 1px 1px 0 0 #000;
}

.window.active {
	display: block;
	z-index: 100;
}

.window-header {
	background: linear-gradient(to right, #000080, #1084d0);
	color: white;
	padding: 2px 3px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	cursor: move;
	font-weight: bold;
	font-size: 11px;
}

.window-header.inactive {
	background: #808080;
}

.window-title {
	flex-grow: 1;
	padding: 0 4px;
}

.window-controls {
	display: flex;
	gap: 2px;
}

.window-btn {
	width: 16px;
	height: 14px;
	background: #c0c0c0;
	border: 1px solid;
	border-color: #ffffff #000000 #000000 #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-family: 'Marlett', sans-serif;
	font-size: 10px;
	padding: 0;
}

.window-btn:active {
	border-color: #000000 #ffffff #ffffff #000000;
}

.close-btn::after {
	content: '✕';
	font-size: 10px;
	font-weight: bold;
}

.window-content {
	padding: 10px;
	background: white;
	margin: 3px;
	border: 1px solid;
	border-color: #808080 #ffffff #ffffff #808080;
	height: calc(100% - 28px);
	overflow: auto;
}

.taskbar {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	height: 28px;
	background: #c0c0c0;
	border-top: 2px solid #ffffff;
	display: flex;
	align-items: center;
	padding: 2px;
	z-index: 1000;
}

.start-button {
	height: 22px;
	padding: 0 6px;
	background: #c0c0c0;
	border: 2px solid;
	border-color: #ffffff #000000 #000000 #ffffff;
	display: flex;
	align-items: center;
	gap: 4px;
	cursor: pointer;
	font-weight: bold;
	margin-right: 4px;
}

.start-button:active {
	border-color: #000000 #ffffff #ffffff #000000;
}

.start-icon {
	width: 16px;
	height: 16px;
	background: linear-gradient(135deg, #ff0000 0%, #ffff00 25%, #00ff00 50%, #0000ff 75%, #ff00ff 100%);
	display: inline-block;
}

.taskbar-items {
	display: flex;
	gap: 2px;
	flex-grow: 1;
}

.taskbar-item {
	height: 22px;
	padding: 0 8px;
	background: #c0c0c0;
	border: 2px solid;
	border-color: #ffffff #000000 #000000 #ffffff;
	display: flex;
	align-items: center;
	gap: 4px;
	cursor: pointer;
	max-width: 150px;
}

.taskbar-item:active,
.taskbar-item.active {
	border-color: #000000 #ffffff #ffffff #000000;
	background: #ffffff;
}

.taskbar-icon {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

.taskbar-text {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.icon-main::before {
	content: '📄';
	font-size: 14px;
}

.icon-contact::before {
	content: '📧';
	font-size: 14px;
}

.icon-about::before {
	content: 'ℹ️';
	font-size: 14px;
}

.start-menu {
	position: absolute;
	bottom: 28px;
	left: 0;
	width: 200px;
	background: #c0c0c0;
	border: 2px solid;
	border-color: #ffffff #000000 #000000 #ffffff;
	display: none;
	z-index: 999;
}

.start-menu.active {
	display: block;
}

.menu-item {
	padding: 8px 10px;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 8px;
}

.menu-item:hover {
	background: #000080;
	color: white;
}

.menu-separator {
	height: 1px;
	background: #808080;
	margin: 2px 4px;
	border-bottom: 1px solid #ffffff;
}

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,1);
    z-index: 99999;
    display: none;
  }

.overlay.show { display: block; }
