.turnstile_container {
  position: relative;
  min-height: 65px;
  margin: 15px 0;
}

.turnstile_container_right {
    clear: both;
    text-align: right;
    margin-bottom: 12px;
}

.turnstile_container_right .cf-turnstile {
    display: inline-block;
}

.turnstile_container.error {
  padding: 10px;
  border: 2px solid #FF0000;
  border-radius: 5px;
  background-color: #fff5f5;
}

.turnstile_container.error::after {
  content: 'Bitte bestätigen Sie die Sicherheitsprüfung!';
  display: block;
  color: #FF0000;
  font-size: 12px;
  font-weight: bold;
  margin-top: 10px;
  padding: 8px;
  background-color: #fff0f0;
  border: 1px solid #ffcccc;
  border-radius: 3px;
}

.turnstile_container:empty::before,
.turnstile_container .cf-turnstile:empty::before {
  content: 'Sicherheitsprüfung wird geladen..';
  display: block;
  color: #666;
  font-size: 12px;
  font-style: italic;
  padding: 20px;
  text-align: center;
}

.turnstile_container.success {
  border: 2px solid #4CAF50;
  border-radius: 5px;
  padding: 10px;
  background-color: #f5fff5;
}

.turnstile_container.success::after {
  content: 'Sicherheitsprüfung bestätigt';
  display: block;
  color: #4CAF50;
  font-size: 12px;
  margin-top: 5px;
}

.turnstile_server_error {
  clear: both;
  width: 300px;
  box-sizing: border-box;
  border: 1px solid #ffcccc;
  border-radius: 5px;
  background-color: #fff0f0;
  color: #FF0000;
  padding: 8px;
  margin: 15px 0 10px 0;
  font-size: 12px;
  line-height: 1.4;
  font-weight: normal;
}

.turnstile_server_error span {
  display: block;
  margin-top: 4px;
  font-weight: normal;
}

.turnstile_server_error_right {
  margin-left: auto;
  margin-right: 0;
  text-align: left;
}

label{
  display: block;
  font-weight: bold;
}

select, input[type=text], input[type=email]{
  display: block;
  line-height: 3em;
  width: 100%;
  box-sizing: border-box;
  height: 3em;
  padding: 0 10px;
}

#stdform fieldset {
  margin: 0 0 25px 0;
  padding: 15px;
  border: 1px solid #D7D7D7;
  background-color: #F6F6F6;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  -moz-border-radius: 5px;
}

#stdform fieldset input,
#stdform fieldset select,
#stdform fieldset textarea{
  width: 100%;
  display: block;
  box-sizing: border-box;
  padding: 0 10px;
  background-color: #fff;
  border: 1px solid #b8b8b8;
  border-radius: 5px;
}

#stdform fieldset input:focus,
#stdform fieldset select:focus,
#stdform fieldset textarea:focus{
  border-color: #f5a318;
  outline: none;
  box-shadow: 0 0 0 3px rgba(245, 163, 24, 0.15);
}

.parsley-errors-list{
  position: relative;
  top: -10px;
  left: -10px;
}

.parsley-errors-list, .parsley-errors-list li{
  color: #F00 !important;
  font-size: 10px !important;
}

.form-submit-error {
  color: #ff0000;
  padding: 15px;
  margin: 15px 0;
  border: 1px solid #ff0000;
  border-radius: 5px;
  background: #fff0f0;
  font-size: 13px;
}

.form-submit-error strong {
  display: block;
  margin-bottom: 5px;
}

#btnSendForm,
#btnReview,
#btnConfirm,
#btnEdit {
  display: inline-block;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: bold;
  line-height: 1.2;
  color: #fff;
  background-color: #ff9b23;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

#btnSendForm:not(:disabled):hover,
#btnReview:not(:disabled):hover,
#btnConfirm:not(:disabled):hover,
#btnEdit:not(:disabled):hover {
  filter: brightness(1.08);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

#btnSendForm:disabled,
#btnReview:disabled,
#btnConfirm:disabled,
#btnEdit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

#btnEdit {
  background-color: #888;
  margin-right: 12px;
}

.review-data {
  margin: 0 0 20px 0;
}

.review-data dt {
  font-weight: bold;
  margin-top: 6px;
}

.review-data dd {
  margin: 0 0 16px 0;
  padding: 8px 10px;
  min-height: 3em;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #b8b8b8;
  border-radius: 5px;
  word-break: break-word;
}

.review-confirm {
  margin: 20px 0;
  padding: 14px 16px;
  line-height: 1.5;
  background: #fff8ec;
  border-left: 4px solid #f5a318;
  border-radius: 4px;
}

.review-confirm strong {
  display: block;
  margin-bottom: 4px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
