/* Reseller login extends the current OpenCart account design. */
/* Feedback consumes the published My Account roles, including Palette Studio overrides. */
html body.deceti-theme #account-reseller > .alert-success {
  color: var(--color-account-success-text) !important;
  background: var(--color-account-success-background) !important;
  border-color: var(--color-account-success-border) !important;
}
html body.deceti-theme #account-reseller > .alert-danger {
  color: var(--color-account-error-text) !important;
  background: var(--color-account-error-background) !important;
  border-color: var(--color-account-error-border) !important;
}
#account-reseller-login .deceti-auth-register{grid-template-columns:1fr}
#account-reseller-login .deceti-auth-register__button{width:100%;white-space:normal}
#account-reseller-login #reseller-login-error[hidden]{display:none!important}
#account-reseller-login button:disabled{opacity:.6;cursor:wait}

/* Geometry only. Colors and fonts come from the published My Account CSS. */
html body.deceti-theme #account-reseller-login .deceti-auth-card label{text-align:start}
#account-reseller{padding-top:38px;padding-bottom:70px}
#account-reseller .card{border-radius:var(--object-panel-radius,16px);overflow:hidden}
#account-reseller .card-body{padding:clamp(22px,3vw,38px)}
#account-reseller .form-label{display:block;width:100%;margin-bottom:8px;text-align:start;font-weight:700}
#account-reseller :is(input.form-control:not([type="file"]),select.form-select){width:100%;min-height:58px;padding:12px 22px;border-radius:999px}
#account-reseller .form-control[type="file"]{width:100%;padding:12px 16px;border-radius:var(--object-control-radius,12px)}
#account-reseller .form-check-label{font-weight:400;text-align:start}
#account-reseller .btn{min-height:50px;padding:12px 24px;border-radius:999px;font-weight:700;white-space:normal}
#account-reseller [hidden]{display:none!important}
@media(max-width:520px){#account-reseller{padding-top:22px}#account-reseller .card-body{padding:22px 18px}#account-reseller button.btn{width:100%}}

/* Registration geometry; colors and font roles stay in My Account settings. */
html body.deceti-theme #account-reseller.reseller-application{width:calc(100% - 40px)!important;max-width:960px!important;margin-inline:auto!important;padding:36px 0 64px;font-family:var(--site-font-family,Arial,sans-serif)}
#account-reseller .reseller-application-heading{margin:0 0 24px;padding:28px 32px;border-radius:16px;background:var(--color-account-intro-background,#073b78);color:#fff}
html body.deceti-theme #account-reseller .reseller-application-heading :is(h1,p,a,span){color:#fff!important}
#account-reseller .reseller-application-heading a{text-decoration:underline;text-underline-offset:3px}
#account-reseller .reseller-application-heading a:focus-visible{outline:2px solid #fff;outline-offset:3px}
#account-reseller .reseller-application-heading h1{margin:0 0 10px;font:500 var(--font-account-mobile-form-heading-size,32px)/1.2 var(--site-font-family,Arial,sans-serif);letter-spacing:-.02em}
#account-reseller .reseller-application-heading p{margin:0;font-size:var(--font-account-input-size,16px);line-height:1.5}
#account-reseller .reseller-application-heading .reseller-application-eyebrow{margin-bottom:8px;font-size:13px;font-weight:700;color:var(--color-account-muted,inherit)}
#account-reseller .reseller-application-heading .reseller-application-signin{margin-top:12px}
#account-reseller #reseller-registration{margin:0;border-radius:16px}
#account-reseller #reseller-registration .card-body{padding:30px 32px}
#account-reseller #reseller-registration .reseller-form-section{min-width:0;margin:0 0 24px;padding:0 0 24px;border:0;border-bottom:1px solid var(--deceti-account-border,var(--color-account-border))}
#account-reseller #reseller-registration legend{float:none;width:100%;margin:0 0 16px;padding:0;border:0;font-family:inherit;font-size:var(--font-account-label-size,16px);font-weight:700;line-height:1.4}
#account-reseller .reseller-form-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:16px 18px}
#account-reseller .reseller-span-3{grid-column:span 3}#account-reseller .reseller-span-4{grid-column:span 4}#account-reseller .reseller-span-5{grid-column:span 5}#account-reseller .reseller-span-6{grid-column:span 6}#account-reseller .reseller-span-8{grid-column:span 8}
#account-reseller .reseller-field{min-width:0}
html body.deceti-theme #account-reseller #reseller-registration :is(input,select,textarea,button,label,legend){font-family:inherit;letter-spacing:normal}
#account-reseller #reseller-registration .form-label{margin:0 0 7px;font-size:var(--font-account-label-size,16px);line-height:1.3;font-weight:700}
#account-reseller #reseller-registration :is(input.form-control:not([type="file"]),select.form-select){width:100%;height:46px;min-height:46px;margin:0;padding:10px 13px;border-radius:10px;font-size:var(--font-account-input-size,13px);line-height:24px}
#account-reseller #reseller-registration select.form-select{padding-right:34px}
#account-reseller #reseller-registration .reseller-optional{margin-left:6px;font-size:.8em;font-weight:400;color:var(--color-account-muted,inherit)}
#account-reseller #reseller-registration .reseller-field-help{margin:10px 0 0;font-size:13px;line-height:1.5;color:var(--color-account-muted,inherit)}
#account-reseller #reseller-registration .form-check{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:start;gap:10px;margin:0;padding:0;min-height:22px}
#account-reseller #reseller-registration .form-check-input{float:none;width:18px;height:18px;margin:3px 0 0;border-radius:4px}
#account-reseller #reseller-registration .form-check-label{display:block;margin:0;font-size:var(--font-account-input-size,16px);font-weight:400;line-height:1.5}
#account-reseller #reseller-registration #reseller-certificate{margin-top:18px}
#account-reseller #reseller-registration .reseller-tax-section{margin-bottom:20px;padding-bottom:20px}
#account-reseller .reseller-submit-row{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:22px}
#account-reseller .reseller-submit-row p{max-width:380px;margin:0;font-size:13px;line-height:1.5;color:var(--color-account-muted,inherit)}
#account-reseller #reseller-registration .btn-primary{flex-shrink:0;min-height:46px;padding:11px 20px;border-radius:10px;font-family:inherit;font-size:var(--font-account-submit-size,17px);font-weight:800;text-transform:none}
@media(max-width:640px){
 html body.deceti-theme #account-reseller.reseller-application{width:calc(100% - 28px)!important;padding-top:24px}
 #account-reseller .reseller-application-heading{padding:24px 20px}
 #account-reseller #reseller-registration .card-body{padding:22px 20px}
 #account-reseller .reseller-form-grid{grid-template-columns:minmax(0,1fr);gap:16px}
 #account-reseller .reseller-form-grid .reseller-field{grid-column:auto}
 #account-reseller .reseller-submit-row{flex-direction:column;align-items:stretch;gap:16px}
 #account-reseller #reseller-registration .btn-primary{width:100%}
 #account-reseller #reseller-registration :is(input.form-control:not([type="file"]),select.form-select){font-size:max(16px,var(--font-account-input-size,16px))}
}

html body.deceti-theme #account-reseller.reseller-application :is(input,select,textarea,button,label,summary){font-family:inherit;letter-spacing:normal}
#account-reseller.reseller-application .form-label{font-size:var(--font-account-label-size,16px);line-height:1.3}
#account-reseller.reseller-application :is(input.form-control:not([type="file"]),select.form-select){height:46px;min-height:46px;padding:10px 13px;border-radius:10px;font-size:var(--font-account-input-size,13px);line-height:24px}
#account-reseller.reseller-application textarea.form-control{min-height:92px;border-radius:10px;padding:10px 13px;font-size:var(--font-account-input-size,13px)}
#account-reseller.reseller-application .btn{min-height:46px;padding:11px 20px;border-radius:10px;font-size:var(--font-account-submit-size,17px);font-weight:800}
#account-reseller.reseller-application summary{cursor:pointer;overflow-wrap:anywhere}
@media(max-width:640px){#account-reseller.reseller-application :is(input.form-control:not([type="file"]),select.form-select,textarea.form-control){font-size:max(16px,var(--font-account-input-size,16px))}}
