/* Keep native account tables readable with long codes, labels and order states. */
.page-content--customer .grid-table__row,
.page-content--customer .grid-table__cell,
.page-content--customer .grid-table__cell > * {
  min-width: 0;
}

.page-content--customer .grid-table__cell,
.page-content--customer .order-message__content {
  overflow-wrap: anywhere;
}

.page-content--customer .order-message__content {
  min-width: 0;
}

.page-content--customer .grid-table .badge {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.4;
}

/* Sign-in and password pages (25-oct): official palette and radius, Montserrat, one primary action per form. */
:is(#authentication, #password, #registration) .form-label { margin-bottom: 6px; color: var(--rtg-900); font-size: 13px; font-weight: 600; }
:is(#authentication, #password, #registration) .form-label.required::after { color: var(--rtg-600); }
:is(#authentication, #password, #registration) .form-control { min-height: 48px; padding: 0 16px; border: 1px solid #d5e0e4; border-radius: var(--rtg-radius); color: var(--rtg-950); font-size: 15px; transition: border-color .15s ease, box-shadow .15s ease; }
:is(#authentication, #password, #registration) .form-control:focus { border-color: var(--rtg-600); box-shadow: 0 0 0 3px rgba(22, 147, 165, .16); }
:is(#authentication, #password, #registration) .password-field .form-control { border-right: 0; border-radius: var(--rtg-radius) 0 0 var(--rtg-radius); }
:is(#authentication, #password, #registration) .password-field .btn { min-width: 48px; border: 1px solid #d5e0e4; border-left: 0; border-radius: 0 var(--rtg-radius) var(--rtg-radius) 0; background: #fff; color: var(--rtg-700); }
:is(#authentication, #password, #registration) .password-field .btn:hover { color: var(--rtg-900); }
:is(#authentication, #password, #registration) .password-field:focus-within :is(.form-control, .btn) { border-color: var(--rtg-600); }
:is(#authentication, #password, #registration) .btn-primary { min-height: 48px; padding: 0 24px; border: 0; border-radius: var(--rtg-radius); background: var(--rtg-600); color: #fff; font-size: 15px; font-weight: 600; }
:is(#authentication, #password, #registration) .btn-primary:hover { background: var(--rtg-700); }
:is(#authentication, #password, #registration) .btn-basic,
:is(#authentication, #password, #registration) .page-content a:not(.btn) { color: var(--rtg-700); font-weight: 500; }
:is(#password, #registration) .page-title-section { color: var(--rtg-900); font-weight: 600; letter-spacing: -.02em; }

.rtg-auth-container { max-width: 1040px; }
.rtg-auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: 64px; align-items: start; padding: 16px 0 80px; }
.rtg-auth__eyebrow { margin: 0 0 8px; color: var(--rtg-700); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.rtg-auth__title { margin: 0; color: var(--rtg-900); font-size: clamp(28px, 2.6vw, 36px); font-weight: 600; line-height: 1.15; letter-spacing: -.022em; }
.rtg-auth__lead { margin: 10px 0 28px; color: #6e6e73; font-size: 15px; line-height: 1.5; }
.rtg-auth .buttons-wrapper { display: flex; flex-direction: column-reverse; align-items: stretch; gap: 14px; margin-top: 24px; }
.rtg-auth .buttons-wrapper .btn-basic { align-self: center; padding: 0; border: 0; background: none; font-size: 14px; }
.rtg-auth #submit-login { width: 100%; }
.rtg-auth__aside { padding: 32px; border-radius: var(--rtg-radius); background: #f1f7f8; }
.rtg-auth__aside-title { margin: 0 0 20px; color: var(--rtg-900); font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.rtg-auth__perks { display: grid; gap: 16px; margin: 0 0 28px; padding: 0; list-style: none; }
.rtg-auth__perks li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: center; color: #4a4a4f; font-size: 14px; line-height: 1.45; }
.rtg-auth__perks strong { color: var(--rtg-900); font-weight: 600; }
.rtg-auth__perks .material-icons { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--rtg-600); font-size: 20px; }
.rtg-auth__create { display: flex; align-items: center; justify-content: center; min-height: 48px; border: 1.5px solid var(--rtg-600); border-radius: var(--rtg-radius); background: #fff; color: var(--rtg-700); font-size: 15px; font-weight: 600; text-decoration: none; transition: background-color .15s ease, color .15s ease; }
.rtg-auth__create:hover { background: var(--rtg-600); color: #fff; }

@media (max-width: 991.98px) {
  .rtg-auth { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 0 0 56px; }
}
@media (max-width: 767.98px) {
  .rtg-auth__aside { padding: 24px 20px; }
  .rtg-auth__lead { margin-bottom: 20px; }
}
