/* Frontend styles for Contract Category Protector & WhatsApp CTA */
body.mm-ccp-copy-blocked,
.mm-ccp-protected-content {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

.mm-ccp-whatsapp-wrap {
    margin: 28px 0 24px !important;
    text-align: center !important;
    direction: rtl !important;
    display: block !important;
    width: 100% !important;
}

body a.mm-ccp-whatsapp-button,
body a.mm-ccp-whatsapp-button:visited,
.entry-content a.mm-ccp-whatsapp-button,
.elementor a.mm-ccp-whatsapp-button,
a.mm-ccp-whatsapp-button[data-mm-ccp-button="1"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    min-width: 176px !important;
    max-width: 100% !important;
    padding: 14px 32px !important;
    border: 1px solid #d6a64f !important;
    border-radius: 4px !important;
    background: #112544 !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
    box-shadow: 0 10px 24px rgba(17, 37, 68, 0.22) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    font-family: inherit !important;
    white-space: nowrap !important;
}

body a.mm-ccp-whatsapp-button:hover,
body a.mm-ccp-whatsapp-button:focus,
.entry-content a.mm-ccp-whatsapp-button:hover,
.entry-content a.mm-ccp-whatsapp-button:focus,
.elementor a.mm-ccp-whatsapp-button:hover,
.elementor a.mm-ccp-whatsapp-button:focus,
a.mm-ccp-whatsapp-button[data-mm-ccp-button="1"]:hover,
a.mm-ccp-whatsapp-button[data-mm-ccp-button="1"]:focus {
    background: #d6a64f !important;
    border-color: #d6a64f !important;
    color: #112544 !important;
    text-decoration: none !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 12px 28px rgba(17, 37, 68, 0.30) !important;
}

.mm-ccp-download-icon {
    display: inline-flex !important;
    width: 18px !important;
    height: 18px !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 17px !important;
    line-height: 1 !important;
}

@media (max-width: 480px) {
    body a.mm-ccp-whatsapp-button,
    .entry-content a.mm-ccp-whatsapp-button,
    .elementor a.mm-ccp-whatsapp-button,
    a.mm-ccp-whatsapp-button[data-mm-ccp-button="1"] {
        width: 100% !important;
        min-width: 0 !important;
        padding: 13px 18px !important;
        font-size: 15px !important;
    }
    .mm-ccp-whatsapp-wrap {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }
}

.mm-ccp-copy-notice {
    position: fixed;
    z-index: 999999;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    max-width: calc(100% - 32px);
    padding: 12px 18px;
    border-radius: 6px;
    background: rgba(17, 37, 68, 0.96);
    color: #ffffff;
    font-size: 14px;
    text-align: center;
    direction: rtl;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease;
}

.mm-ccp-copy-notice.is-visible {
    opacity: 1;
}
