* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #0f1117;
  color: #e6e8ec;
  min-height: 100vh;
}
.container { max-width: 480px; margin: 80px auto; padding: 32px; }
.card {
  background: #171a23;
  border: 1px solid #262b38;
  border-radius: 12px;
  padding: 32px;
}
h1 { font-size: 22px; margin-bottom: 4px; }
p.sub { color: #8b93a7; font-size: 14px; margin-bottom: 24px; }
input {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 12px;
  background: #0f1117;
  border: 1px solid #2c3140;
  border-radius: 8px;
  color: #e6e8ec;
  font-size: 14px;
}
input:focus { outline: none; border-color: #5b7cff; }
button {
  width: 100%;
  padding: 12px;
  background: #5b7cff;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 4px;
}
button:hover { background: #4a68e0; }
button.secondary { background: transparent; border: 1px solid #2c3140; color: #e6e8ec; }
button.danger { background: #e5484d; }
.error { color: #e5484d; font-size: 13px; margin-bottom: 12px; min-height: 16px; }
.link-btn { background: none; border: none; color: #5b7cff; cursor: pointer; font-size: 13px; padding: 0; width: auto; margin-top: 16px; }

.topbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 32px; border-bottom: 1px solid #262b38;
}
.topbar h2 { font-size: 18px; }
.dash { max-width: 900px; margin: 0 auto; padding: 32px; }

.dropzone {
  border: 2px dashed #2c3140;
  border-radius: 12px;
  padding: 48px;
  text-align: center;
  cursor: pointer;
  margin-bottom: 24px;
  transition: border-color 0.15s, background 0.15s;
}
.dropzone.dragover { border-color: #5b7cff; background: #171a2380; }
.dropzone p { color: #8b93a7; margin-top: 8px; font-size: 14px; }
.dropzone .icon { font-size: 32px; }

.site-card {
  background: #171a23;
  border: 1px solid #262b38;
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.site-info h3 { font-size: 15px; margin-bottom: 4px; }
.site-info a { color: #5b7cff; font-size: 13px; text-decoration: none; word-break: break-all; }
.site-info a:hover { text-decoration: underline; }
.site-meta { color: #8b93a7; font-size: 12px; margin-top: 4px; }
.site-actions { display: flex; gap: 8px; }
.site-actions button { width: auto; padding: 8px 14px; font-size: 13px; }

.modal-overlay {
  position: fixed; inset: 0; background: #00000099;
  display: flex; align-items: center; justify-content: center; z-index: 10;
}
.modal { background: #171a23; border: 1px solid #262b38; border-radius: 12px; padding: 24px; width: 400px; }
.modal h3 { margin-bottom: 16px; }
.domain-list { margin-top: 12px; }
.domain-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; border-bottom: 1px solid #262b38; font-size: 13px;
}
.badge { font-size: 11px; padding: 2px 8px; border-radius: 20px; }
.badge.verified { background: #1b3b2b; color: #4ade80; }
.badge.pending { background: #3b301b; color: #facc15; }
.hint { font-size: 12px; color: #8b93a7; margin-top: 8px; line-height: 1.5; word-break: break-all; }
.empty { text-align: center; color: #8b93a7; padding: 48px 0; }
