:root {
  --xp-blue1: #0a3d8f;
  --xp-blue2: #2b7cd3;
  --xp-blue3: #3f9be6;
  --xp-border: #0b3d91;
  --xp-face: #ece9d8;
  --xp-hilite: #ffffff;
  --xp-text: #111;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: #1d5fbf;
  font-family: Tahoma, Arial, sans-serif;
  color: var(--xp-text);
}

.xp-desktop {
  padding: 22px;
}

.xp-window {
  width: min(600px, 96vw);
  border: 1px solid var(--xp-border);
  background: var(--xp-face);
  box-shadow: 0 0 0 1px #1a4a9b, 0 10px 25px rgba(0, 0, 0, 0.35);
  border-radius: 6px 6px 4px 4px;
  overflow: hidden;
}

.xp-window-modal {
  width: min(640px, 96vw);
}

.xp-titlebar {
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px 0 7px;
  background: linear-gradient(
    to bottom,
    var(--xp-blue3),
    var(--xp-blue2) 40%,
    var(--xp-blue1)
  );
  color: #fff;
  user-select: none;
  font-weight: bold;
}

.xp-title-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
}

.xp-icon {
  width: 16px;
  height: 16px;
  border-radius: 3px;
  background: linear-gradient(#ffe08a, #ffb300);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.25);
}
.xp-icon.err {
  background: linear-gradient(#ff8a8a, #e23a3a);
}

.xp-title-buttons {
  display: flex;
  gap: 4px;
}
.xp-btn {
  width: 18px;
  height: 18px;
  border-radius: 3px;
  background: linear-gradient(#fefefe, #d7d7d7);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.35);
}

.xp-body {
  padding: 16px 16px 12px;
}

.xp-message {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.xp-msg-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: linear-gradient(#ffde6a, #f5b100);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.25);
}
.xp-msg-icon.warn {
  background: linear-gradient(#ffe9a6, #f2b200);
}
.xp-msg-icon.err {
  background: linear-gradient(#ff8a8a, #e23a3a);
}

.xp-text-strong {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 6px;
}
.xp-text-sub {
  font-size: 12px;
  color: #333;
  line-height: 1.35;
}
.xp-text-foot {
  margin-top: 9px;
  font-size: 12px;
  color: #2a2a2a;
}

.xp-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 14px;
  align-items: center;
}

/* XP button base */
.xp-button {
  min-width: 140px;
  padding: 7px 14px;
  font-size: 13px;
  font-family: Tahoma, Arial, sans-serif;
  background: linear-gradient(#f7f7f7, #dcdcdc);
  border: 1px solid #6b6b6b;
  border-radius: 3px;
  box-shadow: inset 1px 1px 0 var(--xp-hilite), inset -1px -1px 0 #b0b0b0;
  cursor: pointer;
  position: relative;
}

.xp-button:hover {
  filter: brightness(1.03);
}
.xp-button:active {
  box-shadow: inset -1px -1px 0 var(--xp-hilite), inset 1px 1px 0 #b0b0b0;
}

/* Primary outline like XP focus */
.xp-button.primary {
  outline: 2px solid #2f75d8;
  outline-offset: 0;
}

/* Make YES tempting */
.yesbtn {
  background: linear-gradient(#ffffff, #d9f3ff);
  border-color: #3c6fb2;
}

/* Make NO suspicious + cursor sabotage */
.xp-button.ghost {
  opacity: 0.88;
  background: linear-gradient(#f0f0f0, #cfcfcf);
  border-color: #7a7a7a;
  cursor: not-allowed;
}
.xp-button.ghost:hover {
  opacity: 0.95;
}

.tiny {
  font-size: 11px;
  opacity: 0.75;
}

/* ShadowS “dat peste cap” */
.shadows {
  display: inline-block;
  font-weight: 900;
  letter-spacing: 1px;
  padding: 2px 8px;
  background: linear-gradient(135deg, #fff2a8, #ffcc33);
  border: 2px solid #000;
  border-radius: 2px;
  transform: rotate(-8deg) skewX(-6deg) skewY(2deg);
  box-shadow: 2px 2px 0 #000, -1px -1px 0 rgba(255, 255, 255, 0.35);
  font-family: "Arial Black", Impact, sans-serif;
  animation: tiltJitter 0.85s infinite alternate;
}
@keyframes tiltJitter {
  0% {
    transform: rotate(-8deg) skewX(-6deg) skewY(2deg);
  }
  100% {
    transform: rotate(-11deg) skewX(-3deg) skewY(1deg);
  }
}

/* Tooltip */
.xp-tooltip-wrap {
  position: relative;
  display: inline-block;
}
.xp-tooltip {
  position: absolute;
  bottom: 100%;
  right: 0;
  transform: translateY(-8px);
  background: #ffffe1;
  border: 1px solid #7a7a7a;
  padding: 6px 8px;
  font-size: 12px;
  color: #111;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.25);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
}
.xp-tooltip-wrap:hover .xp-tooltip {
  opacity: 1;
}

/* Modal overlay */
.xp-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* Deleting UI */
.xp-status {
  font-size: 12px;
  color: #222;
  margin-bottom: 8px;
  line-height: 1.25;
}
.xp-status.small {
  margin-top: 6px;
  color: #333;
}

.xp-progress {
  height: 16px;
  border: 1px solid #6b6b6b;
  background: #fff;
  box-shadow: inset 1px 1px 0 #dcdcdc;
  overflow: hidden;
}
.xp-progress-bar {
  height: 100%;
  width: 10%;
  background: linear-gradient(#49b0ff, #1b77d1);
}

.xp-modal-content {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6px 0 2px;
}

.xp-gif {
  max-width: 90vw;
  max-height: 55vh;
  border: 1px solid rgba(0, 0, 0, 0.25);
  background: #fff;
}