/*PESQUISA DE SATISFAÇÃO - FERRO E AÇO TAKONO*/
   

body,
.ps-background {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  box-sizing: border-box;
}

.ps-page {
  width: 100%;
  display: flex;
  justify-content: center;
}

/* card central */

.ps-container {
  width: 100%;
  max-width: 520px;
}

.ps-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 40px 32px;
  text-align: center;
}

/* logo e titulo */

.ps-logo {
  max-width: 140px;
  height: auto;
  margin-bottom: 24px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.ps-title {
  font-size: 24px;
  font-weight: 600;
  color: #242424;
  margin: 0 0 8px 0;
  letter-spacing: -0.5px;
}

.ps-subtitle {
  font-size: 14px;
  color: #666;
  margin: 0 0 32px 0;
  font-weight: 400;
}

/* form */

.ps-form {
  text-align: left;
}

/* avaliacao escala 1-10*/

.ps-stars-container {
  margin-bottom: 20px;
}

.ps-stars {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: 16px 0;
  background: #fafafa;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 8px;
  transition: all 0.2s ease;
}


.ps-star {
  font-size: 28px;
  color: #ddd;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  -webkit-user-select: none;
}

.ps-star:hover {
  transform: scale(1.15);
}

.ps-star.active {
  color: #FFB800;
  text-shadow: 0 0 8px rgba(255, 184, 0, 0.4);
}

.ps-star.hover {
  color: #FFD54F;
}

.ps-stars-label {
  text-align: center;
  font-size: 13px;
  color: #666;
  font-weight: 500;
  min-height: 20px;
}

.ps-stars-label.selected {
  color: #FF6B00;
  font-weight: 600;
}

/* Responsivo */
@media (max-width: 580px) {
  .ps-stars {
    gap: 4px;
    padding: 12px 0;
  }
  
  .ps-star {
    font-size: 24px;
  }
}

/* labels */

.ps-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #333;
  margin-bottom: 6px;
  margin-top: 16px;
}

.ps-label:first-of-type {
  margin-top: 0;
}

.ps-required {
  color: #FF6B00;
  font-weight: 600;
}

/*inputs*/

.ps-input,
.ps-form 
	input[type="text"],
	input[type="email"] {
  width: 100%;
  padding: 11px 14px;
  font-size: 14px;
  font-family: inherit;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #fafafa;
  color: #1a1a1a;
  box-sizing: border-box;
  transition: all 0.2s ease;
  margin-bottom: 4px;
}

.ps-input:focus,
.ps-form 
	input[type="text"]:focus,
	input[type="email"]:focus {
  outline: none;
  border-color: #FF6B00;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.08);
}

.ps-input::placeholder {
  color: #999;
}

/*select */

.ps-form select {
  width: 100%;
  padding: 11px 36px 11px 14px;
  font-size: 14px;
  font-family: inherit;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #fafafa;
  color: #1a1a1a;
  cursor: pointer;
  box-sizing: border-box;
  transition: all 0.2s ease;
  margin-bottom: 4px;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath fill='%23666' d='M5 7L1 3h8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.ps-form select:focus {
  outline: none;
  border-color: #FF6B00;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.08);
}

.select2-container {
	width: 100% !important;
}
/* textarea */

.ps-form textarea {
  width: 100%;
  padding: 11px 14px;
  font-size: 14px;
  font-family: inherit;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #fafafa;
  color: #1a1a1a;
  resize: vertical;
  min-height: 90px;
  line-height: 1.5;
  box-sizing: border-box;
  transition: all 0.2s ease;
  margin-bottom: 4px;
}

.ps-form textarea:focus {
  outline: none;
  border-color: #FF6B00;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.08);
}

.ps-form textarea::placeholder {
  color: #999;
}

/*btn submit */

.ps-btn-submit {
  display: block;
  width: 100%;
  padding: 13px 24px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  color: #fff !important;
  background: #FF6B00;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  transition: all 0.2s ease;
  margin-top: 24px;
  letter-spacing: 0.2px;
}

.ps-btn-submit:hover {
  background: #ff7a1a;
  box-shadow: 0 2px 8px rgba(255, 107, 0, 0.25);
  transform: translateY(-1px);
}

.ps-btn-submit:active {
  transform: translateY(0);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

/* footer */

.ps-footer-text {
  text-align: center;
  font-size: 13px;
  color: #000000;
  margin: 24px 0 6px;
  font-weight: 400;
}

.ps-footer-privacy {
  text-align: center;
  font-size: 12px;
  color: #242424;
  margin: 0;
  font-weight: 700;
  margin-top:10px;
}

.ps-required-rules {
  color: #FF6B00;
  font-weight: 600;
  text-align: left;
  font-size: 12px;
  padding: 0;
}

/*mgs de erro*/

.sc-msg-error,
.ps-form .error-message {
  color: #dc3545;
  font-size: 12px;
  margin-top: -2px;
  margin-bottom: 12px;
  display: block;
  font-weight: 500;
}

/* ========================================
   MODAL DE FEEDBACK
   ======================================== */

.ps-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.ps-modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.ps-modal {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px;
  max-width: 250px;
  width: 90%;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.ps-modal-overlay.show .ps-modal {
  transform: scale(1);
}

.ps-modal-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}

.ps-modal-icon.success {
  background: #e8f5e9;
  color: #4caf50;
}

.ps-modal-icon.error {
  background: #ffebee;
  color: #f44336;
}

.ps-modal-title {
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 12px 0;
}

.ps-modal-message {
  font-size: 14px;
  color: #666;
  margin: 0 0 24px 0;
  line-height: 1.5;
}

.ps-modal-btn {
  display: inline-block;
  padding: 11px 28px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  color: #fff;
  background: #FF6B00;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(255, 107, 0, 0.2);
}

.ps-modal-btn:hover {
  background: #ff7a1a;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
}

.ps-modal-btn:active {
  transform: translateY(0);
}

/* responsividade */

@media (max-width: 580px) {
  body, .ps-background {
    padding: 20px 16px;
    align-items: flex-start;
  }

  .ps-card {
    padding: 32px 24px;
  }

  .ps-title {
    font-size: 22px;
  }

  .ps-subtitle {
    font-size: 13px;
  }

  .ps-btn-submit {
    font-size: 14px;
    padding: 12px 20px;
  }
}