.password-display {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.password-display input {
  flex: 1;
  font-size: 18px;
  font-family: var(--font-mono);
  text-align: center;
  padding: 14px;
  background-color: var(--bg-surface);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  color: var(--accent);
  font-weight: 600;
}

.options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}

.option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 14px;
  color: var(--text-primary);
  transition: border-color var(--transition);
}

.option:hover {
  border-color: var(--accent);
}

.option input[type="checkbox"] {
  width: 16px;
  height: 16px;
}

.length-control {
  margin-bottom: 16px;
}

.length-control label {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#lengthValue {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
}

@media (max-width: 600px) {
  .options {
    grid-template-columns: 1fr;
  }
}

/* ================================
   MOBILE RESPONSIVE â€” Tool Page Fix
   ================================ */

/* Inherit from global */
input, textarea, select {
  font-size: 16px; /* prevents iOS auto-zoom */
  width: 100%;
  max-width: 100%;
}

/* Responsive tool UI */
@media (max-width: 540px) {
  .tool-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}
