:root {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #14213d;
  background: #f4f7fb;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0 !important;
  /* min-height: 100vh; */
}
button,
input {
  font: inherit;
}
.shell {
  width: 100%;
  min-height: 100vh;

  display: flex;
  align-items: center;      /* Top aur bottom se center */
  justify-content: center;  /* Left aur right se center */

  padding: 24px;
  box-sizing: border-box;
}
.card {
  background: white;
  border: 1px solid #e4eaf2;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 18px 50px rgba(20, 33, 61, 0.08);
}
.eyebrow {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: #e8f0ff;
  color: #2457c5;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
}
h1 {
  margin: 14px 0 8px;
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.08;
}
.subtitle {
  margin: 0;
  color: #60708b;
}
.form {
  margin-top: 28px;
}
label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
}
.input-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}
input {
  width: 100%;
  border: 1px solid #cad4e3;
  border-radius: 12px;
  padding: 13px 14px;
  outline: none;
}
input:focus {
  border-color: #2457c5;
  box-shadow: 0 0 0 3px rgba(36, 87, 197, 0.13);
}
button {
  border: 0;
  border-radius: 12px;
  padding: 12px 18px;
  background: #2457c5;
  color: white;
  font-weight: 750;
  cursor: pointer;
}
button:disabled {
  opacity: 0.65;
  cursor: wait;
}
.message {
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff1f0;
  color: #a33a32;
}
.summary {
  margin-top: 18px;
  color: #52627d;
  font-size: 14px;
}
.results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}
.result-column {
  min-width: 0;
  border: 1px solid #e4eaf2;
  border-radius: 18px;
  padding: 18px;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
h2 {
  margin: 0;
  font-size: 18px;
}
.ghost {
  padding: 8px 10px;
  background: #edf2fb;
  color: #2457c5;
  font-size: 12px;
}
.list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}
.item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: start;
  padding: 12px;
  border-radius: 12px;
  background: #f7f9fc;
}
.value {
  overflow-wrap: anywhere;
  font-weight: 750;
}
.meta {
  margin-top: 4px;
  color: #6c7890;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.copy {
  padding: 7px 9px;
  font-size: 12px;
}
.empty {
  padding: 16px;
  border-radius: 12px;
  text-align: center;
  background: #f7f9fc;
  color: #7b879b;
}
@media (max-width: 720px) {
  .shell {
    margin: 20px auto;
  }
  .card {
    padding: 20px;
    border-radius: 18px;
  }
  .input-row,
  .results {
    grid-template-columns: 1fr;
  }
}

.card {
  width: min(1100px, 100%);
}

.options-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 12px;
  margin-top: 14px;
}

.options-row label {
  margin-bottom: 6px;
}

.optional {
  color: #8792a6;
  font-weight: 500;
}

.source-link {
  display: block;
  margin-top: 5px;
  color: #2457c5;
  font-size: 12px;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.source-link:hover {
  text-decoration: underline;
}

@media (max-width: 720px) {
  .options-row {
    grid-template-columns: 1fr;
  }
}

.tool-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e4eaf2;
}

.tool-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 10px;
  color: #52627d;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.tool-nav a:hover {
  background: #f1f5fb;
  color: #2457c5;
}

.tool-nav a.active {
  background: #2457c5;
  color: #fff;
}

.results-single {
  grid-template-columns: minmax(0, 1fr);
}

@media (max-width: 720px) {
  .tool-nav {
    display: grid;
    grid-template-columns: 1fr;
  }

  .tool-nav a {
    justify-content: center;
  }
}
