/* CSS Variables för konsistenta färger */
:root {
  --primary-color: #14213d;
  --secondary-color: #fca311;
  --text-color: #333;
  --white: #f2f2f2;
  --shadow: 15px 15px 30px #8888;
  --transition: all 0.3s ease;

  /* Font Sizes */

  /* Base & Small Sizes */
  --font-size-xs: 0.64rem;
  /* 10.24px - Use sparingly (e.g., captions) */
  --font-size-s: 0.8rem;
  /* 12.8px  - Secondary info */
  --font-size-base: 1rem;
  /* 16px    - Body text (The Gold Standard) */

  /* Headings & Display */
  --font-size-m: 1.25rem;
  /* 20px    - H4 / Large Body */
  --font-size-l: 1.563rem;
  /* 25px    - H3 */
  --font-size-xl: 1.953rem;
  /* 31.25px - H2 */
  --font-size-2xl: 2.441rem;
  /* 39.06px - H1 */
  --font-size-3xl: 3.052rem;
  /* 48.83px - Hero Title */
  --font-size-4xl: 3.815rem;
  /* 61.04px - Large Hero */
  --font-size-5xl: 4.769rem;
  /* 76.3px - Extra Large Hero */

  /* Spacing Scale */
  --gap-xs: 0.25rem;
  --gap-s: 0.5rem;
  --gap-m: 1rem;
  --gap-l: 1.5rem;
  --gap-xl: 2rem;
  --gap-2xl: 2.5rem;
  --gap-3xl: 4rem;
  --gap-4xl: 6rem;
  --gap-5xl: 8rem;
}

/* Stylar feedback-popupen för bekräftelsen i formuläret. */
#confirmation {
  display: none;
  background-color: var(--primary-color);
  color: white;
  padding: var(--gap-2xl);
  text-align: center;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 12px;
  width: 350px;
  max-width: 90%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  z-index: 2000;
}

#confirmation p {
  margin-bottom: var(--gap-l);
  font-size: var(--font-size-base);
  line-height: 1.6;
}

#close-btn {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: none;
  padding: var(--gap-s) var(--gap-xl);
  cursor: pointer;
  margin-top: var(--gap-m);
  border-radius: 8px;
  font-size: var(--font-size-base);
  font-weight: 600;
  transition: var(--transition);
}

#close-btn:hover {
  background: #e5950f;
  transform: translateY(-1px);
}