/* Meta Description Generator Tool Styles */
.sth-meta-description-generator-container {
  background: #f8fafc;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  padding: 2rem 1rem;
  max-width: 600px;
  margin: 2rem auto;
  font-family: 'Segoe UI', Arial, sans-serif;
}

.sth-meta-options {
  margin-bottom: 1.5rem;
}

.sth-meta-section {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.sth-meta-section h4 {
  margin: 0 0 1rem 0;
  color: #1e293b;
  font-size: 1.1em;
  font-weight: 600;
  border-bottom: 2px solid #06b6d4;
  padding-bottom: 0.5rem;
}

.sth-meta-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sth-meta-content label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.95rem;
  color: #374151;
}

.sth-meta-content input[type="text"],
.sth-meta-content textarea {
  padding: 0.5rem;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-size: 0.9rem;
  font-family: inherit;
}

.sth-meta-content textarea {
  min-height: 80px;
  resize: vertical;
}

.sth-meta-content input[type="text"]:focus,
.sth-meta-content textarea:focus {
  outline: none;
  border-color: #06b6d4;
  box-shadow: 0 0 0 2px rgba(6,182,212,0.1);
}

.sth-meta-options-settings {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sth-meta-options-settings label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.95rem;
  color: #374151;
}

.sth-meta-options-settings select {
  width: 100%;
  min-width: 250px;
  overflow: visible;
  text-overflow: ellipsis;
  padding: 0.5rem;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-size: 0.9rem;
  background: white;
}

.sth-meta-options-settings select option {
  white-space: nowrap;
  min-width: 250px;
  padding: 8px 12px;
}

.sth-meta-options-settings select:focus {
  outline: none;
  border-color: #06b6d4;
  box-shadow: 0 0 0 2px rgba(6,182,212,0.1);
}

.sth-meta-type {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sth-meta-type label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: #374151;
  cursor: pointer;
  padding: 0.3rem;
  border-radius: 4px;
  transition: background 0.2s;
}

.sth-meta-type label:hover {
  background: #f3f4f6;
}

.sth-meta-type input[type="radio"] {
  accent-color: #06b6d4;
}

.sth-meta-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sth-meta-features label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: #374151;
  cursor: pointer;
  padding: 0.3rem;
  border-radius: 4px;
  transition: background 0.2s;
}

.sth-meta-features label:hover {
  background: #f3f4f6;
}

.sth-meta-features input[type="checkbox"] {
  accent-color: #06b6d4;
}

.sth-btn.sth-meta-generate-btn {
  background: linear-gradient(90deg, #06b6d4 60%, #0891b2 100%);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.7em 1.5em;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 1.2rem;
  box-shadow: 0 2px 8px rgba(6,182,212,0.08);
  transition: background 0.2s, transform 0.1s;
  animation: sth-bouncein 0.6s;
}

.sth-btn.sth-meta-generate-btn:hover {
  background: linear-gradient(90deg, #0891b2 60%, #0e7490 100%);
  transform: translateY(-2px) scale(1.03);
}

.sth-meta-result {
  background: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  animation: sth-fadein 0.7s;
}

.sth-meta-result h4 {
  margin: 0 0 1rem 0;
  color: #1e293b;
  font-size: 1.1em;
  font-weight: 600;
}

.sth-meta-preview {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 6px;
  padding: 1rem;
  margin-bottom: 1rem;
  font-family: Arial, sans-serif;
}

.sth-meta-preview-title {
  color: #1a0dab;
  font-size: 1.1em;
  font-weight: 500;
  margin-bottom: 0.3rem;
  cursor: pointer;
}

.sth-meta-preview-title:hover {
  text-decoration: underline;
}

.sth-meta-preview-url {
  color: #006621;
  font-size: 0.9em;
  margin-bottom: 0.3rem;
}

.sth-meta-preview-desc {
  color: #545454;
  font-size: 0.9em;
  line-height: 1.4;
}

#sth-meta-output {
  width: 100%;
  min-height: 100px;
  padding: 1rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  line-height: 1.4;
  background: #f9fafb;
  color: #374151;
  resize: vertical;
}

.sth-meta-stats {
  display: flex;
  justify-content: space-between;
  margin: 0.5rem 0;
  font-size: 0.85rem;
  color: #6b7280;
}

.sth-meta-actions {
  display: flex;
  gap: 0.7rem;
  margin-top: 1rem;
  justify-content: center;
}

.sth-meta-copy-btn,
.sth-meta-regenerate-btn {
  background: #6b7280;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 0.5em 1em;
  font-size: 0.9em;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}

.sth-meta-copy-btn:hover {
  background: #4b5563;
}

.sth-meta-regenerate-btn {
  background: #10b981;
}

.sth-meta-regenerate-btn:hover {
  background: #059669;
}

@keyframes sth-fadein {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

@keyframes sth-bouncein {
  0% { transform: scale(0.7); }
  60% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

@media (max-width: 600px) {
  .sth-meta-description-generator-container {
    padding: 1rem 0.3rem;
  }
  
  .sth-meta-actions {
    flex-direction: column;
  }
} 
