/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body Styling */
body {
  font-family: "Arial", sans-serif;
  background-color: #1c1c1c; /* Dark background */
  color: #f1f1f1; /* Light text color */
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 1rem;
}

/* Main Container */
.container {
  background-color: #333333; /* Dark container background */
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.7); /* Darker shadow */
  padding: 20px;
  width: 100%;
  max-width: 400px;
  text-align: center;
}

h1 {
  font-size: 1.75rem; /* Large title */
  letter-spacing: 5px; /* Spaced out letters for an elegant touch */
  padding: 20px; /* Adds space around the title */
  margin: 0; /* Removes default margin */
  background: linear-gradient(
    45deg,
    #fafad2,
    #ffd700,
    #fafad2
  ); /* Gold gradient fading to a lighter gold */
  background-clip: text; /* Standard property for compatibility */
  -webkit-background-clip: text; /* Makes the gradient apply only to the text */
  color: transparent; /* Makes the text itself transparent to show the gradient */
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
}

label {
  display: block;
  text-align: center;
  margin-bottom: 5px;
  font-size: 16px;
  margin-top: 10px;
}

input {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #444444; /* Slightly lighter dark border */
  border-radius: 4px;
  font-size: 16px;
  background-color: #2b2b2b; /* Darker background for inputs */
  color: #e0e0e0; /* Light text color */
}

/* Text Areas */
textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #444444; /* Slightly lighter dark border */
  border-radius: 4px;
  font-size: 16px;
  resize: none;
  background-color: #2b2b2b; /* Darker background for text areas */
  color: #e0e0e0; /* Light text color */
}

/* Buttons */
button {
  background-color: #ffd966; /* Gold background */
  color: #1c1c1c;
  border: none;
  border-radius: 4px;
  padding: 10px 20px;
  font-size: 14px;
  cursor: pointer;
  margin: 10px 5px;
  transition: background-color 0.3s, transform 0.2s;
}

/* Button Hover Effect */
button:hover {
  background-color: #ffc93c; /* Darker gold on hover */
  transform: translateY(-2px);
}

/* Button Active Effect */
button:active {
  background-color: #e6ac00; /* Even darker gold on active */
  transform: translateY(0);
}

/* Success Styling for Copy/Paste */
#copy-button.success,
#paste-button.success {
  background-color: #7ed957; /* Green for success */
}

#copy-button.success:hover,
#paste-button.success:hover {
  background-color: #5aa240; /* Darker green  on hover */
}

/* Success Styling for Clear */
#clear-all-button.success {
  background-color: #f15b5b; /* Red for success */
}

#clear-all-button.success:hover {
  background-color: #c43c3c; /* Darker red */
}

/* Responsive Design */
@media (max-width: 768px) {
  body {
    padding: 10px;
  }

  .container {
    padding: 15px;
  }

  h1 {
    font-size: 1.5rem;
  }

  label {
    font-size: 16px;
  }
  input {
    font-size: 16px;
  }

  button {
    padding: 8px 16px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.2rem;
  }

  label {
    font-size: 14px;
  }

  input {
    font-size: 14px;
  }

  button {
    font-size: 12px;
  }
}
