/* === Fix Whistleblowing - CSS === */

.fix-whistleblowing-wrapper {
  padding: 1rem;
}

.fix-whistleblowing-forms {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
  justify-content: space-between;
}

.fix-whistleblowing-form {
  flex: 1 1 300px;
  min-width: 280px;
  background-color: #f8f9fa;
  padding: 1.5rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.fix-whistleblowing-form label {
  font-weight: bold;
  margin-top: 1rem;
  display: block;
}

.fix-whistleblowing-form input[type="text"],
.fix-whistleblowing-form input[type="file"],
.fix-whistleblowing-form textarea {
  width: 100%;
  margin-top: 0.4rem;
  padding: 0.6rem;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.fix-whistleblowing-form button {
  background-color: #0073aa;
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  margin-top: 1rem;
  cursor: pointer;
  font-weight: bold;
}

.fix-whistleblowing-form button:hover {
  background-color: #005f8d;
}

/* Tabella segnalazioni */
.fix-whistleblowing-table {
  overflow-x: auto;
  margin-top: 2rem;
}

.fix-whistleblowing-table table {
  width: 100%;
  border-collapse: collapse;
}

.fix-whistleblowing-table th,
.fix-whistleblowing-table td {
  padding: 0.75rem;
  border: 1px solid #ddd;
  vertical-align: top;
  font-size: 14px;
}

.fix-whistleblowing-table th {
  background-color: #f1f1f1;
  font-weight: bold;
  text-align: left;
}

.fix-whistleblowing-table textarea {
  width: 100%;
  min-height: 60px;
  margin-bottom: 0.5rem;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .fix-whistleblowing-forms {
    flex-direction: column;
  }
}

.fix-whistleblowing-response {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.fwb-box {
  background-color: #fdfdfd;
  border: 1px solid #ddd;
  border-left: 4px solid #0073aa;
  padding: 1rem;
  border-radius: 6px;
}

.fix-whistleblowing-login-button {
  text-align: center;
  margin-top: 2rem;
}

.fix-whistleblowing-login-button button {
  padding: 10px 20px;
  background-color: #0073aa;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.fix-whistleblowing-login-button button:hover {
  background-color: #005f8d;
}

.fwb-modal .wp-login-form label {
  font-weight: bold;
}

.fwb-modal input[type="text"],
.fwb-modal input[type="password"] {
  width: 100%;
  padding: 0.5rem;
  margin-top: 0.25rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.fwb-modal input[type="submit"] {
  background-color: #0073aa;
  color: white;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.fwb-modal input[type="submit"]:hover {
  background-color: #005f8d;
}
