/* Reset & Pixel Aesthetics */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Courier New', Courier, monospace;
  image-rendering: pixelated;
  
  @import url("https://cdn.jsdelivr.net/gh/ArThirtyFour/NeedyWebUI@main/nso_ui.css");
  
}

body {
  background-color: #f7a8b8; /* Cute pastel pink background */
  /* Retro grid background pattern */
  background-image: 
    linear-gradient(to right, rgba(255,255,255,0.2) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.2) 1px, transparent 1px);
  background-size: 20px 20px;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Desktop Area */
.desktop {
  flex: 1;
  padding: 20px;
  position: relative;
}

/* Retro Window Base (Windows 95/98 Style) */
.window {
  background-color: #c0c0c0;
  border: 2px solid;
  border-color: #ffffff #808080 #808080 #ffffff;
  box-shadow: 2px 2px 0px #000000;
  width: 320px;
  position: absolute;
}

/* Ame-inspired Pink Gradient Titlebar */
.window-header {
  background: linear-gradient(90deg, #ff007f, #ff66b2);
  color: white;
  padding: 3px 6px;
  font-weight: bold;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: move;
}

.window-controls {
  display: flex;
  gap: 3px;
}

/* Pixelated Window Buttons (_ and X) */
.win-btn {
  width: 16px;
  height: 14px;
  background: #c0c0c0;
  border: 1px solid;
  border-color: #ffffff #808080 #808080 #ffffff;
  font-size: 9px;
  font-weight: bold;
  line-height: 12px;
  text-align: center;
  cursor: pointer;
}

.win-btn:active {
  border-color: #808080 #ffffff #ffffff #808080;
}

.window-body {
  padding: 12px;
  font-size: 12px;
  color: #000;
}

/* Sunken Inset Box (For text logs & status boxes) */
.inset-box {
  background: #ffffff;
  border: 2px solid;
  border-color: #808080 #ffffff #ffffff #808080;
  padding: 8px;
  margin-top: 8px;
}

/* Custom Window Positions */
#profile-window {
  top: 40px;
  left: 50px;
}

#status-window {
  top: 100px;
  left: 400px;
  width: 280px;
}

/* Bottom Taskbar */
.taskbar {
  height: 32px;
  background: #c0c0c0;
  border-top: 2px solid #ffffff;
  display: flex;
  align-items: center;
  padding: 2px 4px;
  gap: 4px;
  z-index: 999;
}

.start-button {
  height: 24px;
  padding: 0 8px;
  background: #c0c0c0;
  border: 2px solid;
  border-color: #ffffff #808080 #808080 #ffffff;
  font-weight: bold;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.taskbar-item {
  height: 22px;
  padding: 0 8px;
  background: #c0c0c0;
  border: 2px solid;
  border-color: #808080 #ffffff #ffffff #808080; /* Active sunken look */
  font-size: 11px;
  display: flex;
  align-items: center;
}

.clock {
  margin-left: auto;
  border: 2px solid;
  border-color: #808080 #ffffff #ffffff #808080;
  padding: 2px 8px;
  font-size: 11px;
}

/* Retro Blue Links */
a.retro-link {
  color: #0000ff;
  text-decoration: underline;
}
