/* Main Wrapper */
.random-generator-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 1rem;
}

/* Left Column: Inputs */
.random-inputs {
  flex: 1;
  min-width: 300px;
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Right Column: Result */
.random-result {
  flex: 1;
  min-width: 300px;
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Result Box */
.random-result-box {
  font-family: monospace;
  font-size: 1.5rem;
  padding: 1rem;
  background: #e9ecef;
  border: 1px solid #ced4da;
  border-radius: 4px;
  word-break: break-all;
  margin-bottom: 1rem;
  width: 100%;
}

/* Placeholder */
.random-placeholder {
  color: #6c757d;
  font-style: italic;
}

/* Buttons */
/* Buttons */
.random-inputs input[type="submit"],
.random-copy-button {
  background-color: #0d6efd !important;
  color: #ffffff !important;
  border: none;
  border-radius: 4px;
  padding: 10px 20px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  vertical-align: middle !important;
  line-height: 1.2 !important;
  height: auto !important;
  box-sizing: border-box !important;
  margin-top: 0.5rem;
  font-size: 1rem;
}

.random-inputs input[type="submit"]:hover,
.random-inputs input[type="submit"]:focus,
.random-copy-button:hover,
.random-copy-button:focus {
  background-color: #0b5ed7 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  text-decoration: none;
}

.random-copy-button {
    font-family: inherit; /* Inherit theme font */
}


/* Layout fix for Copy button */
.random-copy-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.random-result-box {
  width: 100%;
  box-sizing: border-box; /* Ensure padding doesn't overflow width */
}

/* Textarea Refinements */
.random-result-box {
  width: 100%;
  box-sizing: border-box;
  resize: none; /* Disable manual resize if desired */
  font-family: monospace;
  font-size: 1.25rem; /* Slightly smaller than the div version for better fit */
  padding: 1rem;
  background: #e9ecef;
  border: 1px solid #ced4da;
  border-radius: 4px;
}
