/* Hero header */
.facts-hero {
  background: linear-gradient(135deg, #4c6ef5, #7950f2);
  color: white;
  text-align: center;
  padding: 50px 20px;
}
.facts-hero h1 {
  margin: 0;
  font-size: 2.5rem;
}
.facts-hero p {
  margin-top: 10px;
  font-size: 1.1rem;
}

/* Input area */
.facts-input {
  max-width: 900px;
  margin: 30px auto;
  padding: 20px;
}
.input-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.input-card label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #333;
}
.input-card textarea,
.input-card select,
.input-card input[type="text"],
.input-card input[type="file"] {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 14px;
  box-sizing: border-box;
}
.input-card textarea:focus,
.input-card select:focus,
.input-card input:focus {
  outline: none;
  border-color: #4c6ef5;
  box-shadow: 0 0 4px rgba(76, 110, 245, 0.4);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  border: none;
  margin-right: 6px;
  transition: background 0.2s ease;
}
.btn.primary { background: #4c6ef5; color: white; }
.btn.primary:hover { background: #3b5bd6; }
.btn.success { background: #2dc937; color: white; }
.btn.success:hover { background: #28a82d; }
.btn.secondary { background: #e7b416; color: black; }
.btn.secondary:hover { background: #d6a30f; }
.btn.danger { background: #cc3232; color: white; }
.btn.danger:hover { background: #a42a2a; }

/* Table */
.facts-list {
  max-width: 1000px;
  margin: 40px auto;
}
.facts-table {
  border-collapse: collapse;
  width: 100%;
  background: white;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  border-radius: 10px;
  overflow: hidden;
}
.facts-table th, .facts-table td {
  padding: 10px;
  border: 1px solid #ddd;
}
.facts-table th {
  background: #f4f4f4;
  text-align: left;
}
.facts-table tbody tr:nth-child(even) {
  background: #fafafa;
}
.facts-table td button {
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 13px;
}
.facts-table td button:hover {
  opacity: 0.9;
}

/* Footer */
footer {
  text-align: center;
  padding: 15px;
  font-size: 0.9rem;
  color: #666;
  margin-top: 40px;
}
