/* Global styles */
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background-color: #f5f5f5;
  color: #161616;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('assets/background.svg') no-repeat center center fixed;
  background-size: cover;
  filter: blur(2px);
  z-index: -1;
}

/* Header styles */
.header {
  background: #f4c700;
  color: #161616;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  height: 64px;
}
.header-left img {
  height: 40px;
  display: block;
}
.header-center {
  flex: 1;
  text-align: center;
  font-weight: 800;
  font-size: 1.25rem;
}
.header-right {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.user-pill {
  background: rgba(0, 0, 0, 0.08);
  color: #161616;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
  text-transform: capitalize;
}
.header-right button {
  background: #fff;
  color: #161616;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.header-right button:hover,
.header-right button:focus {
  background: #f1f1f1;
  transform: translateY(-2px);
  outline: none;
}

.safety-bar {
  height: 6px;
  background: repeating-linear-gradient(-45deg, #000 0 10px, #fff 10px 20px);
}

/* Grid for home page */
.grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem;
  min-height: 100vh;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: #000;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
  max-width: 400px;
}
.card.card--actionable {
  cursor: pointer;
}
.card.card--actionable:focus-visible {
  outline: 3px solid rgba(22, 22, 22, 0.75);
  outline-offset: 4px;
}
.card.card--actionable .card-body {
  align-items: center;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.card-top {
  background: #f4c700;
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  font-weight: 700;
  font-size: 1rem;
  gap: 0.5rem;
}
.card-top .icon {
  width: 24px;
  height: 24px;
}
.card-body {
  flex: 1;
  padding: 1.5rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.report-title {
  margin: 0;
  font-weight: 800;
  font-size: 1.25rem;
}
.report-subtitle {
  margin: 0;
  font-size: 0.9rem;
}
.create-btn {
  background: #f4c700;
  color: #000;
  border: none;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.2s ease;
}
.form-select {
  background: #f4c700;
  color: #000;
  border: none;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
}
.form-select:focus {
  outline: none;
}
.create-btn .icon {
  width: 16px;
  height: 16px;
}
.create-btn:hover,
.create-btn:focus {
  background: #ffd633;
  outline: none;
}
.card-footer {
  height: 12px;
  background: repeating-linear-gradient(-45deg, #000 0 10px, #f4c700 10px 20px);
}

@media (max-width: 600px) {
  .grid {
    padding: 1rem;
  }
}