:root {
  --primary: #5ad0d0;
  --bg: #121212;
  --card: #1e1e1e;
  --text: #e0e0e0;
  --input-bg: #2a2a2a;
}

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
}

.container {
  width: 100%;
  max-width: 450px;
  max-height: 90vh; /* Prevent container from exceeding viewport */
  background: var(--card);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  border: 1px solid #333;
  display: flex;
  flex-direction: column;
  overflow: auto; /* Scroll if content is too tall */
}

.container img {
  align-self: center;
}

h1 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

input, textarea {
  background: var(--input-bg);
  border: 1px solid #444;
  border-radius: 8px;
  padding: 12px;
  color: white;
  font-size: 1rem;
  transition: border 0.3s;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

button {
  background: var(--primary);
  color: #000;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.1s, opacity 0.2s;
}

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

.result-box {
  padding-top: 1.5rem;
  word-break: break-word;
  display: flex;
  flex-direction: column;
}

.label {
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 5px;
}

.value {
  overflow-y: auto; /* Scroll if content is long */
  max-height: 40vh; /* Limit to 40% of viewport */
  font-family: monospace;
  background: #000;
  padding: 10px;
  border-radius: 4px;
  display: block;
  margin-bottom: 10px;
  color: var(--primary);
  white-space: pre-wrap; /* Preserve line breaks */
  word-wrap: break-word;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Container for the whole section */
  .destroy-container {
    margin: 20px 0;
    text-align: left; /* Aligns label to the left like typical forms */
  }

  .destroy-container label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #888; /* Dimmer label for better hierarchy */
    font-weight: bold;
  }

  /* Flex wrapper to keep input and select on the same line */
  .input-group {
    display: flex;
    gap: 10px;
  }

  /* Shared styling for both input and select */
  .input-group input, 
  .input-group select {
    padding: 12px;
    border: 1px solid #333; /* Match your app's border color */
    border-radius: 8px;
    background-color: #1a1a1a; /* Match textarea background */
    color: white;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
  }

  .input-group input {
    flex: 2; /* Number box gets more space */
  }

  .input-group select {
    flex: 1; /* Dropdown is slightly smaller */
    cursor: pointer;
  }

  /* Focus state to match the button or textarea glow */
  .input-group input:focus, 
  .input-group select:focus {
    border-color: #007bff; 
  }