/* Shared form language: storefront, authentication, customer and management layouts. */
:root{--sq-control-radius:12px;--sq-field-border:#dbe5ef;--sq-field-bg:#f8fbff;--sq-field-ink:#193b58;--sq-field-focus:#3285ff}
body .form-control,
body .custom-select,
body .bootstrap-select>.dropdown-toggle,
body .select2-container .select2-selection,
body .tagify,
body .input-group-text,
body .sq-access-card .sq-auth-form .form-control{border-radius:var(--sq-control-radius)!important}
body .form-control:not(.bootstrap-select),
body .custom-select,
body .bootstrap-select>.dropdown-toggle,
body .select2-container .select2-selection{min-height:48px;border-color:var(--sq-field-border);background-color:var(--sq-field-bg);color:var(--sq-field-ink);font-size:14px;line-height:1.65;transition:border-color .16s ease,box-shadow .16s ease,background-color .16s ease}
body input.form-control:not([type=color]):not([type=range]),body select.form-control,body .custom-select{height:48px;padding:10px 14px}
body textarea.form-control{height:auto;min-height:104px;padding:12px 14px;line-height:1.85;resize:vertical}
body .form-control::placeholder{color:#7d90a3;opacity:1}
body .form-control:not(.bootstrap-select):focus,
body .custom-select:focus,
body .bootstrap-select>.dropdown-toggle:focus,
body .bootstrap-select>.dropdown-toggle:focus-visible,
body .select2-container--focus .select2-selection,
body .select2-container--open .select2-selection{outline:0!important;border-color:var(--sq-field-focus)!important;background-color:#fff;box-shadow:0 0 0 3px #3285ff24!important}
body .form-control:disabled,body .form-control[readonly],body .custom-select:disabled{background:#edf2f7;color:#667d91;opacity:1}
body .form-control.is-invalid,body .custom-select.is-invalid{border-color:#d84464!important;background-color:#fff8fa}
body .form-control.is-invalid:focus{box-shadow:0 0 0 3px #d8446424!important}
body .form-control.is-valid,body .custom-select.is-valid{border-color:#239c7a!important}
body .form-control.is-valid:focus{box-shadow:0 0 0 3px #239c7a24!important}
body .invalid-feedback{font-size:12px;line-height:1.7;margin-top:7px}
body .form-group>label:not(.aiz-switch):not(.aiz-checkbox):not(.aiz-radio){color:#304e69;font-weight:600;line-height:1.8;margin-bottom:8px}
body .form-group .col-form-label{padding-top:11px}
body .bootstrap-select.form-control{border:0;background:transparent;padding:0;max-width:100%}
body .bootstrap-select>.dropdown-toggle{padding:10px 14px;font-weight:400;white-space:normal;box-shadow:none}
body .bootstrap-select .filter-option-inner-inner{line-height:1.65;white-space:normal;overflow-wrap:anywhere}
body .bootstrap-select .dropdown-menu,body .select2-dropdown{border:1px solid #e0e9f3;border-radius:12px;box-shadow:0 10px 30px #16324b14}
body .bootstrap-select .dropdown-menu.inner{border:0;box-shadow:none}
body .bootstrap-select .dropdown-item{white-space:normal;overflow-wrap:anywhere}
body .bootstrap-select .bs-searchbox .form-control{background:#fff}
body .select2-container .select2-selection--single .select2-selection__rendered{line-height:46px;padding-inline:14px 28px}
body .select2-container .select2-selection--single .select2-selection__arrow{height:46px}
body .select2-container .select2-selection--multiple{padding:4px 8px}
body .tagify{border-color:var(--sq-field-border);background:var(--sq-field-bg);min-height:48px;--tags-border-color:var(--sq-field-border);--tags-focus-border-color:var(--sq-field-focus);--tag-border-radius:7px}
body .tagify__input{min-width:60px;max-width:100%;overflow-wrap:anywhere}
body .input-group{min-width:0;gap:8px}
body .input-group>.form-control{min-width:0}
body .input-group-prepend,body .input-group-append{margin:0}
body .input-group-text{border-color:var(--sq-field-border);background:#edf5ff;color:#345d85;min-height:48px;padding:10px 14px}
/* Uploaded-file controls have one rounded outer frame, including their Browse segment. */
body [data-toggle="aizuploader"].input-group{gap:0;border:1px solid var(--sq-field-border);border-radius:var(--sq-control-radius)!important;background:var(--sq-field-bg);overflow:hidden;min-height:48px;cursor:pointer}
body [data-toggle="aizuploader"] .input-group-text{height:100%;border:0!important;border-radius:0!important;background:#eaf3ff!important;color:#2464a6;min-height:46px}
body [data-toggle="aizuploader"] .file-amount.form-control{border:0!important;border-radius:0!important;background:transparent;display:flex;align-items:center;min-height:46px;height:auto;padding:10px 14px}
body [data-toggle="aizuploader"]:focus-visible{outline:3px solid #80b7ff;outline-offset:2px}
body input[type=file]::file-selector-button{border:0;border-radius:8px;padding:6px 12px;margin-inline-end:12px;background:#eaf3ff;color:#2464a6;cursor:pointer}
body input[type=checkbox],body input[type=radio]{accent-color:#3285ff}
body .form-control-sm,body .input-group-sm>.form-control{min-height:38px;height:38px;font-size:13px}
body #menu-search{border-radius:var(--sq-control-radius)!important}
body .sq-account-content .sq-address-add{display:flex;flex-direction:column;align-items:center;gap:6px;padding:20px;border-style:dashed;background:#f5faff}
body .sq-auth-form .form-control,body .sq-access-card .sq-auth-form .form-control{border-radius:var(--sq-control-radius)!important}
/* Keep phone-library spacing and rich-editor internals under their own controls. */
body .note-editor .note-editing-area .form-control{min-height:initial}
@media(max-width:767px){
 body .form-control:not(.bootstrap-select),body .custom-select,body .bootstrap-select>.dropdown-toggle{font-size:16px}
 body .form-group .col-form-label{padding-top:0;margin-bottom:8px}
 body .sq-account-content .form-group>div{min-width:0}
 body .sq-account-content button[type=submit].btn-primary{max-width:100%}
}
@media(prefers-reduced-motion:reduce){body .form-control,body .custom-select,body .bootstrap-select>.dropdown-toggle{transition:none!important}}
