#webform-submission-sm-lab-participation-agreement-paragraph-2196-add-form #edit-address-country {
    font-size: 16px;
    border: 0 !important;
    outline: 0;
    border-radius: 0;
    width: 100%;
    padding: 10px 0;
    box-sizing: border-box;
    margin-top: 10px;
}

#webform-submission-sm-lab-participation-agreement-paragraph-2196-add-form #edit-i-agree--wrapper {
  grid-column: 1 / -1; 
  display: flex; 
  flex-direction: column; 
  gap: 10px;
}
#webform-submission-sm-lab-participation-agreement-paragraph-2196-add-form #edit-i-agree {
display: inline;
}

#webform-submission-sm-lab-participation-agreement-paragraph-2196-add-form #edit-please-select-the-level-of-membership-you-are-applying-for--wrapper {
 grid-column: 1 / -1; 
  display: flex; 
  flex-direction: column; 
  gap: 10px;
}
#webform-submission-sm-lab-participation-agreement-paragraph-2196-add-form #edit-address-country{
margin-bottom: 5px;
    color: #5E5E5E;
    font-size: 13px;
    font-family: Inter;
    font-weight: 400;
    word-wrap: break-word;
}
#webform-submission-sm-lab-participation-agreement-paragraph-2196-add-form-container {
  background-color: #f9f9f9; 
  padding: 20px;
  width: 100%; 
}

#edit-i-agree-one > div {
padding-top: 10px;
}
/* Container styling for Name and Email fields */
#webform-submission-contact-us-news-event-page-paragraph-1307-add-form {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Two equal-width columns */
  gap: 20px; /* Space between columns */
}

/* Specific styling for the Name and Email form items */
#webform-submission-contact-us-news-event-page-paragraph-1307-add-form .form-item--name {
  grid-column: 1; /* Place Name in the first column */
}

#webform-submission-contact-us-news-event-page-paragraph-1307-add-form .form-item--email {
  grid-column: 2; /* Place Email in the second column */
}


#webform-submission-sm-lab-participation-agreement-paragraph-2196-add-form input.form-text,
#webform-submission-sm-lab-participation-agreement-paragraph-2196-add-form input.form-email,
#webform-submission-sm-lab-participation-agreement-paragraph-2196-add-form input.form-number {
  font-size: 16px;
  border: 0 !important; 
  outline: 0; 
  border-radius: 0; 
  width: 100%; 
  padding: 10px 0; 
  box-sizing: border-box;
  margin-top: 10px;
}

#edit-optional-upload-a-text-file-that-contains-your-feedback {
  display: flex;
  flex-direction: column;
}

#edit-optional-upload-a-text-file-that-contains-your-feedback-upload {
  order: 1;
}

#edit-optional-upload-a-text-file-that-contains-your-feedback-file-placeholder {
  order: 2;
  margin-bottom: 5px;
  color: #5E5E5E;
  font-size: 13px;
  font-family: Inter;
  font-weight: 400;
  word-wrap: break-word;
}

#edit-optional-upload-a-text-file-that-contains-your-feedback-upload-button {
  order: 3;
}

#edit-optional-upload-a-text-file-that-contains-your-feedback > input[type=hidden]:nth-child(4) {
  order: 4;
}

#webform-submission-sm-lab-participation-agreement-paragraph-2196-add-form .form-actions .button {
  position: static; -
  transform: none; -
  top: auto;
  left: auto;
  transform: none;
  padding-left: 65px;
  padding-right: 65px;
  background: #552D80;
  color: #fff;
  width: 225px !important;
    margin-top: 0px;
    height: 48px !important;
    padding: 5px 20px !important;
    background: var(--text-brand, #552D80) !important;
    background-image: url(/themes/custom/snia/images/sab.svg) !important;
    background-position: 72% center !important;
    background-repeat: no-repeat !important;
    color: #ffff !important;
    font-family: var(--font-family-name, Inter) !important;
    font-size: var(--font-size-body-small-400, 15px) !important;
    font-style: normal !important;
    font-weight: var(--font-weight-400, 500) !important;
    cursor: pointer;
    border: 0;
}
#webform-submission-sm-lab-participation-agreement-paragraph-2196-add-form {
  background-color: transparent; 
  padding: 20px;
  border-radius: 8px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px; 
  grid-auto-rows: auto; 
  max-width: 1200px; 
  margin: 0 auto; 
}

#webform-submission-sm-lab-participation-agreement-paragraph-2196-add-form label {
 margin-bottom: 5px;
    color: #5E5E5E;
    font-size: 13px;
    font-family: Inter;
    font-weight: 400;
    word-wrap: break-word;
}
#webform-submission-sm-lab-participation-agreement-paragraph-2196-add-form legend {
  margin-bottom: 10px;
  color: #5E5E5E;
  font-size: 13px;
  font-family: Inter, sans-serif;
  font-weight: 400;
  word-wrap: break-word;
}

#webform-submission-sm-lab-participation-agreement-paragraph-2196-add-form legend .fieldset-legend {
  color: #5E5E5E; 
  font-size: 13px;
  font-family: Inter, sans-serif;
  font-weight: 400;
  word-wrap: break-word;
}


#webform-submission-sm-lab-participation-agreement-paragraph-2196-add-form .form-text,
#webform-submission-sm-lab-participation-agreement-paragraph-2196-add-form .form-email,
#webform-submission-sm-lab-participation-agreement-paragraph-2196-add-form .form-number {
  width: 100%;
  padding: 10px;
  margin-bottom: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
}

#webform-submission-sm-lab-participation-agreement-paragraph-2196-add-form .form-textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  height: 150px; 
  resize: vertical;
  margin-top: 10px;
}

#webform-submission-sm-lab-participation-agreement-paragraph-2196-add-form .form-radio {
  margin-right: 8px;
}

#webform-submission-sm-lab-participation-agreement-paragraph-2196-add-form .form-file {
  padding: 6px;
  font-size: 14px;
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-bottom: 16px;
  margin-top: 10px;
}

#webform-submission-sm-lab-participation-agreement-paragraph-2196-add-form .webform-element-description {
  font-size: 12px;
  color: #777;
  margin-top: 8px;
}

#webform-submission-sm-lab-participation-agreement-paragraph-2196-add-form .contextual {
  margin-top: 20px;
}

#webform-submission-sm-lab-participation-agreement-paragraph-2196-add-form .contextual-links {
  list-style: none;
  padding: 0;
}

#webform-submission-sm-lab-participation-agreement-paragraph-2196-add-form .contextual-links li {
  margin-bottom: 8px;
}

#webform-submission-sm-lab-participation-agreement-paragraph-2196-add-form .contextual-links a {
  text-decoration: none;
  color: #007bff;
  font-size: 14px;
}

#webform-submission-sm-lab-participation-agreement-paragraph-2196-add-form .contextual-links a:hover {
  text-decoration: underline;
}

#webform-submission-sm-lab-participation-agreement-paragraph-2196-add-form .form-item {
  margin-bottom: 16px;
}

#webform-submission-sm-lab-participation-agreement-paragraph-2196-add-form .form-actions {
  text-align: center;
  grid-column: 1 / -1 !important;
    text-align: center;
    margin-top: 20px;
}


#edit-does-your-submission-contain-a-proposed-fix-solution-or-improvem{
  display: inline-flex;
}

#edit-does-your-submission-contain-a-proposed-fix-solution-or-improvem > div:nth-child(1){
  padding-right: 2rem;
}
.paragraph--webform{
background-color: #F9F9F9;
}

@media (max-width: 768px) {
  #webform-submission-sm-lab-participation-agreement-paragraph-2196-add-form {
    grid-template-columns: 1fr;
  }
  #webform-submission-sm-lab-participation-agreement-paragraph-2196-add-form .form-item {
    margin-bottom: 12px;
  }
}
