/* Screen Capture App Styles */
body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  background: #0f0f1a;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.app-container {
  text-align: center;
  background: #111827;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.3);
  width: 90%;
  max-width: 600px;
}

h1 {
  font-size: 1.8rem;
  background: linear-gradient(to right, #4f46e5, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.instructions {
  font-size: 1rem;
  color: #9ca3af;
  margin-bottom: 1.5rem;
}

.actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.btn {
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  background: linear-gradient(to right, #4f46e5, #3b82f6);
  border: none;
  border-radius: 12px;
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  background: linear-gradient(to right, #3b82f6, #22d3ee);
}

.btn:disabled,
.btn.disabled {
  background: #4b5563;
  cursor: not-allowed;
}

.output {
  margin-top: 1rem;
}

.output h2 {
  font-size: 1.3rem;
  color: #ffffff;
  margin-bottom: 1rem;
}

.screenshot-preview,
.video-preview {
  background: #1f2937;
  color: #9ca3af;
  font-size: 0.9rem;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: inset 0px 2px 5px rgba(0, 0, 0, 0.2);
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

video {
  width: 100%;
  height: auto;
}

img {
  max-height: 100%;
  max-width: 100%;
}

#btn9 {
  position: absolute;   /* Stays at the top of the page */
  top: 20px;            /* Distance from the top */
  left: 50%;            /* Moves the left edge to the middle */
  transform: translateX(-50%); /* Shifts it back to perfectly center it */
  
  /* Optional styling to make it look like a professional button */
  padding: 10px 25px;
  background-color: #29782d;
  color: #fff;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  font-family: sans-serif;
}

#btn9:hover {
  background-color: #29782d;
}
