/* DAMZY Premium Authentication v1.0.0 */
body:has(.dpa-auth) .entry-header,body:has(.dpa-auth) .entry-title,body:has(.dpa-auth) .page-header,body:has(.dpa-auth) .ast-page-builder-template .entry-header{display:none!important}
body:has(.dpa-auth) .site-content .ast-container,body:has(.dpa-auth) .site-content .content-area,body:has(.dpa-auth) .site-content article,body:has(.dpa-auth) .site-content .entry-content{max-width:none!important;width:100%!important;margin:0!important;padding:0!important}
body:has(.dpa-auth) .site-content .site-main{padding:0!important;margin:0!important}
.dpa-auth,.dpa-auth *{box-sizing:border-box}
.dpa-auth{--dpa-ink:#171717;--dpa-muted:#6b6b6b;display:grid;grid-template-columns:50% 50%;min-height:100svh;color:var(--dpa-ink);background:#fff;font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important}
.dpa-auth .dpa-visual{position:relative;min-height:100svh;background:#101e2b var(--dpa-visual) center 36% /cover no-repeat;overflow:hidden}
.dpa-visual:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 25%,rgba(0,0,0,.45) 100%);pointer-events:none}
.dpa-visual-brand{position:absolute;z-index:1;left:7%;right:7%;bottom:18%;color:white;text-align:center;display:flex;flex-direction:column;gap:16px;align-items:center;text-shadow:0 2px 17px #1118}
.dpa-visual-brand span{font-family:Georgia,'Times New Roman',serif;font-size:clamp(32px,4vw,72px);letter-spacing:.24em;font-weight:400}
.dpa-visual-brand em{font-family:Georgia,'Times New Roman',serif;font-size:clamp(18px,1.8vw,30px);font-weight:400}
.dpa-admin .dpa-visual{background-position:center center}
.dpa-admin .dpa-visual:after{background:transparent}
.dpa-form-side{background:#fff!important;display:flex;align-items:center;justify-content:center;padding:72px clamp(26px,5.2vw,108px);min-width:0}
.dpa-form-inner{width:100%;max-width:545px}
.dpa-logo{display:inline-block;color:#111!important;font-family:Georgia,'Times New Roman',serif;font-size:clamp(37px,4vw,58px);letter-spacing:.20em;text-decoration:none!important;line-height:1.2;margin-bottom:66px;font-weight:400}
.dpa-kicker{display:flex;align-items:center;gap:22px;letter-spacing:.30em;font-size:12px;font-weight:500;margin-bottom:33px;white-space:nowrap;color:#171717}
.dpa-kicker span{width:96px;max-width:35%;height:1px;background:#a8a8a8}
.dpa-auth h1{font-family:Georgia,'Times New Roman',serif!important;font-weight:400!important;letter-spacing:-.045em!important;line-height:1.1!important;color:#151515!important;font-size:clamp(40px,4.1vw,68px)!important;margin:0 0 19px!important}
.dpa-intro{font-size:16px;line-height:1.75;color:#686868;margin:0 0 40px!important;font-weight:400}
.dpa-form{margin:0!important}.dpa-field{display:block;margin:0 0 22px!important;font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
.dpa-field>span:first-child{display:block;font-size:11px;color:#161616;letter-spacing:.24em;font-weight:500;margin-bottom:11px;text-transform:uppercase}
.dpa-input-wrap{position:relative;display:block}
.dpa-field input,.dpa-field input[type=email],.dpa-field input[type=password],.dpa-field input[type=text]{display:block;width:100%;height:58px;border:1px solid #d5d5d5!important;border-radius:3px!important;background:#fff!important;color:#171717!important;padding:0 17px!important;box-shadow:none!important;outline:none!important;font-size:15px!important;font-weight:400!important;line-height:1.2!important}
.dpa-field input:focus{border-color:#222!important;box-shadow:0 0 0 2px rgba(30,30,30,.06)!important}
.dpa-field input[readonly]{background:#f6f6f6!important;color:#666!important}
.dpa-field input::placeholder{color:#9b9b9b!important}
.dpa-field input[type=password]{padding-right:59px!important}
.dpa-eye{position:absolute!important;right:0;top:0;width:54px!important;height:58px!important;display:flex!important;align-items:center;justify-content:center;background:transparent!important;color:#333!important;border:0!important;box-shadow:none!important;font-size:21px!important;cursor:pointer}
.dpa-options{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:4px 0 34px;font-size:13px}
.dpa-options a,.dpa-switch a,.dpa-back{color:#161616!important;text-decoration:underline!important;text-underline-offset:3px}
.dpa-check{display:inline-flex;align-items:center;gap:11px;font-size:13px;color:#252525;line-height:1.6;cursor:pointer}
.dpa-check input{appearance:auto!important;width:18px!important;height:18px!important;margin:0!important;accent-color:#171717!important}
.dpa-primary{display:flex!important;align-items:center;justify-content:center;position:relative;min-height:62px;padding:14px 56px 14px 24px!important;border-radius:3px!important;background:#1e1d1b!important;color:#fff!important;border:1px solid #1e1d1b!important;text-decoration:none!important;font-family:Georgia,'Times New Roman',serif!important;font-size:22px!important;font-weight:400!important;letter-spacing:0!important;width:100%;cursor:pointer;transition:background .3s ease,transform .3s ease,box-shadow .3s ease}
.dpa-primary:hover{background:#333!important;transform:translateY(-1px);box-shadow:0 8px 18px #00000015!important}
.dpa-primary span{position:absolute;right:23px;font-family:Inter,sans-serif;font-size:27px;font-weight:300}
.dpa-switch{text-align:center;margin:35px 0 0!important;font-size:14px;line-height:1.7;color:#222}
.dpa-name-row{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.dpa-terms{margin:8px 0 29px!important}.dpa-notice{padding:13px 16px;border:1px solid #d6a3a3;background:#fff5f5;color:#7d2727;font-size:14px;line-height:1.6;margin-bottom:24px}
.dpa-authorized{margin:72px 0 0;border-top:1px solid #ccc;padding-top:27px;color:#575757;text-align:center;font-family:Georgia,serif;font-size:17px;font-style:italic}
.dpa-back{display:inline-block;margin-top:30px}
@media(max-width:950px){.dpa-form-side{padding:50px 30px}.dpa-logo{margin-bottom:48px}.dpa-auth h1{font-size:48px!important}}
@media(max-width:720px){.dpa-auth{display:block;min-height:100svh}.dpa-auth .dpa-visual{min-height:210px;height:29svh;background-position:center 33%}.dpa-visual-brand{bottom:14%;gap:6px}.dpa-visual-brand span{font-size:32px}.dpa-visual-brand em{font-size:15px}.dpa-form-side{min-height:70svh;padding:36px 24px 60px;align-items:flex-start}.dpa-form-inner{max-width:540px;margin:auto}.dpa-logo{font-size:38px;margin-bottom:30px}.dpa-kicker{font-size:10px;margin-bottom:20px}.dpa-auth h1{font-size:clamp(36px,8.7vw,52px)!important}.dpa-intro{font-size:14px;margin-bottom:25px!important}.dpa-field{margin-bottom:17px!important}.dpa-field input,.dpa-field input[type=email],.dpa-field input[type=password],.dpa-field input[type=text]{height:53px;font-size:14px!important}.dpa-eye{height:53px!important}.dpa-primary{min-height:57px;font-size:20px!important}.dpa-authorized{margin-top:42px}}
@media(max-width:380px){.dpa-name-row{grid-template-columns:1fr;gap:0}.dpa-options{font-size:12px}.dpa-form-side{padding-left:17px;padding-right:17px}}
@media(prefers-reduced-motion:reduce){.dpa-primary{transition:none!important}}

/* Standalone auth pages render without the storefront header or Astra content wrappers. */
body.damzy-auth-standalone{margin:0!important;background:#fff!important;padding:0!important;min-height:100svh}
body.damzy-auth-standalone .dpa-auth{margin:0!important;min-height:100svh;width:100%}
body.damzy-auth-standalone .dpa-form-side{background:#fff!important}
body.damzy-auth-standalone .dpa-auth .dpa-form-inner{max-width:560px}
