.window {
  position: absolute;
  background: rgba(10, 14, 39, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 212, 255, 0.2), 0 0 20px rgba(0, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 100;
  outline: none;
  user-select: none;
  transition: all 0.2s ease;
  border: 1px solid rgba(0, 212, 255, 0.3);
  color: #00d4ff;
}

.browserWindow {
  z-index: 101;
}

.maximized {
  top: 32px !important;
  left: 0 !important;
  width: 100% !important;
  height: calc(100% - 112px) !important;
  border-radius: 0;
}

.active {
  box-shadow: 0 12px 48px rgba(0, 212, 255, 0.3), 0 0 30px rgba(0, 255, 255, 0.2), 0 0 60px rgba(0, 212, 255, 0.1);
  border-color: rgba(0, 212, 255, 0.6);
  animation: neonWindowGlow 3s ease-in-out infinite;
}

@keyframes neonWindowGlow {
  0%,
  100% {
    box-shadow: 0 12px 48px rgba(0, 212, 255, 0.3), 0 0 30px rgba(0, 255, 255, 0.2), 0 0 60px rgba(0, 212, 255, 0.1);
  }
  50% {
    box-shadow: 0 12px 48px rgba(0, 255, 255, 0.4), 0 0 40px rgba(0, 255, 255, 0.3), 0 0 80px rgba(0, 212, 255, 0.2);
  }
}

.titleBar {
  height: 40px;
  background: rgba(10, 14, 39, 0.95);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  cursor: move;
  user-select: none;
  position: relative;
  z-index: 10;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(0, 212, 255, 0.3);
  backdrop-filter: blur(20px);
}

.active .titleBar {
  background: rgba(15, 20, 45, 0.95);
  border-bottom-color: rgba(0, 212, 255, 0.5);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.1);
}

.titleBarLeft {
  display: flex;
  align-items: center;
}

.appIcon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  transform: scale(0.6);
  filter: drop-shadow(0 0 5px rgba(0, 212, 255, 0.3));
}

.title {
  font-size: 14px;
  font-weight: 500;
  color: #00d4ff;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.titleBarControls {
  display: flex;
  gap: 8px;
}

.control {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Minimize button (first - yellow) */
.minimize {
  background: linear-gradient(135deg, #ffbd2e, #ff9500);
  border-color: #dea123;
  box-shadow: 0 0 10px rgba(255, 189, 46, 0.3);
}

.minimize:hover {
  background: linear-gradient(135deg, #ffc73a, #ffa500);
  box-shadow: 0 0 15px rgba(255, 189, 46, 0.5);
  transform: scale(1.1);
}

/* Maximize button (second - green/blue) */
.maximize {
  background: linear-gradient(135deg, #28ca42, #00d4ff);
  border-color: #1aad34;
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.maximize:hover {
  background: linear-gradient(135deg, #34d058, #00ffff);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
  transform: scale(1.1);
}

/* Close button (last - red) */
.close {
  background: linear-gradient(135deg, #ff5f57, #ff3b30);
  border-color: #e0443e;
  box-shadow: 0 0 10px rgba(255, 95, 87, 0.3);
}

.close:hover {
  background: linear-gradient(135deg, #ff6b63, #ff4d42);
  box-shadow: 0 0 15px rgba(255, 95, 87, 0.5);
  transform: scale(1.1);
}

.windowContent {
  flex: 1;
  position: relative;
  z-index: 5;
  height: calc(100% - 40px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: rgba(15, 20, 35, 0.95);
  backdrop-filter: blur(10px);
}

.emptyContent {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #00d4ff;
  padding: 20px;
  text-align: center;
}

.emptyContent h2 {
  color: #00ffff;
  margin-bottom: 12px;
  text-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

.emptyContent p {
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}
