@font-face {
  font-family: 'bitmap';
  src: url('./bitmap.otf');
}

body {
  font-family: 'bitmap';
  margin: 0;
  padding: 0;
  background-color: #ececec;
  height: 100vh;
  cursor: default;
  overflow: hidden;
}

.window {
  position: fixed;
  background: #ececec;
  border: 1.5px solid #000;
  min-width: 500px;
  transform-origin: center;
}

.window-header {
  border-bottom: 1.5px solid #000;
  background: #ececec;
  padding: 0;
  display: flex;
  position: relative;
  height: 32px;
}

.window-title-container {
  display: flex;
  align-items: center;
  flex-grow: 1;
  cursor: grab;
}

.window-title {
  min-width: 80px;
  padding: 0 8px;
  text-align: center;
  color: #000;
  font-size: 14px;
}

.window-close {
  width: 50px;
  height: 100%;
  border-left: 1.5px solid #000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 30px;
}

/* Add this new style for empty close buttons */
.window-close:empty {
  border-left: none;
  width: 0;
}

.window-close:hover {
  background-color: black;
  color: white;
}

.window-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.egg-container {
  position: relative;
  margin-bottom: 20px;
}

.foreground {
  position: absolute;
  width: 200px;
  height: auto;
  z-index: 10;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.background {
  top: 0;
  left: 0;
  width: 500px;
  z-index: 0;
}

#submit-btn:hover {
  background: black;
  color: white;
  border: 1.5px solid black;
  cursor: pointer;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.status-container {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Add these styles */
@keyframes expandWindow {
  0% {
    transform: translate(-50%, -50%) scaleY(0);
    opacity: 0;
  }
  70% {
    transform: translate(-50%, -50%) scaleY(1.02);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scaleY(1);
    opacity: 1;
  }
}

/* Add different delays for each window */
#main-window {
  animation-delay: 0.2s;
}

.window-content-container {
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.egg-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.radio-group {
  display: flex;
  gap: 12px;
}

.radio-group label {
  cursor: pointer;
  font-size: 15px;
  font-family: 'bitmap';
  display: flex;
  align-items: center;
  gap: 8px;
}

.radio-group input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border: 1.5px solid #000;
  border-radius: 50%;
  margin: 0;
  cursor: pointer;
  position: relative;
  background: #fff;
}

.radio-group input[type="radio"]:checked {
  background: #000;
  border: 1.5px solid #000;
}

.radio-group input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  width: 4px;
  height: 4px;
  background: #fff;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

button[type="submit"] {
  font-family: 'bitmap';
  background: #d9d9d9;
  color: #000;
  border: 1.5px solid #000;
  padding: 5px 10px;
  cursor: pointer;
  font-size: 14px;
  text-transform: lowercase;
  margin-top: 10px;
}

button[type="submit"]:disabled {
  color: #666;
  border-color: #666;
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.7;
}

button[type="submit"]:hover:not(:disabled) {
  background: #c3c3c3;
}

p {
  margin: 0;
  margin-bottom: 10px;
}