:root {
  color-scheme: light;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #172033;
  background: #f4f7fb;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top right, #dbeafe 0, transparent 32rem),
    #f4f7fb;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0 60px;
}

header,
.toolbar,
.actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

header,
.toolbar {
  justify-content: space-between;
}

header {
  margin-bottom: 24px;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 5px;
  font-size: 30px;
}

h2 {
  margin-bottom: 12px;
  font-size: 19px;
}

header p,
.hint {
  color: #697386;
}

.card {
  margin-bottom: 20px;
  padding: 22px;
  border: 1px solid #e1e7ef;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 35px rgba(30, 51, 84, 0.07);
}

.center {
  max-width: 560px;
  margin: 80px auto;
  text-align: center;
}

textarea {
  width: 100%;
  min-height: 150px;
  resize: vertical;
  padding: 14px;
  border: 1px solid #cfd8e5;
  border-radius: 10px;
  outline: none;
}

input[type="search"] {
  width: min(330px, 100%);
  padding: 10px 12px;
  border: 1px solid #cfd8e5;
  border-radius: 10px;
  outline: none;
}

textarea:focus,
input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px #dbeafe;
}

.actions {
  flex-wrap: wrap;
  margin-top: 14px;
}

button,
.button {
  display: inline-block;
  padding: 10px 15px;
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  background: #fff;
  color: #172033;
  cursor: pointer;
  text-decoration: none;
}

button:hover,
.button:hover {
  filter: brightness(0.97);
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.primary {
  border-color: #2563eb;
  background: #2563eb;
  color: #fff;
}

.danger {
  border-color: #dc2626;
  background: #dc2626;
  color: #fff;
}

.accountBox {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tableWrap {
  margin-top: 16px;
  overflow-x: auto;
  border: 1px solid #e5eaf1;
  border-radius: 11px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

th,
td {
  padding: 12px 14px;
  border-bottom: 1px solid #edf0f5;
  text-align: left;
}

th {
  background: #f8fafc;
  font-size: 13px;
  color: #536075;
}

tr:last-child td {
  border-bottom: 0;
}

.check {
  width: 46px;
  text-align: center;
}

.property {
  word-break: break-all;
}

.badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  background: #e8f0fe;
  color: #174ea6;
  font-size: 12px;
}

.resultItem {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid #edf0f5;
}

.success {
  color: #15803d;
}

.failed {
  color: #b91c1c;
}

.pending {
  color: #b45309;
}

.loading {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  background: rgba(15, 23, 42, 0.35);
  color: #fff;
  font-size: 19px;
  font-weight: 600;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 30;
  max-width: 420px;
  padding: 13px 17px;
  border-radius: 10px;
  background: #172033;
  color: #fff;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.hidden {
  display: none !important;
}

@media (max-width: 700px) {
  header,
  .toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .container {
    width: min(100% - 20px, 1180px);
    padding-top: 20px;
  }

  .card {
    padding: 16px;
  }
}
