.webform-type-tel input {
  text-align: left;
}
html[lang="ar"] .webform-type-tel input {
  text-align: right;
}
.webform-submission-survey-form .btn-close {
  display: none !important;
}
.webform-submission-survey-form .alert-success {
  background-color: transparent !important;
  border: 0 !important;
  color: #000 !important;
  margin: 7px 0 0 0;
  font-size: 1rem;
  font-weight: 400;
}
.webform-submission-survey-form .alert-success {
  background-color: transparent !important;
  border: 0 !important;
  color: #000 !important;
  margin: 7px 0 0 0;
  font-size: 1rem;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 8px;
}
.webform-submission-survey-form .alert-success::before {
  content: '';
  display: inline-block;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='%231B8354' stroke-linecap='round' stroke-width='1.5' d='M15 2.458A10 10 0 0 0 12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10c0-1.045-.16-2.053-.458-3'/%3E%3Cpath stroke='%231B8354' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M8.5 9.5 12 13l9-10'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}
.webform-submission-survey-form .alert-success .icon-container {
  display: none;
}
.webform-submission-survey-form .webform-actions:not([style="display: none;"]) {
  display: flex !important;
  justify-content: flex-end;
  gap: 0.5rem;
}
.webform-submission-contact-minister-form .form-actions {
  display: block !important;
}
.webform-submission-contact-form .alert-error {
  display: none !important;
}
.rate-form-services .rate-form .rating-option-result,
.rate-form-services .rate-form .vote-result {
  display: none !important;
}
.view-reader-rate .rate-form-container {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 1.5rem 1rem;
  gap: 2rem;
}
.view-reader-rate .rate-form-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  align-self: stretch;
}
.close-rate-form {
  display: inline-flex !important;
  align-items: center;
  gap: 0.5rem;
}
.close-rate-form i {
  font-size: 1.25rem;
  color: #161616;
}
.rate-form,
.rate-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 1rem;
}
.rate-form-container .rate_desc .rate-widget {
  display: none;
}
.webform-submission-fill-the-innovation-idea-form .form-check .form-check-input {
  margin-inline-end: 10px !important;
}
#webform-submission-fill-the-innovation-idea-add-form .captcha .captcha__title {
  display: none;
}
body main:has(#webform-submission-reporting-suspected-corruption-add-form) {
  background-color: rgba(var(--bs-primary-rgb), 0.05) !important;
}
#webform-submission-reporting-suspected-corruption-add-form {
  background-color: #fff !important;
  border-radius: 12px;
  box-shadow: 0px 12px 16px -4px rgba(16, 24, 40, 0.08),
    0px 4px 6px -2px rgba(16, 24, 40, 0.03);
  padding: 1.5rem;
  border: 2px solid #e2e2e2;
  margin-bottom: 2rem;
}
#webform-submission-reporting-suspected-corruption-add-form {
  margin: 0 auto;
  display: flex;
  flex-flow: row wrap;
  column-gap: 1rem;
  row-gap: 0.8rem;
}
#webform-submission-reporting-suspected-corruption-add-form .captcha .captcha__title {
  display: none;
}
#webform-submission-reporting-suspected-corruption-add-form>* {
  flex: 1 1 calc(50% - 1.5rem);
  min-width: 300px;
}
#webform-submission-reporting-suspected-corruption-add-form .form-item-commitment,
#webform-submission-reporting-suspected-corruption-add-form .form-item-message {
  flex: 1 1 100%;
  padding: 1rem;
  border-radius: 12px;
}
#webform-submission-reporting-suspected-corruption-add-form .form-item-location {
  flex: 1 1 100%;
}
#webform-submission-reporting-suspected-corruption-add-form .webform-type-checkbox {
  display: flex;
  flex-wrap: wrap;
}
#webform-submission-reporting-suspected-corruption-add-form .webform-type-checkbox input {
  width: 50px;
  order: 1;
}
#webform-submission-reporting-suspected-corruption-add-form .webform-type-checkbox .form-item--error-message {
  width: 100%;
  order: 3;
}
#webform-submission-reporting-suspected-corruption-add-form .webform-type-checkbox .form-check-label {
  width: calc(100% - 50px);
  order: 2;
}
#webform-submission-reporting-suspected-corruption-add-form .form-actions {
  flex: 1 1 100%;
}
#webform-submission-reporting-suspected-corruption-add-form #ajax-wrapper {
  flex: 1 1 100%;
}
#webform-submission-reporting-suspected-corruption-add-form .form-actions input {
  border-radius: 4px;
  padding: 7px 20px;
  background: #1b8354;
  border: 0;
}
#webform-submission-reporting-suspected-corruption-add-form .form-actions input:hover {
  background: #14573A;
}
#webform-submission-reporting-suspected-corruption-add-form .form-item-commitment {
  background-color: #f9fafc;
  border: 2px solid #e2e2e2;
  display: flex;
  gap: 0.5rem;
}
#webform-submission-reporting-suspected-corruption-add-form .form-item-commitment>input[type="checkbox"] {
  flex: 0 0 15px;
  height: 15px;
}
#webform-submission-reporting-suspected-corruption-add-form .form-item-message {
  background-color: #eff9ff;
  border: 2px solid #dbedf4;
}
#webform-submission-reporting-suspected-corruption-add-form .form-item {
  margin: 0;
  flex-wrap: wrap;
}
#webform-submission-reporting-suspected-corruption-add-form label {
  font-weight: normal;
}
#webform-submission-reporting-suspected-corruption-add-form label:not(.form-submit) {
  color: #9799a8;
}
#webform-submission-reporting-suspected-corruption-add-form label::after {
  top: 10px;
  transform: translateY(-50%);
  right: 0;
}
#webform-submission-reporting-suspected-corruption-add-form .captcha {
  padding: 1rem;
  border-radius: 12px;
  background-color: #f9fafc;
  border: 2px solid #eff0f2;
}
#webform-submission-reporting-suspected-corruption-add-form .js-form-type-managed-file {
  display: flex;
  flex-direction: column;
  position: relative;
}
#webform-submission-reporting-suspected-corruption-add-form input[type="file"],
#webform-submission-reporting-suspected-corruption-add-form .js-form-type-managed-file .form-file {
  opacity: 0;
  position: absolute;
  width: 0;
  height: 0;
  pointer-events: none;
}
#webform-submission-reporting-suspected-corruption-add-form .js-form-type-managed-file::after {
  content: "تصفح الملفات";
  display: block;
  background-color: #000 !important;
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  margin: 0;
  margin-top: 8px;
  transition: background-color 0.3s ease;
  width: 170px;
  height: 45px;
  text-align: center;
  order: 2;
  visibility: visible;
  opacity: 1;
  position: relative;
  z-index: 1;
  transform: unset;
}
[dir="ltr"] #webform-submission-reporting-suspected-corruption-add-form .js-form-type-managed-file::after {
  content: "Browse Files";
}
#webform-submission-reporting-suspected-corruption-add-form .js-form-type-managed-file:hover::after {
  background-color: #333 !important;
}
#webform-submission-reporting-suspected-corruption-add-form .js-form-type-managed-file:has(.file)::after {
  display: none;
}
#webform-submission-reporting-suspected-corruption-add-form .js-form-type-managed-file .webform-element-description br:first-of-type {
  display: none;
}
#webform-submission-reporting-suspected-corruption-add-form .form-managed-file {
  position: relative;
  display: none;
  align-items: center;
  flex-flow: row;
  gap: 0.5rem;
  width: 100%;
  border-radius: 0.25rem;
}
#webform-submission-reporting-suspected-corruption-add-form .form-managed-file:has(.file) {
  display: flex;
  padding: 0.5rem 1rem 0.5rem 0.5rem;
  height: 2.5rem;
  border: 1px solid #9DA4AE;
  margin-bottom: 10px;
}
#webform-submission-reporting-suspected-corruption-add-form .form-managed-file .file {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}
#webform-submission-reporting-suspected-corruption-add-form .form-managed-file .button {
  color: rgb(22, 22, 22);
  font-size: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  outline: 0px;
  border-radius: 0px;
  padding: 0px;
  margin: 0px;
  background-color: transparent;
  border: 0;
}
#webform-submission-reporting-suspected-corruption-add-form .form-managed-file:has(.file) .button {
  color: transparent !important;
  font-size: 0;
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236c757d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px;
  cursor: pointer;
  border: none;
  background-color: transparent !important;
}
#webform-submission-reporting-suspected-corruption-add-form .js-form-type-managed-file>label {
  pointer-events: none;
  cursor: default;
}
#webform-submission-reporting-suspected-corruption-add-form .js-form-managed-file {
  position: relative;
  display: inline-block;
}
#webform-submission-reporting-suspected-corruption-add-form .js-form-type-managed-file input[type="file"] {
  opacity: 0;
  position: absolute;
  bottom: -98px;
  right: 0;
  width: auto;
  height: auto;
  min-width: 150px;
  min-height: 44px;
  cursor: pointer;
  pointer-events: auto;
  z-index: 10;
}
[dir="ltr"] #webform-submission-reporting-suspected-corruption-add-form .js-form-type-managed-file input[type="file"] {
  left: 0;
  right: unset;
}
#webform-submission-contact-add-form select,
.webform-submission-contact-form select,
#webform-submission-contact-add-form .form-select,
.webform-submission-contact-form .form-select {
  width: 100% !important;
}
#webform-submission-contact-add-form input[type="text"],
.webform-submission-contact-form input[type="text"],
#webform-submission-contact-add-form input[type="email"],
.webform-submission-contact-form input[type="email"],
#webform-submission-contact-add-form input[type="tel"],
.webform-submission-contact-form input[type="tel"],
#webform-submission-contact-add-form select,
.webform-submission-contact-form select,
#webform-submission-contact-add-form .form-select,
.webform-submission-contact-form .form-select {
  height: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;
  padding: 0.375rem 0.75rem !important;
  font-size: 1rem !important;
  font-weight: 400;
  line-height: 1.5 !important;
  color: #495057;
  background-color: #F3F4F6;
  background-clip: padding-box;
  border-radius: 0.25rem;
  box-sizing: border-box !important;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  border: 0;
}
#webform-submission-contact-add-form textarea,
.webform-submission-contact-form textarea {
  min-height: 200px !important;
  background-color: #F3F4F6;
  border: 0;
}
#webform-submission-contact-add-form input[type="text"]:focus,
.webform-submission-contact-form input[type="text"]:focus,
#webform-submission-contact-add-form input[type="email"]:focus,
.webform-submission-contact-form input[type="email"]:focus,
#webform-submission-contact-add-form input[type="tel"]:focus,
.webform-submission-contact-form input[type="tel"]:focus,
#webform-submission-contact-add-form .form-control:focus,
.webform-submission-contact-form .form-control:focus,
#webform-submission-contact-add-form select:focus,
.webform-submission-contact-form select:focus,
#webform-submission-contact-add-form .form-select:focus,
.webform-submission-contact-form .form-select:focus,
#webform-submission-contact-add-form textarea:focus,
.webform-submission-contact-form textarea:focus {
  color: #495057;
  background-color: #fff;
  border: 1px solid #000 !important;
  outline: 0;
  box-shadow: none !important;
}
#webform-submission-contact-add-form select,
.webform-submission-contact-form select,
#webform-submission-contact-add-form .form-select,
.webform-submission-contact-form .form-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3e%3cpath d='M18 9.00005C18 9.00005 13.5811 15 12 15C10.4188 15 6 9 6 9' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5'/%3e%3c/svg%3e") !important;
  background-size: 24px !important;
  background-position: left !important;
}
[dir="rtl"] #webform-submission-contact-add-form select,
[dir="rtl"] .webform-submission-contact-form select,
[dir="rtl"] #webform-submission-contact-add-form .form-select,
[dir="rtl"] .webform-submission-contact-form .form-select {
  background-position: left 0.75rem center !important;
}
[dir="ltr"] #webform-submission-contact-add-form select,
[dir="ltr"] .webform-submission-contact-form select,
[dir="ltr"] #webform-submission-contact-add-form .form-select {
  background-position: right 0.75rem center !important;
}
#webform-submission-contact-add-form select:hover,
.webform-submission-contact-form select:hover,
#webform-submission-contact-add-form .form-select:hover,
.webform-submission-contact-form .form-select:hover {
  border-color: #ced4da !important;
  border-width: 1px !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3e%3cpath d='M18 9.00005C18 9.00005 13.5811 15 12 15C10.4188 15 6 9 6 9' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5'/%3e%3c/svg%3e") !important;
  background-size: 24px !important;
}
#webform-submission-contact-add-form select:focus,
.webform-submission-contact-form select:focus,
#webform-submission-contact-add-form .form-select:focus,
.webform-submission-contact-form .form-select:focus {
  color: #495057;
  background-color: #fff;
  border: 1px solid #000 !important;
  outline: 0;
  box-shadow: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' color='currentColor'%3E%3Cg transform='rotate(180 12 12)'%3E%3Cpath d='M18 9.00005C18 9.00005 13.5811 15 12 15C10.4188 15 6 9 6 9' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5'/%3E%3C/g%3E%3C/svg%3E") !important;
  background-size: 24px !important;
}
.webform-submission-contact-form .text-input-container .alert-success {
  display: none !important;
}
#webform-submission-contact-add-form .js-form-type-managed-file,
.webform-submission-contact-form .js-form-type-managed-file {
  flex-direction: column;
  position: relative;
}
#webform-submission-contact-add-form input[type="file"],
.webform-submission-contact-form input[type="file"],
#webform-submission-contact-add-form .js-form-type-managed-file .form-file,
.webform-submission-contact-form .js-form-type-managed-file .form-file {
  opacity: 0;
  position: absolute;
  width: 0;
  height: 0;
  pointer-events: none;
}
#webform-submission-contact-add-form .js-form-type-managed-file::after,
.webform-submission-contact-form .js-form-type-managed-file::after {
  content: "تصفح الملفات";
  display: block;
  background-color: #000 !important;
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  margin: 0;
  margin-top: 8px;
  transition: background-color 0.3s ease;
  width: 170px;
  height: 45px;
  text-align: center;
  order: 2;
  visibility: visible;
  opacity: 1;
  position: relative;
  z-index: 1;
  transform: unset;
}
[dir="ltr"] .webform-submission-contact-form .js-form-type-managed-file::after,
[dir="ltr"] #webform-submission-contact-add-form .js-form-type-managed-file::after {
  content: "Browse Files";
}
#webform-submission-contact-add-form .js-form-type-managed-file:hover::after,
.webform-submission-contact-form .js-form-type-managed-file:hover::after {
  background-color: #333;
}
#webform-submission-contact-add-form .js-form-type-managed-file:has(.file)::after,
.webform-submission-contact-form .js-form-type-managed-file:has(.file)::after {
  display: none;
}
#webform-submission-contact-add-form .js-form-type-managed-file .webform-element-description br:first-of-type,
.webform-submission-contact-form .js-form-type-managed-file .webform-element-description br:first-of-type {
  display: none;
}
#webform-submission-contact-add-form .form-managed-file,
.webform-submission-contact-form .form-managed-file {
  position: relative;
  display: none;
  align-items: center;
  flex-flow: row;
  gap: 0.5rem;
  width: 100%;
  border-radius: 0.25rem;
}
#webform-submission-contact-add-form .form-managed-file:has(.file),
.webform-submission-contact-form .form-managed-file:has(.file) {
  display: flex;
  padding: 0.5rem 1rem 0.5rem 0.5rem;
  height: 2.5rem;
  border: 1px solid #9DA4AE;
  margin-bottom: 10px;
}
#webform-submission-contact-add-form .form-managed-file .file,
.webform-submission-contact-form .form-managed-file .file {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}
#webform-submission-contact-add-form .form-managed-file .button,
.webform-submission-contact-form .form-managed-file .button {
  color: rgb(22, 22, 22);
  font-size: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  outline: 0px;
  border-radius: 0px;
  padding: 0px;
  margin: 0px;
  background-color: transparent;
  border: 0;
}
#webform-submission-contact-add-form .form-managed-file:has(.file) .button,
.webform-submission-contact-form .form-managed-file:has(.file) .button {
  color: transparent !important;
  font-size: 0;
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236c757d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px;
  cursor: pointer;
  border: none;
  background-color: transparent !important;
}
#webform-submission-contact-add-form .form-item-captcha-response .form-control,
.webform-submission-contact-form .form-item-captcha-response .form-control {
  max-width: 300px !important;
}
#webform-submission-contact-add-form .js-form-type-managed-file>label,
.webform-submission-contact-form .js-form-type-managed-file>label {
  pointer-events: none;
  cursor: default;
}
#webform-submission-contact-add-form .js-form-managed-file,
.webform-submission-contact-form .js-form-managed-file {
  position: relative;
  display: inline-block;
}
#webform-submission-contact-add-form .js-form-type-managed-file input[type="file"],
.webform-submission-contact-form .js-form-type-managed-file input[type="file"] {
  opacity: 0;
  position: absolute;
  bottom: -52px;
  left: 0;
  width: auto;
  height: auto;
  min-width: 150px;
  min-height: 44px;
  cursor: pointer;
  pointer-events: auto;
  z-index: 10;
}
[dir="rtl"] #webform-submission-contact-add-form .js-form-type-managed-file input[type="file"],
[dir="rtl"] .webform-submission-contact-form .js-form-type-managed-file input[type="file"] {
  left: unset;
  right: 0;
}
#webform-submission-contact-add-form .webform-element-help,
.webform-submission-contact-form .webform-element-help {
  display: none !important;
}
#webform-submission-contact-add-form input,
#webform-submission-contact-add-form select,
#webform-submission-contact-add-form textarea,
.webform-submission-contact-form input,
.webform-submission-contact-form select,
.webform-submission-contact-form textarea {
  margin-top: 0 !important;
}
#webform-submission-ltwsl-lhkwmy-add-form .js-form-type-managed-file,
.webform-submission-ltwsl-lhkwmy-form .js-form-type-managed-file {
  display: flex;
  flex-direction: column;
  position: relative;
}
#webform-submission-ltwsl-lhkwmy-add-form input[type="file"],
.webform-submission-ltwsl-lhkwmy-form input[type="file"],
#webform-submission-ltwsl-lhkwmy-add-form .js-form-type-managed-file .form-file,
.webform-submission-ltwsl-lhkwmy-form .js-form-type-managed-file .form-file {
  opacity: 0;
  position: absolute;
  width: 0;
  height: 0;
  pointer-events: none;
}
#webform-submission-ltwsl-lhkwmy-add-form .js-form-type-managed-file::after,
.webform-submission-ltwsl-lhkwmy-form .js-form-type-managed-file::after {
  content: "تصفح الملفات";
  display: block;
  background-color: #000 !important;
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  margin: 0;
  margin-top: 8px;
  transition: background-color 0.3s ease;
  width: 170px;
  height: 45px;
  text-align: center;
  order: 2;
  visibility: visible;
  opacity: 1;
  position: relative;
  z-index: 1;
  transform: unset;
}
[dir="ltr"] .webform-submission-ltwsl-lhkwmy-form .js-form-type-managed-file::after,
[dir="ltr"] #webform-submission-ltwsl-lhkwmy-add-form .js-form-type-managed-file::after {
  content: "Browse Files";
}
#webform-submission-ltwsl-lhkwmy-add-form .js-form-type-managed-file:hover::after,
.webform-submission-ltwsl-lhkwmy-form .js-form-type-managed-file:hover::after {
  background-color: #333;
}
#webform-submission-ltwsl-lhkwmy-add-form .js-form-type-managed-file:has(.file)::after,
.webform-submission-ltwsl-lhkwmy-form .js-form-type-managed-file:has(.file)::after {
  display: none;
}
#webform-submission-ltwsl-lhkwmy-add-form .js-form-type-managed-file .webform-element-description br:first-of-type,
.webform-submission-ltwsl-lhkwmy-form .js-form-type-managed-file .webform-element-description br:first-of-type {
  display: none;
}
#webform-submission-ltwsl-lhkwmy-add-form .form-managed-file,
.webform-submission-ltwsl-lhkwmy-form .form-managed-file {
  position: relative;
  display: none;
  align-items: center;
  flex-flow: row;
  gap: 0.5rem;
  width: 100%;
  border-radius: 0.25rem;
}
#webform-submission-ltwsl-lhkwmy-add-form .form-managed-file:has(.file),
.webform-submission-ltwsl-lhkwmy-form .form-managed-file:has(.file) {
  display: flex;
  padding: 0.5rem 1rem 0.5rem 0.5rem;
  height: 2.5rem;
  border: 1px solid #9DA4AE;
  margin-bottom: 10px;
}
#webform-submission-ltwsl-lhkwmy-add-form .form-managed-file .file,
.webform-submission-ltwsl-lhkwmy-form .form-managed-file .file {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}
#webform-submission-ltwsl-lhkwmy-add-form .form-managed-file .button,
.webform-submission-ltwsl-lhkwmy-form .form-managed-file .button {
  color: rgb(22, 22, 22);
  font-size: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  outline: 0px;
  border-radius: 0px;
  padding: 0px;
  margin: 0px;
  background-color: transparent;
  border: 0;
}
#webform-submission-ltwsl-lhkwmy-add-form .form-managed-file:has(.file) .button,
.webform-submission-ltwsl-lhkwmy-form .form-managed-file:has(.file) .button {
  color: transparent !important;
  font-size: 0;
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236c757d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px;
  cursor: pointer;
  border: none;
  background-color: transparent !important;
}
#webform-submission-ltwsl-lhkwmy-add-form .webform-element-help,
.webform-submission-ltwsl-lhkwmy-form .webform-element-help {
  display: none !important;
}
#webform-submission-ltwsl-lhkwmy-add-form input,
#webform-submission-ltwsl-lhkwmy-add-form select,
#webform-submission-ltwsl-lhkwmy-add-form textarea,
.webform-submission-ltwsl-lhkwmy-form input,
.webform-submission-ltwsl-lhkwmy-form select,
.webform-submission-ltwsl-lhkwmy-form textarea {
  margin-top: 0 !important;
}
#webform-submission-ltwsl-lhkwmy-add-form .js-form-type-managed-file>label,
.webform-submission-ltwsl-lhkwmy-form .js-form-type-managed-file>label {
  pointer-events: none;
  cursor: default;
}
#webform-submission-ltwsl-lhkwmy-add-form .js-form-managed-file,
.webform-submission-ltwsl-lhkwmy-form .js-form-managed-file {
  position: relative;
  display: inline-block;
}
#webform-submission-ltwsl-lhkwmy-add-form .js-form-type-managed-file input[type="file"],
.webform-submission-ltwsl-lhkwmy-form .js-form-type-managed-file input[type="file"] {
  opacity: 0;
  position: absolute;
  bottom: -99px;
  left: 0;
  width: auto;
  height: auto;
  min-width: 150px;
  min-height: 44px;
  cursor: pointer;
  pointer-events: auto;
  z-index: 10;
}
[dir="rtl"] #webform-submission-ltwsl-lhkwmy-add-form .js-form-type-managed-file input[type="file"],
[dir="rtl"] .webform-submission-ltwsl-lhkwmy-form .js-form-type-managed-file input[type="file"] {
  left: unset;
  right: 0;
}
.webform-submission-ltwsl-lhkwmy-form .alert-success {
  display: none;
}
#webform-submission-contact-minister-add-form .js-form-type-webform-document-file,
.webform-submission-contact-minister-form .js-form-type-webform-document-file {
  display: flex;
  flex-direction: column;
  position: relative;
}
#webform-submission-contact-minister-add-form input[type="file"],
.webform-submission-contact-minister-form input[type="file"],
#webform-submission-contact-minister-add-form .js-form-type-webform-document-file .form-file,
.webform-submission-contact-minister-form .js-form-type-webform-document-file .form-file {
  opacity: 0;
  position: absolute;
  width: 0;
  height: 0;
  pointer-events: none;
}
#webform-submission-contact-minister-add-form .js-form-type-webform-document-file::after,
.webform-submission-contact-minister-form .js-form-type-webform-document-file::after {
  content: "تصفح الملفات";
  display: block;
  background-color: #000 !important;
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  margin: 0;
  margin-top: 8px;
  transition: background-color 0.3s ease;
  width: 170px;
  height: 45px;
  text-align: center;
  order: 2;
  visibility: visible;
  opacity: 1;
  position: relative;
  z-index: 1;
  transform: unset;
}
[dir="ltr"] .webform-submission-contact-minister-form .js-form-type-webform-document-file::after,
[dir="ltr"] #webform-submission-contact-minister-add-form .js-form-type-webform-document-file::after {
  content: "Browse Files";
}
#webform-submission-contact-minister-add-form .js-form-type-webform-document-file:hover::after,
.webform-submission-contact-minister-form .js-form-type-webform-document-file:hover::after {
  background-color: #333;
}
#webform-submission-contact-minister-add-form .js-form-type-webform-document-file:has(.file)::after,
.webform-submission-contact-minister-form .js-form-type-webform-document-file:has(.file)::after {
  display: none;
}
#webform-submission-contact-minister-add-form .js-form-type-webform-document-file .webform-element-description br:first-of-type,
.webform-submission-contact-minister-form .js-form-type-webform-document-file .webform-element-description br:first-of-type {
  display: none;
}
#webform-submission-contact-minister-add-form .form-managed-file,
.webform-submission-contact-minister-form .form-managed-file {
  position: relative;
  display: none;
  align-items: center;
  flex-flow: row;
  gap: 0.5rem;
  width: 100%;
  border-radius: 0.25rem;
}
#webform-submission-contact-minister-add-form .form-managed-file:has(.file),
.webform-submission-contact-minister-form .form-managed-file:has(.file) {
  display: flex;
  padding: 0.5rem 1rem 0.5rem 0.5rem;
  height: 2.5rem;
  border: 1px solid #9DA4AE;
  margin-bottom: 10px;
}
#webform-submission-contact-minister-add-form .form-managed-file .file,
.webform-submission-contact-minister-form .form-managed-file .file {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}
#webform-submission-contact-minister-add-form .form-managed-file .button,
.webform-submission-contact-minister-form .form-managed-file .button {
  color: rgb(22, 22, 22);
  font-size: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  outline: 0px;
  border-radius: 0px;
  padding: 0px;
  margin: 0px;
  background-color: transparent;
  border: 0;
}
#webform-submission-contact-minister-add-form .form-managed-file:has(.file) .button,
.webform-submission-contact-minister-form .form-managed-file:has(.file) .button {
  color: transparent !important;
  font-size: 0;
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236c757d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px;
  cursor: pointer;
  border: none;
  background-color: transparent !important;
}
#webform-submission-contact-minister-add-form .js-form-type-webform-document-file>label,
.webform-submission-contact-minister-form .js-form-type-webform-document-file>label {
  pointer-events: none;
  cursor: default;
}
#webform-submission-contact-minister-add-form .js-form-managed-file,
.webform-submission-contact-minister-form .js-form-managed-file {
  position: relative;
  display: inline-block;
}
#webform-submission-contact-minister-add-form .js-form-type-webform-document-file input[type="file"],
.webform-submission-contact-minister-form .js-form-type-webform-document-file input[type="file"] {
  opacity: 0;
  position: absolute;
  bottom: -52px;
  left: 0;
  width: auto;
  height: auto;
  min-width: 150px;
  min-height: 44px;
  cursor: pointer;
  pointer-events: auto;
  z-index: 10;
}
[dir="rtl"] #webform-submission-contact-minister-add-form .js-form-type-webform-document-file input[type="file"],
[dir="rtl"] .webform-submission-contact-minister-form .js-form-type-webform-document-file input[type="file"] {
  left: unset;
  right: 0;
}
#webform-submission-contact-minister-add-form .webform-element-help,
.webform-submission-contact-minister-form .webform-element-help {
  display: none !important;
}
.survey-form-content .form-radios,
.webform-submission-sandbox-application-form-form .form-radios,
.gender-lable {
  display: flex !important;
  gap: 20px;
  align-items: center;
}
.webform-type-radios #edit-gender--wrapper-legend {
  width: auto !important;
}
.webform-submission-sandbox-application-form-form .form-item-captcha-response input {
  margin-bottom: 0 !important;
}
.webform-submission-sandbox-application-form-form fieldset .captcha__title {
  background-color: transparent !important;
  color: #000 !important;
  padding: 0 !important;
}
.webform-submission-sandbox-application-form-form input,
.webform-submission-sandbox-application-form-form textarea {
  margin-bottom: 50px !important;
}
.webform-submission-sandbox-application-form-form .radios--wrapper {
  flex-direction: column !important;
}
.webform-submission-sandbox-application-form-form .form-check {
  padding-left: 0 !important;
}
.webform-submission-sandbox-application-form-form #edit-are-there-current-regulations-that-conflict-with-the-proposed-in,
.webform-submission-sandbox-application-form-form #edit-does-this-innovation-intersect-with-other-government-entities-or,
.webform-submission-sandbox-application-form-form #edit-does-the-solution-require-data,
.webform-submission-sandbox-application-form-form #edit-does-it-require-a-regulatory-exemption,
.webform-submission-sandbox-application-form-form #edit-does-it-require-technical-integration-with-ministry-systems,
.webform-submission-sandbox-application-form-form #edit-is-the-applicant-licensed-or-authorized-to-work-on-this-innovati {
  flex-direction: row !important;
  padding: 30px 0;
}
.webform-submission-sandbox-application-form-form #edit-is-the-applicant-licensed-or-authorized-to-work-on-this-innovati>div,
.webform-submission-sandbox-application-form-form #edit-does-this-innovation-intersect-with-other-government-entities-or>div,
.webform-submission-sandbox-application-form-form #edit-does-the-solution-require-data>div,
.webform-submission-sandbox-application-form-form #edit-does-it-require-a-regulatory-exemption>div,
.webform-submission-sandbox-application-form-form #edit-does-it-require-technical-integration-with-ministry-systems>div,
.webform-submission-sandbox-application-form-form #edit-are-there-current-regulations-that-conflict-with-the-proposed-in>div {
  width: 50%;
  padding: 0 !important;
}
.webform-submission-sandbox-application-form-form .radios--wrapper .fieldset-wrapper {
  width: 100%;
}
.webform-submission-sandbox-application-form-form .radios--wrapper .form-radios {
  flex-direction: column !important;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  gap: 3px;
}
.webform-submission-sandbox-application-form-form .radios--wrapper .form-radios label,
.webform-submission-sandbox-application-form-form .webform-type-checkbox label {
  font-size: 1rem !important;
  margin-inline-start: 10px;
}
.webform-submission-sandbox-application-form-form .radios--wrapper .form-radios input {
  margin-bottom: 0 !important;
}
.webform-submission-sandbox-application-form-form .sendbox-step {
  background-color: #1b8354;
  padding: 7px 10px;
  display: inline-block;
  width: auto;
  color: #FFF;
}
.webform-submission-sandbox-application-form-form .sendbox-title {
  margin-bottom: 40px;
}
.webform-submission-sandbox-application-form-form .sendbox-desc {
  font-size: 20px;
  margin-bottom: 40px;
  color: #0000009e;
}
.webform-submission-sandbox-application-form-form .webform-type-checkbox {
  margin: 10px 0 0 0 !important;
  padding: 0 !important;
}
.webform-submission-sandbox-application-form-form .webform-type-checkbox input {
  width: auto !important;
  border: 1px solid #000 !important;
  border-radius: 2px;
  width: 16px !important;
  float: unset !important;
  margin: 0 !important;
}
.webform-submission-sandbox-application-form-form .form-item-by-clicking-the-submit-button-you-confirm-that-all-information-p {
  display: flex;
  align-items: center;
  margin: 50px 0 20px 0 !important;
}
.webform-submission-sandbox-application-form-form #edit-is-the-applicant-licensed-or-authorized-to-work-on-this-innovati--wrapper,
.webform-submission-sandbox-application-form-form #edit-are-there-current-regulations-that-conflict-with-the-proposed-in--wrapper-legend,
.webform-submission-sandbox-application-form-form #edit-does-the-solution-require-data--wrapper-legend,
.webform-submission-sandbox-application-form-form #edit-does-it-require-technical-integration-with-ministry-systems--wrapper-legend,
.webform-submission-sandbox-application-form-form #edit-does-it-require-a-regulatory-exemption--wrapper-legend,
.webform-submission-sandbox-application-form-form #edit-does-this-innovation-intersect-with-other-government-entities-or--wrapper-legend {
  background-color: unset !important;
  color: #000 !important;
  padding: 0 !important;
}
.webform-submission-sandbox-application-form-form .form-item-by-clicking-the-submit-button-you-confirm-that-all-information-p label::after {
  display: none !important;
}
.webform-submission-sandbox-application-form-form .webform-button--submit {
  display: inline-block;
  width: auto !important;
  border: 0 !important;
  font-weight: 600 !important;
  color: #FFF;
  border-radius: 2px;
}
.webform-submission-sandbox-application-form-form .webform-button--submit:hover {
  background-color: #166A45 !important;
}
#webform-submission-sandbox-application-form-add-form .js-form-type-managed-file,
.webform-submission-sandbox-application-form-form .js-form-type-managed-file {
  display: flex;
  flex-direction: column;
  position: relative;
}
#webform-submission-sandbox-application-form-add-form input[type="file"],
.webform-submission-sandbox-application-form-form input[type="file"],
#webform-submission-sandbox-application-form-add-form .js-form-type-managed-file .form-file,
.webform-submission-sandbox-application-form-form .js-form-type-managed-file .form-file {
  opacity: 0;
  position: absolute;
  width: 0;
  height: 0;
  pointer-events: none;
}
#webform-submission-sandbox-application-form-add-form .js-form-type-managed-file::after,
.webform-submission-sandbox-application-form-form .js-form-type-managed-file::after {
  content: "تصفح الملفات";
  display: block;
  background-color: #000 !important;
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  margin: 0;
  margin-top: 8px;
  transition: background-color 0.3s ease;
  width: 170px;
  height: 45px;
  text-align: center;
  order: 2;
  visibility: visible;
  opacity: 1;
  position: relative;
  z-index: 1;
  transform: unset;
}
[dir="ltr"] .webform-submission-sandbox-application-form-form .js-form-type-managed-file::after,
[dir="ltr"] #webform-submission-sandbox-application-form-add-form .js-form-type-managed-file::after {
  content: "Browse Files";
}
#webform-submission-sandbox-application-form-add-form .js-form-type-managed-file:hover::after,
.webform-submission-sandbox-application-form-form .js-form-type-managed-file:hover::after {
  background-color: #333;
}
#webform-submission-sandbox-application-form-add-form .js-form-type-managed-file:has(.file)::after,
.webform-submission-sandbox-application-form-form .js-form-type-managed-file:has(.file)::after {
  display: none;
}
#webform-submission-sandbox-application-form-add-form .js-form-type-managed-file .webform-element-description br:first-of-type,
.webform-submission-sandbox-application-form-form .js-form-type-managed-file .webform-element-description br:first-of-type {
  display: none;
}
#webform-submission-sandbox-application-form-add-form .form-managed-file,
.webform-submission-sandbox-application-form-form .form-managed-file {
  position: relative;
  display: none;
  align-items: center;
  flex-flow: row;
  gap: 0.5rem;
  width: 100%;
  border-radius: 0.25rem;
}
#webform-submission-sandbox-application-form-add-form .form-managed-file:has(.file),
.webform-submission-sandbox-application-form-form .form-managed-file:has(.file) {
  display: flex;
  padding: 0.5rem 1rem 0.5rem 0.5rem;
  height: 2.5rem;
  border: 1px solid #9DA4AE;
  margin-bottom: 10px;
}
#webform-submission-sandbox-application-form-add-form .form-managed-file .file,
.webform-submission-sandbox-application-form-form .form-managed-file .file {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}
#webform-submission-sandbox-application-form-add-form .form-managed-file .button,
.webform-submission-sandbox-application-form-form .form-managed-file .button {
  color: rgb(22, 22, 22);
  font-size: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  outline: 0px;
  border-radius: 0px;
  padding: 0px;
  margin: 0px;
  background-color: transparent;
  border: 0;
}
#webform-submission-sandbox-application-form-add-form .form-managed-file .button.form-submit {
  display: none;
}
#webform-submission-sandbox-application-form-add-form .form-managed-file:has(.file) .button,
.webform-submission-sandbox-application-form-form .form-managed-file:has(.file) .button {
  color: transparent !important;
  font-size: 0;
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236c757d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px;
  cursor: pointer;
  border: none;
  background-color: transparent !important;
  margin-bottom: 0 !important;
}
#webform-submission-sandbox-application-form-add-form .js-form-type-managed-file>label,
.webform-submission-sandbox-application-form-form .js-form-type-managed-file>label {
  pointer-events: none;
  cursor: default;
}
#webform-submission-sandbox-application-form-add-form .js-form-managed-file,
.webform-submission-sandbox-application-form-form .js-form-managed-file {
  position: relative;
  display: inline-block;
}
#webform-submission-sandbox-application-form-add-form .js-form-type-managed-file input[type="file"],
.webform-submission-sandbox-application-form-form .js-form-type-managed-file input[type="file"] {
  opacity: 0;
  position: absolute;
  bottom: -100px;
  left: 0;
  width: auto;
  height: auto;
  width: 170px !important;
  min-height: 44px;
  cursor: pointer;
  pointer-events: auto;
  z-index: 10;
  margin-bottom: 0 !important;
}
[dir="rtl"] #webform-submission-sandbox-application-form-add-form .js-form-type-managed-file input[type="file"],
[dir="rtl"] .webform-submission-sandbox-application-form-form .js-form-type-managed-file input[type="file"] {
  left: unset;
  right: 0;
}
.webform-submission-sandbox-application-form-form .alert-success {
  display: none !important;
}
.webform-submission-sandbox-application-form-form label {
  padding: 0 !important;
}
.webform-submission-sandbox-application-form-form .webform-type-radios span {
  font-size: 1rem;
  font-weight: 400;
  position: relative;
}
.webform-submission-sandbox-application-form-form #edit-expected-impact--wrapper .fieldset-legend {
  position: relative;
  font-size: 1rem;
  font-weight: 400;
}
@media(max-width: 991px) {
  .webform-submission-sandbox-application-form-form input,
  .webform-submission-sandbox-application-form-form textarea {
    width: 100% !important;
  }
  .webform-submission-sandbox-application-form-form .sendbox-title {
    font-size: 26px;
  }
  .webform-submission-sandbox-application-form-form label,
  .webform-submission-sandbox-application-form-form .radios--wrapper #edit-country--wrapper-legend,
  .webform-submission-sandbox-application-form-form .radios--wrapper #edit-entity-type--wrapper-legend,
  .webform-submission-sandbox-application-form-form .radios--wrapper #edit-type-of-sandbox-environment--wrapper-legend,
  .webform-submission-sandbox-application-form-form .radios--wrapper #edit-please-specify-the-readiness-of-the-product-innovative-solution--wrapper-legend,
  .webform-submission-sandbox-application-form-form .radios--wrapper #edit-target-sector-or-challenge--wrapper-legend,
  .webform-submission-sandbox-application-form-form fieldset legend {
    font-size: 1rem;
  }
  #webform-submission-sandbox-application-form-add-form .webform-flexbox {
    flex-direction: column !important;
  }
}

/* =============================================================================
   Generic webform styling (applies to every webform-submission form).
   Added to fix poor default Bootstrap render — labels glued to inputs,
   flexbox children with no gap, buttons misaligned, file widget cramped.
   ============================================================================= */

/* Form-wide spacing and width. */
form[id^="webform-submission-"] {
  --wf-gap: 1rem;
  --wf-label-color: #161616;
}
form[id^="webform-submission-"] > div,
form[id^="webform-submission-"] .webform-flexbox > .webform-flex > .webform-flex--container {
  margin-bottom: var(--wf-gap);
}

/* Flexbox layout: real flex with gap (was naked flex with no spacing). */
form[id^="webform-submission-"] .webform-flexbox {
  display: flex !important;
  flex-wrap: wrap;
  gap: var(--wf-gap);
  align-items: flex-start;
}
form[id^="webform-submission-"] .webform-flex {
  flex: 1 1 0;
  min-width: 240px;
}
form[id^="webform-submission-"] .webform-flex--container {
  width: 100%;
}

/* Labels — clear hierarchy, breathing room above inputs. */
form[id^="webform-submission-"] .form-item > label,
form[id^="webform-submission-"] fieldset > legend {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  color: var(--wf-label-color);
  line-height: 1.45;
}
form[id^="webform-submission-"] .js-form-required.form-required::after,
form[id^="webform-submission-"] .form-required::after {
  content: " *";
  color: #c0392b;
  font-weight: 700;
  background-image: none;
  width: auto;
  height: auto;
  display: inline;
  vertical-align: baseline;
  margin: 0;
}

/* Inputs / textareas / selects — consistent height, padding, focus state. */
form[id^="webform-submission-"] .form-control,
form[id^="webform-submission-"] input[type="text"],
form[id^="webform-submission-"] input[type="email"],
form[id^="webform-submission-"] input[type="number"],
form[id^="webform-submission-"] input[type="tel"],
form[id^="webform-submission-"] input[type="url"],
form[id^="webform-submission-"] input[type="date"],
form[id^="webform-submission-"] input[type="time"],
form[id^="webform-submission-"] textarea,
form[id^="webform-submission-"] select {
  width: 100%;
  padding: 0.625rem 0.875rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #161616;
  background-color: #fff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
form[id^="webform-submission-"] textarea {
  min-height: 110px;
  resize: vertical;
}
form[id^="webform-submission-"] .form-control:focus,
form[id^="webform-submission-"] input:focus,
form[id^="webform-submission-"] textarea:focus,
form[id^="webform-submission-"] select:focus {
  outline: none;
  border-color: var(--bs-primary, #1a8454);
  box-shadow: 0 0 0 3px rgba(26, 132, 84, 0.15);
}

/* Field descriptions (help text under inputs). */
form[id^="webform-submission-"] .description,
form[id^="webform-submission-"] .webform-element-description {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: #6b7280;
  line-height: 1.5;
}

/* File upload widget — proper sizing, button alignment, remove-button spacing. */
form[id^="webform-submission-"] .js-form-managed-file {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background-color: #fafafa;
  border: 1px dashed #d1d5db;
  border-radius: 8px;
}
form[id^="webform-submission-"] .js-form-managed-file input[type="file"] {
  flex: 1 1 220px;
  padding: 0.5rem;
  background: transparent;
  border: none;
  font-size: 0.95rem;
}
form[id^="webform-submission-"] .js-form-managed-file .file {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.75rem;
  background-color: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 0.9rem;
}
form[id^="webform-submission-"] [data-drupal-selector$="-remove-button"] {
  margin-inline-start: auto;
}

/* Date + time combo (webform_time + webform_date wrappers). */
form[id^="webform-submission-"] .container-inline > .form-item,
form[id^="webform-submission-"] .form--inline > .form-item {
  display: inline-block;
  margin-inline-end: 0.75rem;
  vertical-align: top;
}

/* Buttons — proper primary/secondary look, spacing, alignment. */
form[id^="webform-submission-"] .form-actions,
form[id^="webform-submission-"] .webform-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e5e7eb;
}
form[id^="webform-submission-"] .form-actions .button,
form[id^="webform-submission-"] .webform-actions .button,
form[id^="webform-submission-"] .form-actions input[type="submit"],
form[id^="webform-submission-"] .webform-actions input[type="submit"] {
  padding: 0.625rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid transparent;
}
form[id^="webform-submission-"] .button--primary,
form[id^="webform-submission-"] .webform-button--submit {
  background-color: var(--bs-primary, #1a8454);
  color: #fff;
  border-color: var(--bs-primary, #1a8454);
}
form[id^="webform-submission-"] .button--primary:hover,
form[id^="webform-submission-"] .webform-button--submit:hover {
  background-color: #14684a;
  border-color: #14684a;
}

/* Validation / error messages — visible, not hidden behind whitespace. */
form[id^="webform-submission-"] .form-item--error-message,
form[id^="webform-submission-"] .form-item .error,
form[id^="webform-submission-"] .form-item.form-item--error-message {
  display: block;
  margin-top: 0.35rem;
  padding: 0.35rem 0.5rem;
  font-size: 0.85rem;
  color: #b71c1c;
  background-color: rgba(183, 28, 28, 0.06);
  border-radius: 4px;
}
form[id^="webform-submission-"] .form-control.error,
form[id^="webform-submission-"] input.error,
form[id^="webform-submission-"] textarea.error {
  border-color: #b71c1c;
}

/* Radios + checkboxes — proper alignment and spacing. */
form[id^="webform-submission-"] .form-item-radio,
form[id^="webform-submission-"] .form-item-checkbox,
form[id^="webform-submission-"] .form-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}
form[id^="webform-submission-"] .form-check-input {
  margin-top: 0;
  flex-shrink: 0;
}
form[id^="webform-submission-"] .form-check-label {
  margin-bottom: 0 !important;
  font-weight: 400 !important;
}

/* Fieldsets — visual grouping. */
form[id^="webform-submission-"] fieldset,
form[id^="webform-submission-"] details {
  margin-bottom: 1.25rem;
  padding: 1.25rem 1.5rem;
  background-color: #fafafa;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}
form[id^="webform-submission-"] fieldset > legend,
form[id^="webform-submission-"] details > summary {
  padding: 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
}

/* RTL: flip alignment for Arabic. */
html[dir="rtl"] form[id^="webform-submission-"] .container-inline > .form-item,
html[dir="rtl"] form[id^="webform-submission-"] .form--inline > .form-item {
  margin-inline-end: 0;
  margin-inline-start: 0.75rem;
}

/* Mobile — stack flex children, full-width buttons. */
@media (max-width: 768px) {
  form[id^="webform-submission-"] .webform-flexbox {
    flex-direction: column;
  }
  form[id^="webform-submission-"] .webform-flex {
    min-width: 100%;
  }
  form[id^="webform-submission-"] .form-actions,
  form[id^="webform-submission-"] .webform-actions {
    flex-direction: column;
    align-items: stretch;
  }
  form[id^="webform-submission-"] .form-actions .button,
  form[id^="webform-submission-"] .webform-actions .button {
    width: 100%;
  }
}

/* =============================================================================
   Webform polish layer — micro-interactions, custom controls, depth.
   ============================================================================= */

/* Smoother transitions site-wide on form controls. */
form[id^="webform-submission-"] .form-control,
form[id^="webform-submission-"] input[type="text"],
form[id^="webform-submission-"] input[type="email"],
form[id^="webform-submission-"] input[type="number"],
form[id^="webform-submission-"] input[type="tel"],
form[id^="webform-submission-"] input[type="url"],
form[id^="webform-submission-"] input[type="date"],
form[id^="webform-submission-"] input[type="time"],
form[id^="webform-submission-"] textarea,
form[id^="webform-submission-"] select {
  background-color: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
form[id^="webform-submission-"] .form-control:hover,
form[id^="webform-submission-"] input:hover:not(:focus):not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="file"]),
form[id^="webform-submission-"] textarea:hover:not(:focus),
form[id^="webform-submission-"] select:hover:not(:focus) {
  border-color: #9ca3af;
}

/* Animated focus ring — pulses once then settles. */
@keyframes wf-focus-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(26, 132, 84, 0.35); }
  60%  { box-shadow: 0 0 0 6px rgba(26, 132, 84, 0.12); }
  100% { box-shadow: 0 0 0 3px rgba(26, 132, 84, 0.15); }
}
form[id^="webform-submission-"] .form-control:focus,
form[id^="webform-submission-"] input:focus,
form[id^="webform-submission-"] textarea:focus,
form[id^="webform-submission-"] select:focus {
  animation: wf-focus-pulse 0.45s ease-out forwards;
}

/* Placeholder — subtle and italic. */
form[id^="webform-submission-"] ::placeholder {
  color: #9ca3af;
  opacity: 1;
  font-style: italic;
}

/* Custom select arrow (replaces native browser-styled dropdown caret). */
form[id^="webform-submission-"] select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-inline-end: 2.5rem;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 14px;
}
html[dir="rtl"] form[id^="webform-submission-"] select {
  background-position: left 0.9rem center;
}

/* Custom checkbox + radio — replaces tiny browser defaults with branded ones. */
form[id^="webform-submission-"] .form-check-input,
form[id^="webform-submission-"] input[type="checkbox"],
form[id^="webform-submission-"] input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  margin: 0;
  background-color: #fff;
  border: 1.5px solid #cbd5e1;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
  display: inline-grid;
  place-content: center;
}
form[id^="webform-submission-"] input[type="checkbox"],
form[id^="webform-submission-"] .form-check-input[type="checkbox"] {
  border-radius: 4px;
}
form[id^="webform-submission-"] input[type="radio"],
form[id^="webform-submission-"] .form-check-input[type="radio"] {
  border-radius: 50%;
}
form[id^="webform-submission-"] input[type="checkbox"]:hover,
form[id^="webform-submission-"] input[type="radio"]:hover {
  border-color: var(--bs-primary, #1a8454);
}
form[id^="webform-submission-"] input[type="checkbox"]:checked,
form[id^="webform-submission-"] .form-check-input[type="checkbox"]:checked {
  background-color: var(--bs-primary, #1a8454);
  border-color: var(--bs-primary, #1a8454);
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3E%3Cpath d='M13.485 4.097a.75.75 0 010 1.06L6.55 12.092a.75.75 0 01-1.06 0L2.515 9.117a.75.75 0 011.06-1.061l2.444 2.444 6.405-6.404a.75.75 0 011.061 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}
form[id^="webform-submission-"] input[type="radio"]:checked,
form[id^="webform-submission-"] .form-check-input[type="radio"]:checked {
  border-color: var(--bs-primary, #1a8454);
  background-image: radial-gradient(circle, var(--bs-primary, #1a8454) 0%, var(--bs-primary, #1a8454) 50%, transparent 55%);
}
form[id^="webform-submission-"] input[type="checkbox"]:focus,
form[id^="webform-submission-"] input[type="radio"]:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(26, 132, 84, 0.18);
}

/* File upload — drop-zone hover & drag state. */
form[id^="webform-submission-"] .js-form-managed-file {
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
form[id^="webform-submission-"] .js-form-managed-file:hover {
  background-color: #f3f4f6;
  border-color: var(--bs-primary, #1a8454);
}
form[id^="webform-submission-"] .js-form-managed-file:focus-within {
  background-color: #f3f4f6;
  border-color: var(--bs-primary, #1a8454);
  box-shadow: 0 0 0 3px rgba(26, 132, 84, 0.12);
}
form[id^="webform-submission-"] .js-form-managed-file input[type="file"]::file-selector-button {
  margin-inline-end: 0.75rem;
  padding: 0.45rem 1rem;
  background-color: var(--bs-primary, #1a8454);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
}
form[id^="webform-submission-"] .js-form-managed-file input[type="file"]::file-selector-button:hover {
  background-color: #14684a;
}
form[id^="webform-submission-"] .js-form-managed-file input[type="file"]::file-selector-button:active {
  transform: scale(0.97);
}

/* Submit button — subtle lift on hover, click-shrink, shimmer-on-load. */
form[id^="webform-submission-"] .button--primary,
form[id^="webform-submission-"] .webform-button--submit {
  position: relative;
  overflow: hidden;
  transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 1px 1px rgba(0, 0, 0, 0.03);
}
form[id^="webform-submission-"] .button--primary:hover,
form[id^="webform-submission-"] .webform-button--submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(26, 132, 84, 0.25);
}
form[id^="webform-submission-"] .button--primary:active,
form[id^="webform-submission-"] .webform-button--submit:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
/* Shimmer on hover. */
form[id^="webform-submission-"] .button--primary::after,
form[id^="webform-submission-"] .webform-button--submit::after {
  content: "";
  position: absolute;
  top: 0;
  inset-inline-start: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.25) 50%, transparent 100%);
  transform: skewX(-25deg);
  transition: inset-inline-start 0.6s ease;
}
form[id^="webform-submission-"] .button--primary:hover::after,
form[id^="webform-submission-"] .webform-button--submit:hover::after {
  inset-inline-start: 125%;
}

/* Disabled / loading state. */
form[id^="webform-submission-"] .ajax-progress.ajax-progress-fullscreen {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(2px);
}
form[id^="webform-submission-"] .ajax-progress .throbber {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(26, 132, 84, 0.2);
  border-top-color: var(--bs-primary, #1a8454);
  border-radius: 50%;
  animation: wf-spin 0.8s linear infinite;
}
@keyframes wf-spin {
  to { transform: rotate(360deg); }
}

/* Fieldsets — subtle elevation on hover (interactive feel). */
form[id^="webform-submission-"] fieldset,
form[id^="webform-submission-"] details {
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
form[id^="webform-submission-"] fieldset:hover,
form[id^="webform-submission-"] details:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  border-color: #d1d5db;
}
form[id^="webform-submission-"] details > summary {
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-inline-end: 2rem;
}
form[id^="webform-submission-"] details > summary::-webkit-details-marker {
  display: none;
}
form[id^="webform-submission-"] details > summary::after {
  content: "";
  position: absolute;
  inset-inline-end: 0;
  top: 50%;
  width: 12px;
  height: 12px;
  border-inline-end: 2px solid #6b7280;
  border-bottom: 2px solid #6b7280;
  transform: translateY(-75%) rotate(45deg);
  transition: transform 0.25s ease;
}
form[id^="webform-submission-"] details[open] > summary::after {
  transform: translateY(-25%) rotate(-135deg);
}

/* Validation error — subtle slide-in. */
@keyframes wf-error-slide {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
form[id^="webform-submission-"] .form-item--error-message,
form[id^="webform-submission-"] .form-item .error {
  animation: wf-error-slide 0.25s ease-out;
}

/* Form-level success message — friendlier. */
form[id^="webform-submission-"] .messages--status,
.webform-confirmation .messages--status {
  padding: 1rem 1.25rem;
  background-color: rgba(26, 132, 84, 0.08);
  border-inline-start: 4px solid var(--bs-primary, #1a8454);
  border-radius: 8px;
  color: #14684a;
  animation: wf-error-slide 0.3s ease-out;
}

/* Required asterisk — subtle hover tooltip-ish (just colour shift). */
form[id^="webform-submission-"] .form-required::after {
  transition: color 0.2s ease;
}
form[id^="webform-submission-"] .form-item:hover .form-required::after,
form[id^="webform-submission-"] .form-item:focus-within .form-required::after {
  color: #e74c3c;
}

/* Reduce motion — respect prefers-reduced-motion. */
@media (prefers-reduced-motion: reduce) {
  form[id^="webform-submission-"] *,
  form[id^="webform-submission-"] *::before,
  form[id^="webform-submission-"] *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
