.asm-privacy-consent-overlay {
    position: fixed;
    z-index: 10000;
    inset: 0;
    display: none;
    background: rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(1px);
    cursor: not-allowed;
}

.asm-privacy-consent-banner {
    position: fixed;
    z-index: 10001;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    padding: 22px 32px;
    color: #111;
    background: #fff;
    box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.2);
}

.asm-privacy-consent-banner.is-visible,
.asm-privacy-consent-overlay.is-visible,
.asm-privacy-policy-modal.is-visible {
    display: block;
}

.asm-privacy-consent-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    max-width: 1320px;
    margin: 0 auto;
    direction: rtl;
}

.asm-privacy-consent-copy {
    flex: 1;
    text-align: right;
}

.asm-privacy-consent-title {
    display: block;
    margin-bottom: 6px;
    font-size: 17px;
    font-weight: 700;
}

.asm-privacy-consent-copy p {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
}

.asm-privacy-consent-policy-button {
    padding: 0;
    color: #4b022f;
    font: inherit;
    font-weight: 700;
    text-decoration: underline;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.asm-privacy-consent-accept {
    flex: 0 0 auto;
    min-width: 94px;
    padding: 12px 25px;
    color: #fff;
    font: inherit;
    font-weight: 700;
    background: #4b022f;
    border: 0;
    border-radius: 14px;
    box-shadow: 0 7px 18px rgba(0, 0, 0, 0.28);
    cursor: pointer;
    transition: background-color .18s ease, transform .18s ease;
}

.asm-privacy-consent-accept:hover,
.asm-privacy-consent-accept:focus {
    color: #fff;
    background: #650844;
    transform: translateY(-1px);
}

.asm-privacy-policy-modal {
    position: fixed;
    z-index: 10002;
    inset: 0;
    display: none;
    padding: 28px 15px;
    overflow-y: auto;
}

.asm-privacy-policy-dialog {
    width: min(920px, 100%);
    max-height: 100%;
    margin: 0 auto;
    overflow: hidden;
    color: #1f2937;
    direction: rtl;
    text-align: right;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 18px 60px rgba(0, 0, 0, .38);
}

.asm-privacy-policy-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    color: #fff;
    background: #4b022f;
}

.asm-privacy-policy-header h2 {
    margin: 0;
    font-size: 21px;
    font-weight: 700;
}

.asm-privacy-policy-close {
    width: 36px;
    height: 36px;
    padding: 0;
    color: #fff;
    font-size: 27px;
    line-height: 1;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.asm-privacy-policy-content {
    max-height: calc(100vh - 155px);
    padding: 24px 27px;
    overflow-y: auto;
    font-size: 15px;
    line-height: 1.7;
}

.asm-privacy-policy-content h3 {
    margin: 27px 0 8px;
    color: #061c43;
    font-size: 18px;
    font-weight: 700;
}

.asm-privacy-policy-content h3:first-child {
    margin-top: 0;
}

.asm-privacy-policy-content p,
.asm-privacy-policy-content ul {
    margin: 0 0 14px;
}

.asm-privacy-policy-content ul {
    padding-right: 22px;
}

.asm-privacy-policy-content li {
    margin-bottom: 4px;
}

.asm-privacy-policy-content table {
    width: 100%;
    margin: 12px 0 18px;
    font-size: 14px;
    border-collapse: collapse;
}

.asm-privacy-policy-content th,
.asm-privacy-policy-content td {
    padding: 8px;
    vertical-align: top;
    border: 1px solid #d9dee8;
}

.asm-privacy-policy-content th {
    background: #eef2f8;
}

@media (max-width: 767px) {
    .asm-privacy-consent-banner {
        padding: 18px 20px;
    }

    .asm-privacy-consent-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .asm-privacy-consent-accept {
        width: 100%;
    }

    .asm-privacy-policy-modal {
        padding: 12px;
    }

    .asm-privacy-policy-content {
        padding: 20px;
        font-size: 14px;
    }
}
