/*
 * Styles for Projectile Range/Time Calculator (Lite)
 */

:root {
  --pl-bg: #f7fafc;
  --pl-primary: #006d5b;
  --pl-secondary: #eaf6f4;
  --pl-highlight: #008f7a;
  --pl-accent: #ffb703;
  --pl-text: #2d3748;
}

.pl-container {
  max-width: 520px;
  margin: 1rem auto;
  padding: 1rem;
  background-color: var(--pl-bg);
  border-radius: 0.75rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", sans-serif;
  color: var(--pl-text);
}

.pl-title {
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
  color: var(--pl-primary);
}

.pl-description {
  text-align: center;
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
  color: #555;
}

.pl-image-wrapper {
  text-align: center;
  margin-bottom: 1rem;
}

.pl-illustration {
  max-width: 100%;
  height: auto;
}

.pl-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.pl-row {
  display: flex;
  flex-direction: column;
}

.pl-row label {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.pl-row input {
  padding: 0.55rem;
  border: 1px solid #d6dae0;
  border-radius: 0.4rem;
  font-size: 0.9rem;
  background-color: #fff;
}

.pl-required {
  color: #c53030;
  margin-left: 0.2rem;
}

.pl-calc {
  margin-top: 0.5rem;
  padding: 0.6rem 1rem;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  background-color: var(--pl-primary);
  color: #fff;
  cursor: pointer;
}
.pl-calc:hover {
  background-color: var(--pl-highlight);
}

.pl-result {
  margin-top: 1rem;
  background-color: var(--pl-secondary);
  border-radius: 0.5rem;
  padding: 0.8rem;
  border: 1px solid #e2e8f0;
}

.pl-result h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  color: var(--pl-primary);
}

.pl-result div {
  margin: 0.3rem 0;
  font-size: 0.9rem;
  line-height: 1.4;
}

.pl-disclaimer {
  margin-top: 0.8rem;
  font-size: 0.75rem;
  color: #666;
}

/* Mobile adjustments */
@media (max-width: 400px) {
  .pl-calc {
    width: 100%;
  }
}