.mdstr-pg,
.mdstr-pg * { box-sizing: border-box; }
.mdstr-pg { --mdstr-pg-primary: var(--e-global-color-primary,#673a65); width: 100%; color: var(--e-global-color-text,#4a364b); direction: rtl; }
.mdstr-pg button,.mdstr-pg input { font-family: inherit; }
.mdstr-pg [hidden] { display: none!important; }
.mdstr-pg__auth { display: flex; justify-content: center; width: 100%; }
.mdstr-pg__auth-card { position: relative; width: 100%; max-width: 590px; overflow: hidden; padding: 30px; border: 1px solid color-mix(in srgb,var(--mdstr-pg-primary) 12%,transparent); border-radius: 28px; background: radial-gradient(circle at top right,color-mix(in srgb,var(--mdstr-pg-primary) 12%,#fff) 0,transparent 50%),#fff; box-shadow: 0 24px 65px rgba(15,23,42,.08),0 5px 20px rgba(15,23,42,.04); }
.mdstr-pg__auth-card::before { position: absolute; top: -70px; left: -70px; width: 160px; height: 160px; border-radius: 50%; background: color-mix(in srgb,var(--mdstr-pg-primary) 5%,transparent); content: ''; pointer-events: none; }
.mdstr-pg__header { position: relative; display: flex; align-items: flex-start; gap: 15px; margin-bottom: 25px; }
.mdstr-pg__header-icon { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; flex: 0 0 52px; border-radius: 17px; background: color-mix(in srgb,var(--mdstr-pg-primary) 12%,#fff); color: var(--mdstr-pg-primary); }
.mdstr-pg svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.mdstr-pg__header-icon svg { width: 25px; height: 25px; }
.mdstr-pg__header>div { min-width: 0; flex: 1; }
.mdstr-pg__eyebrow,.mdstr-pg__badge { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 7px; padding: 5px 10px; border-radius: 50px; background: color-mix(in srgb,var(--mdstr-pg-primary) 7%,transparent); color: var(--mdstr-pg-primary); font-size: 10px; font-weight: 800; }
.mdstr-pg__header h2,.mdstr-pg__gallery-head h2 { margin: 0 0 7px; color: var(--e-global-color-text,#3e2b40); font-size: 21px; font-weight: 900; line-height: 1.55; }
.mdstr-pg__header p,.mdstr-pg__gallery-head p { margin: 0; color: #8e7b8c; font-size: 12px; line-height: 2; }
.mdstr-pg__field { margin-bottom: 16px; }
.mdstr-pg__field label { display: block; margin-bottom: 8px; color: var(--e-global-color-text,#513c52); font-size: 12px; font-weight: 800; }
.mdstr-pg__input { position: relative; display: flex; align-items: center; height: 55px; border: 1px solid color-mix(in srgb,var(--mdstr-pg-primary) 18%,transparent); border-radius: 15px; background: color-mix(in srgb,var(--mdstr-pg-primary) 8%,#fff); transition: border-color .2s ease,background .2s ease,box-shadow .2s ease; }
.mdstr-pg__input:focus-within { border-color: color-mix(in srgb,var(--mdstr-pg-primary) 48%,transparent); background: #fff; box-shadow: 0 0 0 4px color-mix(in srgb,var(--mdstr-pg-primary) 7%,transparent); }
.mdstr-pg__input>svg { width: 20px; height: 20px; margin: 0 15px; flex: 0 0 20px; color: color-mix(in srgb,var(--mdstr-pg-primary) 78%,#777); }
.mdstr-pg__input input { width: 100%; height: 100%; min-width: 0; padding: 0 0 0 14px!important; border: 0!important; outline: 0!important; background: transparent!important; color: var(--e-global-color-text,#453246); font-size: 13px; box-shadow: none!important; }
.mdstr-pg__input input::placeholder { color: #aa97a2; opacity: 1; }
.mdstr-pg__input--password input { padding-left: 55px!important; }
.mdstr-pg__toggle { position: absolute; top: 50%; left: 8px; display: flex; align-items: center; justify-content: center; width: 39px; height: 39px; padding: 0; border: 1px solid color-mix(in srgb,var(--mdstr-pg-primary) 15%,transparent); border-radius: 11px; outline: 0; background: color-mix(in srgb,var(--mdstr-pg-primary) 12%,#fff); color: var(--mdstr-pg-primary); cursor: pointer; transform: translateY(-50%); transition: .2s ease; }
.mdstr-pg__toggle:hover { background: var(--mdstr-pg-primary); color: #fff; }
.mdstr-pg__toggle svg { display: block; width: 21px!important; height: 21px!important; flex: 0 0 21px; fill: none!important; stroke: currentColor!important; visibility: visible; opacity: 1; pointer-events: none; }
.mdstr-pg__error { margin: -3px 0 14px; padding: 9px 12px; border: 1px solid rgba(190,24,93,.18); border-radius: 10px; background: rgba(190,24,93,.06); color: #9f1239; font-size: 11px; line-height: 1.8; }
.mdstr-pg__submit { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; min-height: 54px; padding: 12px 18px; border: 0; border-radius: 15px; background: var(--mdstr-pg-primary); color: #fff; font-size: 13px; font-weight: 800; cursor: pointer; box-shadow: 0 10px 24px color-mix(in srgb,var(--mdstr-pg-primary) 24%,transparent); transition: transform .2s ease,filter .2s ease; }
.mdstr-pg__submit:hover { color: #fff; filter: brightness(.92); transform: translateY(-1px); }
.mdstr-pg__submit:disabled { cursor: wait; opacity: .75; }
.mdstr-pg__spinner { display: none; width: 17px; height: 17px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: mdstrPgSpin .75s linear infinite; }
.mdstr-pg__form.is-loading .mdstr-pg__spinner { display: block; }
@keyframes mdstrPgSpin { to { transform: rotate(360deg); } }
.mdstr-pg__privacy { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 16px 0 0; color: #958493; font-size: 10px; line-height: 1.8; text-align: center; }
.mdstr-pg__privacy svg { width: 16px; height: 16px; flex: 0 0 16px; color: var(--mdstr-pg-primary); }
.mdstr-pg__gallery { width: 100%; animation: mdstrPgFade .3s ease; }
@keyframes mdstrPgFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.mdstr-pg__gallery-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; margin-bottom: 22px; }
.mdstr-pg__badge i { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.12); }
.mdstr-pg__logout { flex: 0 0 auto; min-height: 42px; padding: 9px 15px; border: 1px solid color-mix(in srgb,var(--mdstr-pg-primary) 22%,transparent); border-radius: 12px; background: color-mix(in srgb,var(--mdstr-pg-primary) 7%,#fff); color: var(--mdstr-pg-primary); font-size: 11px; font-weight: 800; cursor: pointer; transition: .2s ease; }
.mdstr-pg__logout:hover { background: var(--mdstr-pg-primary); color: #fff; }
.mdstr-pg__notice { display: flex; align-items: center; gap: 11px; margin-bottom: 22px; padding: 13px 15px; border: 1px solid color-mix(in srgb,var(--mdstr-pg-primary) 12%,transparent); border-radius: 14px; background: color-mix(in srgb,var(--mdstr-pg-primary) 6%,#fff); color: #6f5d6d; }
.mdstr-pg__notice>span { display: flex; align-items: center; justify-content: center; width: 25px; height: 25px; flex: 0 0 25px; border-radius: 50%; background: var(--mdstr-pg-primary); color: #fff; font: 800 12px/1 Arial,sans-serif; }
.mdstr-pg__notice p { margin: 0; font-size: 11px; line-height: 1.9; }
.mdstr-pg__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 17px; }
.mdstr-pg__card { overflow: hidden; border: 1px solid color-mix(in srgb,var(--mdstr-pg-primary) 12%,transparent); border-radius: 18px; background: #fff; box-shadow: 0 7px 20px rgba(15,23,42,.04); transition: transform .25s ease,box-shadow .25s ease; }
.mdstr-pg__card:hover { box-shadow: 0 15px 35px color-mix(in srgb,var(--mdstr-pg-primary) 12%,transparent); transform: translateY(-4px); }
.mdstr-pg__image,
.mdstr-pg__image:hover,
.mdstr-pg__image:focus,
.mdstr-pg__image:focus-visible { position: relative; display: block; width: 100%; padding: 0; overflow: hidden; aspect-ratio: 1/1; border: 0; border-radius: 0; outline: 0; background: transparent!important; background-image: none!important; box-shadow: none; cursor: pointer; appearance: none; }
.mdstr-pg__image img { display: block; width: 100%; height: 100%; border-radius: 0; object-fit: cover; transition: transform .45s ease; }
.mdstr-pg__view { position: absolute; bottom: 14px; left: 50%; display: flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 50px; background: rgba(255,255,255,.94); color: var(--mdstr-pg-primary); font-size: 10px; font-weight: 900; white-space: nowrap; opacity: 0; transform: translateX(-50%) translateY(8px); transition: .25s ease; }
.mdstr-pg__view svg { width: 15px; height: 15px; }
.mdstr-pg__image:hover img { transform: scale(1.04); }
.mdstr-pg__image:hover .mdstr-pg__view { opacity: 1; transform: translateX(-50%); }
.mdstr-pg__card-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 14px; }
.mdstr-pg__card-footer>span { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.mdstr-pg__card-title { overflow: hidden; color: var(--e-global-color-text,#49364a); font-size: 11px; font-weight: 800; white-space: nowrap; text-overflow: ellipsis; }
.mdstr-pg__card-subtitle { overflow: hidden; color: #a08d9d; font-size: 9px; white-space: nowrap; text-overflow: ellipsis; }
.mdstr-pg__card-footer>i { display: flex; align-items: center; justify-content: center; width: 31px; height: 31px; flex: 0 0 31px; border-radius: 9px; background: color-mix(in srgb,var(--mdstr-pg-primary) 8%,#fff); color: var(--mdstr-pg-primary); }
.mdstr-pg__card-footer>i svg { width: 16px; height: 16px; }
.mdstr-pg__lightbox { position: fixed; inset: 0; z-index: 999999; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(15,10,18,.93); backdrop-filter: blur(10px); }
.mdstr-pg__lightbox-image { display: block; max-width: min(1100px,92vw); max-height: 86vh; border-radius: 20px; object-fit: contain; box-shadow: 0 25px 70px rgba(0,0,0,.35); }
.mdstr-pg__lightbox-close { position: absolute; top: 20px; left: 20px; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; font: 300 28px/1 Arial,sans-serif; cursor: pointer; }
body.mdstr-pg-lightbox-open { overflow: hidden; }
@media (max-width:767px) { .mdstr-pg__auth-card { padding: 22px 18px; border-radius: 22px; } .mdstr-pg__header-icon { width: 46px; height: 46px; flex-basis: 46px; } .mdstr-pg__gallery-head { align-items: flex-start; flex-direction: column; } .mdstr-pg__grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; } }
@media (max-width:480px) { .mdstr-pg__grid { grid-template-columns: 1fr; } .mdstr-pg__header h2,.mdstr-pg__gallery-head h2 { font-size: 18px; } }
@media (prefers-reduced-motion:reduce) { .mdstr-pg * { scroll-behavior: auto!important; transition: none!important; animation: none!important; } }
