/* Promove Enquetes - Frontend Styles */

.promove-enquete {
  margin: 20px 0;
  padding: 20px;
  border: 1px solid #e1e1e1;
  border-radius: 8px;
  background-color: #f9f9f9;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.promove-question {
  margin: 0 0 15px 0;
  color: #333;
  font-size: 1.2em;
  font-weight: 600;
}

.promove-closed {
  color: #666;
  font-style: italic;
  margin: 0;
}

.promove-form-group {
  margin: 0;
}

.promove-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #333;
}

.promove-input-group {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.promove-input {
  flex: 1;
  min-width: 200px;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  transition: border-color 0.2s ease;
}

.promove-input:focus {
  outline: none;
  border-color: #0073aa;
  box-shadow: 0 0 0 1px #0073aa;
}

.promove-input:invalid {
  border-color: #d63638;
}

.promove-submit {
  padding: 10px 16px;
  border: none;
  border-radius: 6px;
  background-color: #0073aa;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
  white-space: nowrap;
}

.promove-submit:hover:not(:disabled) {
  background-color: #005a87;
}

.promove-submit:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

.promove-msg {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 500;
}

.promove-msg.success {
  color: #00a32a;
}

.promove-msg.error {
  color: #d63638;
}

.promove-msg.loading {
  color: #666;
}

/* Responsividade */
@media (max-width: 600px) {
  .promove-input-group {
    flex-direction: column;
  }
  
  .promove-input {
    min-width: auto;
    width: 100%;
  }
  
  .promove-submit {
    width: 100%;
  }
}

/* Acessibilidade */
.promove-input:focus,
.promove-submit:focus {
  outline: 2px solid #0073aa;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .promove-input,
  .promove-submit {
    transition: none;
  }
}

