.mlpc-banner[hidden] {
    display: none !important;
}

.mlpc-banner {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 999999;
    display: flex;
    align-items: center;
    gap: 18px;
    max-width: 760px;
    margin: 0 auto;
    padding: 16px 52px 16px 18px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid #dce7f8;
    border-radius: 14px;
    box-shadow: 0 12px 36px rgba(23, 66, 135, 0.16);
    color: #1f2937;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    line-height: 1.45;
    box-sizing: border-box;
}

.mlpc-banner *,
.mlpc-banner *::before,
.mlpc-banner *::after {
    box-sizing: border-box;
}

.mlpc-content {
    flex: 1 1 auto;
    min-width: 0;
}

.mlpc-title {
    margin: 0 0 5px;
    font-size: 16px;
    font-weight: 700;
    color: #172033;
}

.mlpc-text {
    margin: 0 0 9px;
    font-size: 13px;
    color: #4b5563;
}

.mlpc-banner a {
    color: #1677ff;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.mlpc-check-row {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 0;
    font-size: 13px;
    cursor: pointer;
}

.mlpc-check-row input {
    width: 17px;
    height: 17px;
    margin: 1px 0 0;
    flex: 0 0 auto;
    accent-color: #1677ff;
}

.mlpc-actions {
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
}

.mlpc-btn {
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 9px;
    border: 1px solid transparent;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity .15s ease, background-color .15s ease, border-color .15s ease;
}

.mlpc-btn-primary {
    background: #1677ff;
    color: #fff;
}

.mlpc-btn-primary:hover:not(:disabled) {
    background: #0f67df;
}

.mlpc-btn-primary:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.mlpc-btn-secondary {
    background: #fff;
    color: #334155;
    border-color: #cbd5e1;
}

.mlpc-btn-secondary:hover {
    background: #f8fafc;
}

.mlpc-close {
    position: absolute;
    top: 8px;
    right: 10px;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #64748b;
    font-size: 25px;
    line-height: 30px;
    cursor: pointer;
    border-radius: 7px;
}

.mlpc-close:hover {
    background: #f1f5f9;
    color: #1e293b;
}

.mlpc-btn:focus-visible,
.mlpc-close:focus-visible,
.mlpc-check-row input:focus-visible,
.mlpc-banner a:focus-visible {
    outline: 3px solid rgba(22, 119, 255, .28);
    outline-offset: 2px;
}

@media (max-width: 760px) {
    .mlpc-banner {
        left: 10px;
        right: 10px;
        bottom: 10px;
        display: block;
        padding: 15px 42px 15px 15px;
        border-radius: 12px;
    }

    .mlpc-actions {
        margin-top: 13px;
        flex-wrap: wrap;
    }

    .mlpc-btn {
        flex: 1 1 135px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mlpc-btn {
        transition: none;
    }
}


.mlpc-reset-choice {
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #fff;
    color: #334155;
    font: inherit;
    cursor: pointer;
}

.mlpc-reset-choice:hover {
    background: #f8fafc;
}
