/* === Wrapper Form Styling === */
#abuse-log-form {
  font-family: 'Segoe UI', Roboto, sans-serif;
  max-width: 750px;
  margin: 0 auto;
  padding: 2rem;
  background-color: #f0f0f0;
  border: 1px solid #222222;
  border-radius: 6px;
  color: #222222;
  box-sizing: border-box;
}

/* === Header === */
.encrypted-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.encrypted-header img {
  max-height: 45px;
  margin-bottom: 0.5rem;
}

.encrypted-header h2 {
  font-size: 1.8rem;
  margin: 0;
  color: #222222;
}

/* === Fields === */
#abuse-log-form label {
  font-weight: bold;
  display: block;
  margin: 1.2rem 0 0.4rem;
}

#abuse-log-form input[type="text"],
#abuse-log-form input[type="date"],
#abuse-log-form input[type="file"],
#abuse-log-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #aaa;
  border-radius: 4px;
  font-size: 1rem;
  background-color: #ffffff;
  box-sizing: border-box;
}

/* === Checkbox Grid Layout === */
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.5rem 1.5rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.checkbox-grid label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: normal;
  font-size: 0.95rem;
}

/* === Submit Button === */
#abuse-log-form input[type="submit"] {
  background-color: #006D77;
  color: white;
  padding: 12px 24px;
  font-size: 1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 1.5rem;
  transition: background-color 0.3s ease;
}

#abuse-log-form input[type="submit"]:hover {
  background-color: #004f55;
}

/* === Disclaimer Box === */
.abuse-log-disclaimer {
  background: #ffbf47;
  border: 1px solid #222222;
  padding: 15px;
  border-radius: 5px;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.abuse-log-disclaimer a {
  color: #006D77;
  text-decoration: underline;
}

/* === Responsive Fix === */
@media screen and (max-width: 600px) {
  .checkbox-grid {
    grid-template-columns: 1fr;
  }

  #abuse-log-form {
    padding: 1.2rem;
  }

  .encrypted-header h2 {
    font-size: 1.5rem;
  }
}