/*
Theme Name: Y2K Win98 Prompt Notebook
Theme URI: https://example.com
Author: Tu Nombre
Description: Tema estilo Windows 98 y estetica Y2K que funciona como cuaderno interactivo de prompts.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: y2k-win98
*/

:root {
  --win-bg: #008080;
  --win-gray: #c0c0c0;
  --win-dark: #808080;
  --win-light: #ffffff;
  --win-blue: #000080;
  --win-blue-grad: #1084d0;
  --y2k-pink: #ff00ff;
  --y2k-cyan: #00ffff;
}

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

body {
  background-color: var(--win-bg);
  background-image: 
    linear-gradient(rgba(0, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  font-family: "Courier New", Courier, monospace;
  color: #000;
  padding: 20px 20px 60px 20px;
  min-height: 100vh;
}

.win98-window {
  background: var(--win-gray);
  border-top: 2px solid var(--win-light);
  border-left: 2px solid var(--win-light);
  border-right: 2px solid #000;
  border-bottom: 2px solid #000;
  box-shadow: inset -1px -1px var(--win-dark), inset 1px 1px #dfdfdf, 4px 4px 0px rgba(0,0,0,0.4);
  max-width: 900px;
  margin: 0 auto 25px auto;
}

.title-bar {
  background: linear-gradient(90deg, var(--win-blue), var(--win-blue-grad));
  padding: 4px 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  font-weight: bold;
  font-size: 14px;
  letter-spacing: 0.5px;
}

.title-bar-controls {
  display: flex;
  gap: 3px;
}

.win-btn {
  background: var(--win-gray);
  border-top: 2px solid var(--win-light);
  border-left: 2px solid var(--win-light);
  border-right: 2px solid #000;
  border-bottom: 2px solid #000;
  font-family: "Courier New", Courier, monospace;
  font-weight: bold;
  font-size: 12px;
  padding: 2px 8px;
  cursor: pointer;
  color: #000;
}

.win-btn:active {
  border-top: 2px solid #000;
  border-left: 2px solid #000;
  border-right: 2px solid var(--win-light);
  border-bottom: 2px solid var(--win-light);
  padding: 3px 7px 1px 9px;
}

.win-btn-small {
  padding: 0 5px;
  line-height: 14px;
}

.menu-bar {
  padding: 4px 10px;
  border-bottom: 1px solid var(--win-dark);
  font-size: 13px;
  display: flex;
  gap: 15px;
}

.menu-bar span u {
  text-decoration: underline;
}

.window-body {
  padding: 15px;
}

.notebook-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 10px;
}

.y2k-badge {
  background: #000;
  color: var(--y2k-cyan);
  border: 1px solid var(--y2k-pink);
  padding: 3px 8px;
  font-size: 12px;
  text-transform: uppercase;
  box-shadow: 2px 2px 0 var(--y2k-pink);
}

.prompt-editor {
  width: 100%;
  height: 160px;
  background: #fff;
  border-top: 2px solid #000;
  border-left: 2px solid #000;
  border-right: 2px solid var(--win-light);
  border-bottom: 2px solid var(--win-light);
  padding: 10px;
  font-family: "Courier New", Courier, monospace;
  font-size: 14px;
  resize: vertical;
  margin-bottom: 10px;
}

.toolbar-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 15px;
}

.prompt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 15px;
}

.prompt-card {
  background: #ffffe1;
  border: 1px solid #000;
  padding: 12px;
  box-shadow: 3px 3px 0px var(--win-dark);
}

.prompt-card h3 {
  font-size: 15px;
  margin-bottom: 6px;
  color: var(--win-blue);
  border-bottom: 1px dashed #808080;
  padding-bottom: 4px;
}

.prompt-card p {
  font-size: 13px;
  line-height: 1.4;
  margin-bottom: 10px;
  white-space: pre-wrap;
}

.taskbar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 32px;
  background: var(--win-gray);
  border-top: 2px solid var(--win-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2px 6px;
  z-index: 999;
}

.start-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: bold;
  font-size: 13px;
}

.clock-tray {
  border-top: 1px solid var(--win-dark);
  border-left: 1px solid var(--win-dark);
  border-right: 1px solid var(--win-light);
  border-bottom: 1px solid var(--win-light);
  padding: 2px 10px;
  font-size: 12px;
}
