/* Shared Floating Window Base Styles */

.floating-window {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 8px;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  opacity: 0;
  transform: translate(50vw, 50vh) scale(0.8);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.floating-window.visible {
  opacity: 1;
  pointer-events: auto;
}

.floating-window.dragging {
  transition: none;
  cursor: move;
}

/* Window Header */
.floating-window-header {
  padding: 12px 20px;
  border-radius: 8px 8px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: move;
  user-select: none;
}

.floating-window-title {
  font-weight: bold;
  font-size: 16px;
}

.floating-window-close {
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: background 0.2s;
}

.floating-window-close:hover {
  background: rgba(0, 0, 0, 0.2);
}

/* Mobile Responsive */
@media screen and (max-width: 600px) {
  .floating-window-header {
    padding: 10px 15px;
  }

  .floating-window-title {
    font-size: 14px;
  }

  .floating-window-close {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }
}
