/* Import instrument sans font */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:ital,wght@0,400..700;1,400..700&display=swap');

/* Global font settings */
body, input, button, select, textarea, .LiveField__header {
  font-family: "Instrument Sans", sans-serif !important;
  font-size: 16px !important;
  color: #262758 !important;
}
.__header-two{
font-family: "Instrument Sans", sans-serif !important;
}
/* Form container */
.pf-form {
  max-width: 700px;
  margin: 0px auto;
  padding: 0px;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}
.dropdown-field, .LiveField__answer .LiveField__input{
  border: 1px solid #e0e0e0;
  border-radius:6px;
}
.LiveField .LiveField__container {
    padding: 18px 0 !important;
}
/* Title excluded from box */
.pf-title {
  margin-bottom: 0;
}

/* Labels (e.g., "Name", "Phone") */
.pf-label {
  font-weight: 500;
  color: #232a40 !important;
  margin-bottom: 6px;
  font-size: 14px !important;
}

/* Inputs, selects, textareas */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea,
select {
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 14px !important;
  color: #232a40 !important;
  background-color: #fff;
  transition: border-color 0.2s ease;
}

/* Focus state */
input:focus,
textarea:focus,
select:focus {
  border-color: #6878C4 !important;
  outline: none;
}


/* Submit button styling */
button.pf-button {
  background-color: #232a40 !important;
  color: #ffffff !important;
  font-weight: 600;
  font-size: 14px !important;
  padding: 12px 26px;
  border: none;
  cursor: pointer;
}
.submit {
    width:fit-content;
    margin-right:auto;
    margin-left:auto;
}
.submit .btn-raised.btn-primary {
    border-radius:50px;
    width:fit-content;
    margin-right:auto;
    margin-left:auto;
}

button.pf-button:hover,
button.pf-button:focus,
button.pf-button:active {
  background-color: #1b2134 !important;
  box-shadow: none !important;
}

/* Spacing between questions */
.pf-question {
  margin-bottom: 20px;
}

/* Remove animations */
* {
  transition: none !important;
  animation: none !important;
}

/* --- ERROR HANDLING STYLING --- */

/* Hide default error message text */
.pf-error-message {
  font-size: 0 !important; /* hide text but keep element */
  position: relative;
  height: 0;
  margin-top: 4px;
}

/* Add a warning icon */
.pf-error-message::before {
  content: "⚠️"; /* You can change this to any emoji or icon */
  font-size: 16px;
  position: absolute;
  left: 0;
  top: -26px;
  background: #fff;
  color: #d9534f;
  padding: 2px 4px;
  border-radius: 50%;
  display: inline-block;
  line-height: 1;
}

/* Optional: highlight invalid fields with border color */
.pf-question.pf-has-error input,
.pf-question.pf-has-error textarea,
.pf-question.pf-has-error select {
  border-color: #d9534f !important;
}
/* layout box */
@media screen and (min-width: 768px){
.Paperform__Container{
    background: linear-gradient(180deg,rgba(255, 255, 255, 1) 0%, rgba(216, 231, 242, 1) 88%);
}
.Paperform__Container > div > div{
 width:fit-content;
 border-radius:12px;
 padding:20px 30px;
 margin-left:auto;
 margin-right:auto;
 background:#fff;
 box-shadow: rgba(0, 0, 0, 0.04) 0px 3px 12px;
}
}
