/* ID Submissions — PROJECT form only. Loads after base.css and only adds
   what's specific to this form (currently just its accent color), kept in
   its own file so project/product/article can diverge independently
   without touching each other. */

   .idsub-project-form {
      --idsub-accent: #1b4f72; /* deep blue */
   }
   
   
   .idsub-project-form .idsub-form input:focus-visible, .idsub-project-form .idsub-form select:focus-visible, .idsub-project-form .idsub-form textarea:focus-visible{
      outline: none;
   }
   
   .idsub-project-form h1.idsub-form-title {
      font-weight: 600 !important;
      font-size: 22px;
      line-height: 1.3;
      margin: 0 0 20px !important;
      padding: 0 0 14px !important;
      border: 0 !important;
      border-bottom: 1px solid #ececec !important;
      text-align: left;
   }
   
   .elementor-widget-wrap:has(.idsub-project-form) > .elementor-widget-heading:first-of-type,
   .e-con:has(.idsub-project-form) > .elementor-widget-heading:first-of-type,
   .e-con-inner:has(.idsub-project-form) > .elementor-widget-heading:first-of-type,
   .e-con-inner:has(.idsub-project-form) > .elementor-element.elementor-widget-heading:first-of-type,
   .elementor-widget-wrap:has(.idsub-project-form) > .elementor-element.elementor-widget-heading:first-of-type {
      width: 100%;
      text-align: center;
      /* padding-top: 50px !important; */
   }
   
   .idsub-project-form .idsub-form label, .idsub-project-form .idsub-form label.idsub-sub {
      display: block !important;
      width: 100%;
      font-weight: 500 !important;
      margin: 20px 0 0;
      padding: 0 0 6px;
      color: #222222 !important;
   }

   .idsub-project-form .idsub-form label.small-text{
      font-size: 15px !important;
      color: #222222;
      font-weight: 400 !important;
   }
   
   .idsub-project-form .idsub-hint, .idsub-project-form .idsub-file-status, .idsub-project-form .idsub-hint-list li {
      color: #777777;
      font-size: 14px;
      line-height: 22px;
   }
   
   .idsub-project-form .idsub-file-drop input[type="file"]::file-selector-button,
   .idsub-project-form .idsub-file-drop input[type="file"]::-webkit-file-upload-button {
      background: #111111 !important;
      color: #ffffff !important;
      border: 0 !important;
      padding: 8px 16px !important;
      font-weight: 700 !important;
      border-radius: 3px !important;
      cursor: pointer !important;
      margin: 0 !important;
      margin-right: 20px !important;
   }

   .idsub-project-form .idsub-file-drop {
      border: 1px dashed #b5b5b5;
      padding: 28px 16px;
      text-align: center;
      background: #ffffff !important;
  }
   
  .idsub-project-form .idsub-file-drop input[type="file"] {
      width: auto;
      max-width: 100%;
      margin: 0 auto;
   }

   .idsub-form-wrap.idsub-project-form {
      width: 100%;
      max-width: 100%;
      margin: 0 0 20px !important;
      padding: 28px 32px 32px !important;
      background: #ffffff;
      border: 1px solid #e6e6e6;
      box-sizing: border-box;
   }

   .idsub-project-form .idsub-btn {
      display: inline-block;
      width: auto !important;
      padding: 8px 16px;
      font-weight: 600;
      border-radius: 3px;
      margin-top: 22px;
  }

  .idsub-project-form .idsub-actions .idsub-btn {
   min-width: 120px;
   background: #111111 !important;
   color: #ffffff !important;
   border: 0 !important;
}

 .idsub-project-form .idsub-form label.idsub-checkbox {
   color: #777777 !important;
   font-size: 14px;
   line-height: 22px;
   font-weight: 400 !important;
   margin-top: 0px;
 }

 .idsub-project-form .idsub-phone-wrap .idsub-country-select {
	padding: 8px 16px !important;
	min-width: 70px;
	max-width: 70px;
	flex: 0 0 70px;
}

.idsub-project-form .idsub-phone-wrap {
   display: flex;
   flex-wrap: nowrap;
   align-items: stretch;
   gap: 10px;
   width: 100%;
   box-sizing: border-box;
}

.idsub-project-form .idsub-form select {
	-webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;

  padding: 10px 40px 10px 12px !important; /* extra space on the right for the arrow */
  background-color: #fff !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important; /* 14px gap from the right edge */
  background-size: 10px 8px !important;
}

/* Form Validations error msg styling */
.idsub-project-form .idsub-form .idsub-error { 
   color: #b32d2e; 
   font-size: 12px; 
   margin: 4px 0 12px; 
}

.idsub-project-form .idsub-form .idsub-invalid { 
   border-color: #b32d2e;
 }

 .idsub-project-form .idsub-form .idsub-btn:disabled,
 .idsub-project-form .idsub-form .idsub-btn.idsub-btn-disabled {
	opacity: 0.5;
	cursor: not-allowed;
	pointer-events: auto; /* keeps the "fix the errors" tooltip working */
	box-shadow: none;
}
.idsub-project-form .idsub-form .idsub-btn-solid:disabled,
.idsub-project-form .idsub-form .idsub-btn-solid.idsub-btn-disabled {
	background: #9aa0a6;
	border-color: #9aa0a6;
	color: #fff;
}
.idsub-project-form .idsub-form .idsub-btn-outline:disabled,
.idsub-project-form .idsub-form .idsub-btn-outline.idsub-btn-disabled {
	color: #9aa0a6;
	border-color: #c5c9cd;
	background: transparent;
}

/* Chrome, Safari, Edge, and other WebKit browsers */
.idsub-project-form .idsub-form input[type="number"]::-webkit-inner-spin-button,
.idsub-project-form .idsub-form input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
.idsub-project-form .idsub-form input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}