/* 🌐 OG Tags Generator — Professional & Theme Adaptive */
.wrap {
  max-width: 700px;
  margin: 0 auto;
  padding: 20px;
  background: transparent; /* Theme adaptive */
  font-family: 'Segoe UI', Tahoma, sans-serif;
  color: inherit;
}

.wrap h1 {
  text-align: center;
  color: #a855f7; /* Accent purple */
  margin-bottom: 6px;
  font-size: 26px;
}

.wrap p {
  text-align: center;
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 20px;
}

/* ✅ Input & Textarea Fields */
.wrap label {
  display: block;
  margin-top: 12px;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 14px;
}

.wrap input,
.wrap textarea {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(170, 170, 170, 0.4);
  background: transparent;
  color: inherit;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.wrap input::placeholder,
.wrap textarea::placeholder {
  color: rgba(120, 120, 120, 0.7);
}

.wrap input:focus,
.wrap textarea:focus {
  outline: none;
  border-color: #a855f7;
  box-shadow: 0 0 4px rgba(168, 85, 247, 0.4);
}

/* ✅ Flex row for Locale & Site */
.flex {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.flex .col {
  flex: 1;
}

/* ✅ Buttons */
.btn {
  background: #a855f7;
  color: #fff;
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease;
  flex: 1;
  min-width: 120px;
}

.btn:hover {
  background: #9333ea;
}

.btn:active {
  transform: scale(0.97);
}

/* ✅ Button container */
.wrap > div[style*="display:flex"] {
  margin-top: 15px;
  flex-wrap: wrap;
}

/* ✅ Output Box */
.output {
  margin-top: 20px;
  border: 1px solid rgba(170, 170, 170, 0.4);
  border-radius: 8px;
  padding: 10px;
  background: transparent;
}

.output label {
  margin-bottom: 8px;
  display: block;
}

.output pre {
  background: transparent;
  color: inherit;
  font-family: monospace;
  font-size: 14px;
  white-space: pre-wrap;
  margin: 0;
  padding: 8px;
  border-radius: 6px;
  border: 1px dashed rgba(170, 170, 170, 0.4);
}

/* ✅ Responsive Design */
@media (max-width: 600px) {
  .wrap h1 {
    font-size: 22px;
  }

  .flex {
    flex-direction: column;
  }

  .wrap > div[style*="display:flex"] {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}
