@charset "UTF-8";
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin: 0;
  background: #f1f5f9;
  color: #1e293b;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.logo {
  max-width: 150px;
  width: 100%;
}

header {
  background: #0f172a;
  color: #fff;
  padding: 28px 40px;
}
header h1 {
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
header p {
  margin: 0;
  opacity: 0.65;
  font-size: 13px;
}

main {
  flex: 1;
  display: flex;
  justify-content: center;
  padding: 40px 20px;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 560px) 360px;
  gap: 24px;
  width: 100%;
  max-width: 960px;
  align-items: start;
}

@media (max-width: 900px) {
  .layout {
    grid-template-columns: 1fr;
    max-width: 560px;
  }
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.07);
  padding: 32px;
  width: 100%;
}

.reports-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.07);
  padding: 24px;
  position: sticky;
  top: 20px;
}

.reports-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.reports-header h2 {
  margin: 0;
}

.reports-refresh {
  width: auto;
  background: transparent;
  color: #64748b;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  font-weight: 400;
}
.reports-refresh:hover:not(:disabled) {
  background: #f1f5f9;
  color: #1e293b;
}

.reports-list {
  max-height: 60vh;
  overflow-y: auto;
  margin: 0 -8px;
}

.reports-empty {
  color: #354863;
  font-size: 13px;
  padding: 12px 8px;
  margin: 0;
}

.report-row {
  padding: 10px 10px;
  border-radius: 8px;
  transition: background 0.15s;
}
.report-row:hover {
  background: #f8fafc;
}
.report-row + .report-row {
  border-top: 1px solid #f1f5f9;
}

.report-main {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.report-title {
  font-size: 14px;
  font-weight: 600;
  color: #2563eb;
  text-decoration: none;
  word-break: break-word;
  flex: 1;
  min-width: 0;
}
.report-title:hover {
  text-decoration: underline;
}

.report-title-inactive {
  color: #354863;
  font-weight: 500;
}

.report-status {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}
.report-status.running {
  background: #dbeafe;
  color: #1d4ed8;
}
.report-status.pending {
  background: #fef3c7;
  color: #92400e;
}
.report-status.failed {
  background: #fecaca;
  color: #991b1b;
}

.report-delete {
  background: transparent;
  border: none;
  color: #cbd5e1;
  font-size: 14px;
  width: 24px;
  height: 24px;
  line-height: 1;
  border-radius: 6px;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
  transition: background 0.15s, color 0.15s;
  margin-left: auto;
}
.report-delete:hover {
  background: #fecaca;
  color: #c0392b;
}
.report-delete:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 1px;
}

.report-meta {
  font-size: 11px;
  color: #354863;
  margin-top: 4px;
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.report-slug {
  font-family: ui-monospace, Menlo, monospace;
}

.report-url {
  font-size: 12px;
  color: #64748b;
  margin-top: 2px;
  word-break: break-all;
}

h2 {
  margin: 0 0 4px;
  font-size: 24px;
  font-weight: 600;
}

h3 {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.subtitle {
  margin: 0 0 24px;
  font-size: 13px;
  color: #64748b;
}

label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

input[type=text],
input[type=url],
input[type=number],
textarea {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-family: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}
input[type=text]:focus,
input[type=url]:focus,
input[type=number]:focus,
textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px #bfdbfe;
}

textarea {
  resize: vertical;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 13px;
}

.hint code {
  background: #f1f5f9;
  padding: 1px 5px;
  border-radius: 4px;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 11px;
  color: #475569;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field-row > div {
  margin-bottom: 0;
}

.crawl-options {
  margin-bottom: 18px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0 14px;
  background: #f8fafc;
}
.crawl-options > summary {
  padding: 12px 0;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
}
.crawl-options > summary::before {
  content: "▸";
  transition: transform 0.15s;
  display: inline-block;
  color: #354863;
}
.crawl-options > summary::-webkit-details-marker {
  display: none;
}
.crawl-options[open] > summary::before {
  transform: rotate(90deg);
}

.crawl-options-body {
  padding: 4px 0 14px;
  border-top: 1px solid #e2e8f0;
}
.crawl-options-body .field {
  margin-top: 14px;
  margin-bottom: 0;
}
.crawl-options-body .field:last-child {
  margin-bottom: 0;
}

.field {
  margin-bottom: 18px;
}

.hint {
  font-size: 12px;
  color: #354863;
  margin-top: 4px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #1e293b;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
  margin-bottom: 0;
}
.checkbox-label input[type=checkbox] {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: #2563eb;
}

.checkbox-field .hint {
  margin-left: 24px;
}

button {
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: background 0.15s;
}
button:hover:not(:disabled) {
  background: #1d4ed8;
}
button:disabled {
  background: #354863;
  cursor: not-allowed;
}

.status {
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 13px;
  display: none;
}
.status.show {
  display: block;
}
.status.success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}
.status.error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}
.status.info {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
}
.status a {
  color: inherit;
  font-weight: 600;
}
.status .slug {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 12px;
  background: rgba(0, 0, 0, 0.06);
  padding: 1px 6px;
  border-radius: 4px;
}

footer {
  text-align: center;
  font-size: 11px;
  color: #354863;
  padding: 16px 0 24px;
}/*# sourceMappingURL=styles.css.map */