/* All rules are scoped to this plugin. No global theme or checkout selectors. */
.arsg-card{--arsg-blue:#064cdb;--arsg-ink:#17233e;box-sizing:border-box;max-width:570px;margin:32px auto 48px;padding:38px 34px;background:#fff;border:1px solid #dce5f4;border-radius:22px;box-shadow:0 18px 60px #1748910d;color:var(--arsg-ink);font-family:inherit}
.arsg-heading{text-align:center;margin:0 0 26px}.arsg-person{display:inline-flex;align-items:center;justify-content:center;width:60px;height:60px;border-radius:50%;background:#edf3ff;color:var(--arsg-blue);margin-bottom:16px}.arsg-person svg{width:31px;height:31px}.arsg-card .arsg-heading h2{font-size:clamp(26px,5vw,34px);font-weight:700;letter-spacing:-.6px;margin:0 0 9px;color:var(--arsg-blue);line-height:1.2}.arsg-heading p{font-size:14px;line-height:1.7;color:#68738b;margin:0}
.arsg-card .arsg-tabs{display:flex;background:#f1f4fa;border:1px solid #e3e9f3;border-radius:11px;padding:4px;gap:4px;margin:0 0 24px}.arsg-card [hidden]{display:none!important}.arsg-card .arsg-tabs button{flex:1;appearance:none;border:0;border-radius:8px;background:transparent;color:#65718a;padding:12px 8px;font-family:inherit;font-size:15px;font-weight:600;line-height:1.4;cursor:pointer;box-shadow:none}.arsg-card .arsg-tabs button[aria-selected=true]{color:white;background:var(--arsg-blue);box-shadow:0 3px 8px #064cdb20}.arsg-card #customer_login{display:block;margin:0;width:auto}.arsg-card #customer_login:before,.arsg-card #customer_login:after{display:none}.arsg-card #customer_login>div{float:none;width:100%;margin:0;padding:0}.arsg-card.arsg-ready #customer_login>div>h2{display:none}.arsg-card form.login,.arsg-card form.register{padding:0;margin:0;border:0;background:transparent;box-shadow:none;border-radius:0}.arsg-card form .form-row{padding:0;margin:0 0 18px;display:block;width:100%;float:none}.arsg-card form label{font-size:14px;font-weight:600;color:#26334d;margin-bottom:7px;line-height:1.6}.arsg-card form input.input-text{box-sizing:border-box;width:100%;height:48px;padding:11px 14px;border:1px solid #ccd6e7;background:#fff;border-radius:9px;color:#1d2941;box-shadow:none;font-size:16px}.arsg-card form input.input-text:focus{outline:3px solid #e4edff;border-color:var(--arsg-blue)}.arsg-card form button.woocommerce-button,.arsg-card form button.woocommerce-Button{display:block;width:100%;float:none;border:0;border-radius:10px;padding:15px;margin-top:14px;background:var(--arsg-blue);color:white;font-size:16px;font-weight:600;line-height:1.4}.arsg-card a{color:var(--arsg-blue)}.arsg-card .woocommerce-LostPassword{font-size:13px;margin:16px 0 0;text-align:end}.arsg-card .woocommerce-privacy-policy-text{font-size:12px;color:#68738b;line-height:1.8}.arsg-card .woocommerce-form__label-for-checkbox{font-size:13px;font-weight:400}.arsg-card input[type=checkbox]{accent-color:var(--arsg-blue)}
.arsg-google-area{margin:0 0 20px}.arsg-google{box-sizing:border-box;display:flex!important;align-items:center;justify-content:center;gap:12px;min-height:46px;padding:12px 18px;border:1px solid #bfc8d7;border-radius:8px;background:white!important;color:#1f1f1f!important;text-decoration:none!important;font-family:Arial,sans-serif;font-weight:500;font-size:15px;line-height:1.4;box-shadow:0 2px 5px #20305006}.arsg-google:hover{background:#f8faff!important;border-color:#8c9ab1}.arsg-google svg{width:20px;height:20px;flex-shrink:0}.arsg-divider{display:flex;align-items:center;gap:14px;color:#7a859a;font-size:12px;margin:22px 0}.arsg-divider:before,.arsg-divider:after{content:"";height:1px;background:#e3e8f1;flex:1}.arsg-google:focus-visible,.arsg-card button:focus-visible{outline:3px solid #8eb6ff;outline-offset:3px}.arsg-connect{padding:22px;border:1px solid #dce5f4;border-radius:12px;margin:24px 0;max-width:550px}.arsg-connect p{font-size:14px}.arsg-card[dir=rtl]{text-align:right}.arsg-card[dir=rtl] .arsg-heading h2{letter-spacing:0}
@media(max-width:600px){.arsg-card{margin:18px auto 30px;padding:27px 20px;border-radius:17px}.arsg-heading{margin-bottom:22px}.arsg-card .arsg-heading h2{font-size:28px}.arsg-heading p{font-size:13px}.arsg-google{font-size:14px;padding:12px}.arsg-card .arsg-tabs button{font-size:14px}}
.arsg-card>h2{display:none}
/* 1.0.1: coexist with Al Resalah Customer Accounts 1.2.2.
   Its later-loaded two-column grid and inner card padding otherwise halve
   the width of the currently selected tab. Scope overrides to our card. */
.woocommerce section.arsg-card #customer_login{
 display:block;grid-template-columns:minmax(0,1fr);gap:0;width:100%;min-width:0;margin:0;
}
.woocommerce section.arsg-card #customer_login>div{
 box-sizing:border-box;float:none;width:100%;max-width:100%;min-width:0;
 margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;
}
.woocommerce section.arsg-card #customer_login form{
 box-sizing:border-box;width:100%;max-width:100%;min-width:0;margin:0;padding:0;
}
.woocommerce section.arsg-card #customer_login .arsg-google{width:100%;}
.woocommerce section.arsg-card #customer_login .arsg-google span{min-width:0;}
/* 1.0.2 — selected A / Clean Premium. Only the two identified legacy
   welcome banners are hidden; account navigation and notices stay visible. */
body.arsg-clean-premium .woocommerce .arca-welcome,
body.arsg-account-page .woocommerce .arca-member-hero{display:none!important}
body.arsg-clean-premium .arsg-card{width:100%;max-width:570px;padding:30px 30px 32px;border:1px solid #cbdcf7;border-radius:22px;box-shadow:0 12px 34px #0755d410}
body.arsg-clean-premium .arsg-heading{margin-bottom:24px}
body.arsg-clean-premium .arsg-person{width:62px;height:62px;margin-bottom:12px;background:#edf4ff}
body.arsg-clean-premium .arsg-heading h2{margin-bottom:10px;font-size:32px;color:#064cdb;line-height:1.25}
body.arsg-clean-premium .arsg-heading .arsg-guest{display:inline-block;color:#0757d8;font-size:13px;font-weight:400;line-height:1.7;text-decoration:underline;text-underline-offset:3px}
body.arsg-clean-premium .arsg-tabs{border-radius:15px;padding:4px;margin-bottom:22px}
body.arsg-clean-premium .arsg-tabs button{border-radius:12px}
body.arsg-clean-premium .arsg-google{border-radius:10px;min-height:48px}
@media(max-width:600px){body.arsg-clean-premium .arsg-card{padding:26px 20px;border-radius:19px}body.arsg-clean-premium .arsg-heading h2{font-size:28px}body.arsg-clean-premium .arsg-heading .arsg-guest{font-size:12px}}

/* 1.0.3 — selected registration design and white-background store logo. */
body.arsg-clean-premium .arsg-store-logo{display:block;width:210px;max-width:75%;height:auto;margin:0 auto 24px;object-fit:contain;background:#fff}
.woocommerce section.arsg-card form.register .woocommerce-privacy-policy-text{display:none}
.woocommerce section.arsg-card form.register .form-row{margin:0 0 18px}
.woocommerce section.arsg-card form.register input.input-text{min-height:48px;border:1px solid #cdd8e6;border-radius:10px;background:#fcfdff}
.woocommerce section.arsg-card form.register .password-input{display:block;width:100%}
.woocommerce section.arsg-card form.register button[type=submit]{min-height:50px;border-radius:11px;background:#064cdb;color:#fff}
@media(max-width:600px){body.arsg-clean-premium .arsg-store-logo{width:175px;margin-bottom:20px}}

/* Match compact approved layout; override later legacy account styles. */
body.arsg-clean-premium .woocommerce section.arsg-card .arsg-store-logo,
body.arsg-clean-premium .woocommerce section.arsg-card #arca-phone-help,
body.arsg-clean-premium .woocommerce section.arsg-card .arca-password-help{display:none!important}
body.arsg-clean-premium .woocommerce section.arsg-card{padding:24px 22px;border-radius:20px;background:#fff}
body.arsg-clean-premium .woocommerce section.arsg-card .arsg-heading{margin:0 0 20px}
body.arsg-clean-premium .woocommerce section.arsg-card #customer_login form .form-row{padding:0;margin:0 0 14px}
body.arsg-clean-premium .woocommerce section.arsg-card #customer_login form label{display:block;margin:0 0 6px;font-size:14px;line-height:1.4}
body.arsg-clean-premium .woocommerce section.arsg-card #customer_login form input.input-text{height:44px;min-height:44px;padding:10px 12px;border-radius:9px;font-size:16px;line-height:1.4}
body.arsg-clean-premium .woocommerce section.arsg-card .arsg-divider{margin:18px 0;font-size:12px}
body.arsg-clean-premium .woocommerce section.arsg-card .arsg-tabs button{padding:10px 8px}
body.arsg-clean-premium .woocommerce section.arsg-card .arsg-switch-login{text-align:center;margin:16px 0 0;font-size:13px}
body.arsg-clean-premium .woocommerce section.arsg-card .arsg-switch-login button{display:inline;width:auto;background:none;border:0;padding:0;margin:0;color:#064cdb;font:inherit;font-weight:600;text-decoration:underline;cursor:pointer}

/* 1.0.5: decorative, resolution-independent field icons. */
body.arsg-clean-premium .woocommerce section.arsg-card #customer_login form.register #arca_full_name{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23183653%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%227%22%20r%3D%224%22%2F%3E%3Cpath%20d%3D%22M4%2021v-2a8%208%200%200%201%2016%200v2%22%2F%3E%3C%2Fsvg%3E");background-repeat:no-repeat;background-size:20px 20px;background-position:left 12px center;padding-left:42px;padding-right:12px;}
body.arsg-clean-premium .woocommerce section.arsg-card #customer_login form.register #reg_email{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23183653%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%225%22%20width%3D%2218%22%20height%3D%2214%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22m3%206%209%207%209-7%22%2F%3E%3C%2Fsvg%3E");background-repeat:no-repeat;background-size:20px 20px;background-position:left 12px center;padding-left:42px;padding-right:12px;}
body.arsg-clean-premium .woocommerce section.arsg-card #customer_login form.register #reg_password{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23183653%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%225%22%20y%3D%2210%22%20width%3D%2214%22%20height%3D%2211%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M8%2010V7a4%204%200%200%201%208%200v3m-4%205v2%22%2F%3E%3C%2Fsvg%3E");background-repeat:no-repeat;background-size:20px 20px;background-position:left 12px center;padding-left:42px;padding-right:12px;}
body.arsg-clean-premium .woocommerce section.arsg-card #customer_login form.register #arca_mobile{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23183653%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M21%2011.6a9%209%200%200%201-13.3%207.9L3%2021l1.5-4.6A9%209%200%201%201%2021%2011.6Z%22%2F%3E%3Cpath%20d%3D%22m8%207%202%203-1%201c1%202%202%203%204%204l1-1%203%202c-1%203-4%202-7%200s-5-6-2-9Z%22%2F%3E%3C%2Fsvg%3E");background-repeat:no-repeat;background-size:20px 20px;background-position:left 12px center;padding-left:42px;padding-right:12px;}
body.arsg-clean-premium .woocommerce section.arsg-card #customer_login form.register #reg_password{padding-right:44px;}
body.arsg-clean-premium .woocommerce section.arsg-card .arsg-account-icon{display:flex;align-items:center;justify-content:center;width:48px;height:48px;margin:0 auto 12px;border-radius:50%;background:#064cdb;color:#fff} .arsg-account-icon svg{width:27px;height:27px}
body.arsg-clean-premium .woocommerce section.arsg-card[dir=rtl] #customer_login form.register input.input-text:not([dir=ltr]){background-position:right 12px center;padding-right:42px;padding-left:12px}
body.arsg-clean-premium .woocommerce section.arsg-card[dir=rtl] #customer_login form.register #reg_password{padding-left:44px}

/* 1.0.6: account-only footer simplification requested by store owner. */
body.arsg-account-page .arsd-footer .arsd-footer-inner > :not(:first-child),
body.arsg-account-page .arpol-links,
body.arsg-account-page .ar-footer a[href*="privacy-policy"]{display:none!important}
body.arsg-account-page .arsd-footer .arsd-footer-inner{grid-template-columns:minmax(0,1fr)}

/* 1.0.7: hide marked company footer and dashboard summary only.
   Order/address/account-detail endpoint content and navigation stay available. */
body.arsg-account-page .arsd-footer{display:none!important}
body.arsg-dashboard-page .woocommerce-MyAccount-content{display:none!important}
