/* Global Styles */
body {
  background: #1a202c;
  color: #e6fffa;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  padding: 20px;
  box-sizing: border-box;
}

/* Container */
.container {
  background-color: #2d3748;
  padding: 2.5rem 2rem;
  border-radius: 18px;
  box-shadow: 0 8px 30px rgba(79, 209, 197, 0.1);
  max-width: 480px;
  width: 100%;
  text-align: center;
  transition: box-shadow 0.3s ease;
}

.container:hover {
  box-shadow: 0 12px 32px rgba(129, 230, 217, 0.15);
}

/* Heading */
h1 {
  margin-bottom: 2rem;
  font-weight: 700;
  font-size: 1.7rem;
  color: #4fd1c5;
}

/* Labels */
.generator label {
  display: block;
  margin: 1.2rem 0 0.4rem;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: left;
  color: #b2f5ea;
}

/* Inputs & Select */
input[type="text"],
select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 2px solid #4fd1c5;
  background-color: #1a273b;
  color: #e6fffa;
  font-size: 1rem;
  box-sizing: border-box;
  transition: border 0.2s ease, background-color 0.2s ease;
}

input:focus,
select:focus {
  outline: none;
  border-color: #81e6d9;
  background-color: #233049;
}

/* Select Dropdown */
select {
  cursor: pointer;
}

/* Buttons */
button {
  background-color: #4fd1c5;
  border: none;
  color: #1a202c;
  padding: 14px 20px;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.2s ease;
  margin-top: 1.4rem;
  width: 100%;
}

button:hover {
  background-color: #81e6d9;
  transform: scale(1.02);
}

button:active {
  transform: scale(0.98);
}

/* Output Area */
.output {
  margin-top: 1.5rem;
  text-align: left;
}

.output label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: #b2f5ea;
}

.output textarea {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: 2px solid #4fd1c5;
  background-color: #1a273b;
  color: #e6fffa;
  font-size: 1.05rem;
  resize: none;
  font-family: 'Courier New', monospace;
}

/* Copy Button */
#copyBtn {
  margin-top: 0.8rem;
  width: 100%;
  padding: 12px;
  font-size: 1rem;
  font-weight: bold;
  background-color: transparent;
  color: #4fd1c5;
  border: 2px solid #4fd1c5;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s ease;
}

#copyBtn:hover {
  background-color: #4fd1c5;
  color: #1a202c;
}

/* ---------- Responsive: Mobile Screens ---------- */
@media (max-width: 480px) {
  .container {
    padding: 1.5rem 1rem;
    border-radius: 12px;
  }

  h1 {
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
  }

  .generator label {
    font-size: 0.85rem;
  }

  input[type="text"],
  select,
  textarea {
    font-size: 0.95rem;
    padding: 10px 12px;
  }

  button,
  #copyBtn {
    font-size: 1rem;
    padding: 12px;
  }

  .output textarea {
    font-size: 0.95rem;
  }
}
