.counter-controls {
  margin: 12px 0;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.seo-details {
  max-width: 900px;
  margin: 0 auto 16px auto;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  background: #fafafa;
  padding: 8px 12px;
}

.seo-details > summary {
  cursor: pointer;
  font-weight: 600;
  color: #333;
  outline: none;
}

.seo-details > summary:hover {
  color: #111;
}

.pre-footer-wrapper {
  max-width: 900px;
  margin: 18px auto 10px auto;
}

.file-info {
  font-size: 0.95rem;
  color: #666;
}

.upload-button {
  display: inline-block;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #f7f7f7;
  cursor: pointer;
}

.hidden-file-input {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.counter-warning {
  color: #e74c3c;
  margin-top: 8px;
  display: none;
}

.token-error-hidden {
  display: none;
}

#counterTextarea {
  width: 100%;
  font-size: 1rem;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

.drop-active {
  border-color: #2c7be5 !important;
  background-color: #f4f8ff;
}

.counter-line {
  margin-top: 16px;
  font-size: 1.05em;
}

.counter-help {
  margin-top: 10px;
  color: #555;
  font-size: 0.95rem;
}
