.dam-premium-accessibility { 
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    width: fit-content;
    margin: 20px auto; 
    z-index: 999999 !important; 
    font-family: system-ui, -apple-system, sans-serif; 
    direction: ltr; 
}


.dam-acc-trigger-wrapper { 
    display: flex; 
    align-items: center; 
    cursor: pointer; 
    position: relative;
    flex-direction: row; 
}
.dam-acc-trigger-wrapper:active { cursor: pointer; }

.dam-acc-floating-trigger { 
    width: 58px; 
    height: 58px; 
    background: #1b365d; 
    color: #ffffff !important; 
    border: 3px solid #ffffff; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    box-shadow: 0 8px 24px rgba(27,54,93,0.4); 
    transition: background-color 0.3s ease, transform 0.2s ease; 
    z-index: 2; 
    outline: none;
    cursor: inherit;
}
.dam-acc-floating-trigger:hover { background: #f05a28; transform: scale(1.05); }

.dam-acc-text-badge { 
    background: #1b365d; 
    color: #ffffff !important; 
    font-size: 14px; 
    font-weight: 700; 
    padding: 12px 20px 12px 35px; 
    border-radius: 0 50px 50px 0; 
    margin-left: -25px; 
    cursor: pointer; 
    user-select: none; 
    box-shadow: 4px 4px 12px rgba(0,0,0,0.15); 
    transition: all 0.3s ease;
    z-index: 1;
    border: 1px solid rgba(255,255,255,0.2);
    border-left: none;
}
.dam-acc-text-badge:hover { background: #f05a28; }


.dam-acc-main-widget { 
    display: none; 
    position: fixed;
    bottom: 16px;
    left: 16px;
    width: min(320px, calc(100vw - 32px));
    max-height: calc(100dvh - 32px);
    overflow-y: auto; 
    background: #ffffff !important; 
    border-radius: 20px; 
    box-shadow: 0 15px 50px rgba(0,0,0,0.25); 
    overflow: hidden; 
    direction: rtl; 
}

.dam-widget-header { 
    background: #1b365d !important; 
    padding: 15px 20px; 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
}
.dam-widget-badge { 
    display: inline-block; 
    background: rgba(255,255,255,0.2) !important; 
    color: #fff !important; 
    font-size: 10px; 
    padding: 3px 10px; 
    border-radius: 20px; 
    margin-bottom: 5px; 
}
.dam-widget-title-area h3 { margin: 0; font-size: 16px; font-weight: 800; color: #f05a28 !important; }
.dam-widget-close-btn { 
    background: rgba(255,255,255,0.1) !important; 
    color: #fff !important; 
    border: none; 
    width: 32px; 
    height: 32px; 
    border-radius: 50%; 
    font-size: 14px; 
    cursor: pointer; 
    transition: all 0.2s; 
}
.dam-widget-close-btn:hover { background: #ef4444 !important; }

.dam-widget-body { 
    padding: 15px; 
    max-height: 60vh; 
    overflow-y: auto; 
    background: #f8fafc !important;
}
.dam-widget-section { 
    background: #fff; 
    border-radius: 12px; 
    padding: 12px; 
    margin-bottom: 15px; 
    box-shadow: 0 2px 8px rgba(0,0,0,0.03); 
    border: 1px solid #f1f5f9;
}
.dam-section-title { 
    display: block; 
    font-size: 13px; 
    font-weight: 700; 
    color: #1b365d !important; 
    margin-bottom: 10px; 
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 8px;
}

.dam-widget-actions { display: flex; gap: 8px; }
.dam-widget-actions button { 
    flex: 1; 
    background: #f8fafc !important; 
    border: 1px solid #cbd5e1; 
    color: #334155 !important; 
    padding: 8px; 
    font-size: 12px; 
    font-weight: 700; 
    border-radius: 8px; 
    cursor: pointer; 
    transition: all 0.2s; 
}
.dam-widget-actions button:hover, .dam-widget-actions button.dam-btn-reset { 
    background: #1b365d !important; 
    color: #fff !important; 
    border-color: #1b365d; 
}

.dam-tools-grid { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 8px; 
}
.dam-tool-item-btn { 
    flex-grow: 1; 
    width: calc(50% - 4px);
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    padding: 12px 5px; 
    background: #f8fafc !important; 
    border: 1px solid #e2e8f0; 
    border-radius: 10px; 
    cursor: pointer; 
    transition: all 0.2s; 
    color: #475569 !important; 
}
.dam-tool-item-btn:hover { background: #fff !important; border-color: #1b365d; }
.dam-tool-item-btn.is-active { 
    background: rgba(240,90,40,0.1) !important; 
    border-color: #f05a28 !important; 
}
.dam-tool-item-btn.is-active .dam-tool-text { color: #f05a28 !important; font-weight: 700; }
.dam-tool-icon { font-size: 22px; margin-bottom: 5px; }
.dam-tool-text { font-size: 11px; font-weight: 600; }

.dam-widget-cta-container { margin-top: 15px; }
.dam-widget-quick-cta-btn { 
    display: block; 
    background: #f05a28; 
    color: #fff !important; 
    text-align: center; 
    text-decoration: none; 
    padding: 12px; 
    border-radius: 10px; 
    font-weight: 800; 
    font-size: 13px; 
    transition: all 0.2s; 
}
.dam-widget-quick-cta-btn:hover { background: #d44d1c; }
.dam-widget-footer { text-align: center; margin-top: 15px; font-size: 10px; color: #94a3b8 !important; }


.dam-premium-accessibility, .dam-premium-accessibility * { filter: none !important; }
body.dam-pure-monochrome *:not(.dam-premium-accessibility):not(.dam-premium-accessibility *) { filter: grayscale(100%) !important; }
body.dam-elite-contrast *:not(.dam-premium-accessibility):not(.dam-premium-accessibility *) { background-color: #05070a !important; color: #ffffff !important; border-color: #ffff00 !important; }
body.dam-big-cursor *:not(.dam-premium-accessibility):not(.dam-premium-accessibility *) { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 24 24' fill='%23f05a28' stroke='%23ffffff' stroke-width='2'%3E%3Cpolygon points='5 3 24 12 14 14 5 23 5 3'/%3E%3C/svg%3E"), auto !important; }
body.dam-highlight-links a { background-color: #ffff00 !important; color: #000 !important; text-decoration: underline !important; font-weight: bold !important; outline: 3px dashed #f05a28 !important; }
body.dam-stop-animations *:not(.dam-premium-accessibility):not(.dam-premium-accessibility *) { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
body.dam-hide-images img:not(.dam-premium-accessibility img), body.dam-hide-images video, body.dam-hide-images svg:not(.dam-premium-accessibility svg) { display: none !important; }


.dam-tts-highlight { 
    background-color: rgba(240, 90, 40, 0.25) !important; 
    outline: 2px dashed #f05a28 !important; 
    border-radius: 4px; 
    transition: background-color 0.2s ease;
}

.dam-reading-guide-line { 
    display: none; 
    position: fixed; 
    left: 0;
    top: 50%; 
    width: 100vw; 
    height: 35px; 
    background: rgba(27, 54, 93, 0.15); 
    border-top: 3px solid #f05a28; 
    border-bottom: 3px solid #f05a28; 
    pointer-events: none; 
    z-index: 999998; 
    transform: translateY(-50%);
}


@media (max-width: 768px) {
    .dam-acc-text-badge { display: inline-block; } 
    .dam-mobile-hide { display: none !important; } 
    .dam-acc-main-widget { width: min(320px, calc(100vw - 32px)); }
    .dam-premium-accessibility { 
        position: relative !important;
        bottom: auto !important;
        left: auto !important; 
    }
}
