/* Windows XP Documentation Styles */

pre, code {
  font-family: 'Courier New', monospace;
  background: #f8f8f8;
  border: 2px inset #ece9d8;
  padding: 5px;
  font-size: 10px;
  box-shadow: inset 1px 1px 2px rgba(0,0,0,0.1);
}

pre {
  margin: 10px 0;
  overflow-x: auto;
  white-space: pre-wrap;
  background: white;
}

code {
  padding: 2px 4px;
  display: inline-block;
  background: #f0f0f0;
}

/* XP-style input fields */
input[type="text"], input[type="email"], textarea {
  border: 2px inset #ece9d8;
  padding: 2px;
  font-family: 'Tahoma', sans-serif;
  font-size: 11px;
  background: white;
  transition: border-color 0.2s ease;
}

input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  outline: none;
  border: 2px inset #316ac5;
  box-shadow: inset 0 0 3px rgba(49, 106, 197, 0.3);
}

/* Table styling */
table {
  border: 2px inset #ece9d8;
  border-collapse: separate;
  border-spacing: 0;
  background: white;
  box-shadow: inset 1px 1px 2px rgba(0,0,0,0.1);
}

th, td {
  border: 1px solid #c0c0c0;
  padding: 4px 8px;
  font-size: 11px;
}

th {
  background: linear-gradient(to bottom, #ffffff 0%, #ece9d8 100%);
  font-weight: bold;
  border-bottom: 2px solid #c0c0c0;
}

tr:nth-child(even) {
  background: #f8f8f8;
}

tr:hover {
  background: #e3f2fd;
}

/* Menu bar styling */
.menu-bar {
  background: linear-gradient(to bottom, #f0f0f0 0%, #e0e0e0 100%);
  border-bottom: 1px solid #c0c0c0;
  border-top: 1px solid #ffffff;
  padding: 2px;
  font-size: 11px;
}

.menu-item {
  display: inline-block;
  padding: 3px 8px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.1s ease;
}

.menu-item:hover {
  background: linear-gradient(to bottom, #3d6aa2 0%, #2952a3 100%);
  color: white;
  border: 1px solid #1e3c72;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
}

.menu-item:active {
  background: linear-gradient(to bottom, #2952a3 0%, #1e3c72 100%);
  box-shadow: inset 1px 1px 2px rgba(0,0,0,0.3);
}

/* Thumbnail styling for images */
.thumbnail {
  cursor: pointer;
  transition: all 0.2s ease;
}

.thumbnail:hover {
  border-color: #316ac5;
  box-shadow: 0 0 5px rgba(49, 106, 197, 0.5);
  transform: scale(1.02);
}
