body {
  font-family: 'Inter', sans-serif;
  background: #f5f7fa;
  margin: 0;
  color: #333;
  line-height: 1.6;
}

header {
  background: #222;
  color: #fff;
}

.hntrap {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.header-container {
  max-width: 900px;   /* match main width */
  margin: 0 auto;
  padding: 1rem 1rem;
  display: flex;
  align-items: center;
}

.header-container h1 {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 600;
}

header .logo {
  height: 80px;
  width: 80px;
  margin-right: 0.75rem;
}


main {
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.job-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  padding: 1.5rem 2rem;
  margin-bottom: 2rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.job-card:hover {
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid #eee;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.job-header h2 {
  margin: 0;
  font-size: 1.4rem;
  color: #111;
}

.job-dates {
  font-size: 0.9rem;
  color: #777;
}

h3 {
  margin: 0.2rem 0 0.6rem;
  font-size: 1.1rem;
  color: #222;
}

.location {
  font-style: italic;
  font-size: 0.9rem;
  color: #555;
}

.summary {
  margin: 0.8rem 0 1rem;
  padding-left: 1.2rem;
}
.summary li {
  margin-bottom: 0.4rem;
}

.tech-stack {
  margin-top: 0.8rem;
}

.badge {
  display: inline-block;
  background: #e6f0ff;
  color: #1e40af;
  padding: 0.3rem 0.7rem;
  margin: 0.2rem 0.3rem 0 0;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
}

.milestones {
  margin-top: 1rem;
}
.milestones h4 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  color: #444;
}
.milestones ul {
  padding-left: 1.2rem;
  margin: 0;
}
.milestones li {
  margin-bottom: 0.4rem;
}


#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #1a1a1a;
  color: #fff;
  padding: 1em;
  font-family: sans-serif;
  z-index: 9999;
  box-shadow: 0 -2px 6px rgba(0,0,0,0.3);
}
#cookie-banner h2 {
  margin: 0 0 0.5em 0;
}
#cookie-banner p {
  margin: 0.5em 0;
}
#cookie-banner button {
  margin: 0.25em;
  padding: 0.5em 1em;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  font-weight: bold;
}
@keyframes wiggle {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(3deg); }
  50% { transform: rotate(-3deg); }
  75% { transform: rotate(2deg); }
  100% { transform: rotate(0deg); }
}

#cookie-banner button:hover {
  animation: wiggle 0.3s ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
  #cookie-banner button:hover {
    animation: none;
  }
}

#cookie-btn-accept {
  background: #4caf50;
  color: #fff;
}
#cookie-btn-reject {
  background: #f44336;
  color: #fff;
}
#cookie-btn-customize {
  background: #555;
  color: #fff;
}
#cookie-banner small {
  display: block;
  margin-top: 0.75em;
  color: lightgrey;
  font-size: 0.8em;
}
.cookie-contents {
    padding: 0em;
    padding-right: 2em;
}
#notification {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #333;
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 9999;
}
#notification.show {
  opacity: 1;
}

@media print {
  body {
    background: #fff;
    color: #000;
    font-size: 11pt;
    line-height: 1.4;
  }

  header {
    background: none;
    color: #000;
    border-bottom: 2px solid #000;
    padding: 0 0 0.5rem;
  }

  header .logo {
    height: 24px;
    margin-right: 0.5rem;
  }

  .job-card {
    box-shadow: none;
    border: none;
    page-break-inside: avoid;
    margin-bottom: 1.2rem;
  }

  .job-card:hover {
    transform: none;
    box-shadow: none;
  }

  .badge {
    border: none;
    background: none;
    color: #000;
    padding: 0.2rem 0.5rem;
  }

  a::after {
    content: " (" attr(href) ")";
    font-size: 90%;
  }

  /* Hide unnecessary stuff */
  .no-print {
    display: none !important;
  }
}

