:root {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --light-blue: #eff6ff;
  --light-cyan: #ecfeff;
  --gray: #4b5563;
}

html, body {
  height: 100%;
  margin: 0;
  font-family: system-ui, sans-serif;
  background: linear-gradient(135deg, var(--light-blue), var(--light-cyan));
  color: #1f2937;
}

.container {
    padding: 0 8px;
}

.app-container {
  max-width: 700px;
  margin: auto;
  background: white;
  border-radius: 1.5rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  padding: 2rem;
  margin-top: 2rem;
}

h1 {
  font-size: 1.75rem;
  text-align: center;
  color: var(--blue-dark);
  margin-bottom: 2rem;
}

label {
  display: block;
  margin-top: 1rem;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

input {
  width: 100%;
  padding: 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid #d1d5db;
  font-size: 1rem;
}

input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 2px #bfdbfe;
}

.btn-row {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.btn {
  flex: 1;
  padding: 0.9rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-primary {
  background: var(--blue);
  color: white;
}

.btn-primary:hover {
  background: var(--blue-dark);
}

.btn-secondary {
  background: #f3f4f6;
  color: var(--gray);
  border: 1px solid #d1d5db;
}

.btn-secondary:hover {
  background: #e5e7eb;
}

.install-btn {
  width: 100%;
  background-color: #10b981;
  color: white;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 0.5rem;
  padding: 0.9rem 1.2rem;
  margin-top: 1rem;
  cursor: pointer;
  transition: background-color 0.3s;
  display: none; /* hidden by default */
}

.install-btn:hover {
  background-color: #059669;
}

.results {
  margin-top: 1.5rem;
  background: linear-gradient(to right, var(--light-blue), var(--light-cyan));
  border: 1px solid #bfdbfe;
  border-radius: 0.75rem;
  padding: 1.5rem;
}

.result-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid #bfdbfe;
}

.result-row:last-child {
  border-bottom: none;
}

.warning {
  background: #fef9c3;
  border: 1px solid #fde68a;
  border-radius: 0.5rem;
  padding: 0.75rem;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #854d0e;
}

.note {
  margin-top: 1.5rem;
  background: #f9fafb;
  border-radius: 0.75rem;
  padding: 1rem;
  font-size: 0.85rem;
  color: var(--gray);
}

.install-btn {
  animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
