/* Style scoped for the QR Code Generator with Text Below tool */
.qr-code-tool-container {
  background-color: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  font-family: Arial, sans-serif;
}

.qr-code-tool-title {
  font-size: 2em;
  color: #343541;
  text-align: center;
  margin-bottom: 20px;
}

.qr-code-tool-form {
  margin-bottom: 20px;
}

.qr-code-tool-form label {
  display: block;
  font-size: 1em;
  color: #555;
  margin-bottom: 10px;
}

textarea#qr-code-input {
  width: 100%;
  padding: 12px;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical;
}

button#qr-code-generate {
  background-color: #4CAF50;
  color: #fff;
  border: none;
  padding: 12px 20px;
  font-size: 1em;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
  font-weight: bold;
  margin-top: 10px;
}

button#qr-code-generate:hover {
  background-color: #45a049;
}

.qr-code-tool-output {
  font-size: 1.2em;
  margin-top: 20px;
  color: #343541;
  text-align: center;
}

.qr-code-tool-output p {
  font-weight: bold;
  margin-bottom: 20px; /* Add margin for spacing */
}

#qr-code-output {
  margin-bottom: 20px; /* Add margin for spacing */
}

#qr-code-text {
  margin-bottom: 20px; /* Add margin for spacing */
}

.download-buttons {
  display: flex;
  justify-content: center;
  gap: 20px; /* Add gap between buttons */
}

.download-button {
  background-color: #4CAF50;
  color: #fff;
  border: none;
  padding: 10px 15px;
  font-size: 1em;
  border-radius: 4px;
  cursor: pointer;
}

.download-button:hover {
  background-color: #45a049;
}

.qr-code-border {
  display: inline-block;
  padding: 10px;
  border: 2px solid #4CAF50; /* Border around the QR code */
  border-radius: 8px;
  background-color: #fff;
}

@media (max-width: 600px) {
  .qr-code-tool-container {
    padding: 15px;
  }

  .qr-code-tool-title {
    font-size: 1.5em;
  }

  textarea#qr-code-input {
    font-size: 0.9em;
  }

  button#qr-code-generate {
    padding: 10px;
    font-size: 0.9em;
  }

  .qr-code-tool-output {
    font-size: 1em;
  }
}

@media (max-width: 320px) {
  .qr-code-tool-title {
    font-size: 1.2em;
  }

  textarea#qr-code-input {
    font-size: 0.8em;
  }

  button#qr-code-generate {
    padding: 8px;
    font-size: 0.8em;
  }

  .qr-code-tool-output {
    font-size: 0.9em;
  }
}
