details {
  cursor: pointer;
  border: 1px solid #ccc;
  border-radius: 0.25rem;
  padding: 1rem;
}

.topicform {
  margin: 0;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.topicform input,
.topicform textarea {
  box-sizing: border-box;
  width: 100%;
  margin: 0 !important;
  padding: 1rem !important;
}

.topicform textarea {
  min-height: 150px;
  max-width: 100%;
}

.topicform input {
  min-height: 50px;
}

.topicform button {
  padding: 0.5rem 1rem;
  background-color: #007bff !important;
  color: white;
  border: none;
  border-radius: 0.25rem;
  cursor: pointer;
}

.topicform button:hover {
  background-color: #0056b3 !important;
}

article {
  margin: 0;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 0.25rem;
  width: 100%;
  padding: 1rem;
  box-sizing: border-box;
  position: relative;
}

article h3 {
  margin: 0;
}

article p {
  margin: 0;
}

article .flex {
  display: flex;
  justify-content: space-between;
}

@media (max-width: 768px) {
  article .flex {
    flex-direction: column;
  }
}

.topic-author-ip {
  font-size: .9rem;
  color: #666;
}

.admin-options {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

.admin-options a {
  cursor: pointer;
  background: #ff3535;
  font-size: .8rem;
  border-radius: 8px;
  color: white;
  padding: .1rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  text-transform: uppercase;
  font-weight: bold;
  text-decoration: none !important;
}

.admin-options a:hover,
.admin-options a:active,
.admin-options a:focus {
  background: #ff0000;
  color: white;
}