li:has(a[href="/ar/admin/structure/webform/manage/request_to_information/results/upload"]) {
  display: none;
}
li:has(a[href="/ar/admin/structure/webform/manage/request_to_information/results/clear"]) {
  display: none;
}

.js-form-type-webform-document-file .webform-element-description,
.form-item--error-message{
    color: red;
}

.form-item-agreed label::after{
  content: "" !important;
}


.webform-file-button-input,
.captcha__description.description,
.captcha__title {
  display: none !important;
}
.iti__country-list {
    max-height: 138px;
}


[dir="ltr"] .node--view-mode-full .iti__flag-container ul li {
     margin-left: 0 !important;
    list-style: none !important;
}

.iti__flag-container{
 direction: ltr;
}

.webform-file-button {
  background-color: #4fba6f;
  color: #fff !important;
  padding: 10px 20px 10px 50px !important; /* Space for icon */
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg fill='white' height='200px' width='200px' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='m158.7,136c11.8,10.6 24.8,3.3 28.9-1l48-51.6v297.2c0,11.3 9.1,20.4 20.4,20.4 11.3,0 20.4-9.1 20.4-20.4v-297.3l48,51.6c7.7,8.3 20.6,8.7 28.9,1 8.3-7.7 8.7-20.6 1-28.9l-83.4-89.6c-3.9-4.1-9.3-6.5-14.9-6.5-5.7,0-11.1,2.4-14.9,6.5l-83.4,89.6c-7.7,8.4-7.4,21.5 1,29z'/%3E%3Cpath d='M480.6,335c-11.3,0-20.4,9.1-20.4,20.4v104.8H51.8V355.4c0-11.3-9.1-20.4-20.4-20.4c-11.3,0-20.4,9.1-20.4,20.4v125.2 c0,11.3,9.1,20.4,20.4,20.4h449.2c11.3,0,20.4-9.1,20.4-20.4V355.4C501,344.1,491.9,335,480.6,335z'/%3E%3C/svg%3E");

  background-repeat: no-repeat;
  background-position: 14px center;
  background-size: 24px 24px;
  transition: background-color 0.3s ease;
}

.webform-file-button:hover {
  background-color: #3da760;
}

.js-form-item.form-item.js-form-type-checkbox.form-item-agreed.js-form-item-agreed.form-no-label 
{
      display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 5px;
}


/* Hide just the radio input */
#edit-message-handler-id-email-1 {
  display: none !important;
}

/* Also hide its label text */
label[for="edit-message-handler-id-email-1"] {
  display: none !important;
}

/* Hide the entire table row (modern browsers that support :has) */
tr:has(#edit-message-handler-id-email-1) {
  display: none !important;
}


#request_to_information--mobile_phone_number a,
.views-field-webform-submission-value-4 a{
  direction: ltr;
  unicode-bidi: bidi-override; /* ensures 0 7 7 4 ... stay in order even with spaces */
  white-space: nowrap;
}


.page-args-request-for-information span.form-required::after {
    content: '*';
    position: absolute;
    margin-right: 3px;
    color: red;
}
.js-form-item.form-item.js-form-type-tel.form-type-tel.js-form-item-mobile-phone-number.form-item-mobile-phone-number.form-group {
    display: grid;
}
