/* Windows XP Theme */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Tahoma", "MS Sans Serif", Arial, sans-serif;
  background: #5a8fcc
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><defs><linearGradient id="g" x1="0%25" y1="0%25" x2="0%25" y2="100%25"><stop offset="0%25" style="stop-color:%2384C1FF"/><stop offset="50%25" style="stop-color:%235A8FCC"/><stop offset="100%25" style="stop-color:%23ECF5E6"/></linearGradient></defs><rect width="100" height="100" fill="url(%23g)"/></svg>');
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
}

/* XP Window Container */
.xp-window {
  width: 100%;
  max-width: 700px;
  background: #ece9d8;
  border: 3px solid;
  border-color: #0054e3 #0054e3 #0054e3 #0054e3;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
  border-radius: 8px 8px 0 0;
}

/* Title Bar */
.xp-titlebar {
  background: linear-gradient(
    180deg,
    #0997ff 0%,
    #0053ee 8%,
    #0050ee 40%,
    #044cb9 88%,
    #033c92 100%
  );
  padding: 3px 4px 3px 3px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 6px 6px 0 0;
  height: 30px;
}

.xp-title {
  display: flex;
  align-items: center;
  color: white;
  font-weight: bold;
  font-size: 20px;
  padding-left: 4px;
}

.xp-icon {
  width: 16px;
  height: 16px;
  margin-right: 4px;
  display: inline-block;
}

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

.xp-btn {
  width: 21px;
  height: 21px;
  border: 1px solid;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Tahoma", sans-serif;
  padding: 0;
  line-height: 1;
}

.xp-minimize,
.xp-maximize {
  background: linear-gradient(
    180deg,
    #eff5fb 0%,
    #c5e2fc 8%,
    #9bd5ff 40%,
    #6ab6f5 88%,
    #3f8cf0 100%
  );
  border-color: #003c74 #dfeef9 #dfeef9 #003c74;
  color: #000;
}

.xp-close {
  background: linear-gradient(
    180deg,
    #fdb7b7 0%,
    #fc8a8a 8%,
    #fe5d5d 40%,
    #f94747 88%,
    #dc1f1f 100%
  );
  border-color: #8c2121 #fecccc #fecccc #8c2121;
  color: white;
  font-size: 16px;
}

.xp-btn:active {
  filter: brightness(0.9);
}

.xp-minimize:hover,
.xp-maximize:hover {
  background: linear-gradient(
    180deg,
    #fff 0%,
    #d6ebfd 8%,
    #b0ddff 40%,
    #7dc4f9 88%,
    #4ea5f7 100%
  );
}

.xp-close:hover {
  background: linear-gradient(
    180deg,
    #fedcdc 0%,
    #fdb0b0 8%,
    #ff7a7a 40%,
    #ff5858 88%,
    #ea2f2f 100%
  );
}

/* Window Content */
.xp-content {
  padding: 20px;
  background: #ece9d8;
  min-height: 400px;
}

.xp-header {
  margin-bottom: 20px;
}

.xp-header h1 {
  color: #003c74;
  font-size: 24px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid #316ac5;
}

.xp-header p {
  color: #000;
  font-size: 13px;
  line-height: 1.5;
}

/* Project Buttons */
.xp-projects {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0;
}

.xp-project-btn {
  display: flex;
  align-items: center;
  padding: 10px;
  background: linear-gradient(180deg, #ffffff 0%, #ece9d8 100%);
  border: 2px solid;
  border-color: #ffffff #848484 #848484 #ffffff;
  text-decoration: none;
  color: #000;
  cursor: pointer;
  transition: all 0.1s;
}

.xp-project-btn:hover {
  background: linear-gradient(180deg, #fff8dc 0%, #f5e9c8 100%);
  border-color: #ffd700 #a0a0a0 #a0a0a0 #ffd700;
}

.xp-project-btn:active {
  border-color: #848484 #ffffff #ffffff #848484;
  background: linear-gradient(180deg, #d4d0c8 0%, #e8e5d8 100%);
}

.xp-btn-icon {
  width: 32px;
  height: 32px;
  margin-right: 12px;
  min-width: 40px;
  text-align: center;
  object-fit: contain;
}

.xp-btn-text {
  flex: 1;
}

.xp-btn-title {
  font-weight: bold;
  font-size: 15px;
  color: #0054e3;
  margin-bottom: 4px;
}

.xp-btn-desc {
  font-size: 13px;
  color: #000;
  line-height: 1.4;
}

/* Footer */
.xp-footer {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 2px groove #ffffff;
}

.xp-back-btn {
  display: inline-flex;
  align-items: center;
  padding: 6px 15px;
  background: linear-gradient(180deg, #ffffff 0%, #ece9d8 100%);
  border: 2px solid;
  border-color: #ffffff #404040 #404040 #ffffff;
  color: #000;
  text-decoration: none;
  font-size: 13px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.1);
}

.xp-back-btn:hover {
  background: linear-gradient(180deg, #fff8e1 0%, #f0e9d0 100%);
}

.xp-back-btn:active {
  border-color: #404040 #ffffff #ffffff #404040;
  box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.xp-back-arrow {
  margin-right: 6px;
  font-size: 13px;
}

/* Status Bar */
.xp-statusbar {
  background: linear-gradient(180deg, #e9e6dc 0%, #c9c5ba 100%);
  border-top: 1px solid #ffffff;
  padding: 2px 4px;
  font-size: 12px;
  height: 22px;
  display: flex;
  align-items: center;
}

.xp-status-text {
  padding: 2px 6px;
  border-right: 1px solid #808080;
  border-bottom: 1px solid #808080;
  border-top: 1px solid #404040;
  border-left: 1px solid #404040;
  background: #ece9d8;
  font-size: 12px;
}

/* Responsive Design */
@media (max-width: 768px) {
  body {
    padding: 10px;
  }

  .xp-window {
    max-width: 100%;
  }

  .xp-content {
    padding: 15px;
  }

  .xp-btn-icon {
    font-size: 24px;
    min-width: 32px;
  }
}
