* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  user-select: none;
}

body {
  font-family: "Doto", sans-serif;
  background: #151515;
  color: #c9d1d9;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
}

.main-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 20px;
  min-height: 100vh;
}

.content-grid {
  display: grid;
  grid-template-columns: 500px;
  gap: 20px;
  align-items: start;
}

/* Reply Card */
.reply-card {
  background: rgba(25, 25, 25, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(96, 96, 96, 0.6);
  border-radius: 12px;
  padding: 24px;
  width: 500px;
  display: flex;
  text-align: center;
  flex-direction: column;
}

.card-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #c9d1d9;
}

.reply-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 14px;
  color: #d3dfec;
}

.text-input {
  background: rgba(60, 65, 75, 0.3);
  border: 1px solid rgba(96, 96, 96, 0.4);
  border-radius: 8px;
  padding: 12px;
  color: #c9d1d9;
  font-family: "Doto", sans-serif;
  font-size: 14px;
  resize: vertical;
  min-height: 120px;
  transition: border-color 0.2s ease;
}

.text-input:focus {
  outline: none;
  border-color: #c93837;
}

.text-input.error {
  border-color: #c93837;
}

.char-count {
  font-size: 12px;
  color: #8b949e;
  text-align: right;
}

.validation-message {
  font-weight: 900;
  font-size: 12px;
  min-height: 16px;
  color: #c93837;
}

.submit-btn {
  background: #c93837;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-family: "Doto", sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.submit-btn:hover {
  background: #b53231;
}

.submit-btn:disabled {
  background: rgba(96, 96, 96, 0.6);
  cursor: not-allowed;
}

.success-message {
  background: rgba(25, 135, 84, 0.2);
  border: 1px solid rgba(25, 135, 84, 0.4);
  border-radius: 8px;
  padding: 12px;
  color: #75b798;
  font-size: 14px;
  text-align: center;
  margin-top: 16px;
}

.hidden {
  display: none;
}

/* Responsive Design */
@media (max-width: 600px) {
  .main-wrapper {
    padding: 15px;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .reply-card {
    width: 100%;
    padding: 20px;
  }

  .card-title {
    font-size: 16px;
  }

  .text-input {
    min-height: 100px;
  }
}

@media (max-width: 400px) {
  .main-wrapper {
    padding: 10px;
  }

  .reply-card {
    padding: 15px;
  }

  .submit-btn {
    width: 100%;
    align-self: stretch;
  }
}
