/* ASEMANEEHA PHASE 628 */
/* Martyr inscription modal */

.asem-inscription-slot-628 {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 24px auto 18px;
    padding: 0 12px;
    box-sizing: border-box;
}

.asem-inscription-slot-628:empty {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.asem-inscription-trigger-628 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    max-width: 100%;
    min-height: 48px;
    padding: 11px 23px;
    border: 1px solid #c7b889;
    border-radius: 999px;
    background: linear-gradient(115deg, #fffdf7, #eaf2ed);
    color: #1f5051;
    box-shadow: 0 7px 22px rgba(10,36,35,.14);
    font: 700 15px/1.6 Vazir, Tahoma, sans-serif;
    cursor: pointer;
    white-space: normal;
    overflow-wrap: anywhere;
    transition: transform .18s ease, box-shadow .18s ease;
}

.asem-inscription-trigger-628:before {
    content: "✦";
    font-size: 19px;
    color: #a88b48;
}

.asem-inscription-trigger-628:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(10,36,35,.22);
}

.asem-inscription-trigger-628:focus-visible {
    outline: 3px solid #d6aa55;
    outline-offset: 3px;
}

.asem-inscription-dialog-628 {
    box-sizing: border-box;
    position: fixed;
    inset: 0;
    margin: auto;
    width: min(640px, calc(100vw - 32px));
    max-width: 640px;
    max-height: min(84vh, 760px);
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(192,166,98,.55);
    border-radius: 24px;
    background: #fcfaf5;
    color: #233b3c;
    box-shadow: 0 28px 90px rgba(0,0,0,.4);
    font-family: Vazir, Tahoma, sans-serif;
}

.asem-inscription-dialog-628::backdrop {
    background: rgba(8,22,29,.76);
    backdrop-filter: blur(5px);
}

.asem-inscription-paper-628 {
    display: flex;
    flex-direction: column;
    min-height: 0;
    max-height: min(84vh, 760px);
}

.asem-inscription-header-628 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 28px 20px;
    background: linear-gradient(125deg, #103c42, #1b5558);
    color: #fff;
    flex: 0 0 auto;
}

.asem-inscription-brand-628 {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.asem-inscription-icon-628 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    border: 1px solid rgba(236,208,141,.6);
    border-radius: 16px;
    background: rgba(255,255,255,.09);
    color: #ebd396;
    font-size: 28px;
}

.asem-inscription-titles-628 {
    min-width: 0;
}

.asem-inscription-kicker-628 {
    font-size: 12px;
    opacity: .8;
    margin-bottom: 4px;
}

.asem-inscription-titles-628 h2 {
    color: #fff;
    font: 700 21px/1.5 Vazir, Tahoma, sans-serif;
    margin: 0;
}

.asem-inscription-close-628 {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.35);
    background: rgba(255,255,255,.1);
    color: #fff;
    font: 300 30px/1 Tahoma, sans-serif;
    cursor: pointer;
}

.asem-inscription-close-628:hover {
    background: rgba(255,255,255,.2);
}

.asem-inscription-ornament-628 {
    flex: 0 0 auto;
    color: #b29b62;
    text-align: center;
    padding: 12px 0 0;
    font-size: 18px;
}

.asem-inscription-content-628 {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 18px 42px 30px;
    box-sizing: border-box;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    word-break: normal;
    direction: rtl;
    text-align: center;
    font: 400 16px/2.35 Vazir, Tahoma, sans-serif;
    color: #243d3e;
    scrollbar-width: thin;
}

.asem-inscription-footer-628 {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    padding: 14px 24px 19px;
    border-top: 1px solid #e9e2d2;
    background: #fcfaf5;
}

.asem-inscription-dismiss-628 {
    border: 1px solid #b5c9c2;
    background: #eef4f1;
    color: #225451;
    border-radius: 12px;
    padding: 10px 35px;
    font: 700 14px/1.5 Vazir, Tahoma, sans-serif;
    cursor: pointer;
}

.asem-inscription-dismiss-628:hover {
    background: #e4eeea;
}

.asem-inscription-close-628:focus-visible,
.asem-inscription-dismiss-628:focus-visible {
    outline: 3px solid #d6b96c;
    outline-offset: 3px;
}

@media (max-width: 767px) {

    .asem-inscription-slot-628 {
        margin: 18px auto 12px;
        padding: 0 10px;
    }

    .asem-inscription-trigger-628 {
        min-height: 45px;
        padding: 10px 18px;
        font-size: 14px;
    }

    .asem-inscription-dialog-628 {
        inset: auto 0 0;
        top: auto;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        max-width: 100%;
        max-height: 90dvh;
        margin: 0;
        border-radius: 24px 24px 0 0;
        border-bottom: 0;
    }

    .asem-inscription-paper-628 {
        max-height: 90dvh;
    }

    .asem-inscription-header-628 {
        padding: 18px 18px 16px;
    }

    .asem-inscription-icon-628 {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
        font-size: 24px;
        border-radius: 13px;
    }

    .asem-inscription-titles-628 h2 {
        font-size: 18px;
    }

    .asem-inscription-content-628 {
        padding: 12px 22px 25px;
        font-size: 15px;
        line-height: 2.3;
    }

    .asem-inscription-footer-628 {
        padding: 12px 18px calc(14px + env(safe-area-inset-bottom));
    }
}

@media (prefers-reduced-motion: reduce) {
    .asem-inscription-trigger-628 {
        transition: none;
    }
}