.window {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  min-width: 600px;
  min-height: 400px;
  background: rgb(255, 255, 255);
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: fadeIn 0.2s ease;
  z-index: 100;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

.window-header {
  /* background: #1a0000; */
  background:#e0cce0;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ddd;
  cursor: move;
}

.window-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  color: #333;
}

.window-icon {
  font-size: 18px;
}

.window-controls {
  display: flex;
  gap: 8px;
}

.window-btn {
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 4px;
  font-size: 14px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.window-btn.minimize:hover {
  background: #e0e0e0;
}

.window-btn.close:hover {
  background: #e81123;
  color: white;
}

.window-content {
  flex: 1;
  overflow: hidden;
}

.window-iframe {
  width: 100%;
  height: 100%;
  border: none;
}