* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top, rgba(255,255,255,0.04), transparent 60%),
    #111827;
  color: #e5e7eb;
  line-height: 1.7;
}

/* HEADER */
.site-header {
  background: #0b1220;
  border-bottom: 1px solid #1f2937;
  padding: 64px 20px;
  text-align: center;
}

.site-title {
  font-size: 36px;
  color: #f9fafb;
}

.site-subtitle {
  margin-top: 16px;
  color: #9ca3af;
}

.trust {
  margin-top: 26px;
  font-size: 14px;
  color: #a7f3d0;
  background: rgba(16,185,129,0.12);
  padding: 8px 16px;
  border-radius: 999px;
  display: inline-block;
}

/* MAIN */
.main {
  max-width: 900px;
  margin: 64px auto;
  padding: 0 20px;
}

/* CARD */
.card {
  background: #0b1220;
  border: 1px solid #1f2937;
  border-radius: 18px;
  padding: 36px;
  margin-bottom: 48px;
}

.card-tool {
  text-align: center;
}

/* FIELD */
.field label {
  display: block;
  margin-bottom: 6px;
  color: #9ca3af;
}

.field input {
  width: 100%;
  padding: 14px;
  background: #0f172a;
  border: 1px solid #1f2937;
  border-radius: 14px;
  color: #e5e7eb;
  font-size: 16px;
}

/* BUTTON */
.primary-btn {
  width: 100%;
  margin-top: 22px;
  padding: 14px;
  border-radius: 14px;
  background: #2e374b;
  border: none;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}

#loader {
  display: none;
  margin-left: 8px;
}

/* ERROR */
.input-error {
  display: none;
  margin-top: 12px;
  color: #fca5a5;
  font-size: 14px;
}

/* RESULT */
.result-card {
  display: none;
  margin-top: 28px;
  padding: 24px;
  border-radius: 16px;
  background: #0f172a;
  border: 1px solid #1f2937;
}

.result-card strong {
  font-size: 42px;
  display: block;
}

/* FORECAST */
.forecast {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
}

.forecast div {
  background: #0f172a;
  border: 1px solid #1f2937;
  border-radius: 14px;
  padding: 14px;
  font-size: 14px;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  background: rgba(15,23,42,0.65) !important;
  border-color: rgba(255,255,255,0.12);
  box-shadow: none;
}

/* ❌ AUTOFILL OQ BO‘LIB KETMASIN */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill {
  -webkit-text-fill-color: #e5e7eb;
  -webkit-box-shadow: 0 0 0px 1000px rgba(15,23,42,0.65) inset !important;
  transition: background-color 9999s ease-in-out 0s;
}

/* FOOTER */
.site-footer {
  background: #0b1220;
  border-top: 1px solid #1f2937;
  padding: 52px 20px;
  text-align: center;
  font-size: 14px;
  color: #9ca3af;
}

.site-footer a {
  margin: 0 12px;
  color: #9ca3af;
  text-decoration: none;
}

.site-footer a:hover {
  color: #e5e7eb;
}

.site-footer hr {
  border: none;
  border-top: 1px solid #1f2937;
  margin-bottom: 22px;
}

.site-footer p {
  margin-top: 18px;
}
