/* Customer forms share Magento's original blocks, validation and security controls. */
body:is(.customer-account-login, .customer-account-create) .page-main {
    max-width: 690px;
    padding: 36px 24px 64px;
    color: #191c18;
}
body:is(.customer-account-login, .customer-account-create) .page-title-wrapper h1 {
    margin: 0 0 16px;
    font-size: 36px;
    line-height: 1.2;
    font-weight: 700;
}
body:is(.customer-account-login, .customer-account-create) .column.main { padding-bottom: 0; }
body.customer-account-login .login-container { display: block; }
body.customer-account-login .login-container > .block { float: none; width: 100%; margin: 0; }
body.customer-account-login .block-customer-login > .block-title { display: none; }
body.customer-account-login .block-new-customer {
    padding-top: 24px;
    margin-top: 32px !important;
    border-top: 1px solid #dfe4e8;
}
body.customer-account-login .block-new-customer .block-title { border: 0; padding: 0; margin: 0 0 12px; }
body.customer-account-login .block-new-customer .block-title strong { font-size: 21px; font-weight: 600; }
body.customer-account-login .block-new-customer p,
body.customer-account-login .field.note { color: #7d838b; font-size: 16px; line-height: 1.5; margin-bottom: 20px; }
body:is(.customer-account-login, .customer-account-create) .fieldset { margin: 0; min-width: 0; }
body:is(.customer-account-login, .customer-account-create) .fieldset > .field { margin: 0 0 20px; }
body:is(.customer-account-login, .customer-account-create) .fieldset > .field > .label {
    display: block; margin: 0 0 8px; width: auto; padding: 0; text-align: left;
    font-size: 15px; font-weight: 400; color: #454846;
}
body:is(.customer-account-login, .customer-account-create) .fieldset > .field > .control { width: 100%; float: none; }
body:is(.customer-account-login, .customer-account-create) .field.required > .label::after { display: none; }
body:is(.customer-account-login, .customer-account-create) .input-text {
    width: 100%; height: 52px; border: 1px solid transparent; border-radius: 2px;
    background: #eff4f7; padding: 12px 15px; box-shadow: none; font-size: 16px; color: #191c18;
}
body:is(.customer-account-login, .customer-account-create) .input-text::placeholder { color: #9ba4ac; opacity: 1; }
body:is(.customer-account-login, .customer-account-create) .input-text:focus { border-color: #177ec1; outline: 2px solid #177ec133; }
body:is(.customer-account-login, .customer-account-create) .input-text.mage-error { border-color: #c73535; }
body:is(.customer-account-login, .customer-account-create) .fieldset > .field.choice { position: relative; padding: 0; }
body:is(.customer-account-login, .customer-account-create) .field.choice > input.checkbox {
    position: absolute; left: 0; top: 2px; width: 18px; height: 18px; margin: 0;
    accent-color: #177ec1;
}
body:is(.customer-account-login, .customer-account-create) .fieldset > .field.choice > .label { padding-left: 30px; line-height: 1.4; }
body:is(.customer-account-login, .customer-account-create) .field.choice[data-bind*="showPassword"] { display: none; }
body:is(.customer-account-login, .customer-account-create) .customer-password-control { position: relative; }
body:is(.customer-account-login, .customer-account-create) .customer-password-control > input { padding-right: 52px; }
body:is(.customer-account-login, .customer-account-create) .customer-password-toggle {
    position: absolute; right: 2px; top: 2px; width: 48px; height: 48px;
    z-index: 3; padding: 0; border: 0; background: transparent; box-shadow: none; color: #7d838b;
}
.customer-password-toggle::before {
    content: ''; display: block; width: 22px; height: 14px; margin: auto;
    border: 1.7px solid currentColor; border-radius: 70% 20%; transform: rotate(45deg);
}
.customer-password-toggle::after {
    content: ''; position: absolute; width: 6px; height: 6px; border: 1.5px solid currentColor;
    border-radius: 50%; top: 20px; left: 21px;
}
.customer-password-toggle[aria-pressed="true"] { color: #177ec1 !important; }
body:is(.customer-account-login, .customer-account-create) .actions-toolbar { margin: 0; }
body:is(.customer-account-login, .customer-account-create) .actions-toolbar > .primary { float: none; width: 100%; }
body:is(.customer-account-login, .customer-account-create) .actions-toolbar > .primary .action {
    display: block; width: 100%; margin: 0; padding: 14px 16px; min-height: 50px;
    border: 1px solid #177ec1; border-radius: 2px; background: #177ec1;
    color: #fff; font-size: 18px; font-weight: 500; line-height: 1.25; text-align: center; box-shadow: none;
}
body.customer-account-login .block-new-customer .actions-toolbar .action {
    background: #eff4f7; border-color: #eff4f7; color: #191c18; text-decoration: none;
}
body.customer-account-login .customer-password-recovery { text-align: right; margin: -8px 0 24px; font-size: 16px; }
body.customer-account-login .customer-password-recovery .action { margin: 0; }
body.customer-account-create .form-create-account { width: 100%; min-width: 0; }
body.customer-account-create .legend { border: 0; margin: 8px 0 16px; padding: 0; font-size: 20px; font-weight: 600; width: 100%; }
body.customer-account-create .legend > span { font-size: 20px; font-weight: 600; }
body.customer-account-create .legend + br { display: none; }
body.customer-account-create .fieldset.create.account { margin-top: 24px; }
body.customer-account-create .fieldset::after { margin: 0; }
body:is(.customer-account-login, .customer-account-create) .fieldset::after { display: none; }
body:is(.customer-account-login, .customer-account-create) .fieldset[data-hasrequired]::after { display: none !important; content: none; }
body.customer-account-create .fieldset.additional_info:empty { display: none; }
body.customer-account-create .actions-toolbar .secondary { display: none; }
.customer-auth-back { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 18px; font-size: 16px; }
.customer-auth-back span { font-size: 26px; line-height: 1; }
.customer-auth-login-link { text-align: center; margin: 22px 0 0; font-size: 15px; }
body.customer-account-create #password-strength-meter-container { display: block; margin-top: 10px; }
body.customer-account-create #password-strength-meter {
    position: relative; height: auto; min-height: 30px; padding: 11px 0 0; color: #838b94;
    background: transparent; font-size: 13px; line-height: 1.5;
}
body.customer-account-create #password-strength-meter::before {
    content: ''; position: absolute; width: 100%; height: 4px; top: 0; left: 0;
    background: linear-gradient(to right, #d9dfe5 0 23.5%, transparent 23.5% 25.5%, #d9dfe5 25.5% 49%, transparent 49% 51%, #d9dfe5 51% 74.5%, transparent 74.5% 76.5%, #d9dfe5 76.5% 100%);
}
body.customer-account-create #password-strength-meter::after {
    content: ''; position: absolute; left: 0; top: 0; height: 4px; background: #e3a44a; width: 0;
    mask-image: linear-gradient(to right, #000 0 23.5%, transparent 23.5% 25.5%, #000 25.5% 49%, transparent 49% 51%, #000 51% 74.5%, transparent 74.5% 76.5%, #000 76.5% 100%);
    mask-size: var(--meter-mask-size, 100%) 100%;
}
body.customer-account-create #password-strength-meter.password-weak::after { width: 23.5%; }
body.customer-account-create #password-strength-meter.password-medium::after { width: 49%; }
body.customer-account-create #password-strength-meter.password-strong::after { width: 74.5%; background: #49a67c; }
body.customer-account-create #password-strength-meter.password-very-strong::after { width: 100%; background: #49a67c; }
body.customer-account-create .customer-captcha-title { font-size: 20px; margin: 26px 0 16px; font-weight: 600; }
body.customer-account-create .field.captcha > .control.captcha { display: flex; flex-direction: column; }
body.customer-account-create .control.captcha > .nested { order: -1; margin-bottom: 12px; }
body.customer-account-create .customer-captcha-label { margin-bottom: 8px; font-size: 15px; color: #454846; }
body.customer-account-create .captcha-image { display: flex; align-items: center; gap: 16px; }
body.customer-account-create .captcha-image .captcha-img { width: 170px; max-width: 55%; height: auto; }
body.customer-account-create .captcha-image .action.reload {
    width: auto; height: auto; border: 0; padding: 8px; background: transparent; box-shadow: none; color: #177ec1; font-size: 15px;
}
body.customer-account-create .captcha-image .action.reload::before { display: none; }
body.customer-account-create .captcha-image .action.reload span { position: static; width: auto; height: auto; margin: 0; clip: auto; }
body.customer-account-create .customer-assistance { position: relative; margin: 24px 0 !important; }
body.customer-account-create .customer-assistance > .label { display: block; padding-left: 30px; color: #454846; font-size: 15px; font-weight: 400; }
body.customer-account-create .customer-assistance .field-tooltip { display: none; }
.customer-assistance-note { margin: 4px 0 0 30px; font-size: 13px; color: #838b94; line-height: 1.45; }
.mobile-account-menu { display: none; }

@media (max-width: 768px) {
    body:is(.customer-account-login, .customer-account-create) .page-main { padding: 20px 15px 48px; }
    body:is(.customer-account-login, .customer-account-create) .page-title-wrapper h1 { font-size: 30px; }
    body:is(.customer-account-login, .customer-account-create) .page-footer { display: none; }
    body .page-header .header.content { display: flex; align-items: center; gap: 16px; padding: 12px 15px; min-height: 48px; }
    body .page-header .header-links, body .page-header .minicart-wrapper { display: none; }
    body .page-header .header-logo-wrapper { order: 0; display: flex; align-items: center; gap: 12px; padding: 0; }
    body .page-header .header-logo-wrapper .logo { margin: 0; width: 112px; max-width: 112px; flex-shrink: 0; }
    body .page-header .header-logo-wrapper .logo img { display: block; width: 112px; height: auto; max-height: none; }
    body .page-header .logo + .header-slogan { position: static; padding: 0; font-size: 9px; line-height: 1.05; max-width: 95px; }
    body .page-header .header-slogan p { margin: 0; }
    body .page-header .block-search { order: 1; width: 22px; flex-shrink: 0; margin: 0 !important; padding: 0; }
    body .page-header .block-search .label { margin: 0; }
    body .page-header .block-search .label::before { font-size: 23px; line-height: 26px; }
    body .page-header .nav-toggle { order: 2; margin: 0; width: 24px; flex-shrink: 0; }
    body .page-header .nav-toggle::before { font-size: 25px; }
    body.menu-active { overflow: hidden; }
    body.menu-active .top-container { z-index: 10000; box-sizing: border-box; width: 100%; height: 100dvh; padding: 64px 0 0; overflow-y: auto; overscroll-behavior: contain; }
    body.menu-active .custom-menu-wrapper { height: auto; min-height: 100%; }
    body.menu-active .nav-toggle { display: block; }
    .custom-menu-wrapper > #main-menu { display: none; }
    .mobile-account-menu { display: block; color: #191c18; font-size: 16px; }
    .mobile-account-menu [hidden] { display: none !important; }
    .mobile-account-intro { padding: 4px 15px 28px; }
    .mobile-account-intro h2 { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-size: 21px; font-weight: 600; }
    .mobile-account-intro p { color: #7d838b; line-height: 1.45; margin: 0 0 20px; }
    .mobile-account-icon { width: 19px; height: 24px; display: inline-block; position: relative; flex-shrink: 0; }
    .mobile-account-icon::before { content: ''; position: absolute; width: 8px; height: 8px; border: 1.5px solid; border-radius: 50%; left: 5px; }
    .mobile-account-icon::after { content: ''; position: absolute; width: 17px; height: 11px; border: 1.5px solid; border-bottom: 0; border-radius: 12px 12px 0 0; bottom: 0; }
    .mobile-menu-button { display: block; text-align: center; padding: 14px 12px; margin: 8px 0 0; border-radius: 2px; background: #eff4f7; font-size: 18px; color: #191c18 !important; }
    .mobile-menu-button--primary { background: #177ec1; color: white !important; }
    .mobile-menu-wishlist { display: flex; align-items: center; gap: 12px; padding: 18px 15px; border-block: 8px solid #eff4f7; color: #191c18 !important; font-size: 20px; }
    .mobile-wishlist-icon { font-family: Arial, sans-serif; font-size: 30px; line-height: 1; }
    .mobile-menu-chevron { margin-left: auto; font-size: 28px; color: #7d838b; }
    .mobile-menu-count { margin-left: auto; padding: 0 8px; border-radius: 20px; background: #177ec1; color: #fff; font-size: 14px; }
    .mobile-menu-count:not([hidden]) + .mobile-menu-chevron { margin-left: 4px; }
    .mobile-menu-catalog { padding: 0 15px; }
    .mobile-menu-catalog button { display: flex; justify-content: space-between; width: 100%; background: none; border: 0; border-bottom: 1px solid #dfe4e8; border-radius: 0; box-shadow: none; padding: 17px 0; font-size: 20px; font-weight: 400; color: #191c18; text-align: left; }
    .mobile-menu-catalog button span { font-size: 27px; line-height: 1; }
    .mobile-menu-footer .footer-columns-wrapper { display: block; margin: 0; padding: 0; }
    .mobile-menu-footer .footer-column { width: auto; padding: 0 15px; margin: 0; border: 0; color: #191c18; }
    .mobile-menu-footer details { border-bottom: 1px solid #dfe4e8; }
    .mobile-menu-footer summary { display: flex; align-items: center; justify-content: space-between; list-style: none; cursor: pointer; font-size: 20px; padding: 17px 0; }
    .mobile-menu-footer summary::-webkit-details-marker { display: none; }
    .mobile-menu-footer summary::after { content: '+'; font-size: 27px; line-height: 1; }
    .mobile-menu-footer details[open] summary::after { content: '−'; }
    .mobile-menu-footer .footer-column ul { display: block; margin: 0 0 14px; padding: 0; list-style: none; }
    .mobile-menu-footer .footer-column ul a { color: #454846; font-size: 15px; padding: 8px 0; display: inline-block; }
    .mobile-menu-footer .footer-column.last { padding: 20px 15px 28px; border-top: 8px solid #eff4f7; }
    .mobile-menu-footer .footer-column.last h3 { margin: 0 0 14px; font-size: 16px; color: #454846; font-weight: 400; text-transform: none; }
    .mobile-menu-footer .social-icons { justify-content: flex-start; gap: 12px; display: flex; }
    .mobile-menu-footer .social-icons a { background: #eff4f7; width: 44px; height: 44px; border-radius: 50%; display: flex; justify-content: center; align-items: center; }
    .mobile-menu-footer .social-icons .icon { filter: brightness(0); }
    .mobile-menu-footer .footer-bottom { margin-top: 18px; color: #838b94; font-size: 12px; line-height: 1.5; }
    .mobile-menu-footer .footer-bottom a { color: #838b94; }
    .custom-menu-wrapper .categories-menu, .custom-menu-wrapper .models-menu { position: fixed; z-index: 110; overflow-y: auto; background: #fff; }
    .customer-password-toggle:focus-visible, .mobile-account-menu a:focus-visible,
    .mobile-account-menu summary:focus-visible, .mobile-account-menu button:focus-visible,
    .mobile-close-btn:focus-visible { outline: 2px solid #177ec1; outline-offset: 3px; }
}
@media (max-width: 359px) {
    body .page-header .header.content { gap: 12px; }
    body .page-header .logo + .header-slogan { max-width: 75px; font-size: 8px; }
}
