/* Footer, authentication, and contact page refresh */
.footer-refresh {
    margin-top: 0;
    color: #d7dbe0;
    background: #171b21;
}

.footer-refresh .container,
.auth-page-refresh > .container,
.contact-page-refresh > .container {
    width: 100%;
}

.footer-trust-strip {
    color: #343a43;
    background: #fff;
    border-top: 1px solid #e5e8eb;
    border-bottom: 1px solid #e5e8eb;
}

.footer-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.footer-trust-item {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 11px;
    min-height: 92px;
    padding: 16px 22px;
    border-right: 1px solid #e7eaed;
}

.footer-trust-item:first-child {
    border-left: 1px solid #e7eaed;
}

.footer-trust-item > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: #20242b;
    background: #ffad27;
    border-radius: 12px;
}

.footer-trust-item > div {
    display: flex;
    min-width: 0;
    flex-direction: column;
    line-height: 1.2;
}

.footer-trust-item strong {
    color: #2f353d;
    font-size: 14px;
    font-weight: 750;
}

.footer-trust-item small {
    margin-top: 5px;
    color: #828a94;
    font-size: 12px;
}

.footer-main {
    padding: 58px 0 50px;
    background:
        radial-gradient(circle at 10% 15%, rgba(245, 166, 35, .09), transparent 28%),
        #171b21;
}

.footer-main-grid {
    display: grid;
    grid-template-columns: minmax(280px, 1.35fr) minmax(150px, .72fr) minmax(160px, .76fr) minmax(245px, 1fr);
    align-items: start;
    gap: 46px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    background: #fff;
    border-radius: 12px;
}

.footer-logo img {
    width: auto;
    height: 39px;
}

.footer-brand-panel h2 {
    max-width: 360px;
    margin: 22px 0 10px;
    color: #fff;
    font-size: 22px;
    font-weight: 750;
    line-height: 1.25;
}

.footer-brand-panel > p {
    max-width: 390px;
    margin: 0;
    color: #aeb5be;
    font-size: 13px;
    line-height: 1.7;
}

.footer-contact-card {
    display: inline-grid;
    grid-template-columns: 38px auto;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 9px 13px 9px 9px;
    background: #22272f;
    border: 1px solid #303640;
    border-radius: 12px;
}

.footer-contact-card > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    color: #20242b;
    background: #ffad27;
    border-radius: 10px;
}

.footer-contact-card > div {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.footer-contact-card small {
    color: #9fa6b0;
    font-size: 10px;
}

.footer-contact-card a {
    margin-top: 3px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 37px;
    height: 37px;
    color: #c9ced5;
    font-size: 15px;
    text-decoration: none;
    background: #22272f;
    border: 1px solid #303640;
    border-radius: 10px;
    transition: color .18s ease, background-color .18s ease, transform .18s ease;
}

.footer-socials a:hover,
.footer-socials a:focus-visible {
    color: #20242b;
    background: #ffad27;
    border-color: #ffad27;
    outline: none;
    transform: translateY(-2px);
}

.footer-link-group h3,
.footer-support-panel h3 {
    position: relative;
    margin: 2px 0 22px;
    padding-bottom: 12px;
    color: #fff;
    font-size: 15px;
    font-weight: 750;
}

.footer-link-group h3::after,
.footer-support-panel h3::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 34px;
    height: 2px;
    content: "";
    background: #ffad27;
    border-radius: 2px;
}

.footer-link-group ul {
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-link-group a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #abb2bc;
    font-size: 13px;
    line-height: 1.4;
    text-decoration: none;
    transition: color .18s ease, transform .18s ease;
}

.footer-link-group a i {
    color: #e39316;
    font-size: 8px;
}

.footer-link-group a:hover,
.footer-link-group a:focus-visible {
    color: #fff;
    outline: none;
    transform: translateX(3px);
}

.footer-support-panel {
    padding: 20px;
    background: #22272f;
    border: 1px solid #303640;
    border-radius: 16px;
}

.footer-support-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 16px;
    color: #20242b;
    background: #ffad27;
    border-radius: 12px;
}

.footer-support-panel h3 {
    margin-bottom: 14px;
}

.footer-support-panel p {
    margin: 0 0 12px;
    color: #aeb5be;
    font-size: 12px;
    line-height: 1.6;
}

.footer-support-email {
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    color: #fff;
    font-size: 13px;
    font-weight: 650;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.footer-contact-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 42px;
    margin-top: 17px;
    padding: 10px 13px;
    color: #20242b;
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
    background: #ffad27;
    border-radius: 10px;
}

.footer-contact-button:hover,
.footer-contact-button:focus-visible {
    color: #fff;
    background: #303640;
    outline: none;
}

.footer-bottom {
    background: #111419;
    border-top: 1px solid #282d34;
}

.footer-bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    min-height: 82px;
    padding: 13px 0;
}

.footer-bottom-content > p {
    margin: 0;
    color: #929aa4;
    font-size: 12px;
}

.footer-payment-methods {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-payment-methods > span {
    margin-right: 4px;
    color: #929aa4;
    font-size: 11px;
    font-weight: 650;
}

.footer-payment-methods img {
    width: 68px;
    height: 36px;
    padding: 3px;
    object-fit: contain;
    background: #fff;
    border: 1px solid #303640;
    border-radius: 7px;
}

.auth-page-refresh,
.contact-page-refresh {
    color: #303640;
    background:
        radial-gradient(circle at 85% 5%, rgba(245, 166, 35, .08), transparent 24%),
        #f6f7f9;
}

.auth-page-refresh {
    padding: 22px 0 74px;
}

.contact-page-refresh {
    padding: 22px 0 80px;
}

.page-breadcrumb {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    margin-bottom: 21px;
    color: #8b929b;
    font-size: 12px;
}

.page-breadcrumb a {
    color: #6a727d;
    text-decoration: none;
}

.page-breadcrumb a:hover {
    color: #a66000;
}

.page-breadcrumb i {
    color: #b6bbc2;
    font-size: 8px;
}

.page-breadcrumb span {
    color: #303640;
    font-weight: 650;
}

.auth-shell {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(430px, 1.1fr);
    width: 100%;
    max-width: 1120px;
    min-height: 660px;
    margin: 0 auto;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e3e6ea;
    border-radius: 22px;
    box-shadow: 0 22px 55px rgba(27, 32, 39, .1);
}

.auth-benefit-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
    padding: 58px 48px 34px;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 15% 15%, rgba(255, 173, 39, .2), transparent 26%),
        linear-gradient(145deg, #20242b 0%, #171a20 100%);
}

.auth-benefit-panel::after {
    position: absolute;
    right: -90px;
    bottom: -90px;
    width: 260px;
    height: 260px;
    content: "";
    border: 55px solid rgba(255, 173, 39, .07);
    border-radius: 50%;
}

.auth-benefit-content,
.auth-benefit-footer {
    position: relative;
    z-index: 1;
}

.auth-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 11px;
    color: #ffbd54;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .06em;
    text-transform: uppercase;
    background: rgba(255, 173, 39, .1);
    border: 1px solid rgba(255, 173, 39, .2);
    border-radius: 99px;
}

.auth-benefit-panel h1 {
    max-width: 420px;
    margin: 24px 0 15px;
    color: #fff;
    font-size: clamp(29px, 3vw, 42px);
    font-weight: 780;
    line-height: 1.15;
    letter-spacing: -.025em;
}

.auth-benefit-content > p {
    max-width: 420px;
    margin: 0;
    color: #b8bec7;
    font-size: 14px;
    line-height: 1.7;
}

.auth-benefit-list {
    display: flex;
    flex-direction: column;
    gap: 13px;
    margin: 34px 0 0;
    padding: 0;
    list-style: none;
}

.auth-benefit-list li {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    align-items: center;
    gap: 11px;
    padding: 11px;
    background: rgba(255, 255, 255, .055);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 12px;
}

.auth-benefit-list li > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #20242b;
    background: #ffad27;
    border-radius: 10px;
}

.auth-benefit-list li > div {
    display: flex;
    min-width: 0;
    flex-direction: column;
    line-height: 1.2;
}

.auth-benefit-list strong {
    color: #fff;
    font-size: 13px;
}

.auth-benefit-list small {
    margin-top: 4px;
    color: #aeb5be;
    font-size: 11px;
}

.auth-benefit-footer {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 32px;
    color: #aeb5be;
    font-size: 11px;
    line-height: 1.5;
}

.auth-benefit-footer i {
    color: #ffad27;
}

.auth-form-panel {
    align-self: center;
    width: 100%;
    max-width: 570px;
    padding: 54px 62px;
}

.auth-form-heading {
    display: flex;
    align-items: center;
    gap: 12px;
}

.auth-form-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    color: #20242b;
    background: #ffad27;
    border-radius: 12px;
}

.auth-form-heading > div {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.auth-form-heading small,
.contact-form-heading span,
.contact-info-heading small {
    margin-bottom: 4px;
    color: #a46300;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.auth-form-heading h2,
.contact-form-heading h2,
.contact-info-heading h2 {
    margin: 0;
    color: #20242b;
    font-size: 24px;
    font-weight: 760;
    line-height: 1.2;
}

.auth-form-intro {
    margin: 19px 0 28px;
    color: #7b838e;
    font-size: 13px;
}

.auth-login-form,
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 19px;
}

.auth-register-shell {
    grid-template-columns: minmax(360px, .78fr) minmax(560px, 1.22fr);
    max-width: 1240px;
    min-height: 760px;
}

.auth-register-form-panel {
    max-width: 720px;
    padding: 44px 54px;
}

.auth-register-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.auth-register-grid {
    display: grid;
    gap: 17px 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.auth-register-field-wide {
    grid-column: 1 / -1;
}

.auth-register-terms {
    margin: 0;
    color: #7b838e;
    font-size: 10px;
    line-height: 1.6;
}

.auth-register-terms > i {
    margin-right: 4px;
    color: #a46300;
}

.auth-register-terms a {
    color: #8f5600;
    font-weight: 700;
    text-decoration: none;
}

.auth-register-terms a:hover {
    text-decoration: underline;
}

.auth-seller-prompt {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 11px;
    color: #7b838e;
    font-size: 11px;
}

.auth-seller-prompt > i {
    color: #a46300;
}

.auth-seller-prompt a {
    color: #8f5600;
    font-weight: 720;
    text-decoration: none;
}

.auth-profile-upload {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f7f8f9;
    border: 1px dashed #d8dde2;
    border-radius: 12px;
}

.auth-profile-upload-copy {
    display: flex;
    align-items: center;
    gap: 10px;
}

.auth-profile-upload-copy > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    color: #a46300;
    background: #fff0d6;
    border-radius: 10px;
}

.auth-profile-upload-copy strong,
.auth-profile-upload-copy small {
    display: block;
}

.auth-profile-upload-copy strong {
    color: #434a54;
    font-size: 12px;
}

.auth-profile-upload-copy small {
    margin-top: 3px;
    color: #9198a2;
    font-size: 10px;
}

.auth-profile-upload-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 36px;
    padding: 7px 11px;
    color: #684000;
    font-size: 10px;
    font-weight: 750;
    cursor: pointer;
    background: #fff0d6;
    border: 1px solid #ffdfa9;
    border-radius: 9px;
}

.auth-profile-upload > input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.auth-profile-upload > input[type="file"]:focus-visible + input + .auth-profile-preview,
.auth-profile-upload-button:focus-visible {
    outline: 3px solid rgba(245, 166, 35, .18);
    outline-offset: 2px;
}

.auth-profile-preview {
    position: relative;
    display: none;
    grid-column: 1 / -1;
    width: 82px;
    height: 82px;
    margin-top: 2px;
}

.auth-profile-preview img {
    display: block;
    width: 82px;
    height: 82px;
    object-fit: cover;
    border: 3px solid #fff;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(27, 32, 39, .12);
}

.auth-profile-preview .remove-image {
    position: absolute;
    top: -5px;
    right: -5px;
    padding: 6px;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 3px 9px rgba(27, 32, 39, .15);
}

.auth-image-crop-modal {
    overflow: hidden;
    border: 0;
    border-radius: 18px;
}

.auth-image-crop-modal .modal-header small {
    display: block;
    color: #a46300;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.auth-image-crop-modal .modal-title {
    margin-top: 3px;
    color: #20242b;
    font-weight: 750;
}

.auth-crop-preview {
    width: 220px;
    height: 220px;
    overflow: hidden;
    background: #f3f4f6;
    border: 1px solid #e2e5e9;
    border-radius: 14px;
}

.form-field-group {
    min-width: 0;
}

.form-field-group > label,
.form-label-row label {
    display: block;
    margin-bottom: 8px;
    color: #434a54;
    font-size: 12px;
    font-weight: 720;
}

.form-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.form-label-row > a {
    margin-bottom: 8px;
    color: #9f5d00;
    font-size: 11px;
    font-weight: 650;
    text-decoration: none;
}

.form-label-row > small {
    margin-bottom: 8px;
    color: #9299a3;
    font-size: 10px;
}

.form-input-shell {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: center;
    min-height: 51px;
    overflow: hidden;
    background: #f7f8f9;
    border: 1px solid #e2e5e9;
    border-radius: 12px;
    transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.form-input-shell:focus-within {
    background: #fff;
    border-color: #f4a31f;
    box-shadow: 0 0 0 3px rgba(245, 166, 35, .11);
}

.form-input-shell.has-error,
.form-textarea-shell.has-error {
    border-color: #dc3545;
}

.form-input-shell > i {
    color: #a36a14;
    font-size: 13px;
    text-align: center;
}

.form-input-shell input {
    width: 100%;
    min-width: 0;
    height: 49px;
    padding: 0 12px 0 0;
    color: #303640;
    font-size: 14px;
    background: transparent;
    border: 0;
    outline: none;
}

.form-input-shell input::placeholder,
.form-textarea-shell textarea::placeholder {
    color: #9aa1aa;
    opacity: 1;
}

.form-input-shell > button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 39px;
    height: 39px;
    margin-right: 5px;
    padding: 0;
    color: #69717b;
    background: #eceff1;
    border: 0;
    border-radius: 9px;
}

.form-input-shell > button:hover,
.form-input-shell > button:focus-visible {
    color: #20242b;
    background: #ffad27;
    outline: none;
}

.field-error {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    color: #c33240;
    font-size: 11px;
    line-height: 1.35;
}

.field-help {
    display: block;
    margin-top: 6px;
    color: #9198a2;
    font-size: 10px;
}

.auth-remember-option {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    gap: 9px;
    color: #626a74;
    font-size: 12px;
    cursor: pointer;
}

.auth-remember-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.auth-remember-option > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: transparent;
    font-size: 9px;
    background: #fff;
    border: 1px solid #d9dde1;
    border-radius: 6px;
}

.auth-remember-option input:checked + span {
    color: #20242b;
    background: #ffad27;
    border-color: #ffad27;
}

.auth-remember-option input:focus-visible + span {
    outline: 3px solid rgba(245, 166, 35, .2);
    outline-offset: 2px;
}

.auth-submit-button,
.contact-submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 51px;
    padding: 12px 18px;
    color: #20242b;
    font-size: 14px;
    font-weight: 780;
    background: #ffad27;
    border: 0;
    border-radius: 12px;
    box-shadow: 0 9px 20px rgba(230, 143, 0, .2);
    transition: color .18s ease, background-color .18s ease, transform .18s ease;
}

.auth-submit-button:hover,
.auth-submit-button:focus-visible,
.contact-submit-button:hover,
.contact-submit-button:focus-visible {
    color: #fff;
    background: #20242b;
    outline: none;
    transform: translateY(-1px);
}

.auth-register-prompt {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 22px;
    padding: 13px;
    color: #777f89;
    font-size: 12px;
    background: #f7f8f9;
    border: 1px solid #e6e9ec;
    border-radius: 11px;
}

.auth-register-prompt a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #9f5d00;
    font-weight: 720;
    text-decoration: none;
}

.auth-trust-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 17px;
    margin-top: 18px;
    color: #888f99;
    font-size: 10px;
}

.auth-trust-row span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.auth-trust-row i {
    color: #24845e;
}

.contact-page-heading {
    max-width: 780px;
    margin: 42px auto 48px;
    text-align: center;
}

.contact-page-heading > span {
    display: inline-flex;
    padding: 7px 11px;
    color: #9f5d00;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    background: #fff0d6;
    border: 1px solid #ffdfa9;
    border-radius: 99px;
}

.contact-page-heading h1 {
    margin: 18px 0 13px;
    color: #20242b;
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 790;
    line-height: 1.1;
    letter-spacing: -.035em;
}

.contact-page-heading p {
    max-width: 700px;
    margin: 0 auto;
    color: #737b85;
    font-size: 14px;
    line-height: 1.7;
}

.contact-page-grid {
    display: grid;
    grid-template-columns: minmax(320px, .82fr) minmax(500px, 1.3fr);
    align-items: stretch;
    gap: 24px;
    max-width: 1260px;
    margin: 0 auto;
}

.contact-info-panel,
.contact-form-panel {
    border-radius: 20px;
    box-shadow: 0 18px 45px rgba(27, 32, 39, .08);
}

.contact-info-panel {
    position: relative;
    overflow: hidden;
    padding: 34px;
    color: #fff;
    background:
        radial-gradient(circle at 5% 0, rgba(255, 173, 39, .17), transparent 30%),
        #20242b;
}

.contact-info-panel::after {
    position: absolute;
    right: -70px;
    bottom: -70px;
    width: 210px;
    height: 210px;
    content: "";
    border: 42px solid rgba(255, 173, 39, .06);
    border-radius: 50%;
}

.contact-info-heading,
.contact-form-heading {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-info-heading > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    color: #20242b;
    background: #ffad27;
    border-radius: 12px;
}

.contact-info-heading > div,
.contact-form-heading > div {
    display: flex;
    min-width: 0;
    flex-direction: column;
    line-height: 1.2;
}

.contact-info-heading small {
    color: #ffbd54;
}

.contact-info-heading h2 {
    color: #fff;
    font-size: 20px;
}

.contact-info-panel > p {
    position: relative;
    z-index: 1;
    margin: 22px 0;
    color: #b8bec7;
    font-size: 13px;
    line-height: 1.65;
}

.contact-methods {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.contact-methods > a,
.contact-method-item {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    align-items: center;
    gap: 11px;
    min-height: 66px;
    padding: 10px;
    color: #fff;
    text-decoration: none;
    background: rgba(255, 255, 255, .055);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 12px;
}

.contact-methods > a > span,
.contact-method-item > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #ffb63f;
    background: rgba(255, 173, 39, .1);
    border-radius: 10px;
}

.contact-methods > a > div,
.contact-method-item > div {
    display: flex;
    min-width: 0;
    flex-direction: column;
    line-height: 1.25;
}

.contact-methods small {
    color: #9ea6b0;
    font-size: 10px;
}

.contact-methods strong {
    margin-top: 4px;
    overflow-wrap: anywhere;
    color: #fff;
    font-size: 12px;
    font-weight: 650;
    line-height: 1.35;
}

.contact-methods > a > i {
    color: #9ea6b0;
    font-size: 9px;
}

.contact-methods > a:hover,
.contact-methods > a:focus-visible {
    background: rgba(255, 173, 39, .11);
    border-color: rgba(255, 173, 39, .24);
    outline: none;
}

.contact-response-note {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-top: 22px;
    padding-top: 19px;
    color: #ffb63f;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.contact-response-note > span {
    display: flex;
    flex-direction: column;
}

.contact-response-note strong {
    color: #fff;
    font-size: 11px;
}

.contact-response-note small {
    margin-top: 4px;
    color: #aeb5be;
    font-size: 10px;
    line-height: 1.4;
}

.contact-form-panel {
    padding: 36px 40px 40px;
    background: #fff;
    border: 1px solid #e3e6ea;
}

.contact-form-heading {
    justify-content: space-between;
    margin-bottom: 28px;
}

.contact-form-heading > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: #20242b;
    background: #fff0d6;
    border-radius: 12px;
}

.contact-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.form-textarea-shell {
    overflow: hidden;
    background: #f7f8f9;
    border: 1px solid #e2e5e9;
    border-radius: 12px;
}

.form-textarea-shell:focus-within {
    background: #fff;
    border-color: #f4a31f;
    box-shadow: 0 0 0 3px rgba(245, 166, 35, .11);
}

.form-textarea-shell textarea {
    display: block;
    width: 100%;
    min-height: 135px;
    padding: 14px;
    resize: vertical;
    color: #303640;
    font-size: 14px;
    line-height: 1.55;
    background: transparent;
    border: 0;
    outline: none;
}

.contact-submit-button {
    align-self: flex-start;
    min-width: 175px;
}

.contact-privacy-note {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: -4px 0 0;
    color: #8c939d;
    font-size: 10px;
}

.contact-privacy-note i {
    color: #26845f;
}

@media (min-width: 1200px) {
    .footer-refresh .container,
    .auth-page-refresh > .container,
    .contact-page-refresh > .container {
        max-width: 1480px;
    }
}

@media (max-width: 1199.98px) {
    .footer-main-grid {
        grid-template-columns: 1.3fr .8fr .8fr;
        gap: 34px;
    }

    .footer-support-panel {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 48px minmax(180px, .6fr) 1fr auto;
        align-items: center;
        gap: 16px;
    }

    .footer-support-icon,
    .footer-support-panel h3,
    .footer-support-panel p,
    .footer-contact-button {
        margin: 0;
    }

    .footer-support-panel h3 {
        padding: 0;
    }

    .footer-support-panel h3::after,
    .footer-support-email {
        display: none;
    }

    .auth-shell {
        grid-template-columns: minmax(0, .88fr) minmax(400px, 1.12fr);
    }

    .auth-benefit-panel {
        padding-right: 34px;
        padding-left: 34px;
    }

    .auth-form-panel {
        padding-right: 42px;
        padding-left: 42px;
    }

    .contact-page-grid {
        grid-template-columns: minmax(290px, .78fr) minmax(440px, 1.22fr);
    }
}

@media (max-width: 991.98px) {
    .footer-bottom {
        padding-bottom: calc(76px + env(safe-area-inset-bottom));
    }

    .footer-trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-trust-item:nth-child(2) {
        border-right: 0;
    }

    .footer-trust-item:nth-child(n + 3) {
        border-top: 1px solid #e7eaed;
    }

    .footer-main-grid {
        grid-template-columns: 1.2fr .8fr .8fr;
        gap: 28px;
    }

    .auth-shell {
        grid-template-columns: 1fr;
        max-width: 700px;
    }

    .auth-register-shell {
        max-width: 760px;
    }

    .auth-benefit-panel {
        min-height: auto;
        padding: 38px;
    }

    .auth-benefit-panel h1 {
        font-size: 32px;
    }

    .auth-benefit-list {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        margin-top: 26px;
    }

    .auth-benefit-list li {
        grid-template-columns: 1fr;
    }

    .auth-benefit-footer {
        margin-top: 22px;
    }

    .auth-form-panel {
        max-width: none;
        padding: 42px;
    }

    .auth-register-form-panel {
        padding: 40px;
    }

    .contact-page-grid {
        grid-template-columns: 1fr;
        max-width: 760px;
    }

    .contact-info-panel {
        padding: 30px;
    }

    .contact-methods {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .footer-main {
        padding: 42px 0 36px;
    }

    .footer-main-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 34px 24px;
    }

    .footer-brand-panel,
    .footer-support-panel {
        grid-column: 1 / -1;
    }

    .footer-support-panel {
        display: block;
    }

    .footer-support-icon {
        margin-bottom: 14px;
    }

    .footer-support-panel h3 {
        margin-bottom: 13px;
        padding-bottom: 11px;
    }

    .footer-support-panel h3::after,
    .footer-support-email {
        display: block;
    }

    .footer-support-panel p {
        margin-bottom: 10px;
    }

    .footer-contact-button {
        margin-top: 15px;
    }

    .footer-bottom-content {
        align-items: flex-start;
        flex-direction: column;
        gap: 13px;
        padding: 18px 0;
    }

    .footer-payment-methods {
        width: 100%;
        overflow-x: auto;
    }

    .auth-page-refresh,
    .contact-page-refresh {
        padding-top: 15px;
    }

    .auth-shell {
        border-radius: 17px;
    }

    .auth-benefit-panel {
        padding: 30px 24px;
    }

    .auth-benefit-panel h1 {
        margin-top: 18px;
        font-size: 28px;
    }

    .auth-benefit-list {
        display: none;
    }

    .auth-form-panel {
        padding: 32px 24px;
    }

    .auth-register-grid {
        grid-template-columns: 1fr;
    }

    .auth-register-field-wide {
        grid-column: auto;
    }

    .auth-profile-upload {
        grid-template-columns: 1fr;
    }

    .auth-profile-upload-button {
        width: 100%;
    }

    .contact-page-heading {
        margin: 30px auto 34px;
    }

    .contact-page-heading h1 {
        font-size: 35px;
    }

    .contact-info-panel,
    .contact-form-panel {
        border-radius: 16px;
    }

    .contact-methods {
        grid-template-columns: 1fr;
    }

    .contact-form-panel {
        padding: 28px 22px 30px;
    }

    .contact-form-row {
        grid-template-columns: 1fr;
        gap: 19px;
    }

    .contact-submit-button {
        width: 100%;
    }
}

@media (max-width: 479.98px) {
    .footer-trust-item {
        grid-template-columns: 36px minmax(0, 1fr);
        gap: 8px;
        min-height: 80px;
        padding: 12px 9px;
    }

    .footer-trust-item > span {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }

    .footer-trust-item strong {
        font-size: 11px;
    }

    .footer-trust-item small {
        font-size: 9px;
    }

    .footer-main-grid {
        gap: 30px 16px;
    }

    .footer-link-group h3 {
        font-size: 14px;
    }

    .footer-link-group a {
        font-size: 12px;
    }

    .footer-payment-methods > span {
        display: none;
    }

    .auth-register-prompt {
        align-items: flex-start;
        flex-direction: column;
    }

    .auth-trust-row {
        justify-content: flex-start;
    }

    .contact-info-panel {
        padding: 25px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .footer-refresh a,
    .auth-submit-button,
    .contact-submit-button,
    .form-input-shell {
        transition: none;
    }
}
