/* Footer-only — scoped to mmgr-site-footer; does not affect page content */
tr.mmgr-site-footer-row > td {
    padding: 0;
    vertical-align: bottom;
}

footer.mmgr-site-footer {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', "Segoe UI", system-ui, sans-serif;
    background: linear-gradient(180deg, #ffffff 0%, #f3f8f7 100%);
    border-top: 1px solid rgba(80, 109, 166, 0.12);
    box-shadow: 0 -8px 24px rgba(45, 55, 72, 0.04);
}

    footer.mmgr-site-footer .mmgr-site-footer-inner {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 10px 24px;
        min-height: 52px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px 24px;
        box-sizing: border-box;
    }

    footer.mmgr-site-footer .mmgr-site-footer-brand {
        display: flex;
        align-items: center;
        gap: 10px;
        min-width: 0;
        flex-wrap: wrap;
    }

    footer.mmgr-site-footer .mmgr-site-footer-name {
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: #506da6;
        white-space: nowrap;
    }

    footer.mmgr-site-footer .mmgr-site-footer-divider {
        width: 1px;
        height: 14px;
        background: rgba(80, 109, 166, 0.2);
        flex-shrink: 0;
    }

    footer.mmgr-site-footer .mmgr-site-footer-copy {
        margin: 0;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 4px 10px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.72);
        border: 1px solid rgba(80, 109, 166, 0.1);
        font-size: 12px;
        line-height: 1.35;
        letter-spacing: 0.02em;
        white-space: nowrap;
        box-shadow: 0 1px 2px rgba(45, 55, 72, 0.04);
    }

    footer.mmgr-site-footer .mmgr-site-footer-copy-year {
        font-weight: 600;
        font-variant-numeric: tabular-nums;
        color: #506da6;
    }

    footer.mmgr-site-footer .mmgr-site-footer-copy-dot {
        width: 4px;
        height: 4px;
        border-radius: 50%;
        background: linear-gradient(135deg, #87ccc9 0%, #506da6 100%);
        flex-shrink: 0;
        opacity: 0.85;
    }

    footer.mmgr-site-footer .mmgr-site-footer-copy-company {
        font-weight: 500;
        color: #475569;
    }

    footer.mmgr-site-footer .mmgr-site-footer-actions {
        display: flex;
        align-items: center;
        gap: 12px;
        flex-shrink: 0;
    }

    footer.mmgr-site-footer .mmgr-site-footer-contact {
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 4px 6px;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.65);
        border: 1px solid rgba(80, 109, 166, 0.1);
    }

    footer.mmgr-site-footer .mmgr-site-footer-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        border-radius: 8px;
        color: #506da6;
        background: rgba(80, 109, 166, 0.08);
        text-decoration: none;
        transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    }

        footer.mmgr-site-footer .mmgr-site-footer-icon i {
            font-size: 15px;
            line-height: 1;
            display: block;
        }

        footer.mmgr-site-footer .mmgr-site-footer-icon svg {
            width: 25px;
            height: 25px;
            fill: currentColor;
            display: block;
        }

    footer.mmgr-site-footer .mmgr-site-footer-icon:hover,
    footer.mmgr-site-footer .mmgr-site-footer-icon:focus-visible {
        color: #3f5685;
        background: rgba(135, 204, 201, 0.32);
        box-shadow: 0 2px 8px rgba(45, 55, 72, 0.08);
        transform: translateY(-1px);
        outline: none;
    }

    footer.mmgr-site-footer .mmgr-site-footer-sep {
        width: 1px;
        height: 22px;
        background: rgba(80, 109, 166, 0.16);
        flex-shrink: 0;
    }

    footer.mmgr-site-footer .mmgr-site-footer-legal {
        display: inline-flex;
        align-items: center;
        min-height: 32px;
        padding: 0 12px;
        border-radius: 8px;
        font-size: 12px;
        font-weight: 600;
        font-family: inherit;
        color: #506da6;
        text-decoration: none;
        white-space: nowrap;
        background: rgba(255, 255, 255, 0.7);
        border: 1px solid rgba(80, 109, 166, 0.12);
        cursor: pointer;
        transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    }

        footer.mmgr-site-footer .mmgr-site-footer-legal:hover,
        footer.mmgr-site-footer .mmgr-site-footer-legal:focus-visible {
            color: #3f5685;
            background: #ffffff;
            border-color: rgba(105, 159, 157, 0.45);
            outline: none;
        }

@media (max-width: 720px) {
    footer.mmgr-site-footer .mmgr-site-footer-inner {
        flex-wrap: wrap;
        justify-content: center;
        padding: 12px 16px;
        min-height: 64px;
    }

    footer.mmgr-site-footer .mmgr-site-footer-brand {
        width: 100%;
        justify-content: center;
    }

    footer.mmgr-site-footer .mmgr-site-footer-copy {
        white-space: normal;
        text-align: center;
        justify-content: center;
        flex-wrap: wrap;
    }

    footer.mmgr-site-footer .mmgr-site-footer-actions {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    footer.mmgr-site-footer .mmgr-site-footer-sep {
        display: none;
    }
}

/* Data policy modal (tingle) */
.tingle-modal.mmgr-data-policy-modal {
    z-index: 99999;
    backdrop-filter: blur(2px);
    background-color: rgba(0, 0, 0, 0.55) !important;
}

.mmgr-data-policy-modal .tingle-modal-box {
    position: relative;
    width: 1150px;
    max-width: 96%;
    max-height: 90vh;
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: visible;
}

.mmgr-data-policy-modal .tingle-modal-box__content {
    padding: 0;
    overflow: hidden;
    max-height: 90vh;
}

.mmgr-data-policy-modal-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.mmgr-data-policy-modal-body {
    padding: 24px 24px 20px;
    overflow-y: auto;
    max-height: 90vh;
    overscroll-behavior: contain;
    line-height: 1.5;
    color: #374151;
}

    .mmgr-data-policy-modal-body img {
        max-width: 100%;
        height: auto;
    }
