/* Duck SEO Tools — WordPress plugin CSS */

.duck-tool {
  margin: 1.5rem 0;
  font-family: sans-serif;
}

/* Form */
.duck-form {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-items: center;
  margin-bottom: .75rem;
}

.duck-form input[type="url"],
.duck-form input[type="text"] {
  flex: 1;
  min-width: 200px;
  padding: .375rem .75rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: .25rem;
  color: #333;
}

.duck-form select {
  padding: .375rem .75rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: .25rem;
}

.duck-form button[type="submit"] {
  padding: .375rem 1.25rem;
  font-size: 1rem;
  color: #fff;
  background: #333;
  border: 1px solid #333;
  border-radius: .25rem;
  cursor: pointer;
  transition: background .15s;
}

.duck-form button[type="submit"]:hover {
  background: #000;
}

.duck-cb {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .9rem;
  cursor: pointer;
}

/* Output */
.duck-out {
  background: #f9f9f9;
  color: #333333;
  border: 1px solid #e0e0e0;
  border-radius: .25rem;
  padding: 1rem;
  font-family: "Courier New", Courier, monospace;
  font-size: .85rem;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-all;
  max-height: 500px;
  overflow-y: auto;
  transition: opacity .2s;
}

.duck-out.muted {
  opacity: .4;
}

/* Grade colors */
.duck-out .grade-perfect { color: #1a7a1a; font-weight: bold; }
.duck-out .grade-good    { color: #2e8b2e; font-weight: bold; }
.duck-out .grade-average { color: #cc7700; font-weight: bold; }
.duck-out .grade-bad     { color: #cc2200; font-weight: bold; }
.duck-out .grade-severe  { color: #000;    font-weight: bold; }

/* Status colors */
.duck-out .success { color: #1a7a1a; }
.duck-out .error   { color: #cc2200; }

/* Error message */
.duck-error {
  color: #cc2200;
  font-style: italic;
}
