/* Scoped public-homepage installation panel and its native guide dialog. */
.landing-page .pwa-header-install { border-color: #B6E7D8; background: #EAF9F3; color: #126E53; white-space: nowrap; }
.landing-page .pwa-header-install:hover { border-color: #20C997; background: #DDF5EB; }
.landing-page .pwa-header-install:disabled { opacity: .7; cursor: default; }
.landing-page .pwa-header-install .dx-icon { width: 19px; height: 19px; }
.landing-page .dx-header-auth { flex-wrap: wrap; gap: 8px; }
@media (max-width: 1200px) {
    .landing-page .dx-header-inner { flex-wrap: wrap; padding-block: 10px; row-gap: 8px; }
    .landing-page .dx-header-inner > .dx-nav { order: 3; flex: 1 0 100%; justify-content: center; }
}
@media (max-width: 480px) {
    .landing-page .dx-header-auth { width: 100%; justify-content: center; }
    .landing-page .dx-header-auth .pwa-header-install { padding-inline: 9px; font-size: 12px; gap: 5px; }
    .landing-page .pwa-header-install .dx-icon { width: 16px; height: 16px; }
}
.pwa-install { padding-block: 24px 68px; scroll-margin-top: 110px; }
.pwa-install-card { position: relative; isolation: isolate; display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 40px; padding: 46px 52px; overflow: hidden; border: 1px solid #e5dcf3; border-radius: 28px; background: linear-gradient(120deg,#fbf9ff 20%,#f2eefc 65%,#edf9f4); box-shadow: 0 14px 42px #37225308; }
.pwa-install-card::before { content: ''; position: absolute; z-index: -1; width: 410px; height: 410px; inset-inline-end: -70px; top: -70px; border: 1px solid #ded2f0; border-radius: 50%; }
.pwa-install-card::after { content: ''; position: absolute; z-index: -1; width: 310px; height: 310px; inset-inline-end: -20px; top: -20px; border: 1px dashed #d9ccec; border-radius: 50%; }
.pwa-install-copy { min-width: 0; }
.pwa-install-kicker,.pwa-dialog-kicker { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border: 1px solid #ddd2f1; border-radius: 30px; background: #ffffffb8; color: #674698; font-size: 12px; font-weight: 500; }
.pwa-install-kicker::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #20a77e; box-shadow: 0 0 0 4px #20c99714; }
.pwa-install-copy h2 { margin: 15px 0 10px; color: #202231; font-size: clamp(23px,2.4vw,32px); line-height: 1.8; font-weight: 700; }
.pwa-install-description { max-width: 510px; margin: 0; color: #667085; font-size: 15px; line-height: 2.05; }
.pwa-install-benefits { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 19px 0 24px; padding: 0; list-style: none; }
.pwa-install-benefits li { display: flex; align-items: center; gap: 6px; color: #667085; font-size: 12px; }
.pwa-install-benefits li::before { content: '✓'; display: grid; place-items: center; width: 16px; height: 16px; flex: 0 0 16px; border-radius: 50%; background: #e5f6ef; color: #208361; font-size: 10px; font-weight: 700; line-height: 1; }
.pwa-install-benefits svg { width: 17px; height: 17px; flex: 0 0 17px; color: #229773; }
.pwa-install-actions { display: flex; flex-wrap: wrap; gap: 11px; }
.pwa-install-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 47px; width: auto; margin: 0; padding: 11px 19px; border: 1px solid transparent; border-radius: 12px; font-family: 'Shabnam',Tahoma,sans-serif; font-size: 14px; line-height: 1.8; font-weight: 700; text-decoration: none; cursor: pointer; transition: background .18s,border-color .18s,box-shadow .18s,transform .18s; }
.pwa-install-button svg { display: block; width: 21px; height: 21px; flex-shrink: 0; }
.pwa-install-button-primary { color: #fff; background: #6236d9; box-shadow: 0 7px 16px #6236d91c; }
.pwa-install-button-primary:hover { background: #512bbd; box-shadow: 0 8px 20px #6236d92a; transform: translateY(-1px); }
.pwa-install-button-secondary { color: #42238f; border-color: #d7caed; background: #ffffffd9; }
.pwa-install-button-secondary:hover { border-color: #bca5df; background: #fff; transform: translateY(-1px); }
.pwa-install-button:disabled { cursor: default; opacity: .65; box-shadow: none; transform: none; }
.pwa-install :is(button,a):focus-visible,.pwa-install-dialog :is(button,a):focus-visible { outline: 3px solid #20a77e; outline-offset: 4px; }
.pwa-install-status { min-height: 24px; max-width: 520px; margin: 13px 0 0; color: #667085; font-size: 12px; line-height: 1.95; }
.pwa-install-visual { position: relative; display: grid; place-items: center; min-height: 290px; padding: 6px 22px; direction: rtl; }
.pwa-phone { position: relative; width: 174px; min-height: 285px; padding: 17px 14px 18px; border: 5px solid #302243; border-radius: 30px; background: linear-gradient(155deg,#fff,#f4f0fc); box-shadow: 12px 20px 38px #412a6e1c,inset 0 0 0 1px #fff; transform: rotate(-7deg); }
.pwa-phone-notch { width: 49px; height: 10px; margin: -13px auto 14px; border-radius: 0 0 10px 10px; background: #302243; }
.pwa-phone-top { display: flex; align-items: center; justify-content: center; gap: 5px; color: #7a6c8d; font-size: 10px; direction: ltr; }
.pwa-phone-top i { width: 5px; height: 5px; border-radius: 50%; background: #20ad82; }
.pwa-phone-brand { display: block; width: 65px; height: 65px; object-fit: contain; margin: 24px auto 8px; padding: 9px; border: 1px solid #e8e0f3; border-radius: 18px; background: #fff; box-shadow: 0 6px 15px #583e8910; }
.pwa-phone-label { display: block; margin-bottom: 20px; text-align: center; color: #493464; font-size: 12px; font-weight: 700; }
.pwa-phone-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 7px; }
.pwa-phone-grid > span { display: grid; justify-items: center; gap: 4px; padding: 8px 2px; border: 1px solid #ebe4f4; border-radius: 9px; background: #ffffffbd; color: #82738f; font-size: 18px; line-height: 1.2; }
.pwa-phone-grid small { font-size: 9px; line-height: 1.8; }
.pwa-phone-grid svg { width: 18px; height: 18px; color: #9674c5; }
.pwa-phone-bottom { width: 44px; height: 3px; margin: 16px auto -7px; border-radius: 5px; background: #c8bdd6; }
.pwa-visual-badge { position: absolute; inset-inline-end: 0; bottom: 35px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 13px; border: 1px solid #e3eee8; border-radius: 12px; background: #ffffffed; color: #48745f; box-shadow: 0 7px 24px #1b493f0c; font-size: 12px; transform: rotate(3deg); }
.pwa-visual-badge svg { width: 21px; height: 21px; color: #20a77e; }
.pwa-visual-badge > span { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #e5f6ef; color: #208361; font-size: 12px; }
.pwa-install-dialog { width: min(690px,calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 36px); margin: auto; padding: 30px; overflow-y: auto; overscroll-behavior: contain; border: 1px solid #e6def0; border-radius: 24px; background: #fcfbff; color: #322840; box-shadow: 0 28px 90px #17102640; font-family: 'Shabnam',Tahoma,sans-serif; font-size: 13px; direction: rtl; }
.pwa-install-dialog:not([open]) { display: none; }
.pwa-install-dialog::backdrop { background: #1c142461; backdrop-filter: blur(6px); }
.pwa-dialog-heading { position: relative; padding-inline-end: 35px; }
.pwa-dialog-kicker { padding: 3px 10px; font-size: 12px; }
.pwa-dialog-heading h2 { margin: 12px 0 6px; color: #202231; font-size: 21px; font-weight: 700; line-height: 1.8; }
.pwa-dialog-heading > p { max-width: 525px; margin: 0; color: #667085; font-size: 14px; line-height: 1.95; }
.pwa-dialog-close { position: absolute; inset-inline-end: -4px; top: -4px; display: grid; place-items: center; width: 35px; height: 35px; margin: 0; padding: 0; border: 1px solid #e9e1f2; border-radius: 11px; background: #f2edf8; color: #73518e; font: inherit; font-size: 24px; line-height: 1; cursor: pointer; }
.pwa-dialog-close:hover { background: #e9e0f3; }
.pwa-guide[hidden] { display: none; }
.pwa-guide-steps { display: grid; gap: 10px; margin: 23px 0 16px; padding: 0; list-style: none; counter-reset: pwa-step; }
.pwa-guide-steps > li { position: relative; display: grid; grid-template-columns: 26px 58px minmax(0,1fr); align-items: center; gap: 12px; padding: 14px; border: 1px solid #eae3f1; border-radius: 15px; background: #fff; }
.pwa-step-number { display: grid; place-items: center; width: 25px; height: 25px; border: 1px solid #e4d9f1; border-radius: 50%; background: #faf7ff; color: #967bb3; font-size: 12px; }
.pwa-step-art { display: grid; place-items: center; width: 55px; height: 55px; border: 1px solid #e4daf2; border-radius: 14px; background: linear-gradient(140deg,#fbfaff,#f1eafa); color: #7147ac; }
.pwa-step-art svg { width: 29px; height: 29px; }
.pwa-guide-steps h3 { margin: 0 0 3px; color: #42238f; font-size: 15px; font-weight: 700; line-height: 1.8; }
.pwa-guide-steps p { margin: 0; color: #667085; font-size: 14px; line-height: 1.95; }
.pwa-guide-steps [dir="ltr"],.pwa-guide-note [dir="ltr"] { display: inline-block; }
.pwa-inline-icon { display: inline-block; width: 18px; height: 18px; margin-inline: 2px; vertical-align: middle; color: #7147ac; }
.pwa-guide-note { display: flex; gap: 8px; align-items: flex-start; margin: 13px 0 0; padding: 11px 13px; border: 1px solid #e5dbf0; border-radius: 11px; background: #f5f1fa; color: #667085; font-size: 14px; line-height: 2; }
.pwa-guide-note svg { width: 17px; height: 17px; flex: 0 0 17px; margin-top: 3px; color: #9a82b0; }
.pwa-dialog-footer { display: flex; justify-content: flex-end; margin-top: 21px; padding-top: 17px; border-top: 1px solid #e9e1f1; }
.pwa-dialog-footer .pwa-install-button { min-width: 126px; }
@media (max-width: 1000px) {
    .pwa-install-card { grid-template-columns: 1.3fr .7fr; gap: 18px; padding: 35px; }
    .pwa-install-visual { padding-inline: 8px; }
    .pwa-visual-badge { inset-inline-end: -12px; font-size: 11px; }
}
@media (max-width: 740px) {
    .pwa-install { padding-block: 16px 44px; }
    .pwa-install-card { grid-template-columns: 1fr; gap: 17px; padding: 30px 24px; border-radius: 22px; }
    .pwa-install-copy h2 { font-size: 25px; }
    .pwa-install-visual { min-height: 240px; grid-row: 1; padding: 0; }
    .pwa-phone { transform: rotate(-6deg) scale(.82); margin-block: -25px; }
    .pwa-visual-badge { inset-inline-end: calc(50% - 125px); bottom: 18px; }
    .pwa-install-card::before { width: 300px; height: 300px; inset-inline-end: calc(50% - 150px); top: -25px; }
    .pwa-install-card::after { width: 240px; height: 240px; inset-inline-end: calc(50% - 120px); top: 5px; }
    .pwa-install-actions { gap: 9px; }
    .pwa-install-button { flex: 1 1 175px; padding-inline: 13px; }
    .pwa-install-dialog { padding: 24px 18px 20px; border-radius: 21px; }
    .pwa-dialog-heading h2 { font-size: 19px; }
    .pwa-guide-steps > li { grid-template-columns: 23px 43px minmax(0,1fr); gap: 9px; padding: 12px 10px; }
    .pwa-step-number { width: 22px; height: 22px; }
    .pwa-step-art { width: 43px; height: 48px; border-radius: 11px; }
    .pwa-step-art svg { width: 25px; height: 25px; }
    .pwa-guide-steps h3 { font-size: 14px; }
    .pwa-dialog-footer .pwa-install-button { flex: 0 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
    .pwa-install-button { transition: none; }
    .pwa-install-button:hover { transform: none; }
    .pwa-install-dialog::backdrop { backdrop-filter: none; }
}
