body {
  font-family: sans-serif;
  background-color: #f7f7f7;
  color: #333;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

* {
  box-sizing: border-box;
}

.container {
  max-width: 800px;
  margin: 2rem;
  padding: 2rem;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  width: 100%;
}

@media (max-width: 650px) {
  .container {
    padding: 1rem;
    margin: 0 0 0 0;
    width: 100vw;
    border-radius: 0;
  }
}

.logo {
  width: 44px;
  height: 50px;
  background-color: #03a9f4;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
  font-family: Georgia, serif;
  font-weight: normal;
  margin: 0 auto 1rem;
  position: relative;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
h1 {
  font-size: 1.75rem;
  margin: 0;
}
.description {
  color: #666;
  margin-bottom: 2rem;
}
.conversation-intro {
  font-size: 16px;
  text-align: left;
  font-style: italic;
  font-family: "times";
  color: #555;
  margin-bottom: 2rem;
}

.statement-card {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  text-align: left;
}
.statement-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 16px;
  color: #666;
}
.anonymous-user {
  display: flex;
  align-items: center;
}
.avatar {
  width: 24px;
  height: 24px;
  background-color: #eee;
  border-radius: 50%;
  margin-right: 0.5rem;
}
.statement-text {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

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

@media (max-width: 650px) {
  .vote-buttons {
    flex-direction: column;
    align-items: center;
  }

  .vote-button {
    width: 100%;
    margin-bottom: 0.5rem;

    &:last-child {
      margin-bottom: 0;
    }
  }
}

.vote-button {
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  border-radius: 20px;
  background-color: transparent;
  cursor: pointer;
  font-size: 16px;
}
.agree {
  color: #28a745;
  border-color: #28a745;
}
.disagree {
  color: #dc3545;
  border-color: #dc3545;
}
.pass {
  color: #6c757d;
}

.guidelines {
  text-align: left;
  margin-bottom: 2rem;
  font-size: 16px;
  color: #555;
  font-style: italic;
}
.guidelines h2 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.guidelines ul {
  list-style-type: disc;
  padding-left: 1.5rem;
}
.submit-form {
  display: flex;
  width: 100%;
  align-items: stretch;
  justify-content: space-between;
}

@media (max-width: 650px) {
  .submit-form {
    flex-direction: column;

    button {
      margin-left: 0;
      margin-top: 1rem;
    }
  }
}

.textarea-wrapper {
  position: relative;
  display: flex;
  flex-grow: 1;
}
.submit-form textarea {
  flex-grow: 1;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  resize: none;
  font-family: sans-serif;
  box-sizing: border-box;
}
.char-counter {
  position: absolute;
  bottom: 12px;
  right: 12px;
  font-size: 0.8rem;
  color: #6c757d;
  background-color: rgba(255, 255, 255, 0.7);
  padding: 2px 5px;
  border-radius: 4px;
}
.submit-button {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  margin-left: 1rem;
}

.email-subscribe-container {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1.5rem 2rem;
  margin-bottom: 2rem;
  text-align: center;
  background-color: #f9f9f9;
}
.email-subscribe-container h2 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  color: #333;
}
.email-subscribe-form {
  display: flex;
  gap: 0.5rem;
}
.email-subscribe-form input {
  flex-grow: 1;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}

.error-message,
.vote-error,
.subscribe-error,
.comment-error {
  border: 1px solid #dc3545;
  border-radius: 8px;
  background-color: #f8d7da;
  color: #721c24;
  text-align: center;
}
.error-message {
  padding: 3rem 1rem;
}
.error-message h2 {
  margin-top: 0;
  color: #721c24;
}
.vote-error, .subscribe-error {
  margin-top: 1rem;
  padding: 0.75rem;
}
.comment-error {
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.5rem;
  font-size: 0.9rem;
}
.closed-badge {
  display: inline-block;
  margin-left: 0.75rem;
  padding: 0.25rem 0.6rem;
  font-size: 0.9rem;
  font-weight: bold;
  line-height: 1;
  color: white;
  background-color: #d9534f;
  border-radius: 4px;
  text-transform: uppercase;
  vertical-align: middle;
}

.footer-spacer {
  min-height: 20vh;
}
.footer-links {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #666;
}
.footer-links a {
  color: #666;
  text-decoration: none;
  margin: 0 0.5rem;
}
.footer-links a:hover {
  text-decoration: underline;
}
.importance-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
  margin-bottom: 1rem;
  gap: 0.5rem;
}
.info-icon {
  cursor: pointer;
  fill: #666;
}
.importance-desc {
  font-size: 0.9rem;
  color: #555;
  background-color: #f0f0f0;
  border-radius: 8px;
  padding: 0.75rem;
  margin: 0.75rem 0 0 0;
  text-align: center;
}
