/* Sign-up page (/user/register): the form in a card, with a "what you get" panel beside it. Scoped to .es-register. */
.es-register { display: grid; grid-template-columns: minmax(0, 640px) minmax(0, 320px); gap: 32px; align-items: start; margin: 8px 0 40px; color: #244b58; }
.es-register *, .es-register *::before, .es-register *::after { box-sizing: border-box; }

.es-reg-main { padding: clamp(20px, 4vw, 36px); background: #fff; border: 1px solid #d3dfe2; border-radius: 12px; box-shadow: 0 14px 36px rgba(3, 53, 71, 0.08); }
.es-reg-h { margin: 28px 0 14px; padding-top: 22px; border-top: 1px solid #e3ecee; color: #087b8a; font-size: 13px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; }
.es-reg-main form > .es-reg-h:first-child, .es-reg-main .es-reg-h:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.es-reg-h span { margin-left: 6px; color: #62828d; font-weight: 600; letter-spacing: 0; text-transform: none; }

/* Fields */
.es-register .form-item { margin: 0 0 18px; }
.es-register label, .es-register legend { color: #033547; font-size: 15px; font-weight: 600; }
.es-register .form-required::after { color: #c4511c; }
.es-register .form-control, .es-register .form-select { min-height: 46px; padding: 10px 14px; background-color: #fff; border: 1px solid #c5d6da; border-radius: 8px; color: #033547; font-size: 16px; }
.es-register .form-control:focus, .es-register .form-select:focus { border-color: #087b8a; box-shadow: 0 0 0 3px rgba(8, 123, 138, 0.18); }
.es-register .description { margin-top: 6px; color: #62828d; font-size: 13px; line-height: 1.5; }

/* "Your company": one panel holding name, address and phone */
.es-register .field--name-field-company-name > fieldset { margin: 26px 0 18px; padding: 20px 20px 4px; background: #f6fafb; border: 1px solid #d3dfe2; border-radius: 10px; }
.es-register .field--name-field-company-name > fieldset > legend { float: none; width: auto; margin: 0; padding: 0 8px; color: #087b8a; font-size: 13px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; }
.es-register .field--name-field-company-name > fieldset > .fieldset-wrapper { display: flex; flex-direction: column; }
/* The privacy note goes first, right under the heading. */
.es-register .field--name-field-company-name > fieldset > .fieldset-wrapper > .description { order: -1; margin: 0 0 16px; padding: 10px 12px; background: #eaf3f4; border-radius: 6px; color: #244b58; }
.es-reg-why p { margin: 0 0 8px; color: #033547; font-size: 14px; }
.es-reg-why ul { margin: 0; padding: 0; list-style: none; }
.es-reg-why li { position: relative; margin: 0 0 6px; padding-left: 20px; font-size: 13px; line-height: 1.5; }
.es-reg-why li:last-child { margin-bottom: 0; }
.es-reg-why li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 9px; height: 5px; border-left: 2px solid #087b8a; border-bottom: 2px solid #087b8a; transform: rotate(-45deg); }
.es-reg-why strong { color: #033547; }
.es-register .field--name-field-company-address fieldset { margin: 0 0 18px; padding: 0; border: 0; }
.es-register .field--name-field-company-address legend { float: none; width: auto; margin: 0 0 8px; padding: 0; font-size: 15px; }
/* Street lines 2 and 3 sit tight under line 1; line 3 is rarely needed. */
.es-register [class*="address-line2"], .es-register .js-form-item[class*="address-line2"] { margin-top: -10px; }
.es-register .js-form-item[class*="address-line3"] { display: none; }
.es-register .address-container-inline { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr) minmax(0, 1fr); gap: 12px; }
.es-register .address-container-inline > .form-item { width: auto; margin-right: 0; }
.es-register .address-container-inline .form-control, .es-register .address-container-inline .form-select { width: 100%; }

/* Terms and the button */
.es-register .form-item-es-terms { margin: 26px 0 20px; padding: 14px 16px 14px 44px; background: #fdf9f0; border: 1px solid #e5dfd2; border-radius: 8px; }
.es-register .form-item-es-terms .form-check-input { width: 18px; height: 18px; margin-top: 3px; margin-left: -28px; border-color: #87a5ad; }
.es-register .form-item-es-terms .form-check-input:checked { background-color: #087b8a; border-color: #087b8a; }
.es-register .form-item-es-terms label { font-size: 15px; font-weight: 500; line-height: 1.55; }
.es-register .form-actions { margin: 0; }
.es-register .form-actions .form-submit { width: 100%; min-height: 52px; background: #fc6723; border: 2px solid #fc6723; border-radius: 6px; color: #022a38; font-size: 17px; font-weight: 800; }
.es-register .form-actions .form-submit:hover, .es-register .form-actions .form-submit:focus-visible { background: #ff945f; border-color: #ff945f; }
.es-register a { color: #087b8a; }

/* What you get */
.es-reg-aside { position: sticky; top: 112px; padding: 24px; background: #033547; border-radius: 12px; color: #edf5f6; }
.es-reg-aside h2 { margin: 0 0 14px; color: #fff; font-size: 19px; font-weight: 800; }
.es-reg-aside ul { margin: 0 0 18px; padding: 0; list-style: none; }
.es-reg-aside li { position: relative; margin: 0 0 12px; padding-left: 26px; font-size: 15px; line-height: 1.5; }
.es-reg-aside li::before { content: ""; position: absolute; left: 3px; top: 6px; width: 11px; height: 6px; border-left: 3px solid #ffb48f; border-bottom: 3px solid #ffb48f; transform: rotate(-45deg); }
.es-reg-aside p { margin: 0; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.18); font-size: 15px; }
.es-reg-aside a { color: #ffb48f; font-weight: 700; }

@media (max-width: 991.98px) {
  .es-register { grid-template-columns: minmax(0, 1fr); }
  .es-reg-aside { position: static; order: -1; }
}
@media (max-width: 575.98px) {
  .es-register .address-container-inline { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .es-register .address-container-inline > .form-item:first-child { grid-column: 1 / -1; }
}
