/* Reset and base styles */
* {
  box-sizing: border-box;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  margin: 0;
  padding: 0;
}

body {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  color: #222;
  max-width: 600px;
  margin: 2.5rem auto;
  padding: 0 1.2rem 2rem 1.2rem;
  border-radius: 24px;
  box-shadow: 0 6px 32px 0 rgba(60, 72, 88, 0.10), 0 1.5px 6px 0 rgba(60, 72, 88, 0.08);
  min-height: 90vh;
  transition: box-shadow 0.3s;
}

header {
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 1.5px solid #e3e8ee;
}

header h1 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -1px;
  color: #2d3748;
}

.button, button, input[type="submit"] {
  display: inline-block;
  background: linear-gradient(90deg, #6a82fb 0%, #fc5c7d 100%);
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 999px;
  padding: 0.6rem 1.5rem;
  box-shadow: 0 2px 8px rgba(108, 115, 255, 0.10);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
  outline: none;
}
.button:hover, button:hover, input[type="submit"]:hover {
  background: linear-gradient(90deg, #fc5c7d 0%, #6a82fb 100%);
  box-shadow: 0 4px 16px rgba(108, 115, 255, 0.15);
  transform: translateY(-2px) scale(1.03);
}

.filters {
  display: flex;
  gap: 1rem;
  margin: 1.5rem 0 2rem 0;
  background: #f7fafc;
  border-radius: 16px;
  box-shadow: 0 1px 4px rgba(60, 72, 88, 0.04);
  padding: 0.75rem 1rem;
}

.filters select {
  background: #fff;
  border: 1.5px solid #e3e8ee;
  border-radius: 8px;
  padding: 0.5rem 1.2rem 0.5rem 0.8rem;
  font-size: 1rem;
  color: #374151;
  transition: border 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 2px rgba(60, 72, 88, 0.03);
}
.filters select:focus {
  border-color: #6a82fb;
  box-shadow: 0 0 0 2px #6a82fb33;
}

ul {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

li {
  background: #fff;
  padding: 1.1rem 1.2rem 1.1rem 1.2rem;
  margin-bottom: 1.1rem;
  border-radius: 18px;
  border: none;
  box-shadow: 0 2px 12px rgba(60, 72, 88, 0.07);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
  transition: box-shadow 0.2s, transform 0.1s;
}
li:hover {
  box-shadow: 0 6px 24px rgba(60, 72, 88, 0.13);
  transform: translateY(-2px) scale(1.01);
}
li.high {
  border-left: 6px solid #fc5c7d;
}
li.medium {
  border-left: 6px solid #fcb045;
}
li.low {
  border-left: 6px solid #43e97b;
}
li strong {
  font-size: 1.1rem;
  color: #2d3748;
  font-weight: 600;
}
li small {
  color: #6b7280;
  font-size: 0.95rem;
  margin-left: 0.5rem;
}
li p {
  color: #374151;
  margin: 0.2rem 0 0.1rem 0;
  font-size: 1rem;
}
li button {
  align-self: flex-end;
  background: #f7fafc;
  color: #fc5c7d;
  border: none;
  border-radius: 8px;
  padding: 0.4rem 1.1rem;
  font-size: 1rem;
  font-weight: 500;
  box-shadow: 0 1px 4px rgba(252, 92, 125, 0.07);
  margin-top: 0.5rem;
  transition: background 0.2s, color 0.2s;
}
li button:hover {
  background: #fc5c7d;
  color: #fff;
}

form {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(60, 72, 88, 0.07);
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
form label {
  display: block;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.7rem;
}
input, textarea, select {
  width: 100%;
  padding: 0.7rem 1rem;
  margin-top: 0.3rem;
  border: 1.5px solid #e3e8ee;
  border-radius: 8px;
  background: #f7fafc;
  font-size: 1rem;
  color: #222;
  transition: border 0.2s, box-shadow 0.2s;
  outline: none;
  resize: vertical;
}
input:focus, textarea:focus, select:focus {
  border-color: #6a82fb;
  box-shadow: 0 0 0 2px #6a82fb33;
}
button[type="submit"] {
  margin-top: 1.2rem;
  background: linear-gradient(90deg, #6a82fb 0%, #fc5c7d 100%);
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 999px;
  padding: 0.7rem 2.2rem;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px rgba(108, 115, 255, 0.10);
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
}
button[type="submit"]:hover {
  background: linear-gradient(90deg, #fc5c7d 0%, #6a82fb 100%);
  box-shadow: 0 4px 16px rgba(108, 115, 255, 0.15);
  transform: translateY(-2px) scale(1.03);
}

input[type="checkbox"] {
  accent-color: #6a82fb;
  width: 1.1rem;
  height: 1.1rem;
  margin-right: 0.7rem;
  vertical-align: middle;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(60, 72, 88, 0.04);
  transition: accent-color 0.2s;
}

h3 {
  font-size: 1.2rem;
  color: #6a82fb;
  font-weight: 700;
  margin-bottom: 0.7rem;
  margin-top: 1.5rem;
  letter-spacing: 0.5px;
}

/* Responsive Design */
@media (max-width: 700px) {
  body {
    max-width: 100vw;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0 0.5rem 2rem 0.5rem;
  }
  header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
    padding-bottom: 0.5rem;
  }
  .filters {
    flex-direction: column;
    gap: 0.7rem;
    padding: 0.7rem 0.7rem;
  }
  form {
    padding: 1.2rem 0.7rem 1rem 0.7rem;
  }
  li {
    padding: 0.8rem 0.7rem 0.8rem 0.7rem;
  }
}
