div.description { margin-bottom: 1em; }
div.js-webform-radios.webform-options-display-side-by-side.form-radios { margin-top: 5px; }
.form-radios:not(.js-webform-webform-scale) label { display: inline-block; }
.form-composite > legend, .label { padding-bottom: .25rem; }
/* Base & General */
p.alert--event-request                { font-size: 2rem; font-weight: 900; text-align: center; }
section.webform-section               { margin-bottom: 3rem; }
div.description                       { margin-bottom: 1em; }
.form-composite > legend, .label     { padding-bottom: 0.25rem; }
.form-radios:not(.js-webform-webform-scale) label { display: inline-block; }
div.js-webform-radios.webform-options-display-side-by-side.form-radios { margin-top: 5px; }

/* Required field indicator */
.form-required::after                 { display: none; }
.form-required::before                { display: inline-block; width: 10px; height: 10px; margin: 0 0.3em; content: ""; vertical-align: super; background: url(/profiles/sitefarm/themes/sitefarm_one/images/icons/required.svg) no-repeat; background-size: 10px 10px; }
.js-form-item.form-type-checkbox label.option.js-form-required.form-required::before { background-image: none; }
.js-form-item.form-type-checkbox label.option.js-form-required.form-required::after  { display: inline-block; width: 10px; height: 10px; margin: 0 0.3em; content: ""; vertical-align: super; background: url(/profiles/sitefarm/themes/sitefarm_one/images/icons/required.svg) no-repeat; background-size: 10px 10px; }
#webform-submission-event-request-add-form .checkboxes--wrapper label:before, #webform-submission-event-request-add-form .form-type-checkbox label:before, #webform-submission-event-request-add-form .form-item-webform-same-address label:before { border: 3px solid #022851; }
#webform-submission-event-request-add-form .js-form-item.form-type-checkbox label.option.js-form-required.form-required::after { margin: -3px 0 0 -14px; }

/* ── Add Form Specific ── */
form#webform-submission-event-request-add-form section#edit-comments-section div.webform-multiple-add.js-webform-multiple-add.container-inline,
form#webform-submission-event-request-add-form table#edit-comments-items thead { display: none; }

form#webform-submission-event-request-add-form table#edit-comments-items tr[data-drupal-selector="edit-comments-items-0"] td:first-child,
form#webform-submission-event-request-add-form table#edit-comments-items tr[data-drupal-selector="edit-comments-items-0"] td:nth-child(2) { display: none; }

form#webform-submission-event-request-add-form section#edit-dates-times div.webform-multiple-add           { margin: 20px 10px; }
form#webform-submission-event-request-add-form section#edit-dates-times div.webform-multiple-add input     { background-color: #003a5d; color: #fff; }
form#webform-submission-event-request-add-form section#edit-dates-times div#edit-date-flexibility div.form-item { padding: 20px; border-radius: 20px; background: #fff; }
form#webform-submission-event-request-add-form section#edit-dates-times div#edit-date-flexibility div.form-item .checkboxes--wrapper label:before { border: 1px solid #4e4e4e; background: #f4f4f4; }

/* ── Admin / Edit Form Specific ── */
body.user-logged-in.path-admin .user-update-token-only,
body.user-logged-in.path-admin section#edit-policies,
body.user-logged-in.path-admin div.form-item--token-page-request-summary { display: none; }

.webform-submission-event-request-edit-form #edit-comments-section--description { display: none; }
#comments_table .webform-multiple-add { display: none !important; }

/* ── Comments Table ── */
#comments_table .form-item            { margin: 0; padding: 0; }
#comments_table thead                 { display: none; }
#comments_table tr                    { display: block; margin: 10px 0; padding: 10px; border: 2px solid #000; border-radius: 10px; }
#comments_table tr td                 { display: block; width: 100%; max-width: 100%; box-sizing: border-box; border: none; padding: 0; line-height: 1; }
#comments_table tr td:nth-child(1) input { font-weight: 900; }
#comments_table tr td:nth-child(2)    { padding: 5px; margin: 0 0 5px 0; color: #999; font-size: 0.8rem; }
#comments_table tr input,
#comments_table tr textarea           { height: unset; border: none; background: transparent; box-shadow: none; padding: 0; margin: 0; line-height: 1; }
#comments_table tr:hover,
#comments_table tr:focus-within       { background: transparent; }
#comments_table tr:nth-child(even) td input[type='text'],
#comments_table tr:nth-child(even) td textarea { color: rgb(0, 16.8, 35.5); }
#comments_table .form-element--type-date,
#comments_table .form-element         { min-width: unset; min-height: unset; }

/* Last row = new comment entry */
#comments_table tr:last-child         { background: #fffcc3; }
#comments_table tr:last-child td:nth-child(2) { display: none; }
#comments_table tr:last-child input,
#comments_table tr:last-child textarea {
  appearance: auto; -webkit-appearance: auto; -moz-appearance: auto;
  height: 2.5rem; border: 1px solid #999; background: white;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
  padding: 0.5em 0.6em; margin: 0.3em 0;
  font-family: inherit; font-size: 1em; line-height: 1.4;
  border-radius: 4px; width: 100%; box-sizing: border-box;
}
#comments_table tr:last-child textarea { resize: vertical; min-height: 80px; height: auto; }

/* ── User Update Token View ── */
#user-update-view                     { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }

@media (max-width: 768px) {
  #user-update-view                   { grid-template-columns: 1fr; gap: 1.5rem; }
}